diff options
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; |