Moved Magmeld scripts to zones package.

This commit is contained in:
MobiusDev
2016-04-28 17:31:58 +00:00
parent 9aad08d91c
commit 324f0a3ddb
5 changed files with 16 additions and 14 deletions

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package ai.npc.Teleports.AnghelWaterfallPortal;
package ai.zones.Magmeld;
import com.l2jmobius.gameserver.model.Location;
import com.l2jmobius.gameserver.model.actor.L2Character;
@@ -33,7 +33,7 @@ final class AnghelWaterfallPortal extends AbstractNpcAI
private AnghelWaterfallPortal()
{
super(AnghelWaterfallPortal.class.getSimpleName(), "ai/npc/Teleports");
super(AnghelWaterfallPortal.class.getSimpleName(), "ai/zones/Magmeld");
addEnterZoneId(ZONE_ID);
}

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package ai.group_template;
package ai.zones.Magmeld;
import java.util.ArrayList;

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package ai.group_template;
package ai.zones.Magmeld;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
@@ -45,7 +45,7 @@ final class OrbisTempleStatues extends AbstractNpcAI
public OrbisTempleStatues()
{
super(OrbisTempleStatues.class.getSimpleName(), "ai/group_template");
super(OrbisTempleStatues.class.getSimpleName(), "ai/zones/Magmeld");
addSpawnId(VICTIM_1, VICTIM_2, VICTIM_3, GUARD_1, GUARD_2, GUARD_3, THROWER_1, THROWER_2, THROWER_3, ANCIENT_HERO, CHIEF_CURATOR);
addAttackId(VICTIM_1, VICTIM_2, VICTIM_3, GUARD_1, GUARD_2, GUARD_3, THROWER_1, THROWER_2, THROWER_3);
}

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package ai.npc.Teleports.OrbisTemple;
package ai.zones.Magmeld;
import com.l2jmobius.gameserver.model.Location;
import com.l2jmobius.gameserver.model.actor.L2Character;
@@ -26,7 +26,7 @@ import ai.npc.AbstractNpcAI;
* Orbis Temple teleport AI.
* @author Mobius
*/
final class OrbisTemple extends AbstractNpcAI
final class OrbisTempleTeleports extends AbstractNpcAI
{
// Zones
private static final int ZONE_ID_1 = 200201;
@@ -43,9 +43,9 @@ final class OrbisTemple extends AbstractNpcAI
private static final Location TELEPORT_LOC_5 = new Location(211137, 50501, -14624);
private static final Location TELEPORT_LOC_6 = new Location(211641, 115547, -12736);
private OrbisTemple()
private OrbisTempleTeleports()
{
super(OrbisTemple.class.getSimpleName(), "ai/npc/Teleports");
super(OrbisTempleTeleports.class.getSimpleName(), "ai/zones/Magmeld");
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 OrbisTemple extends AbstractNpcAI
public static void main(String[] args)
{
new OrbisTemple();
new OrbisTempleTeleports();
}
}