diff options
Diffstat (limited to 'npc/001-8')
-rw-r--r-- | npc/001-8/hub.txt | 10 |
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; |