From addcca79b2be5b67b5b1dc42c9d42cfdadc124c9 Mon Sep 17 00:00:00 2001 From: MELERIX <MELERIX@users.noreply.github.com> Date: Sat, 14 Jan 2012 19:18:00 +0000 Subject: [PATCH] BETA: Minor fix for Q10274. --- .../Q10274_CollectingInTheAir.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/Q10274_CollectingInTheAir.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/Q10274_CollectingInTheAir.java index 867cde60c7..7fea96430f 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/Q10274_CollectingInTheAir.java +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/Q10274_CollectingInTheAir.java @@ -42,7 +42,7 @@ public class Q10274_CollectingInTheAir extends Quest private static final int MOBS[] = { - 18684, 18685, 18686, 18687, 18688, 18689, 18690, 18691, 18692, 18693 + 18684, 18685, 18686, 18687, 18688, 18689, 18690, 18691, 18692 }; @Override @@ -146,15 +146,18 @@ public class Q10274_CollectingInTheAir extends Quest { st.playSound("ItemSound.quest_itemget"); - if ((npcId > 18684) && (npcId < 18687)) + // Red Star Stones + if ((npcId >= 18684) && (npcId <= 18686)) { st.giveItems(RED, 1); } - else if ((npcId > 18687) && (npcId < 18690)) + // Blue Star Stones + else if ((npcId >= 18687) && (npcId <= 18689)) { st.giveItems(BLUE, 1); } - else if ((npcId > 18690) && (npcId < 18693)) + // Green Star Stones + else if ((npcId >= 18690) && (npcId <= 18692)) { st.giveItems(GREEN, 1); } @@ -182,10 +185,7 @@ public class Q10274_CollectingInTheAir extends Quest questItemIds = new int[] { - SCROLL, - RED, - BLUE, - GREEN + SCROLL, RED, BLUE, GREEN }; } -- GitLab