summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-13 18:12:39 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-13 18:12:39 -0200
commit1e364144432bb38d8af68028df32802aa29a5449 (patch)
tree1cc34f00e797ba673c493872f4e32533d8333232 /npc
parent36203d10804c62c879d72ee3cea0fed129220681 (diff)
downloadserverdata-1e364144432bb38d8af68028df32802aa29a5449.tar.gz
serverdata-1e364144432bb38d8af68028df32802aa29a5449.tar.bz2
serverdata-1e364144432bb38d8af68028df32802aa29a5449.tar.xz
serverdata-1e364144432bb38d8af68028df32802aa29a5449.zip
Add a new test to Quirino Hub (which handles all death/logout events)
Diffstat (limited to 'npc')
-rw-r--r--npc/001-8/hub.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/001-8/hub.txt b/npc/001-8/hub.txt
index 10fdc16d2..e56c27125 100644
--- a/npc/001-8/hub.txt
+++ b/npc/001-8/hub.txt
@@ -417,6 +417,14 @@ OnPCLogoutEvent:
atcommand "@jail "+strcharinfo(0);
}
+
+ // I want to know if it is already safe to read your current exp
+ // to implement a no-death-penalty and a halved-penalty system
+ if (is_staff()) {
+ dispbottom l("Exp: @@", readparam(BaseExp));
+ dispbottom l("JExp: @@", readparam(JobExp));
+ }
+
@qhub_victor=0;
@qhub_died=0;
end;