Advertisement
sora200507

Untitled

Nov 9th, 2018
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. on death:
  2. victim is not a player
  3. add 1 to {%attacker%::killmob}
  4. set {_count} to victim's max health
  5. if {xuptime::%attacker%} is set:
  6. set {_number} to {_count}*{xup::%attacker%}
  7. remove {_number} from {%attacker%::xpmore}
  8. add {_number} to {%attacker%::correnctXP}
  9. stop
  10. else:
  11. remove {_count} from {%attacker%::xpmore}
  12. add {_count} to {%attacker%::correnctxp}
  13. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement