summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-13 07:04:16 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-13 07:04:16 -0300
commit444d8eded5222e6f1d46dda80760363d1c3be137 (patch)
treebdac8de65efbba2991a82d7288cc6415587e2b53 /npc/functions/hub.txt
parent6bbd93d222cdf42f7656088825f311700d4b1ffa (diff)
downloadserverdata-444d8eded5222e6f1d46dda80760363d1c3be137.tar.gz
serverdata-444d8eded5222e6f1d46dda80760363d1c3be137.tar.bz2
serverdata-444d8eded5222e6f1d46dda80760363d1c3be137.tar.xz
serverdata-444d8eded5222e6f1d46dda80760363d1c3be137.zip
I forgot one line from Gumi's code, which is forcing GP to be dropped.
Fixed now, though.
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r--npc/functions/hub.txt3
1 files changed, 3 insertions, 0 deletions
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));
}