Fixed quests 10296 and 10299.
Contributed by manax182.
This commit is contained in:
@@ -192,7 +192,7 @@ public class Q10296_LetsPayRespectsToOurFallenBrethren extends Quest
|
|||||||
if ((qs != null) && qs.isCond(1))
|
if ((qs != null) && qs.isCond(1))
|
||||||
{
|
{
|
||||||
final Set<NpcLogListHolder> holder = new HashSet<>();
|
final Set<NpcLogListHolder> holder = new HashSet<>();
|
||||||
holder.add(new NpcLogListHolder(NpcStringId.KILL_MONSTERS_IN_THE_FIELDS_OF_MASSACRE.getId(), true, qs.getInt(KILL_COUNT_VAR)));
|
holder.add(new NpcLogListHolder(NpcStringId.KILL_MONSTERS_IN_THE_FIELDS_OF_MASSACRE_2.getId(), true, qs.getInt(KILL_COUNT_VAR)));
|
||||||
holder.add(new NpcLogListHolder(NpcStringId.LEVEL_58_ACCOMPLISHED, player.getLevel() > 57 ? 1 : 0));
|
holder.add(new NpcLogListHolder(NpcStringId.LEVEL_58_ACCOMPLISHED, player.getLevel() > 57 ? 1 : 0));
|
||||||
return holder;
|
return holder;
|
||||||
}
|
}
|
||||||
|
@@ -36,10 +36,34 @@ public class Q10299_GetIncrediblePower extends Quest
|
|||||||
// NPCs
|
// NPCs
|
||||||
private static final int ORVEN = 30857;
|
private static final int ORVEN = 30857;
|
||||||
// Monsters
|
// Monsters
|
||||||
private static final int GIANT_FUNGUS = 20555;
|
private static final int[] MONSTERS =
|
||||||
private static final int GIANT_MONSTER_EYE = 20556;
|
{
|
||||||
private static final int DIRE_WYRM = 20557;
|
18436,
|
||||||
private static final int ROTTING_TREE = 20558;
|
18437,
|
||||||
|
22107,
|
||||||
|
22109,
|
||||||
|
22110,
|
||||||
|
22111,
|
||||||
|
22112,
|
||||||
|
22113,
|
||||||
|
22114,
|
||||||
|
22115,
|
||||||
|
22116,
|
||||||
|
22117,
|
||||||
|
22118,
|
||||||
|
22122,
|
||||||
|
22123,
|
||||||
|
22124,
|
||||||
|
22147,
|
||||||
|
22148,
|
||||||
|
22149,
|
||||||
|
22150,
|
||||||
|
22275,
|
||||||
|
22276,
|
||||||
|
22277,
|
||||||
|
22278,
|
||||||
|
22292,
|
||||||
|
};
|
||||||
// Items
|
// Items
|
||||||
private static final ItemHolder SAYHA_GUST = new ItemHolder(91776, 9);
|
private static final ItemHolder SAYHA_GUST = new ItemHolder(91776, 9);
|
||||||
// Misc
|
// Misc
|
||||||
@@ -51,7 +75,7 @@ public class Q10299_GetIncrediblePower extends Quest
|
|||||||
super(10299);
|
super(10299);
|
||||||
addStartNpc(ORVEN);
|
addStartNpc(ORVEN);
|
||||||
addTalkId(ORVEN);
|
addTalkId(ORVEN);
|
||||||
addKillId(GIANT_FUNGUS, GIANT_MONSTER_EYE, DIRE_WYRM, ROTTING_TREE);
|
addKillId(MONSTERS);
|
||||||
addCondMinLevel(MIN_LEVEL, "no_lvl.html");
|
addCondMinLevel(MIN_LEVEL, "no_lvl.html");
|
||||||
setQuestNameNpcStringId(NpcStringId.LV_45_GET_INCREDIBLE_POWER);
|
setQuestNameNpcStringId(NpcStringId.LV_45_GET_INCREDIBLE_POWER);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user