Historical signature: RemovePersistentSpellVisual(…) via current binding
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: RemovePersistentSpellVisual(target, visual_id)
Description:
Removes visuals owned by the current spell from the target. Omit visual_id to remove all visuals owned by that spell. An explicit ID must be in 1..4294967294.
Parameters:
target (Spawn) - Entity whose visuals should be changed.
visual_id (uint32, optional) - One visual to remove; omission removes all for this spell.
Returns: Boolean: true when the stored visual state changed; false for invalid arguments, missing spell or no change.
Checked example
Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. The binding also handles arguments dynamically. This is a contextual call pattern, not a tested standalone script.
RemovePersistentSpellVisual(Target, 300)
Evidence: server/Spells/Commoner/StingingBarrage.lua:26; binding EQ2Emu_lua_RemovePersistentSpellVisual.
Current registration: WorldServer/Lua/LuaInterface.cpp.