From c6298e6490570e3b70f203e9f15e3903087ea16b Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 26 Jun 2013 09:20:41 -0700 Subject: [PATCH] Updated Lua Parser (markdown) --- Lua-Parser.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Lua-Parser.md b/Lua-Parser.md index c1aac11..b063f1b 100644 --- a/Lua-Parser.md +++ b/Lua-Parser.md @@ -104,7 +104,6 @@ Note: Passing a value of -1 for npc, item or spell id to watch will watch every Note: * Encounter scripts cannot properly catch EVENT_COMMAND or EVENT_TRADE unless an existing quest is already listening for them. * Encounter scripts also run before any normal script. -* Encounter scripts can not currently return a non-zero value back to the server for the events that use them (I would like to change this at some point but it requires more planning). ### NPC Events @@ -923,6 +922,7 @@ Note: > Integer caster_id; > } > ``` +> Returning a non-zero value from this function will cancel the spell effect. * event_spell_buff_tic > Triggered when a spell tics on a target. @@ -937,6 +937,7 @@ Note: > Integer caster_id; > } > ``` +> Returning a non-zero value from this function will cancel the buff tic. * event_spell_fade > Triggered when a spell fades from a target. @@ -959,6 +960,7 @@ Note: > Mob target; > } > ``` +> Returning a non-zero value from this function will cancel the translocate. ### Encounter Events