Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- NECEK SKRIPT v 1.0
- -- UZYWANIE POTEK
- myHero = GetMyHero()
- hpSlot = GetInventorySlotItem(2003)
- manaSlot = GetInventorySlotItem(2004)
- function OnDraw()
- DrawText("Twoje hp to: "..myHero.health, 18, 100, 140, 0xFFFF0000)
- if (myHero.health <= 200) then
- if (hpSlot ~= nil) then
- ChatPrint("Uzylem Ci potki, bo miales malo hp ;)")
- CastSpell(hpSlot)
- end
- end
- if (myHero.mana <= 200) then
- if (manaSlot ~= nil) then
- CastSpell(manaSlot)
- ChatPrint("Uzylem Ci potki, bo miales malo many ;)"
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement