No categories assigned

LUA:RemoveSpellBonus

Revision as of 22:20, 11 September 2013 by Jabantiz (talk | contribs) (Created page with "= LUA Functions: RemoveSpellBonus() = Removes the spell bonus from the given spawn ==== Syntax ==== RemoveSpellBonus(param1) ==== Parameters ==== ; Required - ''param1'' (Spa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LUA Functions: RemoveSpellBonus()

Removes the spell bonus from the given spawn


Syntax

RemoveSpellBonus(param1)


Parameters

Required - param1 (Spawn)
param1 is the spawn we want to remove the spell bonus from


Usage

function remove(Caster, Target)
    RemoveSpellBonus(Target)
end

When this spell fades it will remove the spell bonus it added

Notes

If used in a spell script it will use the targets of the spell