Ertheia story quest changes to match description for 21 level and beyond.

Contributed by champzix1.
This commit is contained in:
MobiusDev 2019-01-16 06:26:06 +00:00
parent 163d663fbb
commit 4d53efedff
93 changed files with 90 additions and 275 deletions

View File

@ -90,7 +90,7 @@ public final class Q10756_AnInterdimensionalDraft extends Quest
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 174222, 41); addExpAndSp(player, 267479, 41);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -88,7 +88,7 @@ public final class Q10757_QuietingTheStorm extends Quest
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 632051, 151); addExpAndSp(player, 808754, 151);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -92,7 +92,7 @@ public class Q10761_AnOrcInLove extends Quest
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 354546, 85); addExpAndSp(player, 706841, 85);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -80,7 +80,7 @@ public final class Q10763_TerrifyingChertuba extends Quest
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 896996, 215); addExpAndSp(player, 1529848, 215);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -43,8 +43,6 @@ public final class Q10770_InSearchOfTheGrail extends Quest
}; };
// Items // Items
private static final int MYSTERIOUS_FRAGMENT = 39711; private static final int MYSTERIOUS_FRAGMENT = 39711;
private static final int ENCHANT_WEAPON_C = 951;
private static final int ENCHANT_ARMOR_C = 952;
// Misc // Misc
private static final int MIN_LEVEL = 40; private static final int MIN_LEVEL = 40;
private static final double DROP_RATE = 0.4; private static final double DROP_RATE = 0.4;
@ -97,10 +95,8 @@ public final class Q10770_InSearchOfTheGrail extends Quest
{ {
if (qs.isCond(3)) if (qs.isCond(3))
{ {
giveItems(player, ENCHANT_WEAPON_C, 2);
giveItems(player, ENCHANT_ARMOR_C, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 2342300, 562); addExpAndSp(player, 4175045, 562);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;
@ -165,7 +161,7 @@ public final class Q10770_InSearchOfTheGrail extends Quest
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
{ {
final QuestState qs = getQuestState(killer, false); final QuestState qs = getQuestState(killer, false);
if ((qs != null) && qs.isCond(1) && giveItemRandomly(killer, MYSTERIOUS_FRAGMENT, 1, 30, DROP_RATE, true)) if ((qs != null) && qs.isCond(1) && giveItemRandomly(killer, MYSTERIOUS_FRAGMENT, 1, 20, DROP_RATE, true))
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }

View File

@ -43,7 +43,6 @@ public final class Q10771_VolatilePower extends Quest
// Items // Items
private static final int SHINING_MYSTERIOUS_FRAGMENT = 39713; private static final int SHINING_MYSTERIOUS_FRAGMENT = 39713;
private static final int NORMAL_FRAGMENT_DUST = 39714; private static final int NORMAL_FRAGMENT_DUST = 39714;
private static final int ENCHANT_ARMOR_C = 952;
// Misc // Misc
private static final int MIN_LEVEL = 44; private static final int MIN_LEVEL = 44;
@ -88,9 +87,8 @@ public final class Q10771_VolatilePower extends Quest
{ {
if (qs.isCond(3)) if (qs.isCond(3))
{ {
giveItems(player, ENCHANT_ARMOR_C, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 2708350, 650); addExpAndSp(player, 4150144, 650);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -40,8 +40,6 @@ public final class Q10772_ReportsFromCrumaTowerPart1 extends Quest
// NPCs // NPCs
private static final int JANSSEN = 30484; private static final int JANSSEN = 30484;
private static final int MAGIC_OWL = 33991; private static final int MAGIC_OWL = 33991;
// Items
private static final int ENCHANT_ARMOR_C = 952;
// Location // Location
private static final Location OWL_LOC = new Location(17698, 115064, -11736); private static final Location OWL_LOC = new Location(17698, 115064, -11736);
// Skill // Skill
@ -110,9 +108,8 @@ public final class Q10772_ReportsFromCrumaTowerPart1 extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_C, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 127575, 30); addExpAndSp(player, 838290, 30);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -37,7 +37,6 @@ public final class Q10774_LettersFromTheQueenCrumaTowerPart2 extends LetterQuest
// Items // Items
private static final int SOE_DION_TOWN = 39595; private static final int SOE_DION_TOWN = 39595;
private static final int SOE_CRUMA_TOWER = 39596; private static final int SOE_CRUMA_TOWER = 39596;
private static final int ENCHANT_ARMOR_C = 952;
// Location // Location
private static final Location TELEPORT_LOC = new Location(16014, 142326, -2688); private static final Location TELEPORT_LOC = new Location(16014, 142326, -2688);
// Misc // Misc
@ -87,7 +86,6 @@ public final class Q10774_LettersFromTheQueenCrumaTowerPart2 extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_C, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 483840, 116); addExpAndSp(player, 483840, 116);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_52, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_52, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -47,7 +47,6 @@ public final class Q10775_InSearchOfAnAncientGiant extends Quest
}; };
// Items // Items
private static final int ENERGY_OF_REGENERATION = 39715; private static final int ENERGY_OF_REGENERATION = 39715;
private static final int ENCHANT_ARMOR_C = 952;
// Misc // Misc
private static final int MIN_LEVEL = 46; private static final int MIN_LEVEL = 46;
@ -92,9 +91,8 @@ public final class Q10775_InSearchOfAnAncientGiant extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_C, 9);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 4443600, 1066); addExpAndSp(player, 10526523, 1066);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -44,7 +44,6 @@ public final class Q10776_TheWrathOfTheGiants extends Quest
private static final int GIANT_MINION = 27535; private static final int GIANT_MINION = 27535;
// Items // Items
private static final int REGENERATION_DEVICE_CORE = 39716; private static final int REGENERATION_DEVICE_CORE = 39716;
private static final int ENCHANT_ARMOR_C = 952;
// Location // Location
private static final Location NARSIDES_LOC = new Location(16422, 113281, -9064); private static final Location NARSIDES_LOC = new Location(16422, 113281, -9064);
private static final Location ENRAGED_NARSIDES_LOC = new Location(16422, 113281, -9064); private static final Location ENRAGED_NARSIDES_LOC = new Location(16422, 113281, -9064);
@ -138,9 +137,8 @@ public final class Q10776_TheWrathOfTheGiants extends Quest
{ {
if (qs.isCond(4)) if (qs.isCond(4))
{ {
giveItems(player, ENCHANT_ARMOR_C, 4);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 4838400, 1161); addExpAndSp(player, 10046941, 1161);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -40,8 +40,6 @@ public final class Q10777_ReportsFromCrumaTowerPart2 extends Quest
// NPCs // NPCs
private static final int BELKADHI = 30485; private static final int BELKADHI = 30485;
private static final int MAGIC_OWL = 33991; private static final int MAGIC_OWL = 33991;
// Items
private static final int ENCHANT_ARMOR_C = 952;
// Location // Location
private static final Location OWL_LOC = new Location(17666, 108589, -9072); private static final Location OWL_LOC = new Location(17666, 108589, -9072);
// Skill // Skill
@ -112,9 +110,8 @@ public final class Q10777_ReportsFromCrumaTowerPart2 extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_C, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 151263, 36); addExpAndSp(player, 1257435, 36);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -37,7 +37,6 @@ public final class Q10779_LettersFromTheQueenSeaOfSpores extends LetterQuest
// Items // Items
private static final int SOE_OREN = 39574; private static final int SOE_OREN = 39574;
private static final int SOE_SEA_OF_SPORES = 39575; private static final int SOE_SEA_OF_SPORES = 39575;
private static final int ENCHANT_WEAPON_B = 947;
// Location // Location
private static final Location TELEPORT_LOC = new Location(83633, 53064, -1456); private static final Location TELEPORT_LOC = new Location(83633, 53064, -1456);
// Misc // Misc
@ -86,7 +85,6 @@ public final class Q10779_LettersFromTheQueenSeaOfSpores extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_WEAPON_B, 3);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 635250, 152); addExpAndSp(player, 635250, 152);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_58, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_58, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -47,8 +47,6 @@ public final class Q10780_AWeakenedBarrier extends Quest
23307, // Corpse Spider 23307, // Corpse Spider
23308, // Explosive Spider 23308, // Explosive Spider
}; };
// Items
private static final int ENCHANT_ARMOR_B = 948;
// Misc // Misc
private static final int MIN_LEVEL = 52; private static final int MIN_LEVEL = 52;
private static final int MAX_LEVEL = 58; private static final int MAX_LEVEL = 58;
@ -91,7 +89,6 @@ public final class Q10780_AWeakenedBarrier extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_B, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 15108843, 914); addExpAndSp(player, 15108843, 914);
qs.exitQuest(false, true); qs.exitQuest(false, true);

View File

@ -42,7 +42,6 @@ public final class Q10781_IngredientsToEnforcements extends Quest
}; };
// Items // Items
private static final int WIND_SPIRIT_FRAGMENT = 39721; private static final int WIND_SPIRIT_FRAGMENT = 39721;
private static final int ENCHANT_ARMOR_B = 948;
// Misc // Misc
private static final int MIN_LEVEL = 52; private static final int MIN_LEVEL = 52;
private static final int MAX_LEVEL = 58; private static final int MAX_LEVEL = 58;
@ -86,7 +85,6 @@ public final class Q10781_IngredientsToEnforcements extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_B, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 19688585, 914); addExpAndSp(player, 19688585, 914);
qs.exitQuest(false, true); qs.exitQuest(false, true);

View File

@ -37,7 +37,6 @@ public final class Q10782_LettersFromTheQueenForsakenPlains extends LetterQuest
// Items // Items
private static final int SOE_ADEN = 39576; private static final int SOE_ADEN = 39576;
private static final int SOE_FORSAKEN_PLAINS = 39577; private static final int SOE_FORSAKEN_PLAINS = 39577;
private static final int ENCHANT_ARMOR_B = 948;
// Location // Location
private static final Location TELEPORT_LOC = new Location(147446, 22761, -1984); private static final Location TELEPORT_LOC = new Location(147446, 22761, -1984);
// Misc // Misc
@ -88,7 +87,6 @@ public final class Q10782_LettersFromTheQueenForsakenPlains extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_B, 10);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 731010, 175); addExpAndSp(player, 731010, 175);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_61, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_61, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -51,7 +51,6 @@ public final class Q10783_TracesOfAnAmbush extends Quest
}; };
// Items // Items
private static final int MISSIVE_SCRAPS = 39722; private static final int MISSIVE_SCRAPS = 39722;
private static final int ENCHANT_ARMOR_B = 948;
// Messages // Messages
private static final NpcStringId[] MESSAGES = private static final NpcStringId[] MESSAGES =
{ {
@ -102,9 +101,8 @@ public final class Q10783_TracesOfAnAmbush extends Quest
} }
case "33866-08.html": case "33866-08.html":
{ {
giveItems(player, ENCHANT_ARMOR_B, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 5482574, 1315); addExpAndSp(player, 12146608, 1315);
qs.exitQuest(false, true); qs.exitQuest(false, true);
break; break;
} }
@ -154,7 +152,7 @@ public final class Q10783_TracesOfAnAmbush extends Quest
if (getRandom(100) < DROP_RATE) if (getRandom(100) < DROP_RATE)
{ {
giveItems(killer, MISSIVE_SCRAPS, 1); giveItems(killer, MISSIVE_SCRAPS, 1);
if (getQuestItemsCount(killer, MISSIVE_SCRAPS) >= 10) if (getQuestItemsCount(killer, MISSIVE_SCRAPS) >= 50)
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }

View File

@ -92,7 +92,7 @@ public final class Q10784_TheBrokenDevice extends Quest
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveAdena(player, 990_000, true); giveAdena(player, 990000, true);
giveItems(player, SOULSHOT, 6000); giveItems(player, SOULSHOT, 6000);
giveItems(player, SPIRITSHOT, 6000); giveItems(player, SPIRITSHOT, 6000);
giveItems(player, BLESSED_SCROLL_OF_ESCAPE, 3); giveItems(player, BLESSED_SCROLL_OF_ESCAPE, 3);
@ -144,7 +144,7 @@ public final class Q10784_TheBrokenDevice extends Quest
if ((qs != null) && qs.isCond(1)) if ((qs != null) && qs.isCond(1))
{ {
giveItems(killer, BROKE_MAGIC_DEVICE_FRAGMENT, 1); giveItems(killer, BROKE_MAGIC_DEVICE_FRAGMENT, 1);
if (getQuestItemsCount(killer, BROKE_MAGIC_DEVICE_FRAGMENT) >= 20) if (getQuestItemsCount(killer, BROKE_MAGIC_DEVICE_FRAGMENT) >= 100)
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }

View File

@ -37,7 +37,6 @@ public final class Q10785_LettersFromTheQueenFieldsOfMassacre extends LetterQues
// Items // Items
private static final int SOE_ADEN = 39578; private static final int SOE_ADEN = 39578;
private static final int SOE_FIELDS_OF_MASSACRE = 39579; private static final int SOE_FIELDS_OF_MASSACRE = 39579;
private static final int ENCHANT_WEAPON_A = 26350;
// Location // Location
private static final Location TELEPORT_LOC = new Location(147446, 22761, -1984); private static final Location TELEPORT_LOC = new Location(147446, 22761, -1984);
// Misc // Misc
@ -88,7 +87,6 @@ public final class Q10785_LettersFromTheQueenFieldsOfMassacre extends LetterQues
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_WEAPON_A, 1);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 807240, 193); addExpAndSp(player, 807240, 193);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_65, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_65, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -55,8 +55,6 @@ public final class Q10786_ResidentProblemSolver extends Quest
20975, // Spiteful Soul Wizard 20975, // Spiteful Soul Wizard
20976, // Spiteful Soul Warrior 20976, // Spiteful Soul Warrior
}; };
// Items
private static final int ENCHANT_ARMOR_A = 26351;
// Misc // Misc
private static final int MIN_LEVEL = 61; private static final int MIN_LEVEL = 61;
private static final int MAX_LEVEL = 65; private static final int MAX_LEVEL = 65;
@ -99,11 +97,10 @@ public final class Q10786_ResidentProblemSolver extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_A, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 6251174, 1500); addExpAndSp(player, 38226567, 1500);
} }
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }

View File

@ -39,7 +39,6 @@ public final class Q10787_ASpyMission extends Quest
// Monster // Monster
private static final int EMBRYO_PURIFIER = 27540; private static final int EMBRYO_PURIFIER = 27540;
// Items // Items
private static final int ENCHANT_ARMOR_A = 26351;
private static final int EMBRYO_MISSIVES = 39724; private static final int EMBRYO_MISSIVES = 39724;
// Misc // Misc
private static final int MIN_LEVEL = 61; private static final int MIN_LEVEL = 61;
@ -103,11 +102,10 @@ public final class Q10787_ASpyMission extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_A, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 3125586, 750); addExpAndSp(player, 17234475, 750);
} }
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }

View File

@ -37,7 +37,6 @@ public final class Q10789_LettersFromTheQueenSwampOfScreams extends LetterQuest
// Items // Items
private static final int SOE_RUNE = 39580; private static final int SOE_RUNE = 39580;
private static final int SOE_SWAMP_OF_SCREAMS = 39581; private static final int SOE_SWAMP_OF_SCREAMS = 39581;
private static final int ENCHANT_WEAPON_A = 26350;
// Location // Location
private static final Location TELEPORT_LOC = new Location(36563, -49178, -1128); private static final Location TELEPORT_LOC = new Location(36563, -49178, -1128);
// Misc // Misc
@ -88,7 +87,6 @@ public final class Q10789_LettersFromTheQueenSwampOfScreams extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_WEAPON_A, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 942690, 226); addExpAndSp(player, 942690, 226);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_70, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_70, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -56,8 +56,6 @@ public class Q10790_AMercenaryHelper extends Quest
21518, // Frenzied Stakato Soldier 21518, // Frenzied Stakato Soldier
21519 // Frenzied Stakato Drone 21519 // Frenzied Stakato Drone
}; };
// Items
private static final int EAA = 730;
// Misc // Misc
private static final int MIN_LEVEL = 65; private static final int MIN_LEVEL = 65;
private static final int MAX_LEVEL = 70; private static final int MAX_LEVEL = 70;
@ -102,8 +100,7 @@ public class Q10790_AMercenaryHelper extends Quest
{ {
qs.exitQuest(false, true); qs.exitQuest(false, true);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveItems(player, EAA, 3); addExpAndSp(player, 134158421, 226);
addExpAndSp(player, 942650, 226);
htmltext = "33847-07.html"; htmltext = "33847-07.html";
} }
} }
@ -146,7 +143,7 @@ public class Q10790_AMercenaryHelper extends Quest
{ {
int count = qs.getInt(KILL_COUNT_VAR); int count = qs.getInt(KILL_COUNT_VAR);
qs.set(KILL_COUNT_VAR, ++count); qs.set(KILL_COUNT_VAR, ++count);
if (count >= 50) if (count >= 300)
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }

View File

@ -45,8 +45,6 @@ public class Q10791_TheManOfMystery extends Quest
private static final int SUSPICIOUS_COCOON2 = 27538; private static final int SUSPICIOUS_COCOON2 = 27538;
private static final int NEEDLE_STAKATO_CAPTAIN = 27542; private static final int NEEDLE_STAKATO_CAPTAIN = 27542;
private static final int NEEDLE_STAKATO = 27543; private static final int NEEDLE_STAKATO = 27543;
// Items
private static final int EAA = 730;
// Misc // Misc
private static final int MIN_LEVEL = 65; private static final int MIN_LEVEL = 65;
private static final int MAX_LEVEL = 70; private static final int MAX_LEVEL = 70;
@ -99,9 +97,8 @@ public class Q10791_TheManOfMystery extends Quest
{ {
if (qs.isCond(3)) if (qs.isCond(3))
{ {
addExpAndSp(player, 16968420, 4072); addExpAndSp(player, 46334481, 4072);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveItems(player, EAA, 2);
qs.exitQuest(false, true); qs.exitQuest(false, true);
htmltext = "33847-07.html"; htmltext = "33847-07.html";
break; break;

View File

@ -37,7 +37,6 @@ public final class Q10792_LettersFromTheQueenForestOfTheDead extends LetterQuest
// Items // Items
private static final int SOE_RUNE = 39582; private static final int SOE_RUNE = 39582;
private static final int SOE_FOREST_OF_DEAD = 39583; private static final int SOE_FOREST_OF_DEAD = 39583;
private static final int ENCHANT_WEAPON_A = 26350;
// Location // Location
private static final Location TELEPORT_LOC = new Location(36563, -49178, -1128); private static final Location TELEPORT_LOC = new Location(36563, -49178, -1128);
// Misc // Misc
@ -86,7 +85,6 @@ public final class Q10792_LettersFromTheQueenForestOfTheDead extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_WEAPON_A, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 942690, 226); addExpAndSp(player, 942690, 226);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_70, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_70, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -52,8 +52,6 @@ public final class Q10793_SaveTheSouls extends Quest
21560, // Bone Shaper 21560, // Bone Shaper
21561, // Sacrificed Man 21561, // Sacrificed Man
}; };
// Items
private static final int ENCHANT_ARMOR_A = 26351;
// Misc // Misc
private static final int MIN_LEVEL = 65; private static final int MIN_LEVEL = 65;
private static final int MAX_LEVEL = 70; private static final int MAX_LEVEL = 70;
@ -97,11 +95,10 @@ public final class Q10793_SaveTheSouls extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_A, 3);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 942690, 226); addExpAndSp(player, 86636593, 226);
} }
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }

View File

@ -78,7 +78,6 @@ public final class Q10794_InvestigateTheForest extends Quest
private static final int MAX_LEVEL = 70; private static final int MAX_LEVEL = 70;
private static final String KILL_COUNT_VAR = "KillCount"; private static final String KILL_COUNT_VAR = "KillCount";
// Items // Items
private static final int ENCHANT_ARMOR_A = 730;
private static final int OLD_JEWELRY_BOX = 39725; private static final int OLD_JEWELRY_BOX = 39725;
public Q10794_InvestigateTheForest() public Q10794_InvestigateTheForest()
@ -131,11 +130,10 @@ public final class Q10794_InvestigateTheForest extends Quest
if (qs.isCond(4)) if (qs.isCond(4))
{ {
takeItems(player, OLD_JEWELRY_BOX, -1); takeItems(player, OLD_JEWELRY_BOX, -1);
giveItems(player, ENCHANT_ARMOR_A, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 16968420, 4072); addExpAndSp(player, 93856309, 4072);
} }
htmltext = event; htmltext = event;
qs.exitQuest(false, true); qs.exitQuest(false, true);
@ -171,7 +169,7 @@ public final class Q10794_InvestigateTheForest extends Quest
case TOMBSTONE: case TOMBSTONE:
{ {
final int count = qs.getInt(KILL_COUNT_VAR); final int count = qs.getInt(KILL_COUNT_VAR);
if ((count >= 50) && (getQuestItemsCount(player, OLD_JEWELRY_BOX) < 1)) if ((count >= 100) && (getQuestItemsCount(player, OLD_JEWELRY_BOX) < 1))
{ {
htmltext = "31531-01.html"; htmltext = "31531-01.html";
} }
@ -197,7 +195,7 @@ public final class Q10794_InvestigateTheForest extends Quest
{ {
final int count = qs.getInt(KILL_COUNT_VAR) + 1; final int count = qs.getInt(KILL_COUNT_VAR) + 1;
qs.set(KILL_COUNT_VAR, count); qs.set(KILL_COUNT_VAR, count);
if (count >= 50) if (count >= 100)
{ {
qs.setCond(1, true); qs.setCond(1, true);
} }

View File

@ -22,7 +22,6 @@ public class Q10795_LettersFromTheQueenWallOfAgros extends LetterQuest
// Items // Items
private static final int SOE_WAAL_OF_ARGOS = 39585; private static final int SOE_WAAL_OF_ARGOS = 39585;
private static final int SOE_GODDARD = 39584; private static final int SOE_GODDARD = 39584;
private static final int EAA = 730;
// Misc // Misc
private static final int MIN_LEVEL = 70; private static final int MIN_LEVEL = 70;
private static final int MAX_LEVEL = 75; private static final int MAX_LEVEL = 75;
@ -73,7 +72,6 @@ public class Q10795_LettersFromTheQueenWallOfAgros extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, EAA, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 1088640, 261); addExpAndSp(player, 1088640, 261);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_76, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_76, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -50,8 +50,6 @@ public class Q10796_TheEyeThatDefiedTheGods extends Quest
21299, // Valley Buffalo Slave 21299, // Valley Buffalo Slave
21304 // Valley Grendel Slave 21304 // Valley Grendel Slave
}; };
// Items
private static final int EAA = 730;
// Misc // Misc
private static final int MIN_LEVEL = 70; private static final int MIN_LEVEL = 70;
private static final int MAX_LEVEL = 75; private static final int MAX_LEVEL = 75;
@ -95,9 +93,8 @@ public class Q10796_TheEyeThatDefiedTheGods extends Quest
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 1088640, 261); addExpAndSp(player, 178732196, 261);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveItems(player, EAA, 2);
qs.exitQuest(false, true); qs.exitQuest(false, true);
htmltext = event; htmltext = event;
} }

View File

@ -97,7 +97,7 @@ public class Q10797_CrossingFate extends Quest
{ {
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 306_167_814, 653); addExpAndSp(player, 306167814, 653);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
qs.exitQuest(QuestType.ONE_TIME, true); qs.exitQuest(QuestType.ONE_TIME, true);
htmltext = event; htmltext = event;

View File

@ -38,7 +38,6 @@ public class Q10798_LettersFromTheQueenDragonValley extends LetterQuest
// Items // Items
private static final int SOE_DRAGON_VALLEY = 39587; private static final int SOE_DRAGON_VALLEY = 39587;
private static final int SOE_TOWN_OF_GIRAN = 39586; private static final int SOE_TOWN_OF_GIRAN = 39586;
private static final int EWS = 959;
// Misc // Misc
private static final int MIN_LEVEL = 81; private static final int MIN_LEVEL = 81;
private static final int MAX_LEVEL = 84; private static final int MAX_LEVEL = 84;
@ -88,7 +87,6 @@ public class Q10798_LettersFromTheQueenDragonValley extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, EWS, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 1277640, 306); addExpAndSp(player, 1277640, 306);
showOnScreenMsg(player, NpcStringId.YOU_HAVE_FINISHED_ALL_OF_QUEEN_NAVARI_S_LETTERS_GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_LETTERS_FROM_A_MINSTREL_AT_LV_85, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.YOU_HAVE_FINISHED_ALL_OF_QUEEN_NAVARI_S_LETTERS_GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_LETTERS_FROM_A_MINSTREL_AT_LV_85, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -53,8 +53,6 @@ public class Q10799_StrangeThingsAfootInTheValley extends Quest
23439, // Iron Cave Servant 23439, // Iron Cave Servant
23440, // Headless Knight 23440, // Headless Knight
}; };
// Items
private static final int EAS = 960;
// Misc // Misc
private static final int MIN_LEVEL = 76; private static final int MIN_LEVEL = 76;
private static final int MAX_LEVEL = 85; private static final int MAX_LEVEL = 85;
@ -101,9 +99,8 @@ public class Q10799_StrangeThingsAfootInTheValley extends Quest
final int itemId = Integer.parseInt(event.replace("giveReward_", "")); final int itemId = Integer.parseInt(event.replace("giveReward_", ""));
qs.exitQuest(false, true); qs.exitQuest(false, true);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveItems(player, EAS, 10);
giveItems(player, itemId, 30); giveItems(player, itemId, 30);
addExpAndSp(player, 76658400, 18398); addExpAndSp(player, 543080087, 23435);
htmltext = "33973-08.html"; htmltext = "33973-08.html";
} }
} }
@ -146,7 +143,7 @@ public class Q10799_StrangeThingsAfootInTheValley extends Quest
{ {
int count = qs.getInt(KILL_COUNT_VAR); int count = qs.getInt(KILL_COUNT_VAR);
qs.set(KILL_COUNT_VAR, ++count); qs.set(KILL_COUNT_VAR, ++count);
if (count >= 100) if (count >= 200)
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }

View File

@ -52,8 +52,6 @@ public class Q10800_ReconnaissanceAtDragonValley extends Quest
23443, // Dark Grave Wizard 23443, // Dark Grave Wizard
23444, // Dark Grave Knight 23444, // Dark Grave Knight
}; };
// Item
private static final int EAS = 960;
// Misc // Misc
private static final int MIN_LEVEL = 76; private static final int MIN_LEVEL = 76;
private static final int MAX_LEVEL = 85; private static final int MAX_LEVEL = 85;
@ -102,9 +100,8 @@ public class Q10800_ReconnaissanceAtDragonValley extends Quest
final int itemId = Integer.parseInt(event.replace("giveReward_", "")); final int itemId = Integer.parseInt(event.replace("giveReward_", ""));
qs.exitQuest(false, true); qs.exitQuest(false, true);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveItems(player, EAS, 10);
giveItems(player, itemId, 30); giveItems(player, itemId, 30);
addExpAndSp(player, 84722400, 20333); addExpAndSp(player, 543080087, 30466);
htmltext = "33973-08.html"; htmltext = "33973-08.html";
} }
break; break;
@ -148,7 +145,7 @@ public class Q10800_ReconnaissanceAtDragonValley extends Quest
{ {
int count = qs.getInt(KILL_COUNT_VAR); int count = qs.getInt(KILL_COUNT_VAR);
qs.set(KILL_COUNT_VAR, ++count); qs.set(KILL_COUNT_VAR, ++count);
if (count >= 100) if (count >= 200)
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }

View File

@ -90,7 +90,7 @@ public final class Q10756_AnInterdimensionalDraft extends Quest
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 174222, 41); addExpAndSp(player, 267479, 41);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -88,7 +88,7 @@ public final class Q10757_QuietingTheStorm extends Quest
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 632051, 151); addExpAndSp(player, 808754, 151);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -92,7 +92,7 @@ public class Q10761_AnOrcInLove extends Quest
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 354546, 85); addExpAndSp(player, 706841, 85);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -80,7 +80,7 @@ public final class Q10763_TerrifyingChertuba extends Quest
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 896996, 215); addExpAndSp(player, 1529848, 215);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -43,8 +43,6 @@ public final class Q10770_InSearchOfTheGrail extends Quest
}; };
// Items // Items
private static final int MYSTERIOUS_FRAGMENT = 39711; private static final int MYSTERIOUS_FRAGMENT = 39711;
private static final int ENCHANT_WEAPON_C = 951;
private static final int ENCHANT_ARMOR_C = 952;
// Misc // Misc
private static final int MIN_LEVEL = 40; private static final int MIN_LEVEL = 40;
private static final double DROP_RATE = 0.4; private static final double DROP_RATE = 0.4;
@ -97,10 +95,8 @@ public final class Q10770_InSearchOfTheGrail extends Quest
{ {
if (qs.isCond(3)) if (qs.isCond(3))
{ {
giveItems(player, ENCHANT_WEAPON_C, 2);
giveItems(player, ENCHANT_ARMOR_C, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 2342300, 562); addExpAndSp(player, 4175045, 562);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;
@ -165,7 +161,7 @@ public final class Q10770_InSearchOfTheGrail extends Quest
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
{ {
final QuestState qs = getQuestState(killer, false); final QuestState qs = getQuestState(killer, false);
if ((qs != null) && qs.isCond(1) && giveItemRandomly(killer, MYSTERIOUS_FRAGMENT, 1, 30, DROP_RATE, true)) if ((qs != null) && qs.isCond(1) && giveItemRandomly(killer, MYSTERIOUS_FRAGMENT, 1, 20, DROP_RATE, true))
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }

View File

@ -43,7 +43,6 @@ public final class Q10771_VolatilePower extends Quest
// Items // Items
private static final int SHINING_MYSTERIOUS_FRAGMENT = 39713; private static final int SHINING_MYSTERIOUS_FRAGMENT = 39713;
private static final int NORMAL_FRAGMENT_DUST = 39714; private static final int NORMAL_FRAGMENT_DUST = 39714;
private static final int ENCHANT_ARMOR_C = 952;
// Misc // Misc
private static final int MIN_LEVEL = 44; private static final int MIN_LEVEL = 44;
@ -88,9 +87,8 @@ public final class Q10771_VolatilePower extends Quest
{ {
if (qs.isCond(3)) if (qs.isCond(3))
{ {
giveItems(player, ENCHANT_ARMOR_C, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 2708350, 650); addExpAndSp(player, 4150144, 650);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -40,8 +40,6 @@ public final class Q10772_ReportsFromCrumaTowerPart1 extends Quest
// NPCs // NPCs
private static final int JANSSEN = 30484; private static final int JANSSEN = 30484;
private static final int MAGIC_OWL = 33991; private static final int MAGIC_OWL = 33991;
// Items
private static final int ENCHANT_ARMOR_C = 952;
// Location // Location
private static final Location OWL_LOC = new Location(17698, 115064, -11736); private static final Location OWL_LOC = new Location(17698, 115064, -11736);
// Skill // Skill
@ -110,9 +108,8 @@ public final class Q10772_ReportsFromCrumaTowerPart1 extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_C, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 127575, 30); addExpAndSp(player, 838290, 30);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -37,7 +37,6 @@ public final class Q10774_LettersFromTheQueenCrumaTowerPart2 extends LetterQuest
// Items // Items
private static final int SOE_DION_TOWN = 39595; private static final int SOE_DION_TOWN = 39595;
private static final int SOE_CRUMA_TOWER = 39596; private static final int SOE_CRUMA_TOWER = 39596;
private static final int ENCHANT_ARMOR_C = 952;
// Location // Location
private static final Location TELEPORT_LOC = new Location(16014, 142326, -2688); private static final Location TELEPORT_LOC = new Location(16014, 142326, -2688);
// Misc // Misc
@ -87,7 +86,6 @@ public final class Q10774_LettersFromTheQueenCrumaTowerPart2 extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_C, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 483840, 116); addExpAndSp(player, 483840, 116);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_52, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_52, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -47,7 +47,6 @@ public final class Q10775_InSearchOfAnAncientGiant extends Quest
}; };
// Items // Items
private static final int ENERGY_OF_REGENERATION = 39715; private static final int ENERGY_OF_REGENERATION = 39715;
private static final int ENCHANT_ARMOR_C = 952;
// Misc // Misc
private static final int MIN_LEVEL = 46; private static final int MIN_LEVEL = 46;
@ -92,9 +91,8 @@ public final class Q10775_InSearchOfAnAncientGiant extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_C, 9);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 4443600, 1066); addExpAndSp(player, 10526523, 1066);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -44,7 +44,6 @@ public final class Q10776_TheWrathOfTheGiants extends Quest
private static final int GIANT_MINION = 27535; private static final int GIANT_MINION = 27535;
// Items // Items
private static final int REGENERATION_DEVICE_CORE = 39716; private static final int REGENERATION_DEVICE_CORE = 39716;
private static final int ENCHANT_ARMOR_C = 952;
// Location // Location
private static final Location NARSIDES_LOC = new Location(16422, 113281, -9064); private static final Location NARSIDES_LOC = new Location(16422, 113281, -9064);
private static final Location ENRAGED_NARSIDES_LOC = new Location(16422, 113281, -9064); private static final Location ENRAGED_NARSIDES_LOC = new Location(16422, 113281, -9064);
@ -138,9 +137,8 @@ public final class Q10776_TheWrathOfTheGiants extends Quest
{ {
if (qs.isCond(4)) if (qs.isCond(4))
{ {
giveItems(player, ENCHANT_ARMOR_C, 4);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 4838400, 1161); addExpAndSp(player, 10046941, 1161);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -40,8 +40,6 @@ public final class Q10777_ReportsFromCrumaTowerPart2 extends Quest
// NPCs // NPCs
private static final int BELKADHI = 30485; private static final int BELKADHI = 30485;
private static final int MAGIC_OWL = 33991; private static final int MAGIC_OWL = 33991;
// Items
private static final int ENCHANT_ARMOR_C = 952;
// Location // Location
private static final Location OWL_LOC = new Location(17666, 108589, -9072); private static final Location OWL_LOC = new Location(17666, 108589, -9072);
// Skill // Skill
@ -112,9 +110,8 @@ public final class Q10777_ReportsFromCrumaTowerPart2 extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_C, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 151263, 36); addExpAndSp(player, 1257435, 36);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -37,7 +37,6 @@ public final class Q10779_LettersFromTheQueenSeaOfSpores extends LetterQuest
// Items // Items
private static final int SOE_OREN = 39574; private static final int SOE_OREN = 39574;
private static final int SOE_SEA_OF_SPORES = 39575; private static final int SOE_SEA_OF_SPORES = 39575;
private static final int ENCHANT_WEAPON_B = 947;
// Location // Location
private static final Location TELEPORT_LOC = new Location(83633, 53064, -1456); private static final Location TELEPORT_LOC = new Location(83633, 53064, -1456);
// Misc // Misc
@ -86,7 +85,6 @@ public final class Q10779_LettersFromTheQueenSeaOfSpores extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_WEAPON_B, 3);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 635250, 152); addExpAndSp(player, 635250, 152);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_58, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_58, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -47,8 +47,6 @@ public final class Q10780_AWeakenedBarrier extends Quest
23307, // Corpse Spider 23307, // Corpse Spider
23308, // Explosive Spider 23308, // Explosive Spider
}; };
// Items
private static final int ENCHANT_ARMOR_B = 948;
// Misc // Misc
private static final int MIN_LEVEL = 52; private static final int MIN_LEVEL = 52;
private static final int MAX_LEVEL = 58; private static final int MAX_LEVEL = 58;
@ -91,7 +89,6 @@ public final class Q10780_AWeakenedBarrier extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_B, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 15108843, 914); addExpAndSp(player, 15108843, 914);
qs.exitQuest(false, true); qs.exitQuest(false, true);

