summaryrefslogtreecommitdiff
path: root/npc/functions/global_event_handler.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-07-09 15:41:42 -0300
committerJesusaves <cpntb1@ymail.com>2021-07-09 15:41:42 -0300
commit85f6f317c6f086c1155eb5a45c93781f4cf95943 (patch)
tree47b12bf54aa08f6661b68ce565263502a0b64c22 /npc/functions/global_event_handler.txt
parenta853b2fe2e99f389d7e4d68d5ca58bef856fc459 (diff)
downloadserverdata-85f6f317c6f086c1155eb5a45c93781f4cf95943.tar.gz
serverdata-85f6f317c6f086c1155eb5a45c93781f4cf95943.tar.bz2
serverdata-85f6f317c6f086c1155eb5a45c93781f4cf95943.tar.xz
serverdata-85f6f317c6f086c1155eb5a45c93781f4cf95943.zip
Do not kill instantly on scripted death; And honor $HARDCORE flag if set
Diffstat (limited to 'npc/functions/global_event_handler.txt')
-rw-r--r--npc/functions/global_event_handler.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/functions/global_event_handler.txt b/npc/functions/global_event_handler.txt
index 69972292..f611e997 100644
--- a/npc/functions/global_event_handler.txt
+++ b/npc/functions/global_event_handler.txt
@@ -46,4 +46,8 @@ OnClock1700:
OnInit:
MOTD(); // set the MOTD array
end;
+
+OnDie:
+ percentheal -100, -100;
+ end;
}