You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RangedAttack method for bows is only called when a player is holding a bow and an arrow the player shot hit a player. This actually isn't the best since during WarTime or any PvP a player might need to switch to a sword to defend them-self, so if the arrow hits the player when this happens the damage is set to the default minecraft arrow damage.
(A possible fix is getting the damage when the arrow is fired, then setting the entity's metadata to have that damage, so when a player is hit by an entity and the metadata "damage" != null then they will take damage that way.)
The text was updated successfully, but these errors were encountered:
The RangedAttack method for bows is only called when a player is holding a bow and an arrow the player shot hit a player. This actually isn't the best since during WarTime or any PvP a player might need to switch to a sword to defend them-self, so if the arrow hits the player when this happens the damage is set to the default minecraft arrow damage.
(A possible fix is getting the damage when the arrow is fired, then setting the entity's metadata to have that damage, so when a player is hit by an entity and the metadata "damage" != null then they will take damage that way.)
The text was updated successfully, but these errors were encountered: