Addition of quests 11001 and 11013.

Contributed by Stayway.
This commit is contained in:
MobiusDev 2018-03-21 20:54:42 +00:00
parent 6a1834844e
commit 774e81842e
22 changed files with 608 additions and 2 deletions

View File

@ -0,0 +1,10 @@
<html><body>Hunter's Memo:<br>
<font color="LEVEL">1. Wolf / Elder Wolf </font>.<br>
Resemble dogs, hunt in packs. Wolf pelts can be used to make great bags, shoes and leather armor.<br><br>
<font color="LEVEL">2. Orc / Orc Soldier / Orc Archer</font>.<br>
Tribes of these savages live separately from all others. Orcs aren't fond of strangers. They've been attacking the residents of the Talking Island more and more lately.<br><br>
<font color="LEVEL">3. Werewolf</font>.<br>
A Monster with a wolf head but human body. Their intellect is on par with Humans. But they are not fit well for human live because of their bloodthirsty nature. werewolves should be kept clear of, especially on a full moon.<br><br>
<font color="LEVEL">4. Orc Warrior</font>.<br>
More skilled at material arts than other Orcs. No battle scouting expedition or a fight goes without them.
</body></html>

View File

@ -0,0 +1,10 @@
<html><body>Hunting Plan:<br>
This is a list of tasks that need to be completed before starting that hunt of Talos. Everything must go without a hitch. take care of it.<br><br>
<font color="LEVEL">Gathering of Wolf Tails</font>.<br>
Collect Tails to mark Monsters that need to be hunted. You need to procure at least 1000 of Ashen Wolf Tails. Each participant has to bring at least 10 of them.<br><br>
<font color="LEVEL">Defeating Goblins</font>.<br>
Goblins somehow found out about the location of the hunt and came running from all over the region. Take their poisonous darts from them, or they are going to spoil our hunt.<br><br>
<font color="LEVEL">Defeating Imps</font>.<br>
Dumb Imps scared away all game. Make sure that they won't appear here when it's time for the hunt.<br><br>
<font color="LEVEL">Defeating Orcs</font>.<br>
</body></html>

View File

@ -25,7 +25,6 @@
10997 Loser Priest (1/3)
10998 Loser Priest (2/3)
10999 Loser Priest (3/3)
11001 Tombs of Ancestors
11002 Help with Temple Restoration
11003 Perfect Leather Armor (1/3)
11004 Perfect Leather Armor (2/3)
@ -37,7 +36,6 @@
11010 New Potion Development (2/3)
11011 New Potion Development (3/3)
11012 Future Elves
11013 Shilen's Hunt
11014 Surprise Gift
11015 Prepare for trade (1/3)
11016 Prepare for trade (2/3)

View File

@ -0,0 +1,5 @@
<html><body>Blacksmith Altran:<br>
Have you been sent by Newbie Guide? Excellent! I have a task for you. The fifth generation of my family lives here. My grandfather and great-grandfather are buried not far from here. Every time, when the life gets rough, I go to grandfather's grave and talk to him in my mind. Unfortunately, there have been too many wolves and orcs lately. And werewolves made a habit of digging up the graves! If we leave it as it is, my ancestral tombs will disappear. Please, kill Wolves, Orcs and Werewolves nearby the village and bring me some items as a proof.<br>
I will give you a <font color="LEVEL">Hunter's Memo</font>. Kill the monsters, listed in it. You can start with Wolves. There are plenty of them near the exit from the village.<br>
Look up the memo and kill the monsters, listed in it.
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Blacksmith Altran:<br>
Did you at least read the Memo? We need to start the hunt as soon as possible. Don't dawdle!<br>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Blacksmith Altran:<br>
Oh! You finished earlier than I'd thought. You taught these beasts a good lesson. They will never approach our tombs again!<br>
I have a nice reward for you. Make your choicea sword or a scepter? If you engage in close combat more often, I suggest you take a sword. If you're more into magic, take the scepter.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11001_TombsOfAncestors reward1">Select Sword of Solidarity for Newbies</Button><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11001_TombsOfAncestors reward2">Select Wand of Adept for Newbies</Button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Blacksmith Altran:<br>
So you want to take the scepter, don't you?<br>
I'm a blacksmith, and I like swords better, but if you use magic, a scepter is the right choice.<br>
Have you heard how a recent storm destroyed so many buildings? I am very concerned about the damage that the local temple has suffered. Harrys began reconstruction, but he needs more workers. Could you help him, please?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11002_HelpWithTempleRestoration 30283-01.htm">"Agree to help"</Button><br>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Newbie Guide:<br>
Altran was looking for brave travelers, who are keen to explore challenges. I think something has happened. Will you help?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11001_TombsOfAncestors 30598-02.htm">Agree to help</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Newbie Guide:<br>
Thank you!<br>
You may find <font color="LEVEL">Altran</font> near the blacksmith shop.<br>
Don't let me down.<br>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Newbie Guide:<br>
Haven't you set off? Altran is expecting you.
</body></html>

