Quote Originally Posted by Gluben View Post
Some sort of delay or wait like in the first script(the one in my first post). Is that possible?
More important healing first, hp is in % and you can actually run it in the same lua as that spells shooter
Code:
local hSpells = {
    {spell = "exura vita", hp = 50},
    {spell = "exura gran", hp = 70}
}

Module.New("", function()
    local percentHp = (getSelfHealth() / getSelfMaxHealth()) * 100

    for i = 1, #hSpells do
        if (percentHp <= hSpells[i].hp) then
            if (Self.GetSpellCooldown(hSpells[i].spell) == 0) then
                Self.Say(hSpells[i].spell)
            end
        end
    end
end)