Sync with L2jServer HighFive Mar 25th 2015.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user