summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-13 22:20:27 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-13 22:20:27 -0300
commit59a0b2e256a22f5516d6a355b29438e7db70fc8e (patch)
tree704723e92a73f05ffe3134d93d5c872dc7b66483 /npc/functions/hub.txt
parentaca3e74dcd7054de0297c5e3edcd2a2c6f9a1a7d (diff)
downloadserverdata-59a0b2e256a22f5516d6a355b29438e7db70fc8e.tar.gz
serverdata-59a0b2e256a22f5516d6a355b29438e7db70fc8e.tar.bz2
serverdata-59a0b2e256a22f5516d6a355b29438e7db70fc8e.tar.xz
serverdata-59a0b2e256a22f5516d6a355b29438e7db70fc8e.zip
Bandit Lord - If you die, kill the bandit lord too so it restart at full health
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r--npc/functions/hub.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 72ac5d1cb..7e3b44ea6 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -59,6 +59,11 @@ function script HUB_Logout {
@deathpenalty_realvalue=readparam(BaseExp);
@deathpenalty_realvaljob=readparam(JobExp);
}
+ // Died or logged during Bandit Lord fight
+ if (.@mapa$ == "015-2") {
+ if (isin("015-2", 228, 227, ))
+ killmonster("015-2", "#BanditLordDen::OnLordDeath");
+ }
// Died or logged out on Blue Sage House
if (.@mapa$ == "020-7-1") {
callfunc("BSClearNest", @nestid);