From 1aae7437ef7072576534655509f7e02e7f99e10e Mon Sep 17 00:00:00 2001 From: Emagi Date: Wed, 14 May 2025 10:09:41 -0400 Subject: [PATCH] Update RemoveSpawnSpellBonus.md --- docs/lua_functions/RemoveSpawnSpellBonus.md | 26 +++++++++------------ 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/docs/lua_functions/RemoveSpawnSpellBonus.md b/docs/lua_functions/RemoveSpawnSpellBonus.md index 80531c0..175f3c4 100644 --- a/docs/lua_functions/RemoveSpawnSpellBonus.md +++ b/docs/lua_functions/RemoveSpawnSpellBonus.md @@ -1,20 +1,16 @@ -### Function: RemoveSpawnSpellBonus(param1, param2, param3, param4, param5) +Function: RemoveSpawnSpellBonus(Spawn) -**Description:** -Placeholder description. +Description: Used in a Spell Script Only. Removes a previously applied spell bonus from the spawn -**Parameters:** -- `param1`: Spawn - The spawn or entity involved. -- `param2`: unknown - Unknown type. -- `param3`: unknown - Unknown type. -- `param4`: unknown - Unknown type. -- `param5`: unknown - Unknown type. +Parameters: -**Returns:** None. + Spawn: Spawn – The entity to remove the bonus from. -**Example:** +Returns: None. -```lua --- Example usage -RemoveSpawnSpellBonus(..., ..., ..., ..., ...) -``` +Example: + +-- Example usage (remove the defense bonus when buff ends) +function remove(Caster, Target) + RemoveSpawnSpellBonus(Spawn) +end \ No newline at end of file