Browse Source

Minor fixes for the last committed quests.
Reported by: @jurchiks

Adry_85 10 years ago
parent
commit
2661d95f15

+ 1 - 1
L2J_DataPack/dist/game/data/scripts/quests/Q00117_TheOceanOfDistantStars/Q00117_TheOceanOfDistantStars.java

@@ -207,7 +207,7 @@ public final class Q00117_TheOceanOfDistantStars extends Quest
 		
 		if (giveItemRandomly(killer, npc, BOOK_OF_GREY_STAR, 1, 1, MONSTER_DROP_CHANCES.get(npc.getId()), true))
 		{
-			qs.setCond(8, true);
+			qs.setCond(8);
 		}
 		return super.onKill(npc, killer, isSummon);
 	}

+ 2 - 4
L2J_DataPack/dist/game/data/scripts/quests/Q00355_FamilyHonor/Q00355_FamilyHonor.java

@@ -150,10 +150,9 @@ public final class Q00355_FamilyHonor extends Quest
 			}
 			case "30929-03.html":
 			{
-				final boolean hasSculptorBerona = hasQuestItems(player, SCULPTOR_BERONA);
 				final int random = getRandom(100);
 				
-				if (hasSculptorBerona)
+				if (hasQuestItems(player, SCULPTOR_BERONA))
 				{
 					if (random < 2)
 					{
@@ -229,8 +228,7 @@ public final class Q00355_FamilyHonor extends Quest
 		{
 			if (npc.getId() == GALIBREDO)
 			{
-				final boolean hasSculptorBerona = hasQuestItems(player, SCULPTOR_BERONA);
-				if (hasSculptorBerona)
+				if (hasQuestItems(player, SCULPTOR_BERONA))
 				{
 					htmltext = "30181-11.html";
 				}