Prevent the extensive use of the lvl abbreviation.
This commit is contained in:
@@ -185,7 +185,7 @@ public class DenOfEvil extends AbstractNpcAI
|
||||
{
|
||||
for (int i = SKILL_ID; i <= (SKILL_ID + 4); i += 2)
|
||||
{
|
||||
// test 3 skills if some is lvl 4
|
||||
// test 3 skills if some is level 4
|
||||
if (_zone.getSkillLevel(i) > 3)
|
||||
{
|
||||
destroyZone();
|
||||
|
@@ -239,28 +239,28 @@ public class Valakas extends AbstractNpcAI
|
||||
|
||||
// Verify if "Valakas Regeneration" skill is active.
|
||||
final BuffInfo info = npc.getEffectList().getBuffInfoBySkillId(VALAKAS_REGENERATION);
|
||||
final int lvl = info != null ? info.getSkill().getLevel() : 0;
|
||||
final int level = info != null ? info.getSkill().getLevel() : 0;
|
||||
|
||||
// Current HPs are inferior to 25% ; apply lvl 4 of regen skill.
|
||||
if ((npc.getCurrentHp() < (npc.getMaxHp() / 4)) && (lvl != 4))
|
||||
// Current HPs are inferior to 25% ; apply level 4 of regen skill.
|
||||
if ((npc.getCurrentHp() < (npc.getMaxHp() / 4)) && (level != 4))
|
||||
{
|
||||
npc.setTarget(npc);
|
||||
npc.doCast(SkillData.getInstance().getSkill(VALAKAS_REGENERATION, 4));
|
||||
}
|
||||
// Current HPs are inferior to 50% ; apply lvl 3 of regen skill.
|
||||
else if ((npc.getCurrentHp() < ((npc.getMaxHp() * 2) / 4.0)) && (lvl != 3))
|
||||
// Current HPs are inferior to 50% ; apply level 3 of regen skill.
|
||||
else if ((npc.getCurrentHp() < ((npc.getMaxHp() * 2) / 4.0)) && (level != 3))
|
||||
{
|
||||
npc.setTarget(npc);
|
||||
npc.doCast(SkillData.getInstance().getSkill(VALAKAS_REGENERATION, 3));
|
||||
}
|
||||
// Current HPs are inferior to 75% ; apply lvl 2 of regen skill.
|
||||
else if ((npc.getCurrentHp() < ((npc.getMaxHp() * 3) / 4.0)) && (lvl != 2))
|
||||
// Current HPs are inferior to 75% ; apply level 2 of regen skill.
|
||||
else if ((npc.getCurrentHp() < ((npc.getMaxHp() * 3) / 4.0)) && (level != 2))
|
||||
{
|
||||
npc.setTarget(npc);
|
||||
npc.doCast(SkillData.getInstance().getSkill(VALAKAS_REGENERATION, 2));
|
||||
}
|
||||
// Apply lvl 1.
|
||||
else if (lvl != 1)
|
||||
// Apply level 1.
|
||||
else if (level != 1)
|
||||
{
|
||||
npc.setTarget(npc);
|
||||
npc.doCast(SkillData.getInstance().getSkill(VALAKAS_REGENERATION, 1));
|
||||
|
@@ -44,7 +44,7 @@ public class WyvernManager extends AbstractNpcAI
|
||||
private static final int CRYSTAL_B_GRADE = 1460;
|
||||
private static final int WYVERN = 12621;
|
||||
private static final int WYVERN_FEE = 25;
|
||||
private static final int STRIDER_LVL = 55;
|
||||
private static final int STRIDER_LEVEL = 55;
|
||||
private static final int[] STRIDERS =
|
||||
{
|
||||
12526,
|
||||
@@ -82,7 +82,7 @@ public class WyvernManager extends AbstractNpcAI
|
||||
|
||||
private String mountWyvern(Npc npc, PlayerInstance player)
|
||||
{
|
||||
if (player.isMounted() && (player.getMountLevel() >= STRIDER_LVL) && CommonUtil.contains(STRIDERS, player.getMountNpcId()))
|
||||
if (player.isMounted() && (player.getMountLevel() >= STRIDER_LEVEL) && CommonUtil.contains(STRIDERS, player.getMountNpcId()))
|
||||
{
|
||||
if (isOwnerClan(npc, player) && (getQuestItemsCount(player, CRYSTAL_B_GRADE) >= WYVERN_FEE))
|
||||
{
|
||||
@@ -181,7 +181,7 @@ public class WyvernManager extends AbstractNpcAI
|
||||
|
||||
private String replacePart(PlayerInstance player, String htmlFile)
|
||||
{
|
||||
return getHtm(player, htmlFile).replace("%wyvern_fee%", String.valueOf(WYVERN_FEE)).replace("%strider_level%", String.valueOf(STRIDER_LVL));
|
||||
return getHtm(player, htmlFile).replace("%wyvern_fee%", String.valueOf(WYVERN_FEE)).replace("%strider_level%", String.valueOf(STRIDER_LEVEL));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@@ -82,8 +82,8 @@ public class PlayerInstanceAction implements IActionHandler
|
||||
// Check if this PlayerInstance is autoAttackable
|
||||
if (target.isAutoAttackable(player))
|
||||
{
|
||||
// Player with lvl < 21 can't attack a cursed weapon holder
|
||||
// And a cursed weapon holder can't attack players with lvl < 21
|
||||
// Player with level < 21 can't attack a cursed weapon holder
|
||||
// And a cursed weapon holder can't attack players with level < 21
|
||||
if ((targetPlayer.isCursedWeaponEquipped() && (player.getLevel() < CURSED_WEAPON_VICTIM_MIN_LEVEL)) //
|
||||
|| (player.isCursedWeaponEquipped() && (targetPlayer.getLevel() < CURSED_WEAPON_VICTIM_MIN_LEVEL)))
|
||||
{
|
||||
|
@@ -89,7 +89,7 @@ public class AdminBuffs implements IAdminCommandHandler
|
||||
final Skill skill = SkillData.getInstance().getSkill(skillId, skillLevel);
|
||||
if (skill == null)
|
||||
{
|
||||
BuilderUtil.sendSysMessage(activeChar, "Skill with id: " + skillId + ", lvl: " + skillLevel + " not found.");
|
||||
BuilderUtil.sendSysMessage(activeChar, "Skill with id: " + skillId + ", level: " + skillLevel + " not found.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@@ -78,14 +78,14 @@ public class AdminLevel implements IAdminCommandHandler
|
||||
|
||||
try
|
||||
{
|
||||
final byte lvl = Byte.parseByte(val);
|
||||
if ((lvl >= 1) && (lvl <= maxLevel))
|
||||
final byte level = Byte.parseByte(val);
|
||||
if ((level >= 1) && (level <= maxLevel))
|
||||
{
|
||||
final long pXp = targetPlayer.getExp();
|
||||
final long tXp = ExperienceData.getInstance().getExpForLevel(lvl);
|
||||
final long tXp = ExperienceData.getInstance().getExpForLevel(level);
|
||||
if (pXp > tXp)
|
||||
{
|
||||
targetPlayer.getStat().setLevel(lvl);
|
||||
targetPlayer.getStat().setLevel(level);
|
||||
targetPlayer.removeExpAndSp(pXp - tXp, 0);
|
||||
BuilderUtil.sendSysMessage(activeChar, "Removed " + (pXp - tXp) + " exp.");
|
||||
}
|
||||
|
@@ -205,18 +205,18 @@ public class AdminSkill implements IAdminCommandHandler
|
||||
{
|
||||
final String[] split = command.split(" ");
|
||||
final int id = Integer.parseInt(split[1]);
|
||||
final int lvl = Integer.parseInt(split[2]);
|
||||
final Skill skill = SkillData.getInstance().getSkill(id, lvl);
|
||||
final int level = Integer.parseInt(split[2]);
|
||||
final Skill skill = SkillData.getInstance().getSkill(id, level);
|
||||
if (skill != null)
|
||||
{
|
||||
activeChar.addSkill(skill);
|
||||
activeChar.sendSkillList();
|
||||
BuilderUtil.sendSysMessage(activeChar, "You added yourself skill " + skill.getName() + "(" + id + ") level " + lvl);
|
||||
BuilderUtil.sendSysMessage(activeChar, "You added yourself skill " + skill.getName() + "(" + id + ") level " + level);
|
||||
activeChar.sendPacket(new AcquireSkillList(activeChar));
|
||||
}
|
||||
else
|
||||
{
|
||||
BuilderUtil.sendSysMessage(activeChar, "No such skill found. Id: " + id + " Level: " + lvl);
|
||||
BuilderUtil.sendSysMessage(activeChar, "No such skill found. Id: " + id + " Level: " + level);
|
||||
}
|
||||
}
|
||||
else if (command.startsWith("admin_cast"))
|
||||
@@ -237,7 +237,7 @@ public class AdminSkill implements IAdminCommandHandler
|
||||
final Skill skill = SkillData.getInstance().getSkill(skillId, skillLevel);
|
||||
if (skill == null)
|
||||
{
|
||||
BuilderUtil.sendSysMessage(activeChar, "Skill with id: " + skillId + ", lvl: " + skillLevel + " not found.");
|
||||
BuilderUtil.sendSysMessage(activeChar, "Skill with id: " + skillId + ", level: " + skillLevel + " not found.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@@ -37,7 +37,7 @@ public class CallSkill extends AbstractEffect
|
||||
|
||||
public CallSkill(StatSet params)
|
||||
{
|
||||
_skill = new SkillHolder(params.getInt("skillId"), params.getInt("skillLevel", 1), params.getInt("skillSubLevel", 0));
|
||||
_skill = new SkillHolder(params.getInt("skillId"), params.getInt("skillLevel", 1), params.getInt("skillSubLevel ", 0));
|
||||
_skillLevelScaleTo = params.getInt("skillLevelScaleTo", 0);
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ public class CallSkill extends AbstractEffect
|
||||
final int knownLevel = effector.getSkillLevel(_skill.getSkillId());
|
||||
if (knownLevel > 0)
|
||||
{
|
||||
triggerSkill = SkillData.getInstance().getSkill(_skill.getSkillId(), knownLevel, _skill.getSkillSubLevel());
|
||||
triggerSkill = SkillData.getInstance().getSkill(_skill.getSkillId(), knownLevel, _skill.getSkillSubLevel ());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@@ -37,7 +37,7 @@ public class CallSkillOnActionTime extends AbstractEffect
|
||||
|
||||
public CallSkillOnActionTime(StatSet params)
|
||||
{
|
||||
_skill = new SkillHolder(params.getInt("skillId"), params.getInt("skillLevel", 1), params.getInt("skillSubLevel", 0));
|
||||
_skill = new SkillHolder(params.getInt("skillId"), params.getInt("skillLevel", 1), params.getInt("skillSubLevel ", 0));
|
||||
setTicks(params.getInt("ticks"));
|
||||
}
|
||||
|
||||
|
@@ -72,45 +72,45 @@ public class ManaHealByLevel extends AbstractEffect
|
||||
amount = effected.getStat().getValue(Stat.MANA_CHARGE, amount);
|
||||
if (effected.getLevel() > skill.getMagicLevel())
|
||||
{
|
||||
final int lvlDiff = effected.getLevel() - skill.getMagicLevel();
|
||||
final int levelDiff = effected.getLevel() - skill.getMagicLevel();
|
||||
// if target is too high compared to skill level, the amount of recharged mp gradually decreases.
|
||||
if (lvlDiff == 6)
|
||||
if (levelDiff == 6)
|
||||
{
|
||||
amount *= 0.9; // only 90% effective
|
||||
}
|
||||
else if (lvlDiff == 7)
|
||||
else if (levelDiff == 7)
|
||||
{
|
||||
amount *= 0.8; // 80%
|
||||
}
|
||||
else if (lvlDiff == 8)
|
||||
else if (levelDiff == 8)
|
||||
{
|
||||
amount *= 0.7; // 70%
|
||||
}
|
||||
else if (lvlDiff == 9)
|
||||
else if (levelDiff == 9)
|
||||
{
|
||||
amount *= 0.6; // 60%
|
||||
}
|
||||
else if (lvlDiff == 10)
|
||||
else if (levelDiff == 10)
|
||||
{
|
||||
amount *= 0.5; // 50%
|
||||
}
|
||||
else if (lvlDiff == 11)
|
||||
else if (levelDiff == 11)
|
||||
{
|
||||
amount *= 0.4; // 40%
|
||||
}
|
||||
else if (lvlDiff == 12)
|
||||
else if (levelDiff == 12)
|
||||
{
|
||||
amount *= 0.3; // 30%
|
||||
}
|
||||
else if (lvlDiff == 13)
|
||||
else if (levelDiff == 13)
|
||||
{
|
||||
amount *= 0.2; // 20%
|
||||
}
|
||||
else if (lvlDiff == 14)
|
||||
else if (levelDiff == 14)
|
||||
{
|
||||
amount *= 0.1; // 10%
|
||||
}
|
||||
else if (lvlDiff >= 15)
|
||||
else if (levelDiff >= 15)
|
||||
{
|
||||
amount = 0; // 0mp recharged
|
||||
}
|
||||
|
@@ -39,12 +39,12 @@ public class ResistSkill extends AbstractEffect
|
||||
for (int i = 1;; i++)
|
||||
{
|
||||
final int skillId = params.getInt("skillId" + i, 0);
|
||||
final int skillLvl = params.getInt("skillLvl" + i, 0);
|
||||
final int skillLevel = params.getInt("skillLevel" + i, 0);
|
||||
if (skillId == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
_skills.add(new SkillHolder(skillId, skillLvl));
|
||||
_skills.add(new SkillHolder(skillId, skillLevel));
|
||||
}
|
||||
|
||||
if (_skills.isEmpty())
|
||||
|
@@ -30,12 +30,12 @@ import org.l2jmobius.gameserver.model.skills.Skill;
|
||||
public class SetSkill extends AbstractEffect
|
||||
{
|
||||
private final int _skillId;
|
||||
private final int _skillLvl;
|
||||
private final int _skillLevel;
|
||||
|
||||
public SetSkill(StatSet params)
|
||||
{
|
||||
_skillId = params.getInt("skillId", 0);
|
||||
_skillLvl = params.getInt("skillLvl", 1);
|
||||
_skillLevel = params.getInt("skillLevel", 1);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -52,7 +52,7 @@ public class SetSkill extends AbstractEffect
|
||||
return;
|
||||
}
|
||||
|
||||
final Skill setSkill = SkillData.getInstance().getSkill(_skillId, _skillLvl);
|
||||
final Skill setSkill = SkillData.getInstance().getSkill(_skillId, _skillLevel);
|
||||
if (setSkill == null)
|
||||
{
|
||||
return;
|
||||
|
@@ -123,7 +123,7 @@ public class BeastSoulShot implements IItemHandler
|
||||
{
|
||||
activeOwner.sendMessage("Your pet uses soulshot."); // activeOwner.sendPacket(SystemMessageId.YOUR_PET_USES_SPIRITSHOT);
|
||||
pet.chargeShot(ShotType.SOULSHOTS);
|
||||
// Visual effect change if player has equipped Ruby lvl 3 or higher
|
||||
// Visual effect change if player has equipped Ruby level 3 or higher
|
||||
if (activeOwner.getActiveRubyJewel() != null)
|
||||
{
|
||||
Broadcast.toSelfAndKnownPlayersInRadius(activeOwner, new MagicSkillUse(pet, pet, activeOwner.getActiveRubyJewel().getEffectId(), 1, 0, 0), 600);
|
||||
@@ -140,7 +140,7 @@ public class BeastSoulShot implements IItemHandler
|
||||
{
|
||||
activeOwner.sendMessage("Your servitor uses soulshot."); // activeOwner.sendPacket(SystemMessageId.YOUR_PET_USES_SPIRITSHOT);
|
||||
s.chargeShot(ShotType.SOULSHOTS);
|
||||
// Visual effect change if player has equipped Ruby lvl 3 or higher
|
||||
// Visual effect change if player has equipped Ruby level 3 or higher
|
||||
if (activeOwner.getActiveRubyJewel() != null)
|
||||
{
|
||||
Broadcast.toSelfAndKnownPlayersInRadius(activeOwner, new MagicSkillUse(s, s, activeOwner.getActiveRubyJewel().getEffectId(), 1, 0, 0), 600);
|
||||
|
@@ -124,7 +124,7 @@ public class BeastSpiritShot implements IItemHandler
|
||||
{
|
||||
activeOwner.sendMessage(isBlessed ? "Your pet uses blessed spiritshot." : "Your pet uses spiritshot."); // activeOwner.sendPacket(SystemMessageId.YOUR_PET_USES_SPIRITSHOT);
|
||||
pet.chargeShot(shotType);
|
||||
// Visual effect change if player has equipped Sapphire lvl 3 or higher
|
||||
// Visual effect change if player has equipped Sapphire level 3 or higher
|
||||
if (activeOwner.getActiveShappireJewel() != null)
|
||||
{
|
||||
Broadcast.toSelfAndKnownPlayersInRadius(activeOwner, new MagicSkillUse(pet, pet, activeOwner.getActiveShappireJewel().getEffectId(), 2, 0, 0), 600);
|
||||
@@ -141,7 +141,7 @@ public class BeastSpiritShot implements IItemHandler
|
||||
{
|
||||
activeOwner.sendMessage(isBlessed ? "Your servitor uses blessed spiritshot." : "Your servitor uses spiritshot."); // activeOwner.sendPacket(SystemMessageId.YOUR_PET_USES_SPIRITSHOT);
|
||||
s.chargeShot(shotType);
|
||||
// Visual effect change if player has equipped Sapphire lvl 3 or higher
|
||||
// Visual effect change if player has equipped Sapphire level 3 or higher
|
||||
if (activeOwner.getActiveShappireJewel() != null)
|
||||
{
|
||||
Broadcast.toSelfAndKnownPlayersInRadius(activeOwner, new MagicSkillUse(s, s, activeOwner.getActiveShappireJewel().getEffectId(), 2, 0, 0), 600);
|
||||
|
@@ -109,7 +109,7 @@ public class BlessedSoulShots implements IItemHandler
|
||||
player.sendPacket(SystemMessageId.YOUR_SOULSHOTS_ARE_ENABLED);
|
||||
}
|
||||
|
||||
// Visual effect change if player has equipped Ruby lvl 3 or higher
|
||||
// Visual effect change if player has equipped Ruby level 3 or higher
|
||||
if (player.getActiveRubyJewel() != null)
|
||||
{
|
||||
Broadcast.toSelfAndKnownPlayersInRadius(player, new MagicSkillUse(player, player, player.getActiveRubyJewel().getEffectId(), 1, 0, 0), 600);
|
||||
|
@@ -101,7 +101,7 @@ public class BlessedSpiritShot implements IItemHandler
|
||||
player.sendPacket(SystemMessageId.YOUR_SPIRITSHOT_HAS_BEEN_ENABLED);
|
||||
}
|
||||
|
||||
// Visual effect change if player has equipped Sapphire lvl 3 or higher
|
||||
// Visual effect change if player has equipped Sapphire level 3 or higher
|
||||
if (player.getActiveShappireJewel() != null)
|
||||
{
|
||||
Broadcast.toSelfAndKnownPlayersInRadius(player, new MagicSkillUse(player, player, player.getActiveShappireJewel().getEffectId(), 1, 0, 0), 600);
|
||||
|
@@ -106,7 +106,7 @@ public class SoulShots implements IItemHandler
|
||||
player.sendPacket(SystemMessageId.YOUR_SOULSHOTS_ARE_ENABLED);
|
||||
}
|
||||
|
||||
// Visual effect change if player has equipped Ruby lvl 3 or higher
|
||||
// Visual effect change if player has equipped Ruby level 3 or higher
|
||||
if (player.getActiveRubyJewel() != null)
|
||||
{
|
||||
Broadcast.toSelfAndKnownPlayersInRadius(player, new MagicSkillUse(player, player, player.getActiveRubyJewel().getEffectId(), 1, 0, 0), 600);
|
||||
|
@@ -101,7 +101,7 @@ public class SpiritShot implements IItemHandler
|
||||
player.sendPacket(SystemMessageId.YOUR_SPIRITSHOT_HAS_BEEN_ENABLED);
|
||||
}
|
||||
|
||||
// Visual effect change if player has equipped Sapphire lvl 3 or higher
|
||||
// Visual effect change if player has equipped Sapphire level 3 or higher
|
||||
if (player.getActiveShappireJewel() != null)
|
||||
{
|
||||
Broadcast.toSelfAndKnownPlayersInRadius(player, new MagicSkillUse(player, player, player.getActiveShappireJewel().getEffectId(), 1, 0, 0), 600);
|
||||
|
@@ -51,9 +51,9 @@ public class AutoPotion implements IVoicedCommandHandler
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (activeChar.getLevel() < Config.AUTO_POTION_MIN_LVL)
|
||||
if (activeChar.getLevel() < Config.AUTO_POTION_MIN_LEVEL)
|
||||
{
|
||||
activeChar.sendMessage("You need to be at least " + Config.AUTO_POTION_MIN_LVL + " to use auto potions.");
|
||||
activeChar.sendMessage("You need to be at least " + Config.AUTO_POTION_MIN_LEVEL + " to use auto potions.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@@ -44,7 +44,7 @@ public class Q00032_AnObviousLie extends Quest
|
||||
private static final ItemHolder THREAD = new ItemHolder(1868, 1000);
|
||||
private static final ItemHolder SUEDE = new ItemHolder(1866, 500);
|
||||
// Misc
|
||||
private static final int MIN_LVL = 45;
|
||||
private static final int MIN_LEVEL = 45;
|
||||
// Reward
|
||||
private static final Map<String, Integer> EARS = new HashMap<>();
|
||||
static
|
||||
@@ -189,7 +189,7 @@ public class Q00032_AnObviousLie extends Quest
|
||||
{
|
||||
if (qs.isCreated())
|
||||
{
|
||||
htmltext = (player.getLevel() >= MIN_LVL) ? "30120-01.htm" : "30120-03.htm";
|
||||
htmltext = (player.getLevel() >= MIN_LEVEL) ? "30120-01.htm" : "30120-03.htm";
|
||||
}
|
||||
else if (qs.isStarted())
|
||||
{
|
||||
|
@@ -41,7 +41,7 @@ public class Q00042_HelpTheUncle extends Quest
|
||||
private static final int MAP = 7549;
|
||||
private static final int PET_TICKET = 7583;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 25;
|
||||
private static final int MIN_LEVEL = 25;
|
||||
|
||||
public Q00042_HelpTheUncle()
|
||||
{
|
||||
@@ -50,7 +50,7 @@ public class Q00042_HelpTheUncle extends Quest
|
||||
addTalkId(WATERS, SOPHYA);
|
||||
addKillId(MONSTER_EYE_DESTROYER, MONSTER_EYE_GAZER);
|
||||
registerQuestItems(MAP, MAP_PIECE);
|
||||
addCondMinLevel(MIN_LVL, "30828-00a.html");
|
||||
addCondMinLevel(MIN_LEVEL, "30828-00a.html");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@@ -47,7 +47,7 @@ public class Q00043_HelpTheSister extends Quest
|
||||
private static final int MAP = 7551;
|
||||
private static final int PET_TICKET = 7584;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 26;
|
||||
private static final int MIN_LEVEL = 26;
|
||||
|
||||
public Q00043_HelpTheSister()
|
||||
{
|
||||
@@ -56,7 +56,7 @@ public class Q00043_HelpTheSister extends Quest
|
||||
addTalkId(COOPER, GALLADUCCI);
|
||||
addKillId(DION_GRIZZLY, HOBGOBLIN, DIRE_WOLF, OL_MAHUM_RANGER, MONSTER_EYE_SEARCHER, MONSTER_EYE_GAZER, ENKU_ORC_HERO, ENKU_ORC_SHAMAN);
|
||||
registerQuestItems(MAP, MAP_PIECE);
|
||||
addCondMinLevel(MIN_LVL, "30829-00a.html");
|
||||
addCondMinLevel(MIN_LEVEL, "30829-00a.html");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@@ -42,7 +42,7 @@ public class Q00044_HelpTheSon extends Quest
|
||||
private static final int GEMSTONE = 7553;
|
||||
private static final int PET_TICKET = 7585;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 24;
|
||||
private static final int MIN_LEVEL = 24;
|
||||
|
||||
public Q00044_HelpTheSon()
|
||||
{
|
||||
@@ -51,7 +51,7 @@ public class Q00044_HelpTheSon extends Quest
|
||||
addTalkId(LUNDY, DRIKUS);
|
||||
addKillId(MAILLE_GUARD, MAILLE_LIZARDMAN, MAILLE_SCOUT);
|
||||
registerQuestItems(GEMSTONE, GEMSTONE_FRAGMENT);
|
||||
addCondMinLevel(MIN_LVL, "30827-00a.html");
|
||||
addCondMinLevel(MIN_LEVEL, "30827-00a.html");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@@ -64,7 +64,7 @@ public class Q00211_TrialOfTheChallenger extends Quest
|
||||
private static final int TOME_OF_BLOOD_PAGE = 2030;
|
||||
private static final int MARK_OF_CHALLENGER = 2627;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 35;
|
||||
private static final int MIN_LEVEL = 35;
|
||||
|
||||
public Q00211_TrialOfTheChallenger()
|
||||
{
|
||||
@@ -192,7 +192,7 @@ public class Q00211_TrialOfTheChallenger extends Quest
|
||||
{
|
||||
htmltext = "30644-02.html";
|
||||
}
|
||||
else if (talker.getLevel() < MIN_LVL)
|
||||
else if (talker.getLevel() < MIN_LEVEL)
|
||||
{
|
||||
htmltext = "30644-01.html";
|
||||
}
|
||||
|
@@ -79,7 +79,7 @@ public class Q00213_TrialOfTheSeeker extends Quest
|
||||
private static final int TUREK_ORC_WARLORD = 20495;
|
||||
private static final int LETO_LIZARDMAN_WARRIOR = 20580;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 35;
|
||||
private static final int MIN_LEVEL = 35;
|
||||
private static final int LEVEL = 36;
|
||||
|
||||
public Q00213_TrialOfTheSeeker()
|
||||
@@ -387,7 +387,7 @@ public class Q00213_TrialOfTheSeeker extends Quest
|
||||
{
|
||||
if ((player.getClassId() == ClassId.ROGUE) || (player.getClassId() == ClassId.ELVEN_SCOUT) || (player.getClassId() == ClassId.ASSASSIN))
|
||||
{
|
||||
if (player.getLevel() < MIN_LVL)
|
||||
if (player.getLevel() < MIN_LEVEL)
|
||||
{
|
||||
htmltext = "30106-02.html";
|
||||
}
|
||||
|
@@ -107,7 +107,7 @@ public class Q00214_TrialOfTheScholar extends Quest
|
||||
private static final int ENCHANTED_GARGOYLE = 20567;
|
||||
private static final int LETO_LIZARDMAN_WARRIOR = 20580;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 35;
|
||||
private static final int MIN_LEVEL = 35;
|
||||
private static final int LEVEL = 36;
|
||||
|
||||
public Q00214_TrialOfTheScholar()
|
||||
@@ -557,7 +557,7 @@ public class Q00214_TrialOfTheScholar extends Quest
|
||||
{
|
||||
if ((player.getClassId() == ClassId.WIZARD) || (player.getClassId() == ClassId.ELVEN_WIZARD) || (player.getClassId() == ClassId.DARK_WIZARD))
|
||||
{
|
||||
if (player.getLevel() < MIN_LVL)
|
||||
if (player.getLevel() < MIN_LEVEL)
|
||||
{
|
||||
htmltext = "30461-02.html";
|
||||
}
|
||||
|
@@ -65,7 +65,7 @@ public class Q00215_TrialOfThePilgrim extends Quest
|
||||
private static final int NAHIR = 27117;
|
||||
private static final int BLACK_WILLOW = 27118;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 35;
|
||||
private static final int MIN_LEVEL = 35;
|
||||
|
||||
public Q00215_TrialOfThePilgrim()
|
||||
{
|
||||
@@ -239,7 +239,7 @@ public class Q00215_TrialOfThePilgrim extends Quest
|
||||
{
|
||||
htmltext = "30648-02.html";
|
||||
}
|
||||
else if (player.getLevel() < MIN_LVL)
|
||||
else if (player.getLevel() < MIN_LEVEL)
|
||||
{
|
||||
htmltext = "30648-01.html";
|
||||
}
|
||||
|
@@ -82,7 +82,7 @@ public class Q00216_TrialOfTheGuildsman extends Quest
|
||||
private static final int BREKA_ORC_OVERLORD = 20270;
|
||||
private static final int BREKA_ORC_WARRIOR = 20271;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 35;
|
||||
private static final int MIN_LEVEL = 35;
|
||||
|
||||
public Q00216_TrialOfTheGuildsman()
|
||||
{
|
||||
@@ -399,7 +399,7 @@ public class Q00216_TrialOfTheGuildsman extends Quest
|
||||
{
|
||||
if ((player.getClassId() == ClassId.ARTISAN) || (player.getClassId() == ClassId.SCAVENGER))
|
||||
{
|
||||
if (player.getLevel() < MIN_LVL)
|
||||
if (player.getLevel() < MIN_LEVEL)
|
||||
{
|
||||
htmltext = "30103-02.html";
|
||||
}
|
||||
|
@@ -87,7 +87,7 @@ public class Q00228_TestOfMagus extends Quest
|
||||
private static final int SINGING_FLOWER_DARKLING = 27097;
|
||||
private static final int GHOST_FIRE = 27098;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 39;
|
||||
private static final int MIN_LEVEL = 39;
|
||||
|
||||
public Q00228_TestOfMagus()
|
||||
{
|
||||
@@ -373,7 +373,7 @@ public class Q00228_TestOfMagus extends Quest
|
||||
{
|
||||
if ((player.getClassId() == ClassId.WIZARD) || (player.getClassId() == ClassId.ELVEN_WIZARD) || (player.getClassId() == ClassId.DARK_WIZARD))
|
||||
{
|
||||
if (player.getLevel() < MIN_LVL)
|
||||
if (player.getLevel() < MIN_LEVEL)
|
||||
{
|
||||
htmltext = "30629-02.html";
|
||||
}
|
||||
|
@@ -56,7 +56,7 @@ public class Q00257_TheGuardIsBusy extends Quest
|
||||
// NPC
|
||||
private static final int GILBERT = 30039;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 6;
|
||||
private static final int MIN_LEVEL = 6;
|
||||
// Monsters
|
||||
private static final Map<Integer, List<MobDrop>> MONSTERS = new HashMap<>();
|
||||
// Items
|
||||
@@ -150,7 +150,7 @@ public class Q00257_TheGuardIsBusy extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getLevel() >= MIN_LVL) ? "30039-02.htm" : "30039-01.html";
|
||||
htmltext = (player.getLevel() >= MIN_LEVEL) ? "30039-02.htm" : "30039-01.html";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -51,7 +51,7 @@ public class Q00258_BringWolfPelts extends Quest
|
||||
REWARDS.put(462, 9); // Stockings
|
||||
}
|
||||
// Misc
|
||||
private static final int MIN_LVL = 3;
|
||||
private static final int MIN_LEVEL = 3;
|
||||
private static final int WOLF_PELT_COUNT = 40;
|
||||
|
||||
public Q00258_BringWolfPelts()
|
||||
@@ -103,7 +103,7 @@ public class Q00258_BringWolfPelts extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getLevel() >= MIN_LVL) ? "30001-02.htm" : "30001-01.html";
|
||||
htmltext = (player.getLevel() >= MIN_LEVEL) ? "30001-02.htm" : "30001-01.html";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -46,7 +46,7 @@ public class Q00259_RequestFromTheFarmOwner extends Quest
|
||||
// Items
|
||||
private static final int SPIDER_SKIN = 1495;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
private static final int SKIN_COUNT = 10;
|
||||
private static final int SKIN_REWARD = 25;
|
||||
private static final int SKIN_BONUS = 250;
|
||||
@@ -147,7 +147,7 @@ public class Q00259_RequestFromTheFarmOwner extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getLevel() >= MIN_LVL) ? "30497-02.htm" : "30497-01.html";
|
||||
htmltext = (player.getLevel() >= MIN_LEVEL) ? "30497-02.htm" : "30497-01.html";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -50,7 +50,7 @@ public class Q00260_OrcHunting extends Quest
|
||||
MONSTERS.put(20473, ORC_NECKLACE); // Kaboo Orc Fighter Lieutenant
|
||||
}
|
||||
// Misc
|
||||
private static final int MIN_LVL = 6;
|
||||
private static final int MIN_LEVEL = 6;
|
||||
|
||||
public Q00260_OrcHunting()
|
||||
{
|
||||
@@ -115,7 +115,7 @@ public class Q00260_OrcHunting extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getRace() == Race.ELF) ? (player.getLevel() >= MIN_LVL) ? "30221-03.htm" : "30221-02.html" : "30221-01.html";
|
||||
htmltext = (player.getRace() == Race.ELF) ? (player.getLevel() >= MIN_LEVEL) ? "30221-03.htm" : "30221-02.html" : "30221-01.html";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -45,7 +45,7 @@ public class Q00261_CollectorsDream extends Quest
|
||||
// Item
|
||||
private static final int SPIDER_LEG = 1087;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
private static final int MAX_LEG_COUNT = 8;
|
||||
// Message
|
||||
private static final ExShowScreenMessage MESSAGE = new ExShowScreenMessage(NpcStringId.LAST_DUTY_COMPLETE_N_GO_FIND_THE_NEWBIE_HELPER, 2, 5000);
|
||||
@@ -91,7 +91,7 @@ public class Q00261_CollectorsDream extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getLevel() >= MIN_LVL) ? "30222-02.htm" : "30222-01.htm";
|
||||
htmltext = (player.getLevel() >= MIN_LEVEL) ? "30222-02.htm" : "30222-01.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -44,7 +44,7 @@ public class Q00264_KeenClaws extends Quest
|
||||
// Rewards
|
||||
private static final Map<Integer, List<ItemHolder>> REWARDS = new HashMap<>();
|
||||
// Misc
|
||||
private static final int MIN_LVL = 3;
|
||||
private static final int MIN_LEVEL = 3;
|
||||
private static final int WOLF_CLAW_COUNT = 50;
|
||||
static
|
||||
{
|
||||
@@ -108,7 +108,7 @@ public class Q00264_KeenClaws extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getLevel() >= MIN_LVL) ? "30136-02.htm" : "30136-01.htm";
|
||||
htmltext = (player.getLevel() >= MIN_LEVEL) ? "30136-02.htm" : "30136-01.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -38,7 +38,7 @@ public class Q00265_BondsOfSlavery extends Quest
|
||||
// NPC
|
||||
private static final int KRISTIN = 30357;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 6;
|
||||
private static final int MIN_LEVEL = 6;
|
||||
// Monsters
|
||||
private static final Map<Integer, Integer> MONSTERS = new HashMap<>();
|
||||
static
|
||||
@@ -110,7 +110,7 @@ public class Q00265_BondsOfSlavery extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getRace() == Race.DARK_ELF) ? (player.getLevel() >= MIN_LVL) ? "30357-03.htm" : "30357-02.html" : "30357-01.html";
|
||||
htmltext = (player.getRace() == Race.DARK_ELF) ? (player.getLevel() >= MIN_LEVEL) ? "30357-03.htm" : "30357-02.html" : "30357-01.html";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -59,7 +59,7 @@ public class Q00266_PleasOfPixies extends Quest
|
||||
REWARDS.put(3, Arrays.asList(new ItemHolder(1337, 1), new ItemHolder(57, 5000))); // Emerald , Adena
|
||||
}
|
||||
// Misc
|
||||
private static final int MIN_LVL = 3;
|
||||
private static final int MIN_LEVEL = 3;
|
||||
|
||||
public Q00266_PleasOfPixies()
|
||||
{
|
||||
@@ -117,7 +117,7 @@ public class Q00266_PleasOfPixies extends Quest
|
||||
{
|
||||
htmltext = "31852-01.htm";
|
||||
}
|
||||
else if (player.getLevel() < MIN_LVL)
|
||||
else if (player.getLevel() < MIN_LEVEL)
|
||||
{
|
||||
htmltext = "31852-02.htm";
|
||||
}
|
||||
|
@@ -37,7 +37,7 @@ public class Q00267_WrathOfVerdure extends Quest
|
||||
// Monster
|
||||
private static final int GOBLIN_RAIDER = 20325;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 4;
|
||||
private static final int MIN_LEVEL = 4;
|
||||
|
||||
public Q00267_WrathOfVerdure()
|
||||
{
|
||||
@@ -100,7 +100,7 @@ public class Q00267_WrathOfVerdure extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getRace() == Race.ELF) ? (player.getLevel() >= MIN_LVL) ? "31853-03.htm" : "31853-02.htm" : "31853-01.htm";
|
||||
htmltext = (player.getRace() == Race.ELF) ? (player.getLevel() >= MIN_LEVEL) ? "31853-03.htm" : "31853-02.htm" : "31853-01.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -40,7 +40,7 @@ public class Q00271_ProofOfValor extends Quest
|
||||
private static final int HEALING_POTION = 1539;
|
||||
private static final int NECKLACE_OF_VALOR = 1507;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 4;
|
||||
private static final int MIN_LEVEL = 4;
|
||||
private static final int MAX_LEVEL = 8;
|
||||
|
||||
public Q00271_ProofOfValor()
|
||||
@@ -95,7 +95,7 @@ public class Q00271_ProofOfValor extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getRace() == Race.ORC) ? (player.getLevel() >= MIN_LVL) ? (hasAtLeastOneQuestItem(player, NECKLACE_OF_VALOR)) ? "30577-07.htm" : "30577-03.htm" : "30577-02.htm" : "30577-01.htm";
|
||||
htmltext = (player.getRace() == Race.ORC) ? (player.getLevel() >= MIN_LEVEL) ? (hasAtLeastOneQuestItem(player, NECKLACE_OF_VALOR)) ? "30577-07.htm" : "30577-03.htm" : "30577-02.htm" : "30577-01.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -41,7 +41,7 @@ public class Q00272_WrathOfAncestors extends Quest
|
||||
20320, // Goblin Tomb Raider Leader
|
||||
};
|
||||
// Misc
|
||||
private static final int MIN_LVL = 5;
|
||||
private static final int MIN_LEVEL = 5;
|
||||
|
||||
public Q00272_WrathOfAncestors()
|
||||
{
|
||||
@@ -92,7 +92,7 @@ public class Q00272_WrathOfAncestors extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getRace() == Race.ORC) ? (player.getLevel() >= MIN_LVL) ? "30572-03.htm" : "30572-02.htm" : "30572-01.htm";
|
||||
htmltext = (player.getRace() == Race.ORC) ? (player.getLevel() >= MIN_LEVEL) ? "30572-03.htm" : "30572-02.htm" : "30572-01.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -47,7 +47,7 @@ public class Q00273_InvadersOfTheHolyLand extends Quest
|
||||
MONSTERS.put(20313, 77); // Rakeclaw Imp Chieftain
|
||||
}
|
||||
// Misc
|
||||
private static final int MIN_LVL = 6;
|
||||
private static final int MIN_LEVEL = 6;
|
||||
|
||||
public Q00273_InvadersOfTheHolyLand()
|
||||
{
|
||||
@@ -117,7 +117,7 @@ public class Q00273_InvadersOfTheHolyLand extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getRace() == Race.ORC) ? (player.getLevel() >= MIN_LVL) ? "30566-03.htm" : "30566-02.htm" : "30566-01.htm";
|
||||
htmltext = (player.getRace() == Race.ORC) ? (player.getLevel() >= MIN_LEVEL) ? "30566-03.htm" : "30566-02.htm" : "30566-01.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -44,7 +44,7 @@ public class Q00274_SkirmishWithTheWerewolves extends Quest
|
||||
private static final int WEREWOLF_HEAD = 1477;
|
||||
private static final int WEREWOLF_TOTEM = 1501;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 9;
|
||||
private static final int MIN_LEVEL = 9;
|
||||
|
||||
public Q00274_SkirmishWithTheWerewolves()
|
||||
{
|
||||
@@ -101,7 +101,7 @@ public class Q00274_SkirmishWithTheWerewolves extends Quest
|
||||
{
|
||||
if (hasAtLeastOneQuestItem(player, NECKLACE_OF_VALOR, NECKLACE_OF_COURAGE))
|
||||
{
|
||||
htmltext = (player.getRace() == Race.ORC) ? (player.getLevel() >= MIN_LVL) ? "30569-03.htm" : "30569-02.html" : "30569-01.html";
|
||||
htmltext = (player.getRace() == Race.ORC) ? (player.getLevel() >= MIN_LEVEL) ? "30569-03.htm" : "30569-02.html" : "30569-01.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@@ -43,7 +43,7 @@ public class Q00275_DarkWingedSpies extends Quest
|
||||
private static final int DARKWING_BAT = 20316;
|
||||
private static final int VARANGKAS_TRACKER = 27043;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 11;
|
||||
private static final int MIN_LEVEL = 11;
|
||||
private static final int FANG_PRICE = 5;
|
||||
private static final int MAX_BAT_FANG_COUNT = 70;
|
||||
|
||||
@@ -131,7 +131,7 @@ public class Q00275_DarkWingedSpies extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (talker.getRace() == Race.ORC) ? (talker.getLevel() >= MIN_LVL) ? "30567-02.htm" : "30567-01.htm" : "30567-00.htm";
|
||||
htmltext = (talker.getRace() == Race.ORC) ? (talker.getLevel() >= MIN_LEVEL) ? "30567-02.htm" : "30567-01.htm" : "30567-00.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -53,7 +53,7 @@ public class Q00276_TotemOfTheHestui extends Quest
|
||||
};
|
||||
// Misc
|
||||
private static final List<ItemHolder> SPAWN_CHANCES = new ArrayList<>();
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
static
|
||||
{
|
||||
SPAWN_CHANCES.add(new ItemHolder(79, 100));
|
||||
@@ -135,7 +135,7 @@ public class Q00276_TotemOfTheHestui extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getRace() == Race.ORC) ? (player.getLevel() >= MIN_LVL) ? "30571-02.htm" : "30571-01.htm" : "30571-00.htm";
|
||||
htmltext = (player.getRace() == Race.ORC) ? (player.getLevel() >= MIN_LEVEL) ? "30571-02.htm" : "30571-01.htm" : "30571-00.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -55,7 +55,7 @@ public class Q00292_BrigandsSweep extends Quest
|
||||
MOB_ITEM_DROP.put(20528, GOBLIN_LORD_PENDANT); // Goblin Lord
|
||||
}
|
||||
// Misc
|
||||
private static final int MIN_LVL = 5;
|
||||
private static final int MIN_LEVEL = 5;
|
||||
|
||||
public Q00292_BrigandsSweep()
|
||||
{
|
||||
@@ -154,7 +154,7 @@ public class Q00292_BrigandsSweep extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
html = (talker.getRace() == Race.DWARF) ? (talker.getLevel() >= MIN_LVL) ? "30532-02.htm" : "30532-01.htm" : "30532-00.htm";
|
||||
html = (talker.getRace() == Race.DWARF) ? (talker.getLevel() >= MIN_LEVEL) ? "30532-02.htm" : "30532-01.htm" : "30532-00.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -45,7 +45,7 @@ public class Q00293_TheHiddenVeins extends Quest
|
||||
20448,
|
||||
};
|
||||
// Misc
|
||||
private static final int MIN_LVL = 6;
|
||||
private static final int MIN_LEVEL = 6;
|
||||
private static final int REQUIRED_TORN_MAP_FRAGMENT = 4;
|
||||
|
||||
public Q00293_TheHiddenVeins()
|
||||
@@ -137,7 +137,7 @@ public class Q00293_TheHiddenVeins extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getRace() == Race.DWARF) ? (player.getLevel() >= MIN_LVL) ? "30535-03.htm" : "30535-02.htm" : "30535-01.htm";
|
||||
htmltext = (player.getRace() == Race.DWARF) ? (player.getLevel() >= MIN_LEVEL) ? "30535-03.htm" : "30535-02.htm" : "30535-01.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -49,7 +49,7 @@ public class Q00294_CovertBusiness extends Quest
|
||||
// Reward
|
||||
private static final int RING_OF_RACCOON = 1508;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 10;
|
||||
private static final int MIN_LEVEL = 10;
|
||||
|
||||
public Q00294_CovertBusiness()
|
||||
{
|
||||
@@ -103,7 +103,7 @@ public class Q00294_CovertBusiness extends Quest
|
||||
String html = getNoQuestMsg(talker);
|
||||
if (qs.isCreated())
|
||||
{
|
||||
html = (talker.getRace() == Race.DWARF) ? (talker.getLevel() >= MIN_LVL) ? "30534-02.htm" : "30534-01.htm" : "30534-00.htm";
|
||||
html = (talker.getRace() == Race.DWARF) ? (talker.getLevel() >= MIN_LEVEL) ? "30534-02.htm" : "30534-01.htm" : "30534-00.htm";
|
||||
}
|
||||
else if (qs.isStarted())
|
||||
{
|
||||
|
@@ -38,7 +38,7 @@ public class Q00295_DreamingOfTheSkies extends Quest
|
||||
// Reward
|
||||
private static final int RING_OF_FIREFLY = 1509;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 11;
|
||||
private static final int MIN_LEVEL = 11;
|
||||
|
||||
public Q00295_DreamingOfTheSkies()
|
||||
{
|
||||
@@ -79,7 +79,7 @@ public class Q00295_DreamingOfTheSkies extends Quest
|
||||
String html = getNoQuestMsg(talker);
|
||||
if (qs.isCreated())
|
||||
{
|
||||
html = (talker.getLevel() >= MIN_LVL) ? "30536-02.htm" : "30536-01.htm";
|
||||
html = (talker.getLevel() >= MIN_LEVEL) ? "30536-02.htm" : "30536-01.htm";
|
||||
}
|
||||
else if (qs.isStarted())
|
||||
{
|
||||
|
@@ -43,7 +43,7 @@ public class Q00296_TarantulasSpiderSilk extends Quest
|
||||
20508,
|
||||
};
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
|
||||
public Q00296_TarantulasSpiderSilk()
|
||||
{
|
||||
@@ -139,7 +139,7 @@ public class Q00296_TarantulasSpiderSilk extends Quest
|
||||
String html = getNoQuestMsg(talker);
|
||||
if (qs.isCreated() && (npc.getId() == TRADER_MION))
|
||||
{
|
||||
html = (talker.getLevel() >= MIN_LVL ? "30519-02.htm" : "30519-01.htm");
|
||||
html = (talker.getLevel() >= MIN_LEVEL ? "30519-02.htm" : "30519-01.htm");
|
||||
}
|
||||
else if (qs.isStarted())
|
||||
{
|
||||
|
@@ -45,7 +45,7 @@ public class Q00324_SweetestVenom extends Quest
|
||||
// Items
|
||||
private static final int VENOM_SAC = 1077;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 18;
|
||||
private static final int MIN_LEVEL = 18;
|
||||
private static final int REQUIRED_COUNT = 10;
|
||||
private static final int ADENA_COUNT = 1000;
|
||||
|
||||
@@ -80,7 +80,7 @@ public class Q00324_SweetestVenom extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = player.getLevel() < MIN_LVL ? "30351-02.html" : "30351-03.htm";
|
||||
htmltext = player.getLevel() < MIN_LEVEL ? "30351-02.html" : "30351-03.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -56,7 +56,7 @@ public class Q00326_VanquishRemnants extends Quest
|
||||
}
|
||||
//@formatter:on
|
||||
// Misc
|
||||
private static final int MIN_LVL = 21;
|
||||
private static final int MIN_LEVEL = 21;
|
||||
|
||||
public Q00326_VanquishRemnants()
|
||||
{
|
||||
@@ -119,7 +119,7 @@ public class Q00326_VanquishRemnants extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getLevel() >= MIN_LVL) ? "30435-02.htm" : "30435-01.htm";
|
||||
htmltext = (player.getLevel() >= MIN_LEVEL) ? "30435-02.htm" : "30435-01.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -68,7 +68,7 @@ public class Q00327_RecoverTheFarmland extends Quest
|
||||
private static final int SPIRITSHOT_D = 2510;
|
||||
|
||||
// Misc
|
||||
private static final int MIN_LVL = 25;
|
||||
private static final int MIN_LEVEL = 25;
|
||||
private static final Map<String, ItemHolder> FRAGMENTS_REWARD_DATA = new HashMap<>(4);
|
||||
private static final Map<Integer, Integer> FRAGMENTS_DROP_PROB = new HashMap<>(7);
|
||||
private static final ItemHolder[] FULL_REWARD_DATA =
|
||||
@@ -376,7 +376,7 @@ public class Q00327_RecoverTheFarmland extends Quest
|
||||
{
|
||||
if (qs.isCreated())
|
||||
{
|
||||
html = ((player.getLevel() >= MIN_LVL) ? "30382-02.htm" : "30382-01.htm");
|
||||
html = ((player.getLevel() >= MIN_LEVEL) ? "30382-02.htm" : "30382-01.htm");
|
||||
}
|
||||
else if (qs.isStarted())
|
||||
{
|
||||
@@ -396,7 +396,7 @@ public class Q00327_RecoverTheFarmland extends Quest
|
||||
{
|
||||
if (qs.isCreated())
|
||||
{
|
||||
html = ((player.getLevel() >= MIN_LVL) ? "30597-02.htm" : "30597-01.htm");
|
||||
html = ((player.getLevel() >= MIN_LEVEL) ? "30597-02.htm" : "30597-01.htm");
|
||||
}
|
||||
else if (qs.isStarted())
|
||||
{
|
||||
|
@@ -57,7 +57,7 @@ public class Q00328_SenseForBusiness extends Quest
|
||||
private static final int BASILISK_GIZZARD_ADENA = 2;
|
||||
private static final int BONUS = 100;
|
||||
private static final int BONUS_COUNT = 10;
|
||||
private static final int MIN_LVL = 21;
|
||||
private static final int MIN_LEVEL = 21;
|
||||
|
||||
public Q00328_SenseForBusiness()
|
||||
{
|
||||
@@ -104,7 +104,7 @@ public class Q00328_SenseForBusiness extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = player.getLevel() < MIN_LVL ? "30436-01.htm" : "30436-02.htm";
|
||||
htmltext = player.getLevel() < MIN_LEVEL ? "30436-01.htm" : "30436-02.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -47,7 +47,7 @@ public class Q00331_ArrowOfVengeance extends Quest
|
||||
MONSTERS.put(20176, 60); // Wyrm
|
||||
}
|
||||
// Misc
|
||||
private static final int MIN_LVL = 32;
|
||||
private static final int MIN_LEVEL = 32;
|
||||
private static final int HARPY_FEATHER_ADENA = 6;
|
||||
private static final int MEDUSA_VENOM_ADENA = 7;
|
||||
private static final int WYRMS_TOOTH_ADENA = 9;
|
||||
@@ -103,7 +103,7 @@ public class Q00331_ArrowOfVengeance extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = player.getLevel() < MIN_LVL ? "30125-01.htm" : "30125-02.htm";
|
||||
htmltext = player.getLevel() < MIN_LEVEL ? "30125-01.htm" : "30125-02.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -72,7 +72,7 @@ public class Q00344_1000YearsTheEndOfLamentation extends Quest
|
||||
private static final ItemHolder SCROLL_EAC = new ItemHolder(952, 5);
|
||||
private static final ItemHolder DRAKE_LEATHER_BOOTS = new ItemHolder(2437, 1);
|
||||
// Misc
|
||||
private static final int MIN_LVL = 48;
|
||||
private static final int MIN_LEVEL = 48;
|
||||
|
||||
public Q00344_1000YearsTheEndOfLamentation()
|
||||
{
|
||||
@@ -214,7 +214,7 @@ public class Q00344_1000YearsTheEndOfLamentation extends Quest
|
||||
{
|
||||
if (qs.isCreated())
|
||||
{
|
||||
htmltext = (talker.getLevel() >= MIN_LVL) ? "30754-02.htm" : "30754-01.htm";
|
||||
htmltext = (talker.getLevel() >= MIN_LEVEL) ? "30754-02.htm" : "30754-01.htm";
|
||||
}
|
||||
else if (qs.isStarted())
|
||||
{
|
||||
|
@@ -37,7 +37,7 @@ public class Q00360_PlunderTheirSupplies extends Quest
|
||||
// Npc
|
||||
private static final int COLEMAN = 30873;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 52;
|
||||
private static final int MIN_LEVEL = 52;
|
||||
// Monsters
|
||||
private static final Map<Integer, Integer> MONSTER_DROP_CHANCES = new HashMap<>();
|
||||
// Item
|
||||
@@ -118,7 +118,7 @@ public class Q00360_PlunderTheirSupplies extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getLevel() >= MIN_LVL) ? "30873-02.htm" : "30873-01.html";
|
||||
htmltext = (player.getLevel() >= MIN_LEVEL) ? "30873-02.htm" : "30873-01.html";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -117,7 +117,7 @@ public class Q00420_LittleWing extends Quest
|
||||
EGG_DROPS.put(LETO_WARRIOR, EXARION_EGG);
|
||||
}
|
||||
// Misc
|
||||
private static final int MIN_LVL = 35;
|
||||
private static final int MIN_LEVEL = 35;
|
||||
|
||||
public Q00420_LittleWing()
|
||||
{
|
||||
@@ -440,7 +440,7 @@ public class Q00420_LittleWing extends Quest
|
||||
{
|
||||
if (npc.getId() == COOPER)
|
||||
{
|
||||
htmltext = (talker.getLevel() >= MIN_LVL) ? "30829-01.htm" : "30829-03.html";
|
||||
htmltext = (talker.getLevel() >= MIN_LEVEL) ? "30829-01.htm" : "30829-03.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@@ -63,8 +63,8 @@ public class Q00421_LittleWingsBigAdventure extends Quest
|
||||
private static final int DRAGON_BUGLE_OF_STAR = 4423;
|
||||
private static final int DRAGON_BUGLE_OF_TWILIGHT = 4424;
|
||||
// Misc
|
||||
private static final int MIN_PLAYER_LVL = 45;
|
||||
private static final int MIN_HACHLING_LVL = 55;
|
||||
private static final int MIN_PLAYER_LEVEL = 45;
|
||||
private static final int MIN_HACHLING_LEVEL = 55;
|
||||
private static final Map<Integer, NpcData> NPC_DATA = new HashMap<>();
|
||||
|
||||
static
|
||||
@@ -104,7 +104,7 @@ public class Q00421_LittleWingsBigAdventure extends Quest
|
||||
if (getQuestItemsCount(player, DRAGONFLUTE_OF_WIND, DRAGONFLUTE_OF_STAR, DRAGONFLUTE_OF_TWILIGHT) == 1)
|
||||
{
|
||||
final ItemInstance flute = getFlute(player);
|
||||
if (flute.getEnchantLevel() < MIN_HACHLING_LVL)
|
||||
if (flute.getEnchantLevel() < MIN_HACHLING_LEVEL)
|
||||
{
|
||||
htmltext = "30610-06.html";
|
||||
}
|
||||
@@ -200,7 +200,7 @@ public class Q00421_LittleWingsBigAdventure extends Quest
|
||||
break; // this quest does not show up if no flute in inventory
|
||||
}
|
||||
|
||||
if (talker.getLevel() < MIN_PLAYER_LVL)
|
||||
if (talker.getLevel() < MIN_PLAYER_LEVEL)
|
||||
{
|
||||
htmltext = "30610-01.htm";
|
||||
}
|
||||
@@ -208,7 +208,7 @@ public class Q00421_LittleWingsBigAdventure extends Quest
|
||||
{
|
||||
htmltext = "30610-02.htm";
|
||||
}
|
||||
else if (getFlute(talker).getEnchantLevel() < MIN_HACHLING_LVL)
|
||||
else if (getFlute(talker).getEnchantLevel() < MIN_HACHLING_LEVEL)
|
||||
{
|
||||
htmltext = "30610-03.html";
|
||||
}
|
||||
|
@@ -57,8 +57,8 @@ public class Q10995_MutualBenefit extends Quest
|
||||
private static final int GARUM_WEREWOLF = 20307;
|
||||
private static final int GOBLIN_BRIGAND_LIEUTENANT = 20324;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 2;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 2;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q10995_MutualBenefit()
|
||||
{
|
||||
@@ -66,7 +66,7 @@ public class Q10995_MutualBenefit extends Quest
|
||||
addStartNpc(NEWBIE_GUIDE);
|
||||
addTalkId(NEWBIE_GUIDE, REEP);
|
||||
addKillId(BLACK_WOLF, GOBLIN_SNOOPER, UTUKU_ORC, UTUKU_ORC_ARCHER, GOBLIN_BRIGAND, GARUM_WEREWOLF, GOBLIN_BRIGAND_LIEUTENANT);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html");
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html");
|
||||
addCondRace(Race.DWARF, "no-race.html");
|
||||
registerQuestItems(BOUNTY_POSTER, BALCK_WOLF_TOOTH, GOBLINS_NAVIGATION_DEVICE, UTUKU_ORC_AMULET, GOBLIN_BRIGANDS_OLD_SWORD, GARUM_WEREWOLF_TAIL, GOBLIN_BRIGAND_LIEUTENANT_NECKLACE);
|
||||
setQuestNameNpcStringId(NpcStringId.LV_2_20_MUTUAL_BENEFIT);
|
||||
|
@@ -55,8 +55,8 @@ public class Q10996_TemplesDecorations extends Quest
|
||||
private static final int WINSTONE_GOLEM = 20521;
|
||||
private static final int OBSIDIAN_GOLEM = 20526;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 11;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 11;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q10996_TemplesDecorations()
|
||||
{
|
||||
@@ -64,7 +64,7 @@ public class Q10996_TemplesDecorations extends Quest
|
||||
addStartNpc(REEP);
|
||||
addTalkId(ZIMENF, REEP);
|
||||
addKillId(BARBED_BATS, CRYSTAL_PUMA, GOBLIN_LORD, GOBLIN_BRIGAND_LEADER, WINSTONE_GOLEM, OBSIDIAN_GOLEM);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.DWARF, "no-race.html"); // Custom
|
||||
registerQuestItems(TEMPLE_RECONSTRUCTION_REQUEST, BARBED_BAT_WING_SAC, PUMA_FUR, GOBLIN_JEWEL, GOLEM_ORE);
|
||||
setQuestNameNpcStringId(NpcStringId.LV_11_20_TEMPLE_S_DECORATIONS);
|
||||
|
@@ -49,8 +49,8 @@ public class Q10997_LoserPriest1 extends Quest
|
||||
private static final int HUNTER_TARANTULA = 20403;
|
||||
private static final int PLUNDER_TARANTULA = 20508;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q10997_LoserPriest1()
|
||||
{
|
||||
@@ -58,7 +58,7 @@ public class Q10997_LoserPriest1 extends Quest
|
||||
addStartNpc(ZIMENF);
|
||||
addTalkId(ZIMENF, GERALD);
|
||||
addKillId(PLUNDER_TARANTULA, HUNTER_TARANTULA);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.DWARF, "no-race.html"); // Custom
|
||||
registerQuestItems(MAINTENANCE_REQUEST, HUNTER_TARANTULA_VENOM, PLUNDER_TARANTULA_KIDNEY);
|
||||
setQuestNameNpcStringId(NpcStringId.LV_15_20_LOSER_PRIEST_1_3);
|
||||
|
@@ -50,8 +50,8 @@ public class Q10998_LoserPriest2 extends Quest
|
||||
private static final int HUNTER_TARANTULA = 20403;
|
||||
private static final int PLUNDER_TARANTULA = 20508;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q10998_LoserPriest2()
|
||||
{
|
||||
@@ -59,7 +59,7 @@ public class Q10998_LoserPriest2 extends Quest
|
||||
addStartNpc(GERALD);
|
||||
addTalkId(GERALD);
|
||||
addKillId(PLUNDER_TARANTULA, HUNTER_TARANTULA);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.DWARF, "no-race.html"); // Custom
|
||||
addCondCompletedQuest(Q10997_LoserPriest1.class.getSimpleName(), "30650-06.html");
|
||||
registerQuestItems(MAINTENANCE_REQUEST, HUNTER_TARANTULA_VENOM, PLUNDER_TARANTULA_KIDNEY);
|
||||
|
@@ -53,8 +53,8 @@ public class Q10999_LoserPriest3 extends Quest
|
||||
private static final int KEROPE_WEREWOLF = 21126;
|
||||
private static final int KEROPE_WEREWOLF_CHIEFTAIN = 21129;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q10999_LoserPriest3()
|
||||
{
|
||||
@@ -62,7 +62,7 @@ public class Q10999_LoserPriest3 extends Quest
|
||||
addStartNpc(GERALD);
|
||||
addTalkId(GERALD);
|
||||
addKillId(NORTHERN_TRIMDEN, RED_EYE_BARBED_BAT, KEROPE_WEREWOLF_CHIEFTAIN, KEROPE_WEREWOLF);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.DWARF, "no-race.html"); // Custom
|
||||
addCondCompletedQuest(Q10998_LoserPriest2.class.getSimpleName(), "30650-05.html");
|
||||
registerQuestItems(NEW_CLEANING_TOOLS_LIST, BAT_BRISTLE, TRIMDEN_WEB, KEROPE_WEREWOLF_TWIG_CHARM);
|
||||
|
@@ -72,8 +72,8 @@ public class Q11000_MoonKnight extends Quest
|
||||
private static final int IRON_SCALE_GUILD_CERTIFICATE = 49560;
|
||||
// Misc
|
||||
private static final int QUESTION_MARK_ID = 18;
|
||||
private static final int MIN_LVL = 25;
|
||||
private static final int MAX_LVL = 40;
|
||||
private static final int MIN_LEVEL = 25;
|
||||
private static final int MAX_LEVEL = 40;
|
||||
|
||||
public Q11000_MoonKnight()
|
||||
{
|
||||
@@ -81,7 +81,7 @@ public class Q11000_MoonKnight extends Quest
|
||||
addStartNpc(JONES);
|
||||
addTalkId(JONES, DAMION, AMORA, NETI, ROLENTO, GUDZ);
|
||||
addKillId(OL_MAHUM_THIEF, TUREK_ORC_COMMANDER, TUREK_ORC_INVADER);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no_level.html");
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no_level.html");
|
||||
registerQuestItems(MOLD, AMORA_RECEIPT, ARMOR_TRADE_CONTRACT, TUREK_ORC_ORDER, TUREK_ORC_INVADER_HEAD);
|
||||
setQuestNameNpcStringId(NpcStringId.MOON_KNIGHT);
|
||||
}
|
||||
|
@@ -55,8 +55,8 @@ public class Q11001_TombsOfAncestors extends Quest
|
||||
private static final int ORC_WARRIOR = 20093;
|
||||
private static final int WEREWOLVES = 20132;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 2;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 2;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11001_TombsOfAncestors()
|
||||
{
|
||||
@@ -64,7 +64,7 @@ public class Q11001_TombsOfAncestors extends Quest
|
||||
addStartNpc(NEWBIE_GUIDE);
|
||||
addTalkId(NEWBIE_GUIDE, ALTRAN);
|
||||
addKillId(WOLF, ELDER_WOLF, ORC, ORC_SOLDIER, ORC_ARCHER, ORC_WARRIOR, WEREWOLVES);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html");
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html");
|
||||
addCondRace(Race.HUMAN, "no-race.html");
|
||||
registerQuestItems(HUNTERS_MEMO, WOLF_PELT, ORC_AMULET, WEREWOLFS_FANG, BROKEN_SWORD);
|
||||
setQuestNameNpcStringId(NpcStringId.LV_2_20_TOMBS_OF_ANCESTORS);
|
||||
|
@@ -54,8 +54,8 @@ public class Q11002_HelpWithTempleRestoration extends Quest
|
||||
private static final int STONE_GOLEM = 20016;
|
||||
private static final int CRASHER = 20101;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 11;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 11;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11002_HelpWithTempleRestoration()
|
||||
{
|
||||
@@ -63,7 +63,7 @@ public class Q11002_HelpWithTempleRestoration extends Quest
|
||||
addStartNpc(ALTRAN);
|
||||
addTalkId(HARRYS, ALTRAN);
|
||||
addKillId(ORC_CAPTAIN, ORC_LIEUTENANT, WEREWOLF_HUMTER, WEREWOLF_CHIEFTAIN, STONE_GOLEM, CRASHER);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.HUMAN, "no-race.html"); // Custom
|
||||
registerQuestItems(INVENTORY_BOOK, WOODEN_POLE, WOODEN_DOOR_PANEL, STONE_POWDER);
|
||||
setQuestNameNpcStringId(NpcStringId.LV_11_20_HELP_WITH_TEMPLE_RESTORATION);
|
||||
|
@@ -53,8 +53,8 @@ public class Q11003_PerfectLeatherArmor1 extends Quest
|
||||
private static final int UNDINE_ELDER = 20113;
|
||||
private static final int UNDINE_NOBLE = 20115;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11003_PerfectLeatherArmor1()
|
||||
{
|
||||
@@ -62,7 +62,7 @@ public class Q11003_PerfectLeatherArmor1 extends Quest
|
||||
addStartNpc(HARRYS);
|
||||
addTalkId(HARRYS, LECTOR);
|
||||
addKillId(GIANT_SPIDER, GIANT_FANG_SPIDER, GIANT_BLADE_SPIDER, UNDINE, UNDINE_ELDER, UNDINE_NOBLE);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.HUMAN, "no-race.html"); // Custom
|
||||
registerQuestItems(LECTORS_NOTES, COBWEB, ESSENCE_OF_WATER);
|
||||
setQuestNameNpcStringId(NpcStringId.LV_15_20_PERFECT_LEATHER_ARMOR_1_3);
|
||||
|
@@ -54,8 +54,8 @@ public class Q11004_PerfectLeatherArmor2 extends Quest
|
||||
private static final int UNDINE_ELDER = 20113;
|
||||
private static final int UNDINE_NOBLE = 20115;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11004_PerfectLeatherArmor2()
|
||||
{
|
||||
@@ -63,7 +63,7 @@ public class Q11004_PerfectLeatherArmor2 extends Quest
|
||||
addStartNpc(LECTOR);
|
||||
addTalkId(LECTOR);
|
||||
addKillId(GIANT_SPIDER, GIANT_FANG_SPIDER, GIANT_BLADE_SPIDER, UNDINE, UNDINE_ELDER, UNDINE_NOBLE);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.HUMAN, "no-race.html"); // Custom
|
||||
addCondCompletedQuest(Q11003_PerfectLeatherArmor1.class.getSimpleName(), "30001-06.html");
|
||||
registerQuestItems(LECTORS_NOTES, COBWEB, ESSENCE_OF_WATER);
|
||||
|
@@ -54,8 +54,8 @@ public class Q11005_PerfectLeatherArmor3 extends Quest
|
||||
private static final int UNDINE_ELDER = 20113;
|
||||
private static final int UNDINE_NOBLE = 20115;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11005_PerfectLeatherArmor3()
|
||||
{
|
||||
@@ -63,7 +63,7 @@ public class Q11005_PerfectLeatherArmor3 extends Quest
|
||||
addStartNpc(LECTOR);
|
||||
addTalkId(LECTOR);
|
||||
addKillId(GIANT_SPIDER, GIANT_FANG_SPIDER, GIANT_BLADE_SPIDER, UNDINE, UNDINE_ELDER, UNDINE_NOBLE);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.HUMAN, "no-race.html"); // Custom
|
||||
addCondCompletedQuest(Q11004_PerfectLeatherArmor2.class.getSimpleName(), "30001-06.html");
|
||||
registerQuestItems(LECTORS_NOTES, COBWEB, ESSENCE_OF_WATER);
|
||||
|
@@ -55,8 +55,8 @@ public class Q11007_NoiseInWoods extends Quest
|
||||
private static final int KABOO_ORC_SOLDIER = 20470;
|
||||
private static final int SPORE_FUNGUS = 20509;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 2;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 2;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11007_NoiseInWoods()
|
||||
{
|
||||
@@ -64,7 +64,7 @@ public class Q11007_NoiseInWoods extends Quest
|
||||
addStartNpc(NEWBIE_GUIDE);
|
||||
addTalkId(NEWBIE_GUIDE, KENDELL);
|
||||
addKillId(GRAY_WOLF, GOBLIN_RAIDER, KABOO_ORC, KABOO_ORC_ARCHER, KABOO_ORC_SOLDIER, SPORE_FUNGUS);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html");
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html");
|
||||
addCondRace(Race.ELF, "no-race.html");
|
||||
registerQuestItems(MARK_OF_SECURITY, TAIL_OF_A_GRAY_WOLF, GOBLINS_PACK_OF_KNICKKNACKS, KABBO_ORC_STURDY_AMULET, MUSHROOM_SPORE_POWDER);
|
||||
setQuestNameNpcStringId(NpcStringId.LV_2_20_NOISE_IN_WOODS);
|
||||
|
@@ -56,8 +56,8 @@ public class Q11008_PreparationForDungeon extends Quest
|
||||
private static final int CRIMSON_SPIDER = 20460;
|
||||
private static final int PINCER_SPIDER = 20466;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 11;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 11;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11008_PreparationForDungeon()
|
||||
{
|
||||
@@ -65,7 +65,7 @@ public class Q11008_PreparationForDungeon extends Quest
|
||||
addStartNpc(KENDELL);
|
||||
addTalkId(KENDELL, STARDEN);
|
||||
addKillId(KABOO_ORC_WARRIOR, KABOO_ORC_WARRIOR_CAPTAIN, KABOO_ORC_WARRIOR_LIEUTENANT, DRYAD, DRYAD_ELDER, HOOK_SPIDER, CRIMSON_SPIDER, PINCER_SPIDER);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.ELF, "no-race.html"); // Custom
|
||||
registerQuestItems(NOTE_ABOUT_REQUIRED_INGREDIENTS, ORCS_BANDAGE, DRYADS_CRIMSON_HERB, SPIDER_VENOM);
|
||||
setQuestNameNpcStringId(NpcStringId.LV_11_20_PREPARATION_FOR_DUNGEON);
|
||||
|
@@ -50,8 +50,8 @@ public class Q11009_NewPotionDevelopment1 extends Quest
|
||||
private static final int RED_SCAVENGER_SPIDER = 20393;
|
||||
private static final int MOONSTONE_BEAST = 20369;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11009_NewPotionDevelopment1()
|
||||
{
|
||||
@@ -59,7 +59,7 @@ public class Q11009_NewPotionDevelopment1 extends Quest
|
||||
addStartNpc(STARDEN);
|
||||
addTalkId(STARDEN, HERBIEL);
|
||||
addKillId(SCAVENGER_SPIDER, RED_SCAVENGER_SPIDER, MOONSTONE_BEAST);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.ELF, "no-race.html"); // Custom
|
||||
registerQuestItems(MEDICINE_RESEARCH, SPIDER_ICHOR, MOONSTONE_BEAST_SCALES);
|
||||
setQuestNameNpcStringId(NpcStringId.LV_15_20_NEW_POTION_DEVELOPMENT_1_3);
|
||||
|
@@ -51,8 +51,8 @@ public class Q11010_NewPotionDevelopment2 extends Quest
|
||||
private static final int RED_SCAVENGER_SPIDER = 20393;
|
||||
private static final int MOONSTONE_BEAST = 20369;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11010_NewPotionDevelopment2()
|
||||
{
|
||||
@@ -60,7 +60,7 @@ public class Q11010_NewPotionDevelopment2 extends Quest
|
||||
addStartNpc(HERBIEL);
|
||||
addTalkId(HERBIEL);
|
||||
addKillId(SCAVENGER_SPIDER, RED_SCAVENGER_SPIDER, MOONSTONE_BEAST);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.ELF, "no-race.html"); // Custom
|
||||
addCondCompletedQuest(Q11009_NewPotionDevelopment1.class.getSimpleName(), "30150-06.html");
|
||||
registerQuestItems(MEDICINE_RESEARCH, SPIDER_ICHOR, MOONSTONE_BEAST_SCALES);
|
||||
|
@@ -50,8 +50,8 @@ public class Q11011_NewPotionDevelopment3 extends Quest
|
||||
private static final int RATMAN_SCAVENGER = 20039;
|
||||
private static final int ARACHNID_TRACKER = 20043;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11011_NewPotionDevelopment3()
|
||||
{
|
||||
@@ -59,7 +59,7 @@ public class Q11011_NewPotionDevelopment3 extends Quest
|
||||
addStartNpc(HERBIEL);
|
||||
addTalkId(HERBIEL);
|
||||
addKillId(RATMAN_SCAVENGER, ARACHNID_TRACKER);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.ELF, "no-race.html"); // Custom
|
||||
addCondCompletedQuest(Q11010_NewPotionDevelopment2.class.getSimpleName(), "30150-05.html");
|
||||
registerQuestItems(MEDICATIONS_RESEARCH, ANTIDOTE, ARACHNID_TRACKER_THORN);
|
||||
|
@@ -57,8 +57,8 @@ public class Q11013_ShilensHunt extends Quest
|
||||
private static final int BALOR_ORC_CAPTAIN = 20387;
|
||||
private static final int BALOR_ORC_LIEUTENANTS = 20388;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 2;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 2;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11013_ShilensHunt()
|
||||
{
|
||||
@@ -66,7 +66,7 @@ public class Q11013_ShilensHunt extends Quest
|
||||
addStartNpc(NEWBIE_GUIDE);
|
||||
addTalkId(NEWBIE_GUIDE, TALOS);
|
||||
addKillId(ASHEN_WOLVES, GOBLIN, IMP, IMP_ELDER, GREN_FUNGUS, BALOR_ORC_WARRIOR, BALOR_ORC_CAPTAIN, BALOR_ORC_LIEUTENANTS);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "");
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "");
|
||||
addCondRace(Race.DARK_ELF, "");
|
||||
registerQuestItems(HUNTING_PLAN, WOLF_TAIL, GOBLIN_POISONOUS_DART, IMP_WING, FUNGUS_JUICE, BALOR_ORC_FANG);
|
||||
setQuestNameNpcStringId(NpcStringId.LV_2_20_SHILEN_S_HUNT);
|
||||
|
@@ -56,8 +56,8 @@ public class Q11014_SurpriseGift extends Quest
|
||||
private static final int GIANT_STONE_GUARDIAN = 20380;
|
||||
private static final int DARK_HORROR = 20105;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 11;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 11;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11014_SurpriseGift()
|
||||
{
|
||||
@@ -65,7 +65,7 @@ public class Q11014_SurpriseGift extends Quest
|
||||
addStartNpc(TALOS);
|
||||
addTalkId(PAYNE, TALOS);
|
||||
addKillId(ZOMBIE_FOREST_ELF, ZOMBIE_FOREST_ELF_RESEARCHER, FESTERING_BAT, RED_EYE_BAT, GIANT_STONE_GUARDIAN, GIANT_STONE_SOLDIER, DARK_HORROR);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.DARK_ELF, "no-race.html"); // Custom
|
||||
registerQuestItems(ARMOR_DESIGN, ZOMBIE_FOREST_ELF_TOOTH, BAT_SKIN, STONE_GIANTS_SHINY_ROCK, OLD_BONE_FRAGMENT);
|
||||
setQuestNameNpcStringId(NpcStringId.LV_11_20_SURPRISE_GIFT);
|
||||
|
@@ -53,8 +53,8 @@ public class Q11015_PrepareForTrade1 extends Quest
|
||||
private static final int GIANT_VENOMOUS_SPIDER = 20038;
|
||||
private static final int ARACHNID_TRACKER = 20043;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11015_PrepareForTrade1()
|
||||
{
|
||||
@@ -62,7 +62,7 @@ public class Q11015_PrepareForTrade1 extends Quest
|
||||
addStartNpc(PAYNE);
|
||||
addTalkId(PAYNE, VOLLODOS);
|
||||
addKillId(STONE_GIANT_GUARDIANS, CRYSTALLINE_BEAST, PROWLER, GIANT_VENOMOUS_SPIDER, ARACHNID_TRACKER);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.DARK_ELF, "no-race.html"); // Custom
|
||||
registerQuestItems(SUPPLIES_CERTIFICATE, STONE_GIANTS_GUARDIANS_CORE, CRYSTALLINE_BEASTS_SHINEDUST, GIANT_SPIDER_SKIN_FRAGMENT);
|
||||
setQuestNameNpcStringId(NpcStringId.LV_15_20_PREPARE_FOR_TRADE_1_3);
|
||||
|
@@ -54,8 +54,8 @@ public class Q11016_PrepareForTrade2 extends Quest
|
||||
private static final int GIANT_VENOMOUS_SPIDER = 20038;
|
||||
private static final int ARACHNID_TRACKER = 20043;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11016_PrepareForTrade2()
|
||||
{
|
||||
@@ -63,7 +63,7 @@ public class Q11016_PrepareForTrade2 extends Quest
|
||||
addStartNpc(VOLLODOS);
|
||||
addTalkId(VOLLODOS);
|
||||
addKillId(STONE_GIANT_GUARDIANS, CRYSTALLINE_BEAST, PROWLER, GIANT_VENOMOUS_SPIDER, ARACHNID_TRACKER);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.DARK_ELF, "no-race.html"); // Custom
|
||||
addCondCompletedQuest(Q11015_PrepareForTrade1.class.getSimpleName(), "30137-06.html");
|
||||
registerQuestItems(SUPPLIES_CERTIFICATE, STONE_GIANTS_GUARDIANS_CORE, CRYSTALLINE_BEASTS_SHINEDUST, GIANT_SPIDER_SKIN_FRAGMENT);
|
||||
|
@@ -54,8 +54,8 @@ public class Q11017_PrepareForTrade3 extends Quest
|
||||
private static final int GIANT_VENOMOUS_SPIDER = 20038;
|
||||
private static final int ARACHNID_TRACKER = 20043;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11017_PrepareForTrade3()
|
||||
{
|
||||
@@ -63,7 +63,7 @@ public class Q11017_PrepareForTrade3 extends Quest
|
||||
addStartNpc(VOLLODOS);
|
||||
addTalkId(VOLLODOS);
|
||||
addKillId(STONE_GIANT_GUARDIANS, CRYSTALLINE_BEAST, PROWLER, GIANT_VENOMOUS_SPIDER, ARACHNID_TRACKER);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.DARK_ELF, "no-race.html"); // Custom
|
||||
addCondCompletedQuest(Q11016_PrepareForTrade2.class.getSimpleName(), "30137-06.html");
|
||||
registerQuestItems(SUPPLIES_CERTIFICATE, STONE_GIANTS_GUARDIANS_CORE, CRYSTALLINE_BEASTS_SHINEDUST, GIANT_SPIDER_SKIN_FRAGMENT);
|
||||
|
@@ -56,8 +56,8 @@ public class Q11019_TribalBenefit extends Quest
|
||||
private static final int MARAKU_WEREWOLF = 20363;
|
||||
private static final int EYE_OF_SEER = 20426;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 2;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 2;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11019_TribalBenefit()
|
||||
{
|
||||
@@ -65,7 +65,7 @@ public class Q11019_TribalBenefit extends Quest
|
||||
addStartNpc(NEWBIE_GUIDE);
|
||||
addTalkId(NEWBIE_GUIDE, TIKU);
|
||||
addKillId(KASHA_WOLF, KASHA_FOREST_WOLF, GOBLIN_TOMB_RAIDER, RAKECLAW_IMP_HUNTER, MOUNTAIN_FUNGUS, MARAKU_WEREWOLF, EYE_OF_SEER);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html");
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html");
|
||||
addCondRace(Race.ORC, "no-race.html");
|
||||
registerQuestItems(TRIBAL_CHRONICLE, KASHA_WOLF_FUR, ASHES_OF_ANCESTORS, IMP_NECKLACE, MOUNTAIN_FUNGUS_SPORES, MARAKU_WEREWOLF_CLAW, EYE_OF_SEER_TEARS);
|
||||
setQuestNameNpcStringId(NpcStringId.LV_2_20_TRIBAL_BENEFIT);
|
||||
|
@@ -53,8 +53,8 @@ public class Q11020_BlacksmithsRequest extends Quest
|
||||
private static final int GREYSTONE_GOLEM = 20333;
|
||||
private static final int EVIL_EYE_PATROL = 20428;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 11;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 11;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11020_BlacksmithsRequest()
|
||||
{
|
||||
@@ -62,7 +62,7 @@ public class Q11020_BlacksmithsRequest extends Quest
|
||||
addStartNpc(TIKU);
|
||||
addTalkId(SUMARI, TIKU);
|
||||
addKillId(BLACKWING_BAT, TOMB_RAIDER_LEADER, GREYSTONE_GOLEM, EVIL_EYE_PATROL);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.ORC, "no-race.html"); // Custom
|
||||
registerQuestItems(REQUIRED_MATERIALS, BLACKWING_BAT_WING, GRAVE_ROBBERS_BELT, GOLEM_ORE, EVIL_EYE_PATROL_HIDE);
|
||||
setQuestNameNpcStringId(NpcStringId.LV_11_20_BLACKSMITH_S_REQUEST);
|
||||
|
@@ -51,8 +51,8 @@ public class Q11021_RedGemNecklace1 extends Quest
|
||||
private static final int KASHA_FANG_SPIDER = 20476;
|
||||
private static final int KASHA_BLADE_SPIDER = 20478;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11021_RedGemNecklace1()
|
||||
{
|
||||
@@ -60,7 +60,7 @@ public class Q11021_RedGemNecklace1 extends Quest
|
||||
addStartNpc(SUMARI);
|
||||
addTalkId(SUMARI, USKA);
|
||||
addKillId(KASHA_BEAR, KASHA_SPIDER, KASHA_FANG_SPIDER, KASHA_BLADE_SPIDER);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.ORC, "no-race.html"); // Custom
|
||||
registerQuestItems(LIST_OF_MATERIALS, BEARS_SHIN_BONE, SHARP_SPIDER_LEG);
|
||||
setQuestNameNpcStringId(NpcStringId.LV_15_20_RED_GEM_NECKLACE_1_3);
|
||||
|
@@ -52,8 +52,8 @@ public class Q11022_RedGemNecklace2 extends Quest
|
||||
private static final int KASHA_FANG_SPIDER = 20476;
|
||||
private static final int KASHA_BLADE_SPIDER = 20478;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11022_RedGemNecklace2()
|
||||
{
|
||||
@@ -61,7 +61,7 @@ public class Q11022_RedGemNecklace2 extends Quest
|
||||
addStartNpc(USKA);
|
||||
addTalkId(USKA);
|
||||
addKillId(KASHA_BEAR, KASHA_SPIDER, KASHA_FANG_SPIDER, KASHA_BLADE_SPIDER);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.ORC, "no-race.html"); // Custom
|
||||
addCondCompletedQuest(Q11021_RedGemNecklace1.class.getSimpleName(), "30560-06.html");
|
||||
registerQuestItems(LIST_OF_MATERIALS, BEARS_SHIN_BONE, SHARP_SPIDER_LEG);
|
||||
|
@@ -50,8 +50,8 @@ public class Q11023_RedGemNecklace3 extends Quest
|
||||
private static final int EVIL_EYE_SEER = 21257;
|
||||
private static final int KASHA_IMP = 21117;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 15;
|
||||
private static final int MAX_LVL = 20;
|
||||
private static final int MIN_LEVEL = 15;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q11023_RedGemNecklace3()
|
||||
{
|
||||
@@ -59,7 +59,7 @@ public class Q11023_RedGemNecklace3 extends Quest
|
||||
addStartNpc(USKA);
|
||||
addTalkId(USKA);
|
||||
addKillId(EVIL_EYE_SEER, KASHA_IMP);
|
||||
addCondLevel(MIN_LVL, MAX_LVL, "no-level.html"); // Custom
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.ORC, "no-race.html"); // Custom
|
||||
addCondCompletedQuest(Q11022_RedGemNecklace2.class.getSimpleName(), "30560-06.html");
|
||||
registerQuestItems(NECKLACE_MATERIALS_TICKET, HARD_LENS, RED_STONE);
|
||||
|
Reference in New Issue
Block a user