Moved Gainak Underground scripts to zones package.

This commit is contained in:
MobiusDev
2016-05-01 18:00:23 +00:00
parent 3c540e4d9b
commit c7ff2fc70f
3 changed files with 11 additions and 9 deletions

View File

@@ -63,7 +63,6 @@ ai/individual/EvasGiftBox.java
ai/individual/FrightenedRagnaOrc.java ai/individual/FrightenedRagnaOrc.java
ai/individual/Gordon.java ai/individual/Gordon.java
ai/individual/GraveRobbers.java ai/individual/GraveRobbers.java
ai/individual/Lailly.java
ai/individual/MercenaryCaptain.java ai/individual/MercenaryCaptain.java
ai/individual/Orfen.java ai/individual/Orfen.java
ai/individual/QueenAnt.java ai/individual/QueenAnt.java
@@ -127,7 +126,6 @@ ai/npc/Teleports/CrumaTower/CrumaTower.java
ai/npc/Teleports/DarkOmens/DarkOmens.java ai/npc/Teleports/DarkOmens/DarkOmens.java
ai/npc/Teleports/DelusionTeleport/DelusionTeleport.java ai/npc/Teleports/DelusionTeleport/DelusionTeleport.java
ai/npc/Teleports/DimensionalWarpTeleport/DimensionalWarpTeleport.java ai/npc/Teleports/DimensionalWarpTeleport/DimensionalWarpTeleport.java
ai/npc/Teleports/GainakUndergroundEntrance/GainakUndergroundEntrance.java
ai/npc/Teleports/GardenOfSpirits/GardenOfSpirits.java ai/npc/Teleports/GardenOfSpirits/GardenOfSpirits.java
ai/npc/Teleports/GiantServant/GiantServant.java ai/npc/Teleports/GiantServant/GiantServant.java
ai/npc/Teleports/GrandBossTeleporters/GrandBossTeleporters.java ai/npc/Teleports/GrandBossTeleporters/GrandBossTeleporters.java
@@ -172,6 +170,10 @@ ai/zones/FantasyIsle/HandysBlockCheckerEvent.java
ai/zones/FantasyIsle/Parade.java ai/zones/FantasyIsle/Parade.java
ai/zones/FantasyIsle/TalentShow.java ai/zones/FantasyIsle/TalentShow.java
# Gainak Underground
ai/zones/GainakUnderground/Lailly.java
ai/zones/GainakUnderground/UndergroundEntranceTeleports.java
# Gracia # Gracia
ai/zones/Gracia/EnergySeeds.java ai/zones/Gracia/EnergySeeds.java
ai/zones/Gracia/SeedOfAnnihilation.java ai/zones/Gracia/SeedOfAnnihilation.java

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.individual; package ai.zones.GainakUnderground;
import com.l2jmobius.gameserver.enums.ChatType; import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc; import com.l2jmobius.gameserver.model.actor.L2Npc;
@@ -34,7 +34,7 @@ final class Lailly extends AbstractNpcAI
private Lailly() private Lailly()
{ {
super(Lailly.class.getSimpleName(), "ai/individual"); super(Lailly.class.getSimpleName(), "ai/zones/GainakUnderground");
addSpawnId(LAILLY); addSpawnId(LAILLY);
} }

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.npc.Teleports.GainakUndergroundEntrance; package ai.zones.GainakUnderground;
import com.l2jmobius.gameserver.model.Location; import com.l2jmobius.gameserver.model.Location;
import com.l2jmobius.gameserver.model.actor.L2Character; import com.l2jmobius.gameserver.model.actor.L2Character;
@@ -26,7 +26,7 @@ import ai.AbstractNpcAI;
* Gainak Underground Entrance teleport AI. * Gainak Underground Entrance teleport AI.
* @author Mobius * @author Mobius
*/ */
final class GainakUndergroundEntrance extends AbstractNpcAI final class UndergroundEntranceTeleports extends AbstractNpcAI
{ {
// Zones // Zones
private static final int ZONE_ID_1 = 200207; private static final int ZONE_ID_1 = 200207;
@@ -43,9 +43,9 @@ final class GainakUndergroundEntrance extends AbstractNpcAI
private static final Location TELEPORT_LOC_5 = new Location(-46867, -149309, -14216); private static final Location TELEPORT_LOC_5 = new Location(-46867, -149309, -14216);
private static final Location TELEPORT_LOC_6 = new Location(18784, -115648, -248); private static final Location TELEPORT_LOC_6 = new Location(18784, -115648, -248);
private GainakUndergroundEntrance() private UndergroundEntranceTeleports()
{ {
super(GainakUndergroundEntrance.class.getSimpleName(), "ai/npc/Teleports"); super(UndergroundEntranceTeleports.class.getSimpleName(), "ai/zones/GainakUnderground");
addEnterZoneId(ZONE_ID_1, ZONE_ID_2, ZONE_ID_3, ZONE_ID_4, ZONE_ID_5, ZONE_ID_6); addEnterZoneId(ZONE_ID_1, ZONE_ID_2, ZONE_ID_3, ZONE_ID_4, ZONE_ID_5, ZONE_ID_6);
} }
@@ -93,6 +93,6 @@ final class GainakUndergroundEntrance extends AbstractNpcAI
public static void main(String[] args) public static void main(String[] args)
{ {
new GainakUndergroundEntrance(); new UndergroundEntranceTeleports();
} }
} }