diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-13 22:20:27 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-13 22:20:27 -0300 |
commit | 59a0b2e256a22f5516d6a355b29438e7db70fc8e (patch) | |
tree | 704723e92a73f05ffe3134d93d5c872dc7b66483 | |
parent | aca3e74dcd7054de0297c5e3edcd2a2c6f9a1a7d (diff) | |
download | serverdata-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
-rw-r--r-- | npc/functions/hub.txt | 5 |
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); |