diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-12 10:33:54 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-12 10:33:54 -0300 |
commit | 622a7e908ed08ff1a18b4b7aa7be558d19bdb237 (patch) | |
tree | 3e552c1fad2ffa6bdab53dec06a166cd5c3a884e /npc/functions/hub.txt | |
parent | b7ad5006acd4c2869b986fd86ef4909bd91388d0 (diff) | |
download | serverdata-622a7e908ed08ff1a18b4b7aa7be558d19bdb237.tar.gz serverdata-622a7e908ed08ff1a18b4b7aa7be558d19bdb237.tar.bz2 serverdata-622a7e908ed08ff1a18b4b7aa7be558d19bdb237.tar.xz serverdata-622a7e908ed08ff1a18b4b7aa7be558d19bdb237.zip |
Hardcore server settings
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r-- | npc/functions/hub.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index e5bb153f7..ac46a2597 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -30,8 +30,12 @@ function script HUB_Logout { .@dead=getarg(0, false); getmapxy(.@mapa$, .@a,.@b, 0); + // Hardcore Server + if ($HARDCORE && .@dead) { + // It could be @jail, but... + atcommand("@jailfor 1d "+strcharinfo(0)); // Vanished on Cindy Cave - if (.@mapa$ == "021-4" && strcharinfo(0) == $@CINDY_HERO$) { + } else if (.@mapa$ == "021-4" && strcharinfo(0) == $@CINDY_HERO$) { donpcevent("Cindy#Outside::OnReckless"); recovery(getcharid(3)); warp any("010-1", "010-2"), 0, 0; |