From 444d8eded5222e6f1d46dda80760363d1c3be137 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 13 May 2020 07:04:16 -0300 Subject: I forgot one line from Gumi's code, which is forcing GP to be dropped. Fixed now, though. --- npc/functions/hub.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 54ae09349..778aa63ce 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -50,6 +50,9 @@ function script HUB_Logout { } else { // TODO: Misc penalties (drop all items, etc) atcommand("@dropall"); + makeitem CoinBag, Zeny/500, .@mapa$, .@a, .@b; + Zeny=0; + //resetlvl(2); // FIXME: Split the exp // TODO: It could be @jail, but it is buggy atcommand("@jailfor 1d "+strcharinfo(0)); } -- cgit v1.2.3-60-g2f50