Sync with L2jServer HighFive Mar 25th 2015.

This commit is contained in:
MobiusDev
2015-03-25 06:48:51 +00:00
parent e0c66b1412
commit 82606870c0
194 changed files with 2619 additions and 2869 deletions

View File

@@ -41,7 +41,7 @@ import com.l2jserver.gameserver.util.Util;
*/
public class SeedOfAnnihilation extends AbstractNpcAI
{
private static final Map<Integer, Location> _teleportZones = new HashMap<>();
private static final Map<Integer, Location> TELEPORT_ZONES = new HashMap<>();
private static final int ANNIHILATION_FURNACE = 18928;
// Strength, Agility, Wisdom
@@ -71,17 +71,17 @@ public class SeedOfAnnihilation extends AbstractNpcAI
static
{
_teleportZones.put(60002, new Location(-213175, 182648, -10992));
_teleportZones.put(60003, new Location(-181217, 186711, -10528));
_teleportZones.put(60004, new Location(-180211, 182984, -15152));
_teleportZones.put(60005, new Location(-179275, 186802, -10720));
TELEPORT_ZONES.put(60002, new Location(-213175, 182648, -10992));
TELEPORT_ZONES.put(60003, new Location(-181217, 186711, -10528));
TELEPORT_ZONES.put(60004, new Location(-180211, 182984, -15152));
TELEPORT_ZONES.put(60005, new Location(-179275, 186802, -10720));
}
public SeedOfAnnihilation()
{
super(SeedOfAnnihilation.class.getSimpleName(), "gracia/AI");
loadSeedRegionData();
for (int i : _teleportZones.keySet())
for (int i : TELEPORT_ZONES.keySet())
{
addEnterZoneId(i);
}
@@ -340,9 +340,9 @@ public class SeedOfAnnihilation extends AbstractNpcAI
@Override
public String onEnterZone(L2Character character, L2ZoneType zone)
{
if (_teleportZones.containsKey(zone.getId()))
if (TELEPORT_ZONES.containsKey(zone.getId()))
{
Location teleLoc = _teleportZones.get(zone.getId());
Location teleLoc = TELEPORT_ZONES.get(zone.getId());
character.teleToLocation(teleLoc, false);
}
return super.onEnterZone(character, zone);