Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. every 2 seconds:
  2. loop all players:
  3. if level of protection of the loop-player's leggings is between 50 and 59:
  4. set {_heart.regen} to random integer between 1 and 3
  5. heal loop-player by {_heart.regen} hearts
  6. if level of protection of the loop-player's leggings is between 60 and 69:
  7. set {_heart.regen} to random integer between 2 and 5
  8. heal loop-player by {_heart.regen} hearts
  9. if level of protection of the loop-player's leggings is between 70 and 79:
  10. set {_heart.regen} to random integer between 3 and 7
  11. heal loop-player by {_heart.regen} hearts
  12. if level of protection of the loop-player's leggings is between 80 and 89:
  13. set {_heart.regen} to random integer between 4 and 9
  14. heal loop-player by {_heart.regen} hearts
  15. if level of protection of the loop-player's leggings is between 90 and 99:
  16. set {_heart.regen} to random integer between 5 and 11
  17. heal loop-player by {_heart.regen} hearts
  18. if level of protection of the loop-player's leggings is between 100 and 149:
  19. set {_heart.regen} to random integer between 6 and 13
  20. heal loop-player by {_heart.regen} hearts
  21. if level of protection of the loop-player's leggings is between 150 and 199:
  22. set {_heart.regen} to random integer between 7 and 15
  23. heal loop-player by {_heart.regen} hearts
  24. if level of protection of the loop-player's leggings is between 200 and 249:
  25. set {_heart.regen} to random integer between 8 and 17
  26. heal loop-player by {_heart.regen} hearts
  27. if level of protection of the loop-player's leggings is between 250 and 350:
  28. set {_heart.regen} to random integer between 9 and 19
  29. heal loop-player by {_heart.regen} hearts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement