From 12faa82db4feea25486f242dd67cc196da5784d5 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Thu, 18 Jan 2018 10:07:20 +0000 Subject: [PATCH] Removed PavelArchaic AI. --- .../ai/areas/PavelArchaic/PavelArchaic.java | 59 ------------------- .../dist/game/data/stats/npcs/22800-22899.xml | 4 -- 2 files changed, 63 deletions(-) delete mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/PavelArchaic/PavelArchaic.java diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/PavelArchaic/PavelArchaic.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/PavelArchaic/PavelArchaic.java deleted file mode 100644 index 49b59a659d..0000000000 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/PavelArchaic/PavelArchaic.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.areas.PavelArchaic; - -import com.l2jmobius.gameserver.model.actor.L2Npc; -import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; - -import ai.AbstractNpcAI; - -/** - * Pavel Archaic AI. - * @author Gnacik, St3eT - */ -public final class PavelArchaic extends AbstractNpcAI -{ - // private static final int SAFETY_DEVICE = 18917; // Pavel Safety Device - private static final int PINCER_GOLEM = 22801; // Cruel Pincer Golem - private static final int PINCER_GOLEM2 = 22802; // Cruel Pincer Golem - private static final int PINCER_GOLEM3 = 22803; // Cruel Pincer Golem - private static final int JACKHAMMER_GOLEM = 22804; // Horrifying Jackhammer Golem - - private PavelArchaic() - { - addKillId(/* SAFETY_DEVICE, */ PINCER_GOLEM, JACKHAMMER_GOLEM); - } - - @Override - public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) - { - if (getRandom(100) < 70) - { - final L2Npc golem1 = addSpawn(PINCER_GOLEM2, npc.getX(), npc.getY(), npc.getZ() + 10, npc.getHeading(), false, 0, false); - addAttackPlayerDesire(golem1, killer); - - final L2Npc golem2 = addSpawn(PINCER_GOLEM3, npc.getX(), npc.getY(), npc.getZ() + 10, npc.getHeading(), false, 0, false); - addAttackPlayerDesire(golem2, killer); - } - return super.onKill(npc, killer, isSummon); - } - - public static void main(String[] args) - { - new PavelArchaic(); - } -} diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/stats/npcs/22800-22899.xml b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/stats/npcs/22800-22899.xml index 87d2d56fdf..0a863e4e7d 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/stats/npcs/22800-22899.xml +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/stats/npcs/22800-22899.xml @@ -85,10 +85,6 @@ - - - - CONSTRUCT