Advertisement
Winter__

Untitled

Aug 8th, 2014
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. on damage of player:
  2. {arena} is true
  3. projectile exists
  4. projectile is an arrow
  5. set {_dist} to the distance between the victim and the attacker
  6. if {_dist} is greater than 50:
  7. broadcast "{@P} %attacker% just got a longshot of %{_dist}% meters!"
  8. if {_dist} is greater than {stats.longshot::%attacker%}:
  9. set {stats.longshot::%attacker%} to {_dist}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement