diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-07-03 14:59:30 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-07-03 14:59:30 -0300 |
commit | e2bc08e01e15245a0ff3dc71ecdcefe3134c86dc (patch) | |
tree | f67053ff0339b13f290da6a16f745160ca33ad7a /npc | |
parent | 47eae7f20036ac8817bdc264f3bc07915bb0e7d0 (diff) | |
download | serverdata-e2bc08e01e15245a0ff3dc71ecdcefe3134c86dc.tar.gz serverdata-e2bc08e01e15245a0ff3dc71ecdcefe3134c86dc.tar.bz2 serverdata-e2bc08e01e15245a0ff3dc71ecdcefe3134c86dc.tar.xz serverdata-e2bc08e01e15245a0ff3dc71ecdcefe3134c86dc.zip |
Reattach logout and death main handler
Diffstat (limited to 'npc')
-rw-r--r-- | npc/033-4/malindou.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/033-4/malindou.txt b/npc/033-4/malindou.txt index 4b8040b..d3db137 100644 --- a/npc/033-4/malindou.txt +++ b/npc/033-4/malindou.txt @@ -117,6 +117,14 @@ OnGlobalChat: OnPCBaseLvUpEvent: end; +// Death & Logout events +OnPCDieEvent: + @qhub_died=1; +OnPCLogoutEvent: + HUB_Logout(@qhub_died); + @qhub_died=0; + end; + // Every time the server starts, clean up possibly broken data about treasures. // NPC ID might have changed. OnInterIfInitOnce: |