View File

@ -42,7 +42,6 @@ public final class Q10781_IngredientsToEnforcements extends Quest
}; };
// Items // Items
private static final int WIND_SPIRIT_FRAGMENT = 39721; private static final int WIND_SPIRIT_FRAGMENT = 39721;
private static final int ENCHANT_ARMOR_B = 948;
// Misc // Misc
private static final int MIN_LEVEL = 52; private static final int MIN_LEVEL = 52;
private static final int MAX_LEVEL = 58; private static final int MAX_LEVEL = 58;
@ -86,7 +85,6 @@ public final class Q10781_IngredientsToEnforcements extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_B, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 19688585, 914); addExpAndSp(player, 19688585, 914);
qs.exitQuest(false, true); qs.exitQuest(false, true);

View File

@ -37,7 +37,6 @@ public final class Q10782_LettersFromTheQueenForsakenPlains extends LetterQuest
// Items // Items
private static final int SOE_ADEN = 39576; private static final int SOE_ADEN = 39576;
private static final int SOE_FORSAKEN_PLAINS = 39577; private static final int SOE_FORSAKEN_PLAINS = 39577;
private static final int ENCHANT_ARMOR_B = 948;
// Location // Location
private static final Location TELEPORT_LOC = new Location(147446, 22761, -1984); private static final Location TELEPORT_LOC = new Location(147446, 22761, -1984);
// Misc // Misc
@ -88,7 +87,6 @@ public final class Q10782_LettersFromTheQueenForsakenPlains extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_B, 10);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 731010, 175); addExpAndSp(player, 731010, 175);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_61, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_61, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -51,7 +51,6 @@ public final class Q10783_TracesOfAnAmbush extends Quest
}; };
// Items // Items
private static final int MISSIVE_SCRAPS = 39722; private static final int MISSIVE_SCRAPS = 39722;
private static final int ENCHANT_ARMOR_B = 948;
// Messages // Messages
private static final NpcStringId[] MESSAGES = private static final NpcStringId[] MESSAGES =
{ {
@ -102,9 +101,8 @@ public final class Q10783_TracesOfAnAmbush extends Quest
} }
case "33866-08.html": case "33866-08.html":
{ {
giveItems(player, ENCHANT_ARMOR_B, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 5482574, 1315); addExpAndSp(player, 12146608, 1315);
qs.exitQuest(false, true); qs.exitQuest(false, true);
break; break;
} }
@ -154,7 +152,7 @@ public final class Q10783_TracesOfAnAmbush extends Quest
if (getRandom(100) < DROP_RATE) if (getRandom(100) < DROP_RATE)
{ {
giveItems(killer, MISSIVE_SCRAPS, 1); giveItems(killer, MISSIVE_SCRAPS, 1);
if (getQuestItemsCount(killer, MISSIVE_SCRAPS) >= 10) if (getQuestItemsCount(killer, MISSIVE_SCRAPS) >= 50)
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }

View File

@ -92,7 +92,7 @@ public final class Q10784_TheBrokenDevice extends Quest
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveAdena(player, 990_000, true); giveAdena(player, 990000, true);
giveItems(player, SOULSHOT, 6000); giveItems(player, SOULSHOT, 6000);
giveItems(player, SPIRITSHOT, 6000); giveItems(player, SPIRITSHOT, 6000);
giveItems(player, BLESSED_SCROLL_OF_ESCAPE, 3); giveItems(player, BLESSED_SCROLL_OF_ESCAPE, 3);
@ -144,7 +144,7 @@ public final class Q10784_TheBrokenDevice extends Quest
if ((qs != null) && qs.isCond(1)) if ((qs != null) && qs.isCond(1))
{ {
giveItems(killer, BROKE_MAGIC_DEVICE_FRAGMENT, 1); giveItems(killer, BROKE_MAGIC_DEVICE_FRAGMENT, 1);
if (getQuestItemsCount(killer, BROKE_MAGIC_DEVICE_FRAGMENT) >= 20) if (getQuestItemsCount(killer, BROKE_MAGIC_DEVICE_FRAGMENT) >= 100)
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }

View File

@ -37,7 +37,6 @@ public final class Q10785_LettersFromTheQueenFieldsOfMassacre extends LetterQues
// Items // Items
private static final int SOE_ADEN = 39578; private static final int SOE_ADEN = 39578;
private static final int SOE_FIELDS_OF_MASSACRE = 39579; private static final int SOE_FIELDS_OF_MASSACRE = 39579;
private static final int ENCHANT_WEAPON_A = 26350;
// Location // Location
private static final Location TELEPORT_LOC = new Location(147446, 22761, -1984); private static final Location TELEPORT_LOC = new Location(147446, 22761, -1984);
// Misc // Misc
@ -88,7 +87,6 @@ public final class Q10785_LettersFromTheQueenFieldsOfMassacre extends LetterQues
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_WEAPON_A, 1);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 807240, 193); addExpAndSp(player, 807240, 193);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_65, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_65, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -55,8 +55,6 @@ public final class Q10786_ResidentProblemSolver extends Quest
20975, // Spiteful Soul Wizard 20975, // Spiteful Soul Wizard
20976, // Spiteful Soul Warrior 20976, // Spiteful Soul Warrior
}; };
// Items
private static final int ENCHANT_ARMOR_A = 26351;
// Misc // Misc
private static final int MIN_LEVEL = 61; private static final int MIN_LEVEL = 61;
private static final int MAX_LEVEL = 65; private static final int MAX_LEVEL = 65;
@ -99,11 +97,10 @@ public final class Q10786_ResidentProblemSolver extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_A, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 6251174, 1500); addExpAndSp(player, 38226567, 1500);
} }
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }

View File

@ -39,7 +39,6 @@ public final class Q10787_ASpyMission extends Quest
// Monster // Monster
private static final int EMBRYO_PURIFIER = 27540; private static final int EMBRYO_PURIFIER = 27540;
// Items // Items
private static final int ENCHANT_ARMOR_A = 26351;
private static final int EMBRYO_MISSIVES = 39724; private static final int EMBRYO_MISSIVES = 39724;
// Misc // Misc
private static final int MIN_LEVEL = 61; private static final int MIN_LEVEL = 61;
@ -103,11 +102,10 @@ public final class Q10787_ASpyMission extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_A, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 3125586, 750); addExpAndSp(player, 17234475, 750);
} }
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }

View File

@ -37,7 +37,6 @@ public final class Q10789_LettersFromTheQueenSwampOfScreams extends LetterQuest
// Items // Items
private static final int SOE_RUNE = 39580; private static final int SOE_RUNE = 39580;
private static final int SOE_SWAMP_OF_SCREAMS = 39581; private static final int SOE_SWAMP_OF_SCREAMS = 39581;
private static final int ENCHANT_WEAPON_A = 26350;
// Location // Location
private static final Location TELEPORT_LOC = new Location(36563, -49178, -1128); private static final Location TELEPORT_LOC = new Location(36563, -49178, -1128);
// Misc // Misc
@ -88,7 +87,6 @@ public final class Q10789_LettersFromTheQueenSwampOfScreams extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_WEAPON_A, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 942690, 226); addExpAndSp(player, 942690, 226);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_70, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_70, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -56,8 +56,6 @@ public class Q10790_AMercenaryHelper extends Quest
21518, // Frenzied Stakato Soldier 21518, // Frenzied Stakato Soldier
21519 // Frenzied Stakato Drone 21519 // Frenzied Stakato Drone
}; };
// Items
private static final int EAA = 730;
// Misc // Misc
private static final int MIN_LEVEL = 65; private static final int MIN_LEVEL = 65;
private static final int MAX_LEVEL = 70; private static final int MAX_LEVEL = 70;
@ -102,8 +100,7 @@ public class Q10790_AMercenaryHelper extends Quest
{ {
qs.exitQuest(false, true); qs.exitQuest(false, true);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveItems(player, EAA, 3); addExpAndSp(player, 134158421, 226);
addExpAndSp(player, 942650, 226);
htmltext = "33847-07.html"; htmltext = "33847-07.html";
} }
} }
@ -146,7 +143,7 @@ public class Q10790_AMercenaryHelper extends Quest
{ {
int count = qs.getInt(KILL_COUNT_VAR); int count = qs.getInt(KILL_COUNT_VAR);
qs.set(KILL_COUNT_VAR, ++count); qs.set(KILL_COUNT_VAR, ++count);
if (count >= 50) if (count >= 300)
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }

View File

@ -45,8 +45,6 @@ public class Q10791_TheManOfMystery extends Quest
private static final int SUSPICIOUS_COCOON2 = 27538; private static final int SUSPICIOUS_COCOON2 = 27538;
private static final int NEEDLE_STAKATO_CAPTAIN = 27542; private static final int NEEDLE_STAKATO_CAPTAIN = 27542;
private static final int NEEDLE_STAKATO = 27543; private static final int NEEDLE_STAKATO = 27543;
// Items
private static final int EAA = 730;
// Misc // Misc
private static final int MIN_LEVEL = 65; private static final int MIN_LEVEL = 65;
private static final int MAX_LEVEL = 70; private static final int MAX_LEVEL = 70;
@ -99,9 +97,8 @@ public class Q10791_TheManOfMystery extends Quest
{ {
if (qs.isCond(3)) if (qs.isCond(3))
{ {
addExpAndSp(player, 16968420, 4072); addExpAndSp(player, 46334481, 4072);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveItems(player, EAA, 2);
qs.exitQuest(false, true); qs.exitQuest(false, true);
htmltext = "33847-07.html"; htmltext = "33847-07.html";
break; break;

View File

@ -37,7 +37,6 @@ public final class Q10792_LettersFromTheQueenForestOfTheDead extends LetterQuest
// Items // Items
private static final int SOE_RUNE = 39582; private static final int SOE_RUNE = 39582;
private static final int SOE_FOREST_OF_DEAD = 39583; private static final int SOE_FOREST_OF_DEAD = 39583;
private static final int ENCHANT_WEAPON_A = 26350;
// Location // Location
private static final Location TELEPORT_LOC = new Location(36563, -49178, -1128); private static final Location TELEPORT_LOC = new Location(36563, -49178, -1128);
// Misc // Misc
@ -86,7 +85,6 @@ public final class Q10792_LettersFromTheQueenForestOfTheDead extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_WEAPON_A, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 942690, 226); addExpAndSp(player, 942690, 226);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_70, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_70, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -52,8 +52,6 @@ public final class Q10793_SaveTheSouls extends Quest
21560, // Bone Shaper 21560, // Bone Shaper
21561, // Sacrificed Man 21561, // Sacrificed Man
}; };
// Items
private static final int ENCHANT_ARMOR_A = 26351;
// Misc // Misc
private static final int MIN_LEVEL = 65; private static final int MIN_LEVEL = 65;
private static final int MAX_LEVEL = 70; private static final int MAX_LEVEL = 70;
@ -97,11 +95,10 @@ public final class Q10793_SaveTheSouls extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_A, 3);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 942690, 226); addExpAndSp(player, 86636593, 226);
} }
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }

View File

@ -78,7 +78,6 @@ public final class Q10794_InvestigateTheForest extends Quest
private static final int MAX_LEVEL = 70; private static final int MAX_LEVEL = 70;
private static final String KILL_COUNT_VAR = "KillCount"; private static final String KILL_COUNT_VAR = "KillCount";
// Items // Items
private static final int ENCHANT_ARMOR_A = 730;
private static final int OLD_JEWELRY_BOX = 39725; private static final int OLD_JEWELRY_BOX = 39725;
public Q10794_InvestigateTheForest() public Q10794_InvestigateTheForest()
@ -131,11 +130,10 @@ public final class Q10794_InvestigateTheForest extends Quest
if (qs.isCond(4)) if (qs.isCond(4))
{ {
takeItems(player, OLD_JEWELRY_BOX, -1); takeItems(player, OLD_JEWELRY_BOX, -1);
giveItems(player, ENCHANT_ARMOR_A, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 16968420, 4072); addExpAndSp(player, 93856309, 4072);
} }
htmltext = event; htmltext = event;
qs.exitQuest(false, true); qs.exitQuest(false, true);
@ -171,7 +169,7 @@ public final class Q10794_InvestigateTheForest extends Quest
case TOMBSTONE: case TOMBSTONE:
{ {
final int count = qs.getInt(KILL_COUNT_VAR); final int count = qs.getInt(KILL_COUNT_VAR);
if ((count >= 50) && (getQuestItemsCount(player, OLD_JEWELRY_BOX) < 1)) if ((count >= 100) && (getQuestItemsCount(player, OLD_JEWELRY_BOX) < 1))
{ {
htmltext = "31531-01.html"; htmltext = "31531-01.html";
} }
@ -197,7 +195,7 @@ public final class Q10794_InvestigateTheForest extends Quest
{ {
final int count = qs.getInt(KILL_COUNT_VAR) + 1; final int count = qs.getInt(KILL_COUNT_VAR) + 1;
qs.set(KILL_COUNT_VAR, count); qs.set(KILL_COUNT_VAR, count);
if (count >= 50) if (count >= 100)
{ {
qs.setCond(1, true); qs.setCond(1, true);
} }

View File

@ -22,7 +22,6 @@ public class Q10795_LettersFromTheQueenWallOfAgros extends LetterQuest
// Items // Items
private static final int SOE_WAAL_OF_ARGOS = 39585; private static final int SOE_WAAL_OF_ARGOS = 39585;
private static final int SOE_GODDARD = 39584; private static final int SOE_GODDARD = 39584;
private static final int EAA = 730;
// Misc // Misc
private static final int MIN_LEVEL = 70; private static final int MIN_LEVEL = 70;
private static final int MAX_LEVEL = 75; private static final int MAX_LEVEL = 75;
@ -73,7 +72,6 @@ public class Q10795_LettersFromTheQueenWallOfAgros extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, EAA, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 1088640, 261); addExpAndSp(player, 1088640, 261);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_76, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_76, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -50,8 +50,6 @@ public class Q10796_TheEyeThatDefiedTheGods extends Quest
21299, // Valley Buffalo Slave 21299, // Valley Buffalo Slave
21304 // Valley Grendel Slave 21304 // Valley Grendel Slave
}; };
// Items
private static final int EAA = 730;
// Misc // Misc
private static final int MIN_LEVEL = 70; private static final int MIN_LEVEL = 70;
private static final int MAX_LEVEL = 75; private static final int MAX_LEVEL = 75;
@ -95,9 +93,8 @@ public class Q10796_TheEyeThatDefiedTheGods extends Quest
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 1088640, 261); addExpAndSp(player, 178732196, 261);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveItems(player, EAA, 2);
qs.exitQuest(false, true); qs.exitQuest(false, true);
htmltext = event; htmltext = event;
} }

View File

@ -97,7 +97,7 @@ public class Q10797_CrossingFate extends Quest
{ {
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 306_167_814, 653); addExpAndSp(player, 306167814, 653);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
qs.exitQuest(QuestType.ONE_TIME, true); qs.exitQuest(QuestType.ONE_TIME, true);
htmltext = event; htmltext = event;

View File

@ -38,7 +38,6 @@ public class Q10798_LettersFromTheQueenDragonValley extends LetterQuest
// Items // Items
private static final int SOE_DRAGON_VALLEY = 39587; private static final int SOE_DRAGON_VALLEY = 39587;
private static final int SOE_TOWN_OF_GIRAN = 39586; private static final int SOE_TOWN_OF_GIRAN = 39586;
private static final int EWS = 959;
// Misc // Misc
private static final int MIN_LEVEL = 81; private static final int MIN_LEVEL = 81;
private static final int MAX_LEVEL = 84; private static final int MAX_LEVEL = 84;
@ -88,7 +87,6 @@ public class Q10798_LettersFromTheQueenDragonValley extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, EWS, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 1277640, 306); addExpAndSp(player, 1277640, 306);
showOnScreenMsg(player, NpcStringId.YOU_HAVE_COMPLETED_ALL_OF_QUEEN_NAVARI_S_LETTER, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.YOU_HAVE_COMPLETED_ALL_OF_QUEEN_NAVARI_S_LETTER, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -53,8 +53,6 @@ public class Q10799_StrangeThingsAfootInTheValley extends Quest
23439, // Iron Cave Servant 23439, // Iron Cave Servant
23440, // Headless Knight 23440, // Headless Knight
}; };
// Items
private static final int EAS = 960;
// Misc // Misc
private static final int MIN_LEVEL = 76; private static final int MIN_LEVEL = 76;
private static final int MAX_LEVEL = 85; private static final int MAX_LEVEL = 85;
@ -101,9 +99,8 @@ public class Q10799_StrangeThingsAfootInTheValley extends Quest
final int itemId = Integer.parseInt(event.replace("giveReward_", "")); final int itemId = Integer.parseInt(event.replace("giveReward_", ""));
qs.exitQuest(false, true); qs.exitQuest(false, true);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveItems(player, EAS, 10);
giveItems(player, itemId, 30); giveItems(player, itemId, 30);
addExpAndSp(player, 76658400, 18398); addExpAndSp(player, 543080087, 23435);
htmltext = "33973-08.html"; htmltext = "33973-08.html";
} }
} }
@ -146,7 +143,7 @@ public class Q10799_StrangeThingsAfootInTheValley extends Quest
{ {
int count = qs.getInt(KILL_COUNT_VAR); int count = qs.getInt(KILL_COUNT_VAR);
qs.set(KILL_COUNT_VAR, ++count); qs.set(KILL_COUNT_VAR, ++count);
if (count >= 100) if (count >= 200)
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }

View File

@ -52,8 +52,6 @@ public class Q10800_ReconnaissanceAtDragonValley extends Quest
23443, // Dark Grave Wizard 23443, // Dark Grave Wizard
23444, // Dark Grave Knight 23444, // Dark Grave Knight
}; };
// Item
private static final int EAS = 960;
// Misc // Misc
private static final int MIN_LEVEL = 76; private static final int MIN_LEVEL = 76;
private static final int MAX_LEVEL = 85; private static final int MAX_LEVEL = 85;
@ -102,9 +100,8 @@ public class Q10800_ReconnaissanceAtDragonValley extends Quest
final int itemId = Integer.parseInt(event.replace("giveReward_", "")); final int itemId = Integer.parseInt(event.replace("giveReward_", ""));
qs.exitQuest(false, true); qs.exitQuest(false, true);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveItems(player, EAS, 10);
giveItems(player, itemId, 30); giveItems(player, itemId, 30);
addExpAndSp(player, 84722400, 20333); addExpAndSp(player, 543080087, 30466);
htmltext = "33973-08.html"; htmltext = "33973-08.html";
} }
break; break;
@ -148,7 +145,7 @@ public class Q10800_ReconnaissanceAtDragonValley extends Quest
{ {
int count = qs.getInt(KILL_COUNT_VAR); int count = qs.getInt(KILL_COUNT_VAR);
qs.set(KILL_COUNT_VAR, ++count); qs.set(KILL_COUNT_VAR, ++count);
if (count >= 100) if (count >= 200)
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }

View File

@ -90,7 +90,7 @@ public final class Q10756_AnInterdimensionalDraft extends Quest
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 174222, 41); addExpAndSp(player, 267479, 41);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -88,7 +88,7 @@ public final class Q10757_QuietingTheStorm extends Quest
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 632051, 151); addExpAndSp(player, 808754, 151);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -92,7 +92,7 @@ public class Q10761_AnOrcInLove extends Quest
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 354546, 85); addExpAndSp(player, 706841, 85);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -80,7 +80,7 @@ public final class Q10763_TerrifyingChertuba extends Quest
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 896996, 215); addExpAndSp(player, 1529848, 215);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -43,8 +43,6 @@ public final class Q10770_InSearchOfTheGrail extends Quest
}; };
// Items // Items
private static final int MYSTERIOUS_FRAGMENT = 39711; private static final int MYSTERIOUS_FRAGMENT = 39711;
private static final int ENCHANT_WEAPON_C = 951;
private static final int ENCHANT_ARMOR_C = 952;
// Misc // Misc
private static final int MIN_LEVEL = 40; private static final int MIN_LEVEL = 40;
private static final double DROP_RATE = 0.4; private static final double DROP_RATE = 0.4;
@ -97,10 +95,8 @@ public final class Q10770_InSearchOfTheGrail extends Quest
{ {
if (qs.isCond(3)) if (qs.isCond(3))
{ {
giveItems(player, ENCHANT_WEAPON_C, 2);
giveItems(player, ENCHANT_ARMOR_C, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 2342300, 562); addExpAndSp(player, 4175045, 562);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;
@ -165,7 +161,7 @@ public final class Q10770_InSearchOfTheGrail extends Quest
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
{ {
final QuestState qs = getQuestState(killer, false); final QuestState qs = getQuestState(killer, false);
if ((qs != null) && qs.isCond(1) && giveItemRandomly(killer, MYSTERIOUS_FRAGMENT, 1, 30, DROP_RATE, true)) if ((qs != null) && qs.isCond(1) && giveItemRandomly(killer, MYSTERIOUS_FRAGMENT, 1, 20, DROP_RATE, true))
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }

View File

@ -43,7 +43,6 @@ public final class Q10771_VolatilePower extends Quest
// Items // Items
private static final int SHINING_MYSTERIOUS_FRAGMENT = 39713; private static final int SHINING_MYSTERIOUS_FRAGMENT = 39713;
private static final int NORMAL_FRAGMENT_DUST = 39714; private static final int NORMAL_FRAGMENT_DUST = 39714;
private static final int ENCHANT_ARMOR_C = 952;
// Misc // Misc
private static final int MIN_LEVEL = 44; private static final int MIN_LEVEL = 44;
@ -88,9 +87,8 @@ public final class Q10771_VolatilePower extends Quest
{ {
if (qs.isCond(3)) if (qs.isCond(3))
{ {
giveItems(player, ENCHANT_ARMOR_C, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 2708350, 650); addExpAndSp(player, 4150144, 650);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -40,8 +40,6 @@ public final class Q10772_ReportsFromCrumaTowerPart1 extends Quest
// NPCs // NPCs
private static final int JANSSEN = 30484; private static final int JANSSEN = 30484;
private static final int MAGIC_OWL = 33991; private static final int MAGIC_OWL = 33991;
// Items
private static final int ENCHANT_ARMOR_C = 952;
// Location // Location
private static final Location OWL_LOC = new Location(17698, 115064, -11736); private static final Location OWL_LOC = new Location(17698, 115064, -11736);
// Skill // Skill
@ -110,9 +108,8 @@ public final class Q10772_ReportsFromCrumaTowerPart1 extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_C, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 127575, 30); addExpAndSp(player, 838290, 30);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -37,7 +37,6 @@ public final class Q10774_LettersFromTheQueenCrumaTowerPart2 extends LetterQuest
// Items // Items
private static final int SOE_DION_TOWN = 39595; private static final int SOE_DION_TOWN = 39595;
private static final int SOE_CRUMA_TOWER = 39596; private static final int SOE_CRUMA_TOWER = 39596;
private static final int ENCHANT_ARMOR_C = 952;
// Location // Location
private static final Location TELEPORT_LOC = new Location(16014, 142326, -2688); private static final Location TELEPORT_LOC = new Location(16014, 142326, -2688);
// Misc // Misc
@ -87,7 +86,6 @@ public final class Q10774_LettersFromTheQueenCrumaTowerPart2 extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_C, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 483840, 116); addExpAndSp(player, 483840, 116);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_NUNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_56, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_NUNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_56, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -47,7 +47,6 @@ public final class Q10775_InSearchOfAnAncientGiant extends Quest
}; };
// Items // Items
private static final int ENERGY_OF_REGENERATION = 39715; private static final int ENERGY_OF_REGENERATION = 39715;
private static final int ENCHANT_ARMOR_C = 952;
// Misc // Misc
private static final int MIN_LEVEL = 46; private static final int MIN_LEVEL = 46;
@ -92,9 +91,8 @@ public final class Q10775_InSearchOfAnAncientGiant extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_C, 9);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 4443600, 1066); addExpAndSp(player, 10526523, 1066);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -44,7 +44,6 @@ public final class Q10776_TheWrathOfTheGiants extends Quest
private static final int GIANT_MINION = 27535; private static final int GIANT_MINION = 27535;
// Items // Items
private static final int REGENERATION_DEVICE_CORE = 39716; private static final int REGENERATION_DEVICE_CORE = 39716;
private static final int ENCHANT_ARMOR_C = 952;
// Location // Location
private static final Location NARSIDES_LOC = new Location(16422, 113281, -9064); private static final Location NARSIDES_LOC = new Location(16422, 113281, -9064);
private static final Location ENRAGED_NARSIDES_LOC = new Location(16422, 113281, -9064); private static final Location ENRAGED_NARSIDES_LOC = new Location(16422, 113281, -9064);
@ -138,9 +137,8 @@ public final class Q10776_TheWrathOfTheGiants extends Quest
{ {
if (qs.isCond(4)) if (qs.isCond(4))
{ {
giveItems(player, ENCHANT_ARMOR_C, 4);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 4838400, 1161); addExpAndSp(player, 10046941, 1161);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -40,8 +40,6 @@ public final class Q10777_ReportsFromCrumaTowerPart2 extends Quest
// NPCs // NPCs
private static final int BELKADHI = 30485; private static final int BELKADHI = 30485;
private static final int MAGIC_OWL = 33991; private static final int MAGIC_OWL = 33991;
// Items
private static final int ENCHANT_ARMOR_C = 952;
// Location // Location
private static final Location OWL_LOC = new Location(17666, 108589, -9072); private static final Location OWL_LOC = new Location(17666, 108589, -9072);
// Skill // Skill
@ -112,9 +110,8 @@ public final class Q10777_ReportsFromCrumaTowerPart2 extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_C, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 151263, 36); addExpAndSp(player, 1257435, 36);
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }
break; break;

View File

@ -37,7 +37,6 @@ public final class Q10782_LettersFromTheQueenForsakenPlains extends LetterQuest
// Items // Items
private static final int SOE_ADEN = 39576; private static final int SOE_ADEN = 39576;
private static final int SOE_FORSAKEN_PLAINS = 39577; private static final int SOE_FORSAKEN_PLAINS = 39577;
private static final int ENCHANT_ARMOR_B = 948;
// Location // Location
private static final Location TELEPORT_LOC = new Location(147446, 22761, -1984); private static final Location TELEPORT_LOC = new Location(147446, 22761, -1984);
// Misc // Misc
@ -88,7 +87,6 @@ public final class Q10782_LettersFromTheQueenForsakenPlains extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_B, 10);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 731010, 175); addExpAndSp(player, 731010, 175);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_61, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_61, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -51,7 +51,6 @@ public final class Q10783_TracesOfAnAmbush extends Quest
}; };
// Items // Items
private static final int MISSIVE_SCRAPS = 39722; private static final int MISSIVE_SCRAPS = 39722;
private static final int ENCHANT_ARMOR_B = 948;
// Messages // Messages
private static final NpcStringId[] MESSAGES = private static final NpcStringId[] MESSAGES =
{ {
@ -102,9 +101,8 @@ public final class Q10783_TracesOfAnAmbush extends Quest
} }
case "33866-08.html": case "33866-08.html":
{ {
giveItems(player, ENCHANT_ARMOR_B, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 5482574, 1315); addExpAndSp(player, 12146608, 1315);
qs.exitQuest(false, true); qs.exitQuest(false, true);
break; break;
} }
@ -154,7 +152,7 @@ public final class Q10783_TracesOfAnAmbush extends Quest
if (getRandom(100) < DROP_RATE) if (getRandom(100) < DROP_RATE)
{ {
giveItems(killer, MISSIVE_SCRAPS, 1); giveItems(killer, MISSIVE_SCRAPS, 1);
if (getQuestItemsCount(killer, MISSIVE_SCRAPS) >= 10) if (getQuestItemsCount(killer, MISSIVE_SCRAPS) >= 50)
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }

View File

@ -92,7 +92,7 @@ public final class Q10784_TheBrokenDevice extends Quest
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveAdena(player, 990_000, true); giveAdena(player, 990000, true);
giveItems(player, SOULSHOT, 6000); giveItems(player, SOULSHOT, 6000);
giveItems(player, SPIRITSHOT, 6000); giveItems(player, SPIRITSHOT, 6000);
giveItems(player, BLESSED_SCROLL_OF_ESCAPE, 3); giveItems(player, BLESSED_SCROLL_OF_ESCAPE, 3);
@ -144,7 +144,7 @@ public final class Q10784_TheBrokenDevice extends Quest
if ((qs != null) && qs.isCond(1)) if ((qs != null) && qs.isCond(1))
{ {
giveItems(killer, BROKE_MAGIC_DEVICE_FRAGMENT, 1); giveItems(killer, BROKE_MAGIC_DEVICE_FRAGMENT, 1);
if (getQuestItemsCount(killer, BROKE_MAGIC_DEVICE_FRAGMENT) >= 20) if (getQuestItemsCount(killer, BROKE_MAGIC_DEVICE_FRAGMENT) >= 100)
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }

View File

@ -37,7 +37,6 @@ public final class Q10785_LettersFromTheQueenFieldsOfMassacre extends LetterQues
// Items // Items
private static final int SOE_ADEN = 39578; private static final int SOE_ADEN = 39578;
private static final int SOE_FIELDS_OF_MASSACRE = 39579; private static final int SOE_FIELDS_OF_MASSACRE = 39579;
private static final int ENCHANT_WEAPON_A = 26350;
// Location // Location
private static final Location TELEPORT_LOC = new Location(147446, 22761, -1984); private static final Location TELEPORT_LOC = new Location(147446, 22761, -1984);
// Misc // Misc
@ -88,7 +87,6 @@ public final class Q10785_LettersFromTheQueenFieldsOfMassacre extends LetterQues
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_WEAPON_A, 1);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 807240, 193); addExpAndSp(player, 807240, 193);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_65, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_65, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -55,8 +55,6 @@ public final class Q10786_ResidentProblemSolver extends Quest
20975, // Spiteful Soul Wizard 20975, // Spiteful Soul Wizard
20976, // Spiteful Soul Warrior 20976, // Spiteful Soul Warrior
}; };
// Items
private static final int ENCHANT_ARMOR_A = 26351;
// Misc // Misc
private static final int MIN_LEVEL = 61; private static final int MIN_LEVEL = 61;
private static final int MAX_LEVEL = 65; private static final int MAX_LEVEL = 65;
@ -99,11 +97,10 @@ public final class Q10786_ResidentProblemSolver extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_A, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 6251174, 1500); addExpAndSp(player, 38226567, 1500);
} }
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }

View File

@ -39,7 +39,6 @@ public final class Q10787_ASpyMission extends Quest
// Monster // Monster
private static final int EMBRYO_PURIFIER = 27540; private static final int EMBRYO_PURIFIER = 27540;
// Items // Items
private static final int ENCHANT_ARMOR_A = 26351;
private static final int EMBRYO_MISSIVES = 39724; private static final int EMBRYO_MISSIVES = 39724;
// Misc // Misc
private static final int MIN_LEVEL = 61; private static final int MIN_LEVEL = 61;
@ -103,11 +102,10 @@ public final class Q10787_ASpyMission extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_A, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 3125586, 750); addExpAndSp(player, 17234475, 750);
} }
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }

View File

@ -37,7 +37,6 @@ public final class Q10789_LettersFromTheQueenSwampOfScreams extends LetterQuest
// Items // Items
private static final int SOE_RUNE = 39580; private static final int SOE_RUNE = 39580;
private static final int SOE_SWAMP_OF_SCREAMS = 39581; private static final int SOE_SWAMP_OF_SCREAMS = 39581;
private static final int ENCHANT_WEAPON_A = 26350;
// Location // Location
private static final Location TELEPORT_LOC = new Location(36563, -49178, -1128); private static final Location TELEPORT_LOC = new Location(36563, -49178, -1128);
// Misc // Misc
@ -88,7 +87,6 @@ public final class Q10789_LettersFromTheQueenSwampOfScreams extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_WEAPON_A, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 942690, 226); addExpAndSp(player, 942690, 226);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_70, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_70, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -56,8 +56,6 @@ public class Q10790_AMercenaryHelper extends Quest
21518, // Frenzied Stakato Soldier 21518, // Frenzied Stakato Soldier
21519 // Frenzied Stakato Drone 21519 // Frenzied Stakato Drone
}; };
// Items
private static final int EAA = 730;
// Misc // Misc
private static final int MIN_LEVEL = 65; private static final int MIN_LEVEL = 65;
private static final int MAX_LEVEL = 70; private static final int MAX_LEVEL = 70;
@ -102,8 +100,7 @@ public class Q10790_AMercenaryHelper extends Quest
{ {
qs.exitQuest(false, true); qs.exitQuest(false, true);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveItems(player, EAA, 3); addExpAndSp(player, 134158421, 226);
addExpAndSp(player, 942650, 226);
htmltext = "33847-07.html"; htmltext = "33847-07.html";
} }
} }
@ -146,7 +143,7 @@ public class Q10790_AMercenaryHelper extends Quest
{ {
int count = qs.getInt(KILL_COUNT_VAR); int count = qs.getInt(KILL_COUNT_VAR);
qs.set(KILL_COUNT_VAR, ++count); qs.set(KILL_COUNT_VAR, ++count);
if (count >= 50) if (count >= 300)
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }

View File

@ -45,8 +45,6 @@ public class Q10791_TheManOfMystery extends Quest
private static final int SUSPICIOUS_COCOON2 = 27538; private static final int SUSPICIOUS_COCOON2 = 27538;
private static final int NEEDLE_STAKATO_CAPTAIN = 27542; private static final int NEEDLE_STAKATO_CAPTAIN = 27542;
private static final int NEEDLE_STAKATO = 27543; private static final int NEEDLE_STAKATO = 27543;
// Items
private static final int EAA = 730;
// Misc // Misc
private static final int MIN_LEVEL = 65; private static final int MIN_LEVEL = 65;
private static final int MAX_LEVEL = 70; private static final int MAX_LEVEL = 70;
@ -99,9 +97,8 @@ public class Q10791_TheManOfMystery extends Quest
{ {
if (qs.isCond(3)) if (qs.isCond(3))
{ {
addExpAndSp(player, 16968420, 4072); addExpAndSp(player, 46334481, 4072);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveItems(player, EAA, 2);
qs.exitQuest(false, true); qs.exitQuest(false, true);
htmltext = "33847-07.html"; htmltext = "33847-07.html";
break; break;

View File

@ -37,7 +37,6 @@ public final class Q10792_LettersFromTheQueenForestOfTheDead extends LetterQuest
// Items // Items
private static final int SOE_RUNE = 39582; private static final int SOE_RUNE = 39582;
private static final int SOE_FOREST_OF_DEAD = 39583; private static final int SOE_FOREST_OF_DEAD = 39583;
private static final int ENCHANT_WEAPON_A = 26350;
// Location // Location
private static final Location TELEPORT_LOC = new Location(36563, -49178, -1128); private static final Location TELEPORT_LOC = new Location(36563, -49178, -1128);
// Misc // Misc
@ -86,7 +85,6 @@ public final class Q10792_LettersFromTheQueenForestOfTheDead extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_WEAPON_A, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 942690, 226); addExpAndSp(player, 942690, 226);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_70, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_70, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -52,8 +52,6 @@ public final class Q10793_SaveTheSouls extends Quest
21560, // Bone Shaper 21560, // Bone Shaper
21561, // Sacrificed Man 21561, // Sacrificed Man
}; };
// Items
private static final int ENCHANT_ARMOR_A = 26351;
// Misc // Misc
private static final int MIN_LEVEL = 65; private static final int MIN_LEVEL = 65;
private static final int MAX_LEVEL = 70; private static final int MAX_LEVEL = 70;
@ -97,11 +95,10 @@ public final class Q10793_SaveTheSouls extends Quest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, ENCHANT_ARMOR_A, 3);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 942690, 226); addExpAndSp(player, 86636593, 226);
} }
qs.exitQuest(false, true); qs.exitQuest(false, true);
} }