View File

@ -0,0 +1,252 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package quests.Q11001_TombsOfAncestors;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.enums.Race;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
import com.l2jmobius.gameserver.model.quest.QuestState;
import com.l2jmobius.gameserver.model.quest.State;
import com.l2jmobius.gameserver.network.NpcStringId;
import com.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
import com.l2jmobius.gameserver.util.Util;
/**
* Tombs of Ancestors (11001)
* @author Stayway
*/
public class Q11001_TombsOfAncestors extends Quest
{
// NPCs
private static final int NEWBIE_GUIDE = 30598;
private static final int ALTRAN = 30283;
// Items
private static final int WOLF_PELT = 90200;
private static final int ORC_AMULET = 90201;
private static final int WEREWOLFS_FANG = 90202;
private static final int BROKEN_SWORD = 90203;
private static final int HUNTERS_MEMO = 90199;
// Rewards
private static final int SWORD_OF_SOLIDARITY = 49043;
private static final int WAND_OF_ADEPT = 49044;
private static final int RING_NOVICE = 29497;
private static final int NECKLACE_NOVICE = 49039;
// Monsters
private static final int WOLF = 20120;
private static final int ELDER_WOLF = 20442;
private static final int ORC = 20130;
private static final int ORC_SOLDIER = 20131;
private static final int ORC_ARCHER = 20006;
private static final int ORC_WARRIOR = 20386;
private static final int WEREWOLVES = 20387;
// Misc
private static final int MIN_LVL = 2;
private static final int MAX_LVL = 20;
public Q11001_TombsOfAncestors()
{
super(11001);
addStartNpc(NEWBIE_GUIDE);
addTalkId(NEWBIE_GUIDE, ALTRAN);
addKillId(WOLF, ELDER_WOLF, ORC, ORC_SOLDIER, ORC_ARCHER, ORC_WARRIOR, WEREWOLVES);
addCondLevel(MIN_LVL, MAX_LVL, "");
addCondRace(Race.HUMAN, "");
registerQuestItems(HUNTERS_MEMO, WOLF_PELT, ORC_AMULET, WEREWOLFS_FANG, BROKEN_SWORD);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return null;
}
String htmltext = null;
switch (event)
{
case "30598-02.htm":
{
qs.startQuest();
htmltext = event;
break;
}
case "reward1":
{
if (qs.isCond(5))
{
takeItems(player, HUNTERS_MEMO, 1);
takeItems(player, WOLF_PELT, 10);
takeItems(player, ORC_AMULET, 10);
takeItems(player, WEREWOLFS_FANG, 10);
giveItems(player, SWORD_OF_SOLIDARITY, 1);
giveItems(player, RING_NOVICE, 2);
giveItems(player, NECKLACE_NOVICE, 1);
addExpAndSp(player, 70000, 0);
qs.exitQuest(false, true);
htmltext = "30283-03.html"; // Need other html
}
break;
}
case "reward2":
{
if (qs.isCond(5))
{
takeItems(player, HUNTERS_MEMO, 1);
takeItems(player, WOLF_PELT, 10);
takeItems(player, ORC_AMULET, 10);
takeItems(player, WEREWOLFS_FANG, 10);
giveItems(player, WAND_OF_ADEPT, 1);
giveItems(player, RING_NOVICE, 2);
giveItems(player, NECKLACE_NOVICE, 1);
addExpAndSp(player, 70000, 0);
qs.exitQuest(false, true);
htmltext = "30283-03.html";
}
break;
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance talker)
{
final QuestState qs = getQuestState(talker, true);
String htmltext = getNoQuestMsg(talker);
switch (qs.getState())
{
case State.CREATED:
{
htmltext = "30598-01.html";
break;
}
case State.STARTED:
{
if (npc.getId() == NEWBIE_GUIDE)
{
if (qs.isCond(1))
{
htmltext = "30598-02a.html";
}
break;
}
else if (npc.getId() == ALTRAN)
{
switch (qs.getCond())
{
case 1:
{
htmltext = "30283-01.htm";
qs.setCond(2, true);
showOnScreenMsg(talker, NpcStringId.NOW_YOU_KNOW_WHAT_ALTRAN_WANTS_NGO_HUNTING_AND_KILL_WOLVES, ExShowScreenMessage.TOP_CENTER, 10000);
giveItems(talker, HUNTERS_MEMO, 1);
break;
}
case 2:
{
htmltext = "30283-01a.html";
break;
}
case 5:
{
htmltext = "30283-02.html";
break;
}
}
}
break;
}
}
return htmltext;
}
@Override
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
{
final QuestState qs = getQuestState(killer, false);
if ((qs != null) && qs.isStarted() && Util.checkIfInRange(1500, npc, killer, true))
{
switch (npc.getId())
{
case WOLF:
case ELDER_WOLF:
{
if (qs.isCond(2))
{
giveItems(killer, WOLF_PELT, 1);
playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE);
if (getQuestItemsCount(killer, WOLF_PELT) >= 10)
{
showOnScreenMsg(killer, NpcStringId.YOU_HAVE_KILLED_ENOUGH_WOLVES_N_GO_HUNTING_AND_KILL_ORCS, ExShowScreenMessage.TOP_CENTER, 10000);
qs.setCond(3);
}
}
break;
}
case ORC:
case ORC_SOLDIER:
case ORC_ARCHER:
{
if (qs.isCond(3))
{
giveItems(killer, ORC_AMULET, 1);
playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE);
if (getQuestItemsCount(killer, ORC_AMULET) >= 10)
{
showOnScreenMsg(killer, NpcStringId.YOU_HAVE_KILLED_ENOUGH_ORCS_NGO_HUNTING_AND_KILL_ORC_WARRIORS_AND_WEREWOLVES, ExShowScreenMessage.TOP_CENTER, 10000);
qs.setCond(4);
}
}
break;
}
case ORC_WARRIOR:
{
if (qs.isCond(4))
{
giveItems(killer, BROKEN_SWORD, 1);
playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE);
if ((getQuestItemsCount(killer, BROKEN_SWORD) >= 10) && (getQuestItemsCount(killer, WEREWOLFS_FANG) >= 10))
{
showOnScreenMsg(killer, NpcStringId.YOU_FULFILLED_ALL_ALTRAN_S_REQUESTS_N_RETURN_TO_ALTRAN, ExShowScreenMessage.TOP_CENTER, 10000);
qs.setCond(5);
}
}
break;
}
case WEREWOLVES:
{
if (qs.isCond(4))
{
giveItems(killer, WEREWOLFS_FANG, 1);
playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE);
if ((getQuestItemsCount(killer, WEREWOLFS_FANG) >= 10) && (getQuestItemsCount(killer, BROKEN_SWORD) >= 10))
{
showOnScreenMsg(killer, NpcStringId.YOU_FULFILLED_ALL_ALTRAN_S_REQUESTS_N_RETURN_TO_ALTRAN, ExShowScreenMessage.TOP_CENTER, 10000);
qs.setCond(5);
}
}
break;
}
}
}
return super.onKill(npc, killer, isSummon);
}
}

View File

@ -0,0 +1,3 @@
<html><body>Tetrarch Talos:<br>
Monster Hunt is one of the most important jobs of Dark Elves. I was charged with organizing it, and I have my hands full. Here, take this <font color="LEVEL">Hunting Plan</font>. Slay every creature listed in it. You can start with <font color="LEVEL">wolves</font> These beasts have greatly grown in number lately.<br>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Tetrarch Talos:<br>
Did you at least read the plan? We need to start the hunt as soon as possible. Don't dawdle!<br>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Tetrarch Talos:<br>
Thank you so much for your help with the hunt. As a token of my gratitude, I want to give you a suitable weapon. Choose the one you like.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11013_ShilensHunt reward1">Select Blood Saber for Newbies</Button><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11013_ShilensHunt reward2">Select Eldritch Dagger for Newbies</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Tetrarch Talos:<br>
A blade is a great choice. Blood Saber will really suit an adventure such as you.<br>
By the way, do you know Armor Merchant Payne? I gave him one job, but he can't finish it still. Could you help him?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11014_SurpriseGift 30136-01.htm">"Okay, I will go to Payne."</Button><br>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Newbie Guide:<br>
Hierarch Talos is recruiting skilled warriors. I heard he wants to go monster hunting. If you are interested, talk with Hierarch Talos and complete his assignment. He is very generous, so he will certainly give you some valuable reward.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11013_ShilensHunt 30600-02.htm">Nod</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Newbie Guide:<br>
Good decision! If you make an impression on Talos, you may turn it to good account. He gives generous rewards...<br>
You may find <font color="LEVEL">Talos</font> in the <font color="LEVEL">Santum of Shilen</font>. You should be on your way.<br>
</body></html>

