From 59a0b2e256a22f5516d6a355b29438e7db70fc8e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 13 Sep 2019 22:20:27 -0300 Subject: Bandit Lord - If you die, kill the bandit lord too so it restart at full health --- npc/functions/hub.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'npc/functions') 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); -- cgit v1.2.3-60-g2f50