View File

@ -78,7 +78,6 @@ public final class Q10794_InvestigateTheForest extends Quest
private static final int MAX_LEVEL = 70; private static final int MAX_LEVEL = 70;
private static final String KILL_COUNT_VAR = "KillCount"; private static final String KILL_COUNT_VAR = "KillCount";
// Items // Items
private static final int ENCHANT_ARMOR_A = 730;
private static final int OLD_JEWELRY_BOX = 39725; private static final int OLD_JEWELRY_BOX = 39725;
public Q10794_InvestigateTheForest() public Q10794_InvestigateTheForest()
@ -131,11 +130,10 @@ public final class Q10794_InvestigateTheForest extends Quest
if (qs.isCond(4)) if (qs.isCond(4))
{ {
takeItems(player, OLD_JEWELRY_BOX, -1); takeItems(player, OLD_JEWELRY_BOX, -1);
giveItems(player, ENCHANT_ARMOR_A, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 16968420, 4072); addExpAndSp(player, 93856309, 4072);
} }
htmltext = event; htmltext = event;
qs.exitQuest(false, true); qs.exitQuest(false, true);
@ -171,7 +169,7 @@ public final class Q10794_InvestigateTheForest extends Quest
case TOMBSTONE: case TOMBSTONE:
{ {
final int count = qs.getInt(KILL_COUNT_VAR); final int count = qs.getInt(KILL_COUNT_VAR);
if ((count >= 50) && (getQuestItemsCount(player, OLD_JEWELRY_BOX) < 1)) if ((count >= 100) && (getQuestItemsCount(player, OLD_JEWELRY_BOX) < 1))
{ {
htmltext = "31531-01.html"; htmltext = "31531-01.html";
} }
@ -197,7 +195,7 @@ public final class Q10794_InvestigateTheForest extends Quest
{ {
final int count = qs.getInt(KILL_COUNT_VAR) + 1; final int count = qs.getInt(KILL_COUNT_VAR) + 1;
qs.set(KILL_COUNT_VAR, count); qs.set(KILL_COUNT_VAR, count);
if (count >= 50) if (count >= 100)
{ {
qs.setCond(1, true); qs.setCond(1, true);
} }

View File

@ -22,7 +22,6 @@ public class Q10795_LettersFromTheQueenWallOfAgros extends LetterQuest
// Items // Items
private static final int SOE_WAAL_OF_ARGOS = 39585; private static final int SOE_WAAL_OF_ARGOS = 39585;
private static final int SOE_GODDARD = 39584; private static final int SOE_GODDARD = 39584;
private static final int EAA = 730;
// Misc // Misc
private static final int MIN_LEVEL = 70; private static final int MIN_LEVEL = 70;
private static final int MAX_LEVEL = 75; private static final int MAX_LEVEL = 75;
@ -73,7 +72,6 @@ public class Q10795_LettersFromTheQueenWallOfAgros extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, EAA, 5);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 1088640, 261); addExpAndSp(player, 1088640, 261);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_76, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_76, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -50,8 +50,6 @@ public class Q10796_TheEyeThatDefiedTheGods extends Quest
21299, // Valley Buffalo Slave 21299, // Valley Buffalo Slave
21304 // Valley Grendel Slave 21304 // Valley Grendel Slave
}; };
// Items
private static final int EAA = 730;
// Misc // Misc
private static final int MIN_LEVEL = 70; private static final int MIN_LEVEL = 70;
private static final int MAX_LEVEL = 75; private static final int MAX_LEVEL = 75;
@ -95,9 +93,8 @@ public class Q10796_TheEyeThatDefiedTheGods extends Quest
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 1088640, 261); addExpAndSp(player, 178732196, 261);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveItems(player, EAA, 2);
qs.exitQuest(false, true); qs.exitQuest(false, true);
htmltext = event; htmltext = event;
} }

View File

@ -97,7 +97,7 @@ public class Q10797_CrossingFate extends Quest
{ {
if (player.getLevel() >= MIN_LEVEL) if (player.getLevel() >= MIN_LEVEL)
{ {
addExpAndSp(player, 306_167_814, 653); addExpAndSp(player, 306167814, 653);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
qs.exitQuest(QuestType.ONE_TIME, true); qs.exitQuest(QuestType.ONE_TIME, true);
htmltext = event; htmltext = event;

View File

@ -38,7 +38,6 @@ public class Q10798_LettersFromTheQueenDragonValley extends LetterQuest
// Items // Items
private static final int SOE_DRAGON_VALLEY = 39587; private static final int SOE_DRAGON_VALLEY = 39587;
private static final int SOE_TOWN_OF_GIRAN = 39586; private static final int SOE_TOWN_OF_GIRAN = 39586;
private static final int EWS = 959;
// Misc // Misc
private static final int MIN_LEVEL = 81; private static final int MIN_LEVEL = 81;
private static final int MAX_LEVEL = 84; private static final int MAX_LEVEL = 84;
@ -88,7 +87,6 @@ public class Q10798_LettersFromTheQueenDragonValley extends LetterQuest
{ {
if (qs.isCond(2)) if (qs.isCond(2))
{ {
giveItems(player, EWS, 2);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
addExpAndSp(player, 1277640, 306); addExpAndSp(player, 1277640, 306);
showOnScreenMsg(player, NpcStringId.YOU_HAVE_COMPLETED_QUEEN_NAVARI_S_LETTER, ExShowScreenMessage.TOP_CENTER, 8000); showOnScreenMsg(player, NpcStringId.YOU_HAVE_COMPLETED_QUEEN_NAVARI_S_LETTER, ExShowScreenMessage.TOP_CENTER, 8000);

View File

@ -53,8 +53,6 @@ public class Q10799_StrangeThingsAfootInTheValley extends Quest
23439, // Iron Cave Servant 23439, // Iron Cave Servant
23440, // Headless Knight 23440, // Headless Knight
}; };
// Items
private static final int EAS = 960;
// Misc // Misc
private static final int MIN_LEVEL = 76; private static final int MIN_LEVEL = 76;
private static final int MAX_LEVEL = 85; private static final int MAX_LEVEL = 85;
@ -101,9 +99,8 @@ public class Q10799_StrangeThingsAfootInTheValley extends Quest
final int itemId = Integer.parseInt(event.replace("giveReward_", "")); final int itemId = Integer.parseInt(event.replace("giveReward_", ""));
qs.exitQuest(false, true); qs.exitQuest(false, true);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveItems(player, EAS, 10);
giveItems(player, itemId, 30); giveItems(player, itemId, 30);
addExpAndSp(player, 76658400, 18398); addExpAndSp(player, 543080087, 23435);
htmltext = "33973-08.html"; htmltext = "33973-08.html";
} }
} }
@ -146,7 +143,7 @@ public class Q10799_StrangeThingsAfootInTheValley extends Quest
{ {
int count = qs.getInt(KILL_COUNT_VAR); int count = qs.getInt(KILL_COUNT_VAR);
qs.set(KILL_COUNT_VAR, ++count); qs.set(KILL_COUNT_VAR, ++count);
if (count >= 100) if (count >= 200)
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }

View File

@ -52,8 +52,6 @@ public class Q10800_ReconnaissanceAtDragonValley extends Quest
23443, // Dark Grave Wizard 23443, // Dark Grave Wizard
23444, // Dark Grave Knight 23444, // Dark Grave Knight
}; };
// Item
private static final int EAS = 960;
// Misc // Misc
private static final int MIN_LEVEL = 76; private static final int MIN_LEVEL = 76;
private static final int MAX_LEVEL = 85; private static final int MAX_LEVEL = 85;
@ -102,9 +100,8 @@ public class Q10800_ReconnaissanceAtDragonValley extends Quest
final int itemId = Integer.parseInt(event.replace("giveReward_", "")); final int itemId = Integer.parseInt(event.replace("giveReward_", ""));
qs.exitQuest(false, true); qs.exitQuest(false, true);
giveStoryQuestReward(npc, player); giveStoryQuestReward(npc, player);
giveItems(player, EAS, 10);
giveItems(player, itemId, 30); giveItems(player, itemId, 30);
addExpAndSp(player, 84722400, 20333); addExpAndSp(player, 543080087, 30466);
htmltext = "33973-08.html"; htmltext = "33973-08.html";
} }
break; break;
@ -148,7 +145,7 @@ public class Q10800_ReconnaissanceAtDragonValley extends Quest
{ {
int count = qs.getInt(KILL_COUNT_VAR); int count = qs.getInt(KILL_COUNT_VAR);
qs.set(KILL_COUNT_VAR, ++count); qs.set(KILL_COUNT_VAR, ++count);
if (count >= 100) if (count >= 200)
{ {
qs.setCond(2, true); qs.setCond(2, true);
} }