summaryrefslogtreecommitdiff
path: root/npc/001-8/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-09-04 10:37:11 -0300
committerJesusaves <cpntb1@ymail.com>2018-09-04 10:37:11 -0300
commit80e840aa48ae264887f031ea11deab6fb943c159 (patch)
tree361855e0b595cfa1e05d0cee80402d8d62cc126e /npc/001-8/hub.txt
parent184c4cdc710457560954343fd3c75dffa59c3f33 (diff)
downloadserverdata-80e840aa48ae264887f031ea11deab6fb943c159.tar.gz
serverdata-80e840aa48ae264887f031ea11deab6fb943c159.tar.bz2
serverdata-80e840aa48ae264887f031ea11deab6fb943c159.tar.xz
serverdata-80e840aa48ae264887f031ea11deab6fb943c159.zip
Terranite Cave Logic (5.74% penalty) + Hurnscald "Well" Master.
Diffstat (limited to 'npc/001-8/hub.txt')
-rw-r--r--npc/001-8/hub.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/npc/001-8/hub.txt b/npc/001-8/hub.txt
index d11352926..fcf565786 100644
--- a/npc/001-8/hub.txt
+++ b/npc/001-8/hub.txt
@@ -377,6 +377,16 @@ OnPCLogoutEvent:
//percentheal 100, 100;
warp "000-1", 22, 22;
}
+
+ // TODO: Checks which doesn't belong here shouldn't be here!
+ if (.@mapa$ == "015-6") {
+ if (readparam(BaseExp) < readparam(BaseExp)*2/100)
+ end;
+ recovery(getcharid(3));
+ getexp readparam(BaseExp)*2/100, 0;
+ warp "Save", 0, 0;
+ }
+
@qhub_victor=0;
@qhub_died=0;
end;