471 B
471 B
Function: RemoveSpellBonus(spawn)
Description: Remove's any spell bonuses from AddSpellBonus. If inside a spell Script RemoveSpellBonus() will remove all spell targets bonuses, RemoveSpellBonus(Target) removes only that Spawn's spell bonuses.
Parameters:
spawn
(Spawn) - Spawn object referencespawn
.
Returns: None.
Example:
-- From Spells/AA/AbilityAptitude.lua
function remove(Caster, Target)
RemoveSpellBonus(Target)
end