Backward compatibility changes for Java 8.
This commit is contained in:
@@ -47,6 +47,10 @@ public class HallOfSufferingAttack extends AbstractNpcAI
|
||||
{
|
||||
private class HSAWorld extends InstanceWorld
|
||||
{
|
||||
public HSAWorld()
|
||||
{
|
||||
}
|
||||
|
||||
public Map<Npc, Boolean> npcList = new HashMap<>();
|
||||
public Npc klodekus = null;
|
||||
public Npc klanikus = null;
|
||||
|
||||
@@ -47,6 +47,10 @@ public class HallOfSufferingDefence extends AbstractNpcAI
|
||||
{
|
||||
private class HSDWorld extends InstanceWorld
|
||||
{
|
||||
public HSDWorld()
|
||||
{
|
||||
}
|
||||
|
||||
public Map<Npc, Boolean> npcList = new HashMap<>();
|
||||
public Npc klodekus = null;
|
||||
public Npc klanikus = null;
|
||||
|
||||
@@ -65,6 +65,10 @@ public class HeartInfinityAttack extends AbstractNpcAI
|
||||
public long startTime = 0;
|
||||
protected ScheduledFuture<?> timerTask;
|
||||
|
||||
public HIAWorld()
|
||||
{
|
||||
}
|
||||
|
||||
public synchronized void addTumorCount(int value)
|
||||
{
|
||||
tumorCount += value;
|
||||
|
||||
@@ -53,6 +53,10 @@ public class HeartInfinityDefence extends AbstractNpcAI
|
||||
{
|
||||
private class HIDWorld extends InstanceWorld
|
||||
{
|
||||
public HIDWorld()
|
||||
{
|
||||
}
|
||||
|
||||
public List<Npc> npcList = new ArrayList<>();
|
||||
public List<Npc> deadTumors = new ArrayList<>();
|
||||
protected Npc deadTumor;
|
||||
|
||||
@@ -63,14 +63,14 @@ public class SeerUgoros extends AbstractNpcAI
|
||||
private static final byte FIGHTING = 1;
|
||||
private static final byte DEAD = 2;
|
||||
// Misc
|
||||
private static byte _state = DEAD;
|
||||
private static boolean _weedAttack = false;
|
||||
protected static byte _state = DEAD;
|
||||
protected static boolean _weedAttack = false;
|
||||
private static boolean _weedKilledByPlayer = false;
|
||||
private static boolean _killedOneWeed = false;
|
||||
private static Attackable _weed = null;
|
||||
private static Attackable _ugoros = null;
|
||||
private static PlayerInstance _attacker = null;
|
||||
private static ScheduledFuture<?> _thinkTask = null;
|
||||
protected static Attackable _weed = null;
|
||||
protected static Attackable _ugoros = null;
|
||||
protected static PlayerInstance _attacker = null;
|
||||
protected static ScheduledFuture<?> _thinkTask = null;
|
||||
|
||||
private SeerUgoros()
|
||||
{
|
||||
@@ -300,6 +300,10 @@ public class SeerUgoros extends AbstractNpcAI
|
||||
|
||||
private class ThinkTask implements Runnable
|
||||
{
|
||||
public ThinkTask()
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
@@ -346,7 +350,7 @@ public class SeerUgoros extends AbstractNpcAI
|
||||
}
|
||||
}
|
||||
|
||||
private void changeAttackTarget(Creature attacker)
|
||||
protected void changeAttackTarget(Creature attacker)
|
||||
{
|
||||
_ugoros.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||
_ugoros.clearAggroList();
|
||||
|
||||
@@ -90,8 +90,8 @@ public class SiegeGuards extends AbstractNpcAI
|
||||
};
|
||||
//@formatter:on
|
||||
@SuppressWarnings("unchecked")
|
||||
private static final List<Npc>[] RESIDENCE_GUARD_MAP = new CopyOnWriteArrayList[122];
|
||||
private static final boolean[] RESIDENCE_WORKING = new boolean[122];
|
||||
protected static final List<Npc>[] RESIDENCE_GUARD_MAP = new CopyOnWriteArrayList[122];
|
||||
protected static final boolean[] RESIDENCE_WORKING = new boolean[122];
|
||||
|
||||
public SiegeGuards()
|
||||
{
|
||||
|
||||
@@ -75,12 +75,12 @@ public class Q00311_ExpulsionOfEvilSpirits extends Quest
|
||||
private static final int SOUL_CORE_COUNT = 10;
|
||||
private static final int RAGNA_ORCS_KILLS_COUNT = 100;
|
||||
private static final int RAGNA_ORCS_AMULET_COUNT = 10;
|
||||
private static final ZoneType ALTARZONE = ZoneManager.getInstance().getZoneById(20201);
|
||||
private static long respawnTime = 0;
|
||||
private static Npc _altar;
|
||||
protected static final ZoneType ALTARZONE = ZoneManager.getInstance().getZoneById(20201);
|
||||
protected static Npc _altar;
|
||||
private static Npc _varangka;
|
||||
private static Npc _varangkaMinion1;
|
||||
private static Npc _varangkaMinion2;
|
||||
private static long respawnTime = 0;
|
||||
|
||||
public Q00311_ExpulsionOfEvilSpirits()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user