Visibility changes.

This commit is contained in:
MobiusDev
2016-01-29 14:13:33 +00:00
parent 6e536fc2dd
commit 13507ad46c
298 changed files with 563 additions and 595 deletions

View File

@@ -52,7 +52,7 @@ public class EnergySeeds extends AbstractNpcAI
private static final int RESPAWN = 480000;
private static final int RANDOM_RESPAWN_OFFSET = 180000;
private static final Map<Integer, ESSpawn> SPAWNS = new HashMap<>();
protected static final Map<L2Npc, Integer> _spawnedNpcs = new ConcurrentHashMap<>();
static final Map<L2Npc, Integer> _spawnedNpcs = new ConcurrentHashMap<>();
private static final int TEMPORARY_TELEPORTER = 32602;
// @formatter:off
@@ -100,7 +100,7 @@ public class EnergySeeds extends AbstractNpcAI
startAI();
}
protected boolean isSeedActive(GraciaSeeds seed)
boolean isSeedActive(GraciaSeeds seed)
{
switch (seed)
{
@@ -290,7 +290,7 @@ public class EnergySeeds extends AbstractNpcAI
return super.onEnterZone(character, zone);
}
public void startAI()
private void startAI()
{
// spawn all NPCs
for (ESSpawn spawn : SPAWNS.values())
@@ -302,7 +302,7 @@ public class EnergySeeds extends AbstractNpcAI
}
}
public void startAI(GraciaSeeds type)
private void startAI(GraciaSeeds type)
{
// spawn all NPCs
for (ESSpawn spawn : SPAWNS.values())
@@ -314,7 +314,7 @@ public class EnergySeeds extends AbstractNpcAI
}
}
public void stopAI(GraciaSeeds type)
private void stopAI(GraciaSeeds type)
{
for (L2Npc seed : _spawnedNpcs.keySet())
{
@@ -325,7 +325,7 @@ public class EnergySeeds extends AbstractNpcAI
}
}
public void seedCollectEvent(L2PcInstance player, L2Npc seedEnergy, GraciaSeeds seedType)
private void seedCollectEvent(L2PcInstance player, L2Npc seedEnergy, GraciaSeeds seedType)
{
if (player == null)
{

View File

@@ -108,13 +108,13 @@ public class Lindvior extends AbstractNpcAI
return super.onAdvEvent(event, npc, player);
}
public void scheduleNextLindviorVisit()
private void scheduleNextLindviorVisit()
{
final long delay = (ALT_MODE) ? ALT_MODE_MIN * 60000 : scheduleNextLindviorDate();
startQuestTimer("start", delay, null, null);
}
protected long scheduleNextLindviorDate()
private long scheduleNextLindviorDate()
{
final GregorianCalendar date = new GregorianCalendar();
date.set(Calendar.MINUTE, RESET_MIN);

View File

@@ -94,7 +94,7 @@ public class SeedOfAnnihilation extends AbstractNpcAI
startEffectZonesControl();
}
public void loadSeedRegionData()
private void loadSeedRegionData()
{
// Bistakon data
_regionsData[0] = new SeedRegion(new int[]