Difference between revisions of "LUA:RemoveSkillBonus"
(Created page with "= LUA Functions: RemoveSkillBonus() = Removes the skill bonus for the given spawn ==== Syntax ==== RemoveSkillBonus(param1) ==== Parameters ==== ; Required - ''param1'' (Spaw...") |
(No difference)
|
Latest revision as of 22:13, 11 September 2013
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