Cancel baium_despawn quest timer if Baium is not awake.

This commit is contained in:
MobiusDevelopment 2020-05-01 11:21:24 +00:00
parent 8cedc81d46
commit 45b9afa5f6

View File

@ -269,10 +269,12 @@ public class Baium extends Quest
}
else if (((_lastAttackVsBaiumTime + 300000) < System.currentTimeMillis()) && (npc.getCurrentHp() < ((npc.getMaxHp() * 3) / 4.0)))
{
// npc.setCastingNow(false); //just in case
npc.setTarget(npc);
npc.doCast(SkillTable.getInstance().getInfo(4135, 1));
// npc.setCastingNow(true);
if (GrandBossManager.getInstance().getBossStatus(LIVE_BAIUM) != AWAKE)
{
cancelQuestTimer("baium_despawn", npc, null);
}
}
}
}