View File

@ -0,0 +1,2 @@
<html><body>Newbie Guide: Haven't you set off? Sir Talos is expecting you. Hurry up!
</body></html>

View File

@ -0,0 +1,272 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package quests.Q11013_ShilensHunt;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.enums.Race;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
import com.l2jmobius.gameserver.model.quest.QuestState;
import com.l2jmobius.gameserver.model.quest.State;
import com.l2jmobius.gameserver.network.NpcStringId;
import com.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
import com.l2jmobius.gameserver.util.Util;
/**
* Shilen's Hunt (11013)
* @author Stayway
*/
public class Q11013_ShilensHunt extends Quest
{
// NPCs
private static final int NEWBIE_GUIDE = 30600;
private static final int TALOS = 30141;
// Items
private static final int WOLF_TAIL = 90238;
private static final int GOBLIN_POISONOUS_DART = 90239;
private static final int IMP_WING = 90240;
private static final int FUNGUS_JUICE = 90241;
private static final int BALOR_ORC_FANG = 90242;
private static final int HUNTING_PLAN = 90237;
// Rewards
private static final int BLOOD_SABER = 49050;
private static final int ELDRITCH_DAGGER = 49049;
private static final int RING_NOVICE = 29497;
private static final int NECKLACE_NOVICE = 49039;
// Monsters
private static final int ASHEN_WOLVES = 20456;
private static final int GOBLIN = 20003;
private static final int IMP = 20004;
private static final int IMP_ELDER = 20005;
private static final int GREN_FUNGUS = 20007;
private static final int BALOR_ORC_WARRIOR = 20386;
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;
public Q11013_ShilensHunt()
{
super(11013);
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, "");
addCondRace(Race.DARK_ELF, "");
registerQuestItems(HUNTING_PLAN, WOLF_TAIL, GOBLIN_POISONOUS_DART, IMP_WING, FUNGUS_JUICE, BALOR_ORC_FANG);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return null;
}
String htmltext = null;
switch (event)
{
case "30600-02.htm":
{
qs.startQuest();
htmltext = event;
break;
}
case "reward1":
{
if (qs.isCond(7))
{
takeItems(player, HUNTING_PLAN, 1);
takeItems(player, WOLF_TAIL, 10);
takeItems(player, GOBLIN_POISONOUS_DART, 10);
takeItems(player, IMP_WING, 10);
takeItems(player, FUNGUS_JUICE, 10);
takeItems(player, BALOR_ORC_FANG, 10);
giveItems(player, BLOOD_SABER, 1);
giveItems(player, RING_NOVICE, 2);
giveItems(player, NECKLACE_NOVICE, 1);
addExpAndSp(player, 70000, 0);
qs.exitQuest(false, true);
htmltext = "30141-03.html";
}
break;
}
case "reward2":
{
if (qs.isCond(7))
{
takeItems(player, HUNTING_PLAN, 1);
takeItems(player, WOLF_TAIL, 10);
takeItems(player, GOBLIN_POISONOUS_DART, 10);
takeItems(player, IMP_WING, 10);
takeItems(player, FUNGUS_JUICE, 10);
takeItems(player, BALOR_ORC_FANG, 10);
giveItems(player, ELDRITCH_DAGGER, 1);
giveItems(player, RING_NOVICE, 2);
giveItems(player, NECKLACE_NOVICE, 1);
addExpAndSp(player, 70000, 0);
qs.exitQuest(false, true);
htmltext = "30141-03.html";
}
break;
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance talker)
{
final QuestState qs = getQuestState(talker, true);
String htmltext = getNoQuestMsg(talker);
switch (qs.getState())
{
case State.CREATED:
{
htmltext = "30600-01.html";
break;
}
case State.STARTED:
{
if (npc.getId() == NEWBIE_GUIDE)
{
if (qs.isCond(1))
{
htmltext = "30600-02a.html";
}
break;
}
else if (npc.getId() == TALOS)
{
switch (qs.getCond())
{
case 1:
{
htmltext = "30141-01.htm";
qs.setCond(2, true);
showOnScreenMsg(talker, NpcStringId.GO_HUNTING_AND_KILL_ASHEN_WOLVES, ExShowScreenMessage.TOP_CENTER, 10000);
giveItems(talker, HUNTING_PLAN, 1);
break;
}
case 2:
{
htmltext = "30141-01a.html";
break;
}
case 7:
{
htmltext = "30141-02.html";
break;
}
}
}
break;
}
}
return htmltext;
}
@Override
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
{
final QuestState qs = getQuestState(killer, false);
if ((qs != null) && qs.isStarted() && Util.checkIfInRange(1500, npc, killer, true))
{
switch (npc.getId())
{
case ASHEN_WOLVES:
{
if (qs.isCond(2))
{
giveItems(killer, WOLF_TAIL, 1);
playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE);
if (getQuestItemsCount(killer, WOLF_TAIL) >= 10)
{
showOnScreenMsg(killer, NpcStringId.YOU_HAVE_KILLED_ENOUGH_ASHEN_WOLVES_N_GO_HUNTING_AND_KILL_GOBLINS, ExShowScreenMessage.TOP_CENTER, 10000);
qs.setCond(3);
}
}
break;
}
case GOBLIN:
{
if (qs.isCond(3))
{
giveItems(killer, GOBLIN_POISONOUS_DART, 1);
playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE);
if (getQuestItemsCount(killer, GOBLIN_POISONOUS_DART) >= 10)
{
showOnScreenMsg(killer, NpcStringId.YOU_HAVE_KILLED_ENOUGH_GOBLINS_N_GO_HUNTING_AND_KILL_IMPS_AND_IMP_ELDERS, ExShowScreenMessage.TOP_CENTER, 10000);
qs.setCond(4);
}
}
break;
}
case IMP:
case IMP_ELDER:
{
if (qs.isCond(4))
{
giveItems(killer, IMP_WING, 1);
playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE);
if (getQuestItemsCount(killer, IMP_WING) >= 10)
{
showOnScreenMsg(killer, NpcStringId.YOU_HAVE_KILLED_ENOUGH_IMPS_AND_IMP_ELDERS_N_GO_HUNTING_AND_KILL_GREEN_FUNGUS, ExShowScreenMessage.TOP_CENTER, 10000);
qs.setCond(5);
}
}
break;
}
case GREN_FUNGUS:
{
if (qs.isCond(5))
{
giveItems(killer, FUNGUS_JUICE, 1);
playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE);
if (getQuestItemsCount(killer, FUNGUS_JUICE) >= 10)
{
showOnScreenMsg(killer, NpcStringId.YOU_HAVE_KILLED_ENOUGH_GREEN_FUNGUS_N_GO_HUNTING_AND_KILL_BALOR_ORC_WARRIORS_BALOR_ORC_WARRIOR_CAPTAINS_AND_BALOR_ORC_WARRIOR_LIEUTENANTS, ExShowScreenMessage.TOP_CENTER, 10000);
qs.setCond(6);
}
}
break;
}
case BALOR_ORC_WARRIOR:
case BALOR_ORC_CAPTAIN:
case BALOR_ORC_LIEUTENANTS:
{
if (qs.isCond(6))
{
giveItems(killer, BALOR_ORC_FANG, 1);
playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE);
if (getQuestItemsCount(killer, BALOR_ORC_FANG) >= 10)
{
showOnScreenMsg(killer, NpcStringId.YOU_HAVE_KILLED_ENOUGH_BALOR_ORC_WARRIORS_BALOR_ORC_WARRIOR_CAPTAINS_AND_BALOR_ORC_WARRIOR_LIEUTENANTS_NRETURN_TO_HIERARCH_TALOS, ExShowScreenMessage.TOP_CENTER, 10000);
qs.setCond(7);
}
}
break;
}
}
}
return super.onKill(npc, killer, isSummon);
}
}

View File

@ -148,6 +148,8 @@ import quests.Q00662_AGameOfCards.Q00662_AGameOfCards;
import quests.Q00933_ExploringTheWestWingOfTheDungeonOfAbyss.Q00933_ExploringTheWestWingOfTheDungeonOfAbyss;
import quests.Q00935_ExploringTheEastWingOfTheDungeonOfAbyss.Q00935_ExploringTheEastWingOfTheDungeonOfAbyss;
import quests.Q11000_MoonKnight.Q11000_MoonKnight;
import quests.Q11001_TombsOfAncestors.Q11001_TombsOfAncestors;
import quests.Q11013_ShilensHunt.Q11013_ShilensHunt;
/**
* @author NosBit
@ -287,6 +289,8 @@ public class QuestMasterHandler
Q00933_ExploringTheWestWingOfTheDungeonOfAbyss.class,
Q00935_ExploringTheEastWingOfTheDungeonOfAbyss.class,
Q11000_MoonKnight.class,
Q11001_TombsOfAncestors.class,
Q11013_ShilensHunt.class,
};
public static void main(String[] args)

View File

@ -1076,5 +1076,6 @@
<set name="is_destroyable" val="false" />
<set name="is_depositable" val="false" />
<set name="is_sellable" val="false" />
<set name="handler" val="Bypass" />
</item>
</list>

View File

@ -370,6 +370,7 @@
<set name="is_destroyable" val="false" />
<set name="is_depositable" val="false" />
<set name="is_sellable" val="false" />
<set name="handler" val="Bypass" />
</item>
<item id="90238" name="Wolf Tail" type="EtcItem">
<!-- Adornments made from colorful tails symbolize various trophies caught by hunters. During the festival tails are used to tally up the scores. -->