event_death_complete

This commit is contained in:
KimLS
2013-06-27 15:07:28 -07:00
parent 945cc2117f
commit f46f7bd528
5 changed files with 23 additions and 3 deletions
+4 -1
View File
@@ -111,7 +111,8 @@ const char *LuaEvents[_LargestEventID] = {
"event_augment_remove",
"event_enter_area",
"event_leave_area",
"event_respawn"
"event_respawn",
"event_death_complete"
};
extern Zone *zone;
@@ -152,6 +153,7 @@ LuaParser::LuaParser() {
NPCArgumentDispatch[EVENT_SIGNAL] = handle_npc_signal;
NPCArgumentDispatch[EVENT_TIMER] = handle_npc_timer;
NPCArgumentDispatch[EVENT_DEATH] = handle_npc_death;
NPCArgumentDispatch[EVENT_DEATH_COMPLETE] = handle_npc_death;
NPCArgumentDispatch[EVENT_CAST] = handle_npc_cast;
NPCArgumentDispatch[EVENT_CAST_BEGIN] = handle_npc_cast;
NPCArgumentDispatch[EVENT_FEIGN_DEATH] = handle_npc_single_client;
@@ -160,6 +162,7 @@ LuaParser::LuaParser() {
PlayerArgumentDispatch[EVENT_SAY] = handle_player_say;
PlayerArgumentDispatch[EVENT_DEATH] = handle_player_death;
PlayerArgumentDispatch[EVENT_DEATH_COMPLETE] = handle_player_death;
PlayerArgumentDispatch[EVENT_TIMER] = handle_player_timer;
PlayerArgumentDispatch[EVENT_DISCOVER_ITEM] = handle_player_discover_item;
PlayerArgumentDispatch[EVENT_FISH_SUCCESS] = handle_player_fish_forage_success;