1
0
EQ2Emu/docs/lua_functions/RemoveSpawnSpellBonus.md
2025-05-28 21:48:33 -04:00

18 lines
391 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### Function: RemoveSpawnSpellBonus(Spawn)
**Description:** Used in a Spell Script Only. Removes a previously applied spell bonus from the spawn
**Parameters:**
`Spawn`: Spawn The entity to remove the bonus from.
**Returns:** None.
**Example:**
```lua
-- Example usage (remove the defense bonus when buff ends)
function remove(Caster, Target)
RemoveSpawnSpellBonus(Spawn)
end
```