486 B
486 B
Function: RemoveControlEffect(spawn, type, only_remove_spawn)
Description: Removes a control effect from the Spawn or from the spell targets of a spell.
Parameters:
Spawn
(Spawn) - Spawn object referencespawn
.type
(int32) - Integer valuetype
.only_remove_spawn
(int32) - Integer valueonly_remove_spawn
.
Returns: None.
Example:
-- From Spells/AA/DazingBash.lua
function remove(Caster, Target)
RemoveControlEffect(Target, 3)
end