From 8c436ebb48d0455029d7b6adace803e232b3b4a5 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 27 Jun 2013 15:09:45 -0700 Subject: [PATCH] Updated Lua Parser (markdown) --- Lua-Parser.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/Lua-Parser.md b/Lua-Parser.md index a5230f3..76fa846 100644 --- a/Lua-Parser.md +++ b/Lua-Parser.md @@ -165,6 +165,19 @@ Note: > ``` > Returning a non-zero value from this function will cancel the death +* event_death_complete +> Triggered when the npc dies and the death is complete. +> Passes an event table as an argument: +> ``` +> { +> NPC self; +> Mob other; +> Integer damage; +> Spell spell; +> Integer skill_id; +> } +> ``` + * event_spawn > Triggered when the npc spawns for the first time. > Passes an event table as an argument: @@ -411,6 +424,19 @@ Note: > ``` > Returning a non-zero value will cancel the death. +* event_death_complete +> Triggered when a client dies and the death is complete. +> Passes an event table as an argument: +> ``` +> { +> Client self; +> Mob other; +> Integer damage; +> Spell spell; +> Integer skill; +> } +> ``` + * event_timer > Triggered when a timer attached to this client expires. > Passes an event table as an argument: