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))
|
||||
{
|
||||
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));
|
||||
return holder;
|
||||
}
|
||||
|
@@ -36,10 +36,34 @@ public class Q10299_GetIncrediblePower extends Quest
|
||||
// NPCs
|
||||
private static final int ORVEN = 30857;
|
||||
// Monsters
|
||||
private static final int GIANT_FUNGUS = 20555;
|
||||
private static final int GIANT_MONSTER_EYE = 20556;
|
||||
private static final int DIRE_WYRM = 20557;
|
||||
private static final int ROTTING_TREE = 20558;
|
||||
private static final int[] MONSTERS =
|
||||
{
|
||||
18436,
|
||||
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
|
||||
private static final ItemHolder SAYHA_GUST = new ItemHolder(91776, 9);
|
||||
// Misc
|
||||
@@ -51,7 +75,7 @@ public class Q10299_GetIncrediblePower extends Quest
|
||||
super(10299);
|
||||
addStartNpc(ORVEN);
|
||||
addTalkId(ORVEN);
|
||||
addKillId(GIANT_FUNGUS, GIANT_MONSTER_EYE, DIRE_WYRM, ROTTING_TREE);
|
||||
addKillId(MONSTERS);
|
||||
addCondMinLevel(MIN_LEVEL, "no_lvl.html");
|
||||
setQuestNameNpcStringId(NpcStringId.LV_45_GET_INCREDIBLE_POWER);
|
||||
}
|
||||
|
Reference in New Issue
Block a user