From 1de81e10aa3efa99dfb15e4f931d4be8a33dcb19 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 14 Jan 2019 00:39:22 -0200 Subject: Experiment, this time with a timer --- npc/001-8/hub.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'npc/001-8') diff --git a/npc/001-8/hub.txt b/npc/001-8/hub.txt index 9a656bbc9..51abfc258 100644 --- a/npc/001-8/hub.txt +++ b/npc/001-8/hub.txt @@ -421,8 +421,7 @@ OnPCLogoutEvent: // 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() && @qhub_died) { - dispbottom l("Exp: @@", readparam(BaseExp)); - dispbottom l("JExp: @@", readparam(JobExp)); + addtimer(200, "#QuirinoHUB::OnNoPenaltyCommand"); } @qhub_victor=0; @@ -433,5 +432,10 @@ OnCancel: setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_ITEM|PCBLOCK_MOVE|PCBLOCK_COMMANDS, false); warp "Save", 0, 0; end; + +OnNoPenaltyCommand: + dispbottom l("Exp: @@", readparam(BaseExp)); + dispbottom l("JExp: @@", readparam(JobExp)); + end; } -- cgit v1.2.3-60-g2f50