Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function hmCure()
- if bals.hm == true and doing.hm == false then
- echo("pie")
- if stats.health < tonumber(stats.maxhealth * 0.85) then
- send("drink health")
- doing.hm = true
- elseif stats.mana < tonumber(stats.maxmana * 0.85) then
- send("drink mana")
- doing.hm = true
- end -- if
- echo("cake")
- end -- if
- end -- function hmCure
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement