From b6f20749952e20d0e3aeb55694836a51bb1da1b8 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sun, 25 Jul 2021 17:29:31 +0000 Subject: [PATCH] Synced Krofin Nest adjustments. --- .../instances/KrofinNest/KrofinNest.java | 31 ++++++++++--------- .../instances/KrofinNest/KrofinNest.java | 31 ++++++++++--------- 2 files changed, 32 insertions(+), 30 deletions(-) diff --git a/L2J_Mobius_8.0_Homunculus/dist/game/data/scripts/instances/KrofinNest/KrofinNest.java b/L2J_Mobius_8.0_Homunculus/dist/game/data/scripts/instances/KrofinNest/KrofinNest.java index 8bc352812f..994b9c9977 100644 --- a/L2J_Mobius_8.0_Homunculus/dist/game/data/scripts/instances/KrofinNest/KrofinNest.java +++ b/L2J_Mobius_8.0_Homunculus/dist/game/data/scripts/instances/KrofinNest/KrofinNest.java @@ -32,24 +32,19 @@ import instances.AbstractInstance; */ public class KrofinNest extends AbstractInstance { - // NPC + // NPCs private static final int BENUSTA = 34542; - // Item - private static final ItemHolder BENUSTAS_REWARD_BOX = new ItemHolder(81151, 1); - // Misc - private static final int TEMPLATE_ID = 291; // Krofin Nest - private static final int DOOR1 = 23220101; - private static final int DOOR2 = 24250002; - private static final int DOOR3 = 24250004; - private static final int DOOR4 = 24250006; + private static final int KROSHA_FIRST_FORM = 26389; + private static final int KROSHA_FINAL_FORM = 26390; + private static final int KROPION = 26396; private static final int[] FIRST_AREA = { - 26396, + KROPION, 26398 }; private static final int[] SECOND_AREA = { - 26396, + KROPION, 26398 }; private static final int[] THIRD_AREA = @@ -60,13 +55,10 @@ public class KrofinNest extends AbstractInstance private static final int[] FOURTH_AREA = { 26395, - 26396, + KROPION, 26397, 26398 }; - private static final int KROSHA_FIRST_FORM = 26389; - private static final int KROSHA_FINAL_FORM = 26390; - private static final int KROPION = 26396; private static final int[] KROSHA_FIRST_FORM_MINIONS = { 26393, @@ -77,6 +69,14 @@ public class KrofinNest extends AbstractInstance 26391, 26392 }; + // Item + private static final ItemHolder BENUSTAS_REWARD_BOX = new ItemHolder(81151, 1); + // Misc + private static final int TEMPLATE_ID = 291; // Krofin Nest + private static final int DOOR1 = 23220101; + private static final int DOOR2 = 24250002; + private static final int DOOR3 = 24250004; + private static final int DOOR4 = 24250006; public KrofinNest() { @@ -115,6 +115,7 @@ public class KrofinNest extends AbstractInstance { return null; } + switch (world.getStatus()) { case 0: diff --git a/L2J_Mobius_9.0_ReturnOfTheQueenAnt/dist/game/data/scripts/instances/KrofinNest/KrofinNest.java b/L2J_Mobius_9.0_ReturnOfTheQueenAnt/dist/game/data/scripts/instances/KrofinNest/KrofinNest.java index 8bc352812f..994b9c9977 100644 --- a/L2J_Mobius_9.0_ReturnOfTheQueenAnt/dist/game/data/scripts/instances/KrofinNest/KrofinNest.java +++ b/L2J_Mobius_9.0_ReturnOfTheQueenAnt/dist/game/data/scripts/instances/KrofinNest/KrofinNest.java @@ -32,24 +32,19 @@ import instances.AbstractInstance; */ public class KrofinNest extends AbstractInstance { - // NPC + // NPCs private static final int BENUSTA = 34542; - // Item - private static final ItemHolder BENUSTAS_REWARD_BOX = new ItemHolder(81151, 1); - // Misc - private static final int TEMPLATE_ID = 291; // Krofin Nest - private static final int DOOR1 = 23220101; - private static final int DOOR2 = 24250002; - private static final int DOOR3 = 24250004; - private static final int DOOR4 = 24250006; + private static final int KROSHA_FIRST_FORM = 26389; + private static final int KROSHA_FINAL_FORM = 26390; + private static final int KROPION = 26396; private static final int[] FIRST_AREA = { - 26396, + KROPION, 26398 }; private static final int[] SECOND_AREA = { - 26396, + KROPION, 26398 }; private static final int[] THIRD_AREA = @@ -60,13 +55,10 @@ public class KrofinNest extends AbstractInstance private static final int[] FOURTH_AREA = { 26395, - 26396, + KROPION, 26397, 26398 }; - private static final int KROSHA_FIRST_FORM = 26389; - private static final int KROSHA_FINAL_FORM = 26390; - private static final int KROPION = 26396; private static final int[] KROSHA_FIRST_FORM_MINIONS = { 26393, @@ -77,6 +69,14 @@ public class KrofinNest extends AbstractInstance 26391, 26392 }; + // Item + private static final ItemHolder BENUSTAS_REWARD_BOX = new ItemHolder(81151, 1); + // Misc + private static final int TEMPLATE_ID = 291; // Krofin Nest + private static final int DOOR1 = 23220101; + private static final int DOOR2 = 24250002; + private static final int DOOR3 = 24250004; + private static final int DOOR4 = 24250006; public KrofinNest() { @@ -115,6 +115,7 @@ public class KrofinNest extends AbstractInstance { return null; } + switch (world.getStatus()) { case 0: