Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- heal = {}
- heal[1] = {words = "strong evocation", cooldown = "utura gran", MP = 54}
- heal[2] = {words = "evocation", cooldown = "exura san", MP = 84}
- Module.New('heal', function(module)
- local creature = Creature.GetByID(Self.ID())
- for i = 1, #heal do
- local hea = heal[i]
- if (creature:ManaPercent() <= hea.MP) and Self.CanCastSpell(hea.words) and Self.GetSpellCooldown(hea.cooldown) == 0 then
- Self.Say(hea.words)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement