diff --git a/L2J_Mobius_8.0_Homunculus/dist/game/data/scripts/ai/areas/EnchantedValley/FlowerBud.java b/L2J_Mobius_8.0_Homunculus/dist/game/data/scripts/ai/areas/EnchantedValley/FlowerBud.java deleted file mode 100644 index 01e3b66339..0000000000 --- a/L2J_Mobius_8.0_Homunculus/dist/game/data/scripts/ai/areas/EnchantedValley/FlowerBud.java +++ /dev/null @@ -1,73 +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.EnchantedValley; - -import java.util.ArrayList; -import java.util.List; - -import org.l2jmobius.commons.util.Rnd; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; - -import ai.AbstractNpcAI; - -/** - * AI from Flower Bud in Enchanted Valley, after kill random spawn
- * [Nymph Rose (Elegant), Nymph Lily (Elegant), Nymph Tulip (Elegant), Nymph Cosmos (Elegant)] - * @author Gigi - */ -public class FlowerBud extends AbstractNpcAI -{ - // NPCs - private static final int FLOWER_BUD = 19600; - private static final List FLOWER_SPAWNS = new ArrayList<>(); - static - { - FLOWER_SPAWNS.add(23582); - FLOWER_SPAWNS.add(23583); - FLOWER_SPAWNS.add(23584); - FLOWER_SPAWNS.add(23585); - } - - private FlowerBud() - { - addKillId(FLOWER_BUD); - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - if (event.equals("spawn") && npc.isDead()) - { - final Npc elegant = addSpawn(FLOWER_SPAWNS.get(Rnd.get(FLOWER_SPAWNS.size())), npc, false, 120000, false); - addAttackPlayerDesire(elegant, player); - } - return event; - } - - @Override - public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) - { - startQuestTimer("spawn", 3000, npc, killer); - return super.onKill(npc, killer, isSummon); - } - - public static void main(String[] args) - { - new FlowerBud(); - } -} \ No newline at end of file