Advertisement
Guest User

Untitled

a guest
Mar 9th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. myhealth, mymaxhealth, myeq, mybal, myhealthreserve, mymana, mymanareserve, mymaxmana, bleed = tonumber(gmcp.Char.Vitals.hp), tonumber(gmcp.Char.Vitals.maxhp), tonumber(gmcp.Char.Vitals.eq), tonumber(gmcp.Char.Vitals.bal), tonumber(gmcp.Char.Vitals.health_reserve), tonumber(gmcp.Char.Vitals.mp), tonumber(gmcp.Char.Vitals.mana_reserve), tonumber(gmcp.Char.Vitals.maxmp), tonumber(gmcp.Char.Vitals.bleed)
  2. myhealth = math.floor(myhealth/11)
  3. mymana = math.floor(mymana/11)
  4. mymaxhealth = math.floor(mymaxhealth/11)
  5. mymaxmana = math.floor(mymaxmana/11)
  6. bleed = math.flood(bleed/11)
  7.  
  8. if commit==1 then
  9. if myhealth < 150 and myhealthreserve > 300 then send("commit 300 health")
  10. elseif myhealth < 150 and myhealthreserve > 200 then send("commit 200 health")
  11. elseif myhealth < 200 and myhealthreserve > 100 then send("commit 100 health") end
  12. if mymana < 200 and mymanareserve > 200 then send("commit 200 mana")
  13. elseif mymana < 200 and mymanareserve > 100 then send("commit 100 mana") end
  14. end
  15.  
  16. if haemo == false and dryblood == false and bleed > 50 then send("clot|clot|clot|shard clot")
  17. elseif haemo == false and dryblood == false and bleed > 30 then send("clot|clot|clot|clot") end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement