From 3a126ee88cd90acf9269f87bf029426bda51a639 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sat, 2 Nov 2019 17:15:06 +0000 Subject: [PATCH] Removed unused Parnassus effects script. Contributed by Edoo. --- .../Parnassus/ParnassusEntranceEffects.java | 68 ------------------- .../Parnassus/ParnassusEntranceEffects.java | 68 ------------------- .../Parnassus/ParnassusEntranceEffects.java | 68 ------------------- .../Parnassus/ParnassusEntranceEffects.java | 68 ------------------- .../Parnassus/ParnassusEntranceEffects.java | 68 ------------------- .../Parnassus/ParnassusEntranceEffects.java | 68 ------------------- .../Parnassus/ParnassusEntranceEffects.java | 68 ------------------- .../Parnassus/ParnassusEntranceEffects.java | 68 ------------------- 8 files changed, 544 deletions(-) delete mode 100644 L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java delete mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java delete mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java delete mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java delete mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java deleted file mode 100644 index e22b34e7b1..0000000000 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java +++ /dev/null @@ -1,68 +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.Parnassus; - -import org.l2jmobius.gameserver.model.actor.Creature; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.network.serverpackets.OnEventTrigger; - -import ai.AbstractNpcAI; - -/** - * @author Gigi - */ -public class ParnassusEntranceEffects extends AbstractNpcAI -{ - // NPCs - private static final int PRISON_ENTRACE = 33523; - private static final int CAVERNS_ENTRACE = 33522; - // Misc - private static final int PRISON_ENTRACE_TRIGGER_1 = 24230010; - private static final int PRISON_ENTRACE_TRIGGER_2 = 24230012; - private static final int CAVERNS_ENTRACE_TRIGGER_1 = 24230018; - private static final int CAVERNS_ENTRACE_TRIGGER_2 = 24230020; - - private ParnassusEntranceEffects() - { - addSeeCreatureId(PRISON_ENTRACE); - addSeeCreatureId(CAVERNS_ENTRACE); - } - - @Override - public String onSeeCreature(Npc npc, Creature creature, boolean isSummon) - { - if (creature != null) - { - if (npc.getId() == PRISON_ENTRACE) - { - creature.sendPacket(new OnEventTrigger(PRISON_ENTRACE_TRIGGER_1, true)); - creature.sendPacket(new OnEventTrigger(PRISON_ENTRACE_TRIGGER_2, true)); - } - else - { - creature.sendPacket(new OnEventTrigger(CAVERNS_ENTRACE_TRIGGER_1, true)); - creature.sendPacket(new OnEventTrigger(CAVERNS_ENTRACE_TRIGGER_2, true)); - } - } - return super.onSeeCreature(npc, creature, isSummon); - } - - public static void main(String[] args) - { - new ParnassusEntranceEffects(); - } -} \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java deleted file mode 100644 index e22b34e7b1..0000000000 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java +++ /dev/null @@ -1,68 +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.Parnassus; - -import org.l2jmobius.gameserver.model.actor.Creature; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.network.serverpackets.OnEventTrigger; - -import ai.AbstractNpcAI; - -/** - * @author Gigi - */ -public class ParnassusEntranceEffects extends AbstractNpcAI -{ - // NPCs - private static final int PRISON_ENTRACE = 33523; - private static final int CAVERNS_ENTRACE = 33522; - // Misc - private static final int PRISON_ENTRACE_TRIGGER_1 = 24230010; - private static final int PRISON_ENTRACE_TRIGGER_2 = 24230012; - private static final int CAVERNS_ENTRACE_TRIGGER_1 = 24230018; - private static final int CAVERNS_ENTRACE_TRIGGER_2 = 24230020; - - private ParnassusEntranceEffects() - { - addSeeCreatureId(PRISON_ENTRACE); - addSeeCreatureId(CAVERNS_ENTRACE); - } - - @Override - public String onSeeCreature(Npc npc, Creature creature, boolean isSummon) - { - if (creature != null) - { - if (npc.getId() == PRISON_ENTRACE) - { - creature.sendPacket(new OnEventTrigger(PRISON_ENTRACE_TRIGGER_1, true)); - creature.sendPacket(new OnEventTrigger(PRISON_ENTRACE_TRIGGER_2, true)); - } - else - { - creature.sendPacket(new OnEventTrigger(CAVERNS_ENTRACE_TRIGGER_1, true)); - creature.sendPacket(new OnEventTrigger(CAVERNS_ENTRACE_TRIGGER_2, true)); - } - } - return super.onSeeCreature(npc, creature, isSummon); - } - - public static void main(String[] args) - { - new ParnassusEntranceEffects(); - } -} \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java deleted file mode 100644 index e22b34e7b1..0000000000 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java +++ /dev/null @@ -1,68 +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.Parnassus; - -import org.l2jmobius.gameserver.model.actor.Creature; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.network.serverpackets.OnEventTrigger; - -import ai.AbstractNpcAI; - -/** - * @author Gigi - */ -public class ParnassusEntranceEffects extends AbstractNpcAI -{ - // NPCs - private static final int PRISON_ENTRACE = 33523; - private static final int CAVERNS_ENTRACE = 33522; - // Misc - private static final int PRISON_ENTRACE_TRIGGER_1 = 24230010; - private static final int PRISON_ENTRACE_TRIGGER_2 = 24230012; - private static final int CAVERNS_ENTRACE_TRIGGER_1 = 24230018; - private static final int CAVERNS_ENTRACE_TRIGGER_2 = 24230020; - - private ParnassusEntranceEffects() - { - addSeeCreatureId(PRISON_ENTRACE); - addSeeCreatureId(CAVERNS_ENTRACE); - } - - @Override - public String onSeeCreature(Npc npc, Creature creature, boolean isSummon) - { - if (creature != null) - { - if (npc.getId() == PRISON_ENTRACE) - { - creature.sendPacket(new OnEventTrigger(PRISON_ENTRACE_TRIGGER_1, true)); - creature.sendPacket(new OnEventTrigger(PRISON_ENTRACE_TRIGGER_2, true)); - } - else - { - creature.sendPacket(new OnEventTrigger(CAVERNS_ENTRACE_TRIGGER_1, true)); - creature.sendPacket(new OnEventTrigger(CAVERNS_ENTRACE_TRIGGER_2, true)); - } - } - return super.onSeeCreature(npc, creature, isSummon); - } - - public static void main(String[] args) - { - new ParnassusEntranceEffects(); - } -} \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java deleted file mode 100644 index e22b34e7b1..0000000000 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java +++ /dev/null @@ -1,68 +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.Parnassus; - -import org.l2jmobius.gameserver.model.actor.Creature; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.network.serverpackets.OnEventTrigger; - -import ai.AbstractNpcAI; - -/** - * @author Gigi - */ -public class ParnassusEntranceEffects extends AbstractNpcAI -{ - // NPCs - private static final int PRISON_ENTRACE = 33523; - private static final int CAVERNS_ENTRACE = 33522; - // Misc - private static final int PRISON_ENTRACE_TRIGGER_1 = 24230010; - private static final int PRISON_ENTRACE_TRIGGER_2 = 24230012; - private static final int CAVERNS_ENTRACE_TRIGGER_1 = 24230018; - private static final int CAVERNS_ENTRACE_TRIGGER_2 = 24230020; - - private ParnassusEntranceEffects() - { - addSeeCreatureId(PRISON_ENTRACE); - addSeeCreatureId(CAVERNS_ENTRACE); - } - - @Override - public String onSeeCreature(Npc npc, Creature creature, boolean isSummon) - { - if (creature != null) - { - if (npc.getId() == PRISON_ENTRACE) - { - creature.sendPacket(new OnEventTrigger(PRISON_ENTRACE_TRIGGER_1, true)); - creature.sendPacket(new OnEventTrigger(PRISON_ENTRACE_TRIGGER_2, true)); - } - else - { - creature.sendPacket(new OnEventTrigger(CAVERNS_ENTRACE_TRIGGER_1, true)); - creature.sendPacket(new OnEventTrigger(CAVERNS_ENTRACE_TRIGGER_2, true)); - } - } - return super.onSeeCreature(npc, creature, isSummon); - } - - public static void main(String[] args) - { - new ParnassusEntranceEffects(); - } -} \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java deleted file mode 100644 index e22b34e7b1..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java +++ /dev/null @@ -1,68 +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.Parnassus; - -import org.l2jmobius.gameserver.model.actor.Creature; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.network.serverpackets.OnEventTrigger; - -import ai.AbstractNpcAI; - -/** - * @author Gigi - */ -public class ParnassusEntranceEffects extends AbstractNpcAI -{ - // NPCs - private static final int PRISON_ENTRACE = 33523; - private static final int CAVERNS_ENTRACE = 33522; - // Misc - private static final int PRISON_ENTRACE_TRIGGER_1 = 24230010; - private static final int PRISON_ENTRACE_TRIGGER_2 = 24230012; - private static final int CAVERNS_ENTRACE_TRIGGER_1 = 24230018; - private static final int CAVERNS_ENTRACE_TRIGGER_2 = 24230020; - - private ParnassusEntranceEffects() - { - addSeeCreatureId(PRISON_ENTRACE); - addSeeCreatureId(CAVERNS_ENTRACE); - } - - @Override - public String onSeeCreature(Npc npc, Creature creature, boolean isSummon) - { - if (creature != null) - { - if (npc.getId() == PRISON_ENTRACE) - { - creature.sendPacket(new OnEventTrigger(PRISON_ENTRACE_TRIGGER_1, true)); - creature.sendPacket(new OnEventTrigger(PRISON_ENTRACE_TRIGGER_2, true)); - } - else - { - creature.sendPacket(new OnEventTrigger(CAVERNS_ENTRACE_TRIGGER_1, true)); - creature.sendPacket(new OnEventTrigger(CAVERNS_ENTRACE_TRIGGER_2, true)); - } - } - return super.onSeeCreature(npc, creature, isSummon); - } - - public static void main(String[] args) - { - new ParnassusEntranceEffects(); - } -} \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java deleted file mode 100644 index e22b34e7b1..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java +++ /dev/null @@ -1,68 +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.Parnassus; - -import org.l2jmobius.gameserver.model.actor.Creature; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.network.serverpackets.OnEventTrigger; - -import ai.AbstractNpcAI; - -/** - * @author Gigi - */ -public class ParnassusEntranceEffects extends AbstractNpcAI -{ - // NPCs - private static final int PRISON_ENTRACE = 33523; - private static final int CAVERNS_ENTRACE = 33522; - // Misc - private static final int PRISON_ENTRACE_TRIGGER_1 = 24230010; - private static final int PRISON_ENTRACE_TRIGGER_2 = 24230012; - private static final int CAVERNS_ENTRACE_TRIGGER_1 = 24230018; - private static final int CAVERNS_ENTRACE_TRIGGER_2 = 24230020; - - private ParnassusEntranceEffects() - { - addSeeCreatureId(PRISON_ENTRACE); - addSeeCreatureId(CAVERNS_ENTRACE); - } - - @Override - public String onSeeCreature(Npc npc, Creature creature, boolean isSummon) - { - if (creature != null) - { - if (npc.getId() == PRISON_ENTRACE) - { - creature.sendPacket(new OnEventTrigger(PRISON_ENTRACE_TRIGGER_1, true)); - creature.sendPacket(new OnEventTrigger(PRISON_ENTRACE_TRIGGER_2, true)); - } - else - { - creature.sendPacket(new OnEventTrigger(CAVERNS_ENTRACE_TRIGGER_1, true)); - creature.sendPacket(new OnEventTrigger(CAVERNS_ENTRACE_TRIGGER_2, true)); - } - } - return super.onSeeCreature(npc, creature, isSummon); - } - - public static void main(String[] args) - { - new ParnassusEntranceEffects(); - } -} \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java deleted file mode 100644 index e22b34e7b1..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java +++ /dev/null @@ -1,68 +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.Parnassus; - -import org.l2jmobius.gameserver.model.actor.Creature; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.network.serverpackets.OnEventTrigger; - -import ai.AbstractNpcAI; - -/** - * @author Gigi - */ -public class ParnassusEntranceEffects extends AbstractNpcAI -{ - // NPCs - private static final int PRISON_ENTRACE = 33523; - private static final int CAVERNS_ENTRACE = 33522; - // Misc - private static final int PRISON_ENTRACE_TRIGGER_1 = 24230010; - private static final int PRISON_ENTRACE_TRIGGER_2 = 24230012; - private static final int CAVERNS_ENTRACE_TRIGGER_1 = 24230018; - private static final int CAVERNS_ENTRACE_TRIGGER_2 = 24230020; - - private ParnassusEntranceEffects() - { - addSeeCreatureId(PRISON_ENTRACE); - addSeeCreatureId(CAVERNS_ENTRACE); - } - - @Override - public String onSeeCreature(Npc npc, Creature creature, boolean isSummon) - { - if (creature != null) - { - if (npc.getId() == PRISON_ENTRACE) - { - creature.sendPacket(new OnEventTrigger(PRISON_ENTRACE_TRIGGER_1, true)); - creature.sendPacket(new OnEventTrigger(PRISON_ENTRACE_TRIGGER_2, true)); - } - else - { - creature.sendPacket(new OnEventTrigger(CAVERNS_ENTRACE_TRIGGER_1, true)); - creature.sendPacket(new OnEventTrigger(CAVERNS_ENTRACE_TRIGGER_2, true)); - } - } - return super.onSeeCreature(npc, creature, isSummon); - } - - public static void main(String[] args) - { - new ParnassusEntranceEffects(); - } -} \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java deleted file mode 100644 index e22b34e7b1..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/areas/Parnassus/ParnassusEntranceEffects.java +++ /dev/null @@ -1,68 +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.Parnassus; - -import org.l2jmobius.gameserver.model.actor.Creature; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.network.serverpackets.OnEventTrigger; - -import ai.AbstractNpcAI; - -/** - * @author Gigi - */ -public class ParnassusEntranceEffects extends AbstractNpcAI -{ - // NPCs - private static final int PRISON_ENTRACE = 33523; - private static final int CAVERNS_ENTRACE = 33522; - // Misc - private static final int PRISON_ENTRACE_TRIGGER_1 = 24230010; - private static final int PRISON_ENTRACE_TRIGGER_2 = 24230012; - private static final int CAVERNS_ENTRACE_TRIGGER_1 = 24230018; - private static final int CAVERNS_ENTRACE_TRIGGER_2 = 24230020; - - private ParnassusEntranceEffects() - { - addSeeCreatureId(PRISON_ENTRACE); - addSeeCreatureId(CAVERNS_ENTRACE); - } - - @Override - public String onSeeCreature(Npc npc, Creature creature, boolean isSummon) - { - if (creature != null) - { - if (npc.getId() == PRISON_ENTRACE) - { - creature.sendPacket(new OnEventTrigger(PRISON_ENTRACE_TRIGGER_1, true)); - creature.sendPacket(new OnEventTrigger(PRISON_ENTRACE_TRIGGER_2, true)); - } - else - { - creature.sendPacket(new OnEventTrigger(CAVERNS_ENTRACE_TRIGGER_1, true)); - creature.sendPacket(new OnEventTrigger(CAVERNS_ENTRACE_TRIGGER_2, true)); - } - } - return super.onSeeCreature(npc, creature, isSummon); - } - - public static void main(String[] args) - { - new ParnassusEntranceEffects(); - } -} \ No newline at end of file