1
0
EQ2Emu/docs/lua_functions/RemoveControlEffect.md

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 reference spawn.
  • type (int32) - Integer value type.
  • only_remove_spawn (int32) - Integer value only_remove_spawn.

Returns: None.

Example:

-- From Spells/AA/DazingBash.lua
function remove(Caster, Target)
	RemoveControlEffect(Target, 3)
end