Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: data/scripts/ai/individual/Antharas.java
- ===================================================================
- --- data/scripts/ai/individual/Antharas.java (revision 510)
- +++ data/scripts/ai/individual/Antharas.java (working copy)
- @@ -525,6 +525,11 @@
- characters.sendPacket(mov);
- }
- }
- + else if (_antharas != null)
- + {
- + _antharas.broadcastPacket(mov);
- + }
- +
- }
- // Do spawn Behemoth or Bomber.
- @@ -848,13 +853,22 @@
- if (npc.getNpcId() == 29019 || npc.getNpcId() == 29066 || npc.getNpcId() == 29067 || npc.getNpcId() == 29068)
- {
- _LastAction = System.currentTimeMillis();
- - if (GrandBossManager.getInstance().getBossStatus(_antharas.getNpcId()) != FIGHTING)
- + try
- {
- - _Zone.oustAllPlayers();
- + if (GrandBossManager.getInstance().getBossStatus(npc.getNpcId()) != FIGHTING)
- + {
- + if (_Zone != null)
- + _Zone.oustAllPlayers();
- + }
- + else if (!FWA_OLDANTHARAS && _mobsSpawnTask == null)
- + {
- + startMinionSpawns(npc.getNpcId());
- + }
- }
- - else if (!FWA_OLDANTHARAS && _mobsSpawnTask == null)
- + catch (Exception e)
- {
- - startMinionSpawns(npc.getNpcId());
- + _log.warning("Npe in Antharas AI. Spawned outside of zone?!");
- + e.printStackTrace();
- }
- }
- else if (npc.getNpcId() > 29069 && npc.getNpcId() < 29077 && npc.getCurrentHp() <= damage)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement