Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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)
- myhealth = math.floor(myhealth/11)
- mymana = math.floor(mymana/11)
- mymaxhealth = math.floor(mymaxhealth/11)
- mymaxmana = math.floor(mymaxmana/11)
- bleed = math.flood(bleed/11)
- if commit==1 then
- if myhealth < 150 and myhealthreserve > 300 then send("commit 300 health")
- elseif myhealth < 150 and myhealthreserve > 200 then send("commit 200 health")
- elseif myhealth < 200 and myhealthreserve > 100 then send("commit 100 health") end
- if mymana < 200 and mymanareserve > 200 then send("commit 200 mana")
- elseif mymana < 200 and mymanareserve > 100 then send("commit 100 mana") end
- end
- if haemo == false and dryblood == false and bleed > 50 then send("clot|clot|clot|shard clot")
- 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