forked from netizen539/civcraft
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
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.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels