Advertisement
Guest User

Untitled

a guest
May 24th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. Const
  2. Manarune_ID = 3157 // ID OF THE RUNE OR POTION
  3. MinMana = 9000 // MINIMUM OF MANA TO USE IT..
  4. MaxMana = 9100 // MAX MANA (HERE JUST PUT THE SAME AS THE MINMANA)
  5.  
  6. while not terminated do
  7. begin
  8. UpdateWorld;
  9. if Self.Mana <= MinMana then
  10. while Self.Mana < MaxMana do
  11. begin
  12. if terminated then break;
  13. self.containers.useitemwithself(ManaRune_ID);
  14. sleep(100);
  15. UpdateWorld;
  16. end;
  17. sleep(100);
  18. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement