Cancel baium_despawn quest timer if Baium is not awake.
This commit is contained in:
parent
8cedc81d46
commit
45b9afa5f6
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user