No categories assigned

LUA:RemoveSkillBonus

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

LUA Functions: RemoveSkillBonus()

Removes the skill bonus for the given spawn


Syntax

RemoveSkillBonus(param1)


Parameters

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


Usage

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

When this spell fades it will remove the skill bonus it had applied

Notes

If used in a spell script it will attempt to remove the bonus from the spells targets first