ZURSULUS L2

Test of the Duelist

ID
222
Название
Test of the Duelist
start_npcs_json
[30623]
npc_ids_json
[20085,20090,20202,20214,20217,20234,20270,20552,20554,20564,20582,20588,20601,20602,20604,30623]
constants_json
{"KAIEN":30623,"PUNCHER":20085,"NOBLE_ANT_LEADER":20090,"MARSH_STAKATO_DRONE":20234,"DEAD_SEEKER":20202,"BREKA_ORC_OVERLORD":20270,"FETTERED_SOUL":20552,"LETO_LIZARDMAN_OVERLORD":20582,"ENCHANTED_MONSTEREYE":20564,"TAMLIN_ORC":20601,"TAMLIN_ORC_ARCHER":20602,"EXCURO":20214,"KRATOR":20217,"GRANDIS":20554,"TIMAK_ORC_OVERLORD":20588,"LAKIN":20604,"ORDER_GLUDIO":2763,"ORDER_DION":2764,"ORDER_GIRAN":2765,"ORDER_OREN":2766,"ORDER_ADEN":2767,"PUNCHER_SHARD":2768,"NOBLE_ANT_FEELER":2769,"DRONE_CHITIN":2770,"DEAD_SEEKER_FANG":2771,"OVERLORD_NECKLACE":2772,"FETTERED_SOUL_CHAIN":2773,"CHIEF_AMULET":2774,"ENCHANTED_EYE_MEAT":2775,"TAMRIN_ORC_RING":2776,"TAMRIN_ORC_ARROW":2777,"FINAL_ORDER":2778,"EXCURO_SKIN":2779,"KRATOR_SHARD":2780,"GRANDIS_SKIN":2781,"TIMAK_ORC_BELT":2782,"LAKIN_MACE":2783,"MARK_OF_DUELIST":2762,"DIMENSIONAL_DIAMOND":7562}
Статус разбора
metadata_only; dynamic Java conditions/rewards retained in source; unresolved starts: []
Источник
game/data/scripts/quests/Q00222_TestOfTheDuelist/Q00222_TestOfTheDuelist.java

NPC квеста

IDНазваниеСтарт квестаУровень
20085PuncherНет34
20090Noble Ant LeaderНет38
20202Dead SeekerНет34
20214ExcuroНет41
20217KratorНет44
20234Marsh Stakato DroneНет35
20270Breka Orc OverlordНет35
20552Fettered SoulНет38
20554GrandisНет40
20564Enchanted MonstereyeНет41
20582Leto Lizardman OverlordНет40
20588Timak Orc OverlordНет45
20601Tamlin OrcНет41
20602Tamlin Orc ArcherНет42
20604LakinНет44
30623KaienДа70

Условия уровней: выражения из Java

else if (player.getLevel() < 39)

Выдача предметов, адены и опыта: выражения из Java

giveItems(player, ORDER_GLUDIO, 1);
giveItems(player, ORDER_DION, 1);
giveItems(player, ORDER_GIRAN, 1);
giveItems(player, ORDER_OREN, 1);
giveItems(player, ORDER_ADEN, 1);
giveItems(player, DIMENSIONAL_DIAMOND, DF_REWARD_39.get(player.getPlayerClass().getId()));
giveItems(player, FINAL_ORDER, 1);
giveItems(player, MARK_OF_DUELIST, 1);
addExpAndSp(player, 47015, 20000);
giveItems(player, PUNCHER_SHARD, 1);
giveItems(player, NOBLE_ANT_FEELER, 1);
giveItems(player, DRONE_CHITIN, 1);
giveItems(player, DEAD_SEEKER_FANG, 1);
giveItems(player, OVERLORD_NECKLACE, 1);
giveItems(player, FETTERED_SOUL_CHAIN, 1);
giveItems(player, CHIEF_AMULET, 1);
giveItems(player, ENCHANTED_EYE_MEAT, 1);
giveItems(player, TAMRIN_ORC_RING, 1);
giveItems(player, TAMRIN_ORC_ARROW, 1);
giveItems(player, EXCURO_SKIN, 1);
giveItems(player, KRATOR_SHARD, 1);
giveItems(player, LAKIN_MACE, 1);
giveItems(player, GRANDIS_SKIN, 1);
giveItems(player, TIMAK_ORC_BELT, 1);

Квесты содержат динамические условия Java. Выражения выдачи включают промежуточные предметы, варианты и случайные награды; это не гарантированная награда. Константы приведены выше. Полные условия — в исходнике.

Тексты квеста

[30623-01.htm] Duelist Kaien: Greetings, young traveler. I am Duelist Kaien. The original meaning of the word 'Duelist' was 'Challenger.' It was used to describe those who exhibited their dazzling talents in the arena at Schuttgart. They bathed in the blood of their rivals and regarded that as an honor. Now this title is given to those whose skills with the weapon have reached their zenith. It is an honor desired by all that wield a weapon, but only a select few may attain this title, and only after many years of training... You may also become a Duelist, but that is something to be discussed in the future... To attempt the trials at your skill level would mean certain death... For now, you must suppress your ambition and concentrate on your training. (This quest may only be undertaken by a character of level 39 and above.) [30623-02.htm] Duelist Kaien: Greetings, young traveler. I am Duelist Kaien. The original meaning of the word 'Duelist' was 'Challenger.' It was used to describe those who exhibited their dazzling talents in the arena at Schuttgart. They bathed in the blood of their rivals and regarded that as an honor. Now this title is given to those whose skills with the weapon have reached their zenith. It is an honor desired by all that wield a weapon, but only a select few may attain this title, and only after many years of training... I see that you do not walk the path of the sword. I am sure you don't understand the thrill of combat in which 2 swords meet. You will never be a Duelist. (This quest may only be undertaken by Warriors, Elven Knights, Palus Knights, and Orc Monks.) [30623-03.htm] Duelist Kaien: Greetings, young warrior. My name is Kaien and I am a 'Duelist' belonging from the arena at Schuttgart. My quest is to travel the continent to discover talented swordsmen and train them as duelists. Though the kingdoms of Elmore and Aden are hostile to one another, that does not influence the affairs of a guild... My wish is to train as many duelists as possible and pass on the splendid tradition of swordsmanship of the Warrior Guild on this continent... Ask about the Mark of the Duelist. [30623-04.htm] Duelist Kaien: Originally the term Duelist meant 'challenger.' It was a term used to refer to those who displayed their dazzling talents in the arena at Schuttgart, who bathed themselves in the blood of their rivals and regarded this as their honor. Now it is a title given to those whose skills with their weapon have reached their zenith. It is an title desired by all that wield a weapon, but only a select few may attain it, and only after many years of training... If you desire to obtain the Mark of the Duelist, you must pass the trial that I, Duelist Kaien, give you. Ask about the Trial of the Duelist. [30623-05.htm] Duelist Kaien: Greetings, young traveler. I am Duelist Kaien. The original meaning of the word 'Duelist' was 'Challenger.' It was used to describe those who exhibited their dazzling talents in the arena at Schuttgart. They bathed in the blood of their rivals and regarded that as an honor. Now this title is given to those whose weapons skills have reached their zenith. It is an honor desired by all that wield a weapon, but only a select few may attain this title, and only after many years of training... If you wish to obtain the Mark of the Duelist you must pass the trial that I, Duelist Kaien, give you. Ask about the Duelist Trial. [30623-06.htm] Duelist Kaien: I have already explained to you the meaning of the word 'Duelist.' The Duelist's Trial consists primarily of defeating in battle the strongest opponents from across the continent. You must burn with desire rather than tremble and crouch in fear when meeting a strong opponent... Strength and bravery are essential. According to age-old Duelist traditions, you must 'conquer all the territories of the kingdom'. That is, you must seek out the strongest opponents of each territory of the Aden Kingdom and engage in combat with them. Whoever is victorious in battle against them will be awarded the Mark of the Duelist. Are you ready to meet this challenge? I cannot stress enough that this is a very arduous task that will often test the limits of your patience. Accept the challenge. [30623-07.htm] Duelist Kaien: ...I see. Now listen carefully. You must travel to the various territories of the Aden kingdom and repeatedly challenge the strongest opponents. Your must defeat each enemy at least 10 or more times. In the past, swordsmen of various territories engaged in bloody combat with each other in order to prove their worth. But these days, since the Warrior Guild banned duels, your opponents will be magical monsters or foreign races that are a threat to the population. Here is a list of your opponents. Let's see, first, from Gludio... Listen further to the explanation. [30623-07a.htm] Duelist Kaien: I see. First, take this Dimension Diamond. You can trade it to the village gatekeeper for something special that may help you on your journey. Now listen to me carefully. You must visit each territory of Aden and prove your skill against the best opponents you find. Your task is to defeat each adversary more than 10 times. In the past, the swordsman from each territory engaged in bloody mortal combat to prove their skills, but the Warrior Guild has since banned unauthorized duels. That means the adversaries you will face are now limited to evil creatures or different races that threaten the common peace. Your strongest enemies are specific in a particular sequence. First of all, in Gludio territory . . . wait, would you like me to go on? Continue to listen to the explanation. [30623-08.htm] Duelist Kaien: In Gludio you must face the Puncher and Noble Ant Leader. Punchers can be found in the Wastelands of southern Gludio. To find Noble Ants, you must go inside the Ant Nest of the Wastelands. I'm sure that with your skills you can adequately protect yourself... Bring back 10 Puncher Shards and 10 Noble Ant Feelers! Tell me more. [30623-09.htm] Duelist Kaien: The masters of the Warrior guild and I have determined that your first opponent shall be the Marsh Stakato Drone and the Dead Seeker in the territory of Dion. Marsh Stakato Drones are the nobles of the stakato race that live in the Cruma Marshlands. You will find the Dead Seekers at the Execution Grounds. As a mark of your victory you must bring back 10 each of the Stakato Drone's Chitin and Dead Deeker's Fangs. Listen further to the explanation. [30623-10.htm] Duelist Kaien: In Giran you must seek the Breka Orc Overlords and Fettered Souls. The Breka Orc tribe wields considerable power in northern Giran, and they are led by the Breka Orc Overlords. Fettered Souls are undead that appear in the Death Pass, the path connecting Giran and Oren. You must bring back 10 Breka Orc Overlord Necklaces and 10 Fettered Soul's Chain as proof. Listen further to the explanation. [30623-11.htm] Duelist Kaien: I personally selected your opponents for the trial in Oren. First you shall fight the Leto Lizardman Overlord that lives in the southern regions of Oren, and your second opponent will be the Enchanted Monstereye that wanders the area surrounding the Ivory Tower of Oren. Stay alert, as both are formidable enemies! Bring back 10 Leto Lizardman Chief's Amulets, and 10 pieces of Enchanted Eye Meat. Listen further to the explanation. [30623-12.htm] Duelist Kaien: Last of all you must visit the territory of Aden... This territory is under martial law and many areas are off limits... In the southern region of Aden, you will find the Tamlin Orcs. Defeat them and the Tamlin Orc Archers. Bring back 10 Tamlin Orc rings and 10 Tamlin Orc arrows. Do you remember your mission in each territory? Always remember this motto: "I shall not surrender, I shall be victorious..." One day the Mark will be yours. Return [30623-13.htm] Duelist Kaien: I am too tired to count. I will trust that you completed the assignment so far. You did well, but I would have been able to complete this task in a single day. The Duelist's Trial is not yet over, so do not get ahead of yourself. The hard part begins now. Are you ready to attempt the final trial? Attempt the final trial. [30623-14.htm] Duelist Kaien: You are quicker than I thought you were! Good, now let's see... Hmmm...You're still short. Tired already? If you're worn out, you can quit the trial at any time. Even if you do not become a Duelist, you may still be able to carve your own path... Defeats are forgotten with the passage of time... What, you don't care for the sound of that? Then don't just stand there, go and finish the trial! [30623-15.htm] Duelist Kaien: So you do not know the meaning of defeat... Good... then you are halfway there! Already you have conquered each territory. Now you must become the champion of each kingdom, that is to say, 'Conquer the Kingdom'... The previous trial may have been difficult, but this time it will be twice as challenging. The opponent in this trial has been chosen by all the grand masters in the kingdom. You must achieve 3 victories from 1 opponent... That in itself is not an easy task. If you find it difficult to accomplish alone you may ask your fellow members to assist you. You will still get the credit for a victory should you succeed. Of course, your opponent will be much more difficult... Ask about your opponent. [30623-16.htm] Duelist Kaien: First you must slay the Excuro and the Krator from the Cruma Tower. As a proof of your victory, bring back 3 Excuro Skins and 3 Krator Fragments. I trust that I don't need to explain about the dangers of the Cruma Tower? After this you must go to the Death Pass in Giran and fight the Grandis. Perhaps you have already heard of the savagery of the Grandis? Next find the Timak Orc Overlord from the western region of Oren and challenge him. The Timak Orcs are a strong race, strong enough to hold their own against the guards of the Oren Lord. Furthermore, your opponent is the Warlord, so it will be best to view his skills as equal to that of the strongest warrior. Finally, you must slay the Lakin that wanders through all of Aden. It is a giant, violent animal, so make sure you are prepared. It would be good to have a trusted friend watching your back. These orders contain a list of the opponents you must defeat, so consult them if needed. [30623-17.htm] Duelist Kaien: Certainly you are not finished with the trial yet! Why do you seek me? Do not come to me again until you have defeated all of the opponents on the list at least 3 times. Ask again about your opponent. [30623-18.htm] Duelist Kaien: You have defeated all of the opponents of the final trial...! Excellent! Now not only have you conquered all of the territories of Aden, but also Aden itself! Magnificent! I, Duelist Kaien, hereby acknowledge your skills and talents and bestow upon you the Mark of the Duelist. Congratulations! If you practice swordsmanship regularly, one day you may have the chance to draw against me... I shall wait for that day!
Исходник условий и наград (Java)
/*
 * Copyright (c) 2013 L2jMobius
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
 * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
package quests.Q00222_TestOfTheDuelist;

import org.l2jmobius.gameserver.entity.actor.Npc;
import org.l2jmobius.gameserver.entity.actor.Player;
import org.l2jmobius.gameserver.entity.actor.enums.creature.Race;
import org.l2jmobius.gameserver.mechanics.script.Quest;
import org.l2jmobius.gameserver.mechanics.script.QuestSound;
import org.l2jmobius.gameserver.mechanics.script.QuestState;
import org.l2jmobius.gameserver.mechanics.script.State;
import org.l2jmobius.gameserver.network.serverpackets.SocialAction;

public class Q00222_TestOfTheDuelist extends Quest
{
	// NPC
	private static final int KAIEN = 30623;
	
	// Monsters
	private static final int PUNCHER = 20085;
	private static final int NOBLE_ANT_LEADER = 20090;
	private static final int MARSH_STAKATO_DRONE = 20234;
	private static final int DEAD_SEEKER = 20202;
	private static final int BREKA_ORC_OVERLORD = 20270;
	private static final int FETTERED_SOUL = 20552;
	private static final int LETO_LIZARDMAN_OVERLORD = 20582;
	private static final int ENCHANTED_MONSTEREYE = 20564;
	private static final int TAMLIN_ORC = 20601;
	private static final int TAMLIN_ORC_ARCHER = 20602;
	private static final int EXCURO = 20214;
	private static final int KRATOR = 20217;
	private static final int GRANDIS = 20554;
	private static final int TIMAK_ORC_OVERLORD = 20588;
	private static final int LAKIN = 20604;
	
	// Items
	private static final int ORDER_GLUDIO = 2763;
	private static final int ORDER_DION = 2764;
	private static final int ORDER_GIRAN = 2765;
	private static final int ORDER_OREN = 2766;
	private static final int ORDER_ADEN = 2767;
	private static final int PUNCHER_SHARD = 2768;
	private static final int NOBLE_ANT_FEELER = 2769;
	private static final int DRONE_CHITIN = 2770;
	private static final int DEAD_SEEKER_FANG = 2771;
	private static final int OVERLORD_NECKLACE = 2772;
	private static final int FETTERED_SOUL_CHAIN = 2773;
	private static final int CHIEF_AMULET = 2774;
	private static final int ENCHANTED_EYE_MEAT = 2775;
	private static final int TAMRIN_ORC_RING = 2776;
	private static final int TAMRIN_ORC_ARROW = 2777;
	private static final int FINAL_ORDER = 2778;
	private static final int EXCURO_SKIN = 2779;
	private static final int KRATOR_SHARD = 2780;
	private static final int GRANDIS_SKIN = 2781;
	private static final int TIMAK_ORC_BELT = 2782;
	private static final int LAKIN_MACE = 2783;
	
	// Rewards
	private static final int MARK_OF_DUELIST = 2762;
	private static final int DIMENSIONAL_DIAMOND = 7562;
	
	public Q00222_TestOfTheDuelist()
	{
		super(222, "Test of the Duelist");
		registerQuestItems(ORDER_GLUDIO, ORDER_DION, ORDER_GIRAN, ORDER_OREN, ORDER_ADEN, FINAL_ORDER, PUNCHER_SHARD, NOBLE_ANT_FEELER, DRONE_CHITIN, DEAD_SEEKER_FANG, OVERLORD_NECKLACE, FETTERED_SOUL_CHAIN, CHIEF_AMULET, ENCHANTED_EYE_MEAT, TAMRIN_ORC_RING, TAMRIN_ORC_ARROW, EXCURO_SKIN, KRATOR_SHARD, GRANDIS_SKIN, TIMAK_ORC_BELT, LAKIN_MACE);
		addStartNpc(KAIEN);
		addTalkId(KAIEN);
		addKillId(PUNCHER, NOBLE_ANT_LEADER, MARSH_STAKATO_DRONE, DEAD_SEEKER, BREKA_ORC_OVERLORD, FETTERED_SOUL, LETO_LIZARDMAN_OVERLORD, ENCHANTED_MONSTEREYE, TAMLIN_ORC, TAMLIN_ORC_ARCHER, EXCURO, KRATOR, GRANDIS, TIMAK_ORC_OVERLORD, LAKIN);
	}
	
	@Override
	public String onEvent(String event, Npc npc, Player player)
	{
		String htmltext = event;
		final QuestState st = getQuestState(player, false);
		if (st == null)
		{
			return htmltext;
		}
		
		switch (event)
		{
			case "30623-04.htm":
			{
				if (player.getRace() == Race.ORC)
				{
					htmltext = "30623-05.htm";
				}
				break;
			}
			case "30623-07.htm":
			{
				st.startQuest();
				st.setCond(2);
				giveItems(player, ORDER_GLUDIO, 1);
				giveItems(player, ORDER_DION, 1);
				giveItems(player, ORDER_GIRAN, 1);
				giveItems(player, ORDER_OREN, 1);
				giveItems(player, ORDER_ADEN, 1);
				if (!player.getVariables().getBoolean("secondClassChange39", false))
				{
					htmltext = "30623-07a.htm";
					giveItems(player, DIMENSIONAL_DIAMOND, DF_REWARD_39.get(player.getPlayerClass().getId()));
					player.getVariables().set("secondClassChange39", true);
				}
				break;
			}
			case "30623-16.htm":
			{
				if (st.isCond(3))
				{
					st.setCond(4, true);
					
					takeItems(player, ORDER_GLUDIO, 1);
					takeItems(player, ORDER_DION, 1);
					takeItems(player, ORDER_GIRAN, 1);
					takeItems(player, ORDER_OREN, 1);
					takeItems(player, ORDER_ADEN, 1);
					
					takeItems(player, PUNCHER_SHARD, -1);
					takeItems(player, NOBLE_ANT_FEELER, -1);
					takeItems(player, DRONE_CHITIN, -1);
					takeItems(player, DEAD_SEEKER_FANG, -1);
					takeItems(player, OVERLORD_NECKLACE, -1);
					takeItems(player, FETTERED_SOUL_CHAIN, -1);
					takeItems(player, CHIEF_AMULET, -1);
					takeItems(player, ENCHANTED_EYE_MEAT, -1);
					takeItems(player, TAMRIN_ORC_RING, -1);
					takeItems(player, TAMRIN_ORC_ARROW, -1);
					
					giveItems(player, FINAL_ORDER, 1);
				}
				break;
			}
		}
		
		return htmltext;
	}
	
	@Override
	public String onTalk(Npc npc, Player player)
	{
		String htmltext = getNoQuestMsg(player);
		final QuestState st = getQuestState(player, true);
		
		switch (st.getState())
		{
			case State.CREATED:
			{
				final int classId = player.getPlayerClass().getId();
				if ((classId != 0x01) && (classId != 0x2f) && (classId != 0x13) && (classId != 0x20))
				{
					htmltext = "30623-02.htm";
				}
				else if (player.getLevel() < 39)
				{
					htmltext = "30623-01.htm";
				}
				else
				{
					htmltext = "30623-03.htm";
				}
				break;
			}
			case State.STARTED:
			{
				final int cond = st.getCond();
				if (cond == 2)
				{
					htmltext = "30623-07a.htm";
				}
				else if (cond == 3)
				{
					htmltext = "30623-13.htm";
				}
				else if (cond == 4)
				{
					htmltext = "30623-17.htm";
				}
				else if (cond == 5)
				{
					htmltext = "30623-18.htm";
					takeItems(player, FINAL_ORDER, 1);
					takeItems(player, EXCURO_SKIN, -1);
					takeItems(player, KRATOR_SHARD, -1);
					takeItems(player, GRANDIS_SKIN, -1);
					takeItems(player, TIMAK_ORC_BELT, -1);
					takeItems(player, LAKIN_MACE, -1);
					giveItems(player, MARK_OF_DUELIST, 1);
					addExpAndSp(player, 47015, 20000);
					player.broadcastPacket(new SocialAction(player.getObjectId(), 3));
					st.exitQuest(false, true);
				}
				break;
			}
			case State.COMPLETED:
			{
				htmltext = getAlreadyCompletedMsg(player);
				break;
			}
		}
		
		return htmltext;
	}
	
	@Override
	public void onKill(Npc npc, Player player, boolean isPet)
	{
		final QuestState st = getQuestState(player, false);
		if ((st == null) || !st.isStarted())
		{
			return;
		}
		
		if (st.isCond(2))
		{
			switch (npc.getId())
			{
				case PUNCHER:
				{
					if (getQuestItemsCount(player, PUNCHER_SHARD) < 10)
					{
						giveItems(player, PUNCHER_SHARD, 1);
						if ((getQuestItemsCount(player, PUNCHER_SHARD) >= 10) && (getQuestItemsCount(player, NOBLE_ANT_FEELER) >= 10) && (getQuestItemsCount(player, DRONE_CHITIN) >= 10) && (getQuestItemsCount(player, DEAD_SEEKER_FANG) >= 10) && (getQuestItemsCount(player, OVERLORD_NECKLACE) >= 10) && (getQuestItemsCount(player, FETTERED_SOUL_CHAIN) >= 10) && (getQuestItemsCount(player, CHIEF_AMULET) >= 10) && (getQuestItemsCount(player, ENCHANTED_EYE_MEAT) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_RING) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_ARROW) >= 10))
						{
							st.setCond(3, true);
						}
						else
						{
							playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
						}
					}
					break;
				}
				case NOBLE_ANT_LEADER:
				{
					if (getQuestItemsCount(player, NOBLE_ANT_FEELER) < 10)
					{
						giveItems(player, NOBLE_ANT_FEELER, 1);
						if ((getQuestItemsCount(player, NOBLE_ANT_FEELER) >= 10) && (getQuestItemsCount(player, PUNCHER_SHARD) >= 10) && (getQuestItemsCount(player, DRONE_CHITIN) >= 10) && (getQuestItemsCount(player, DEAD_SEEKER_FANG) >= 10) && (getQuestItemsCount(player, OVERLORD_NECKLACE) >= 10) && (getQuestItemsCount(player, FETTERED_SOUL_CHAIN) >= 10) && (getQuestItemsCount(player, CHIEF_AMULET) >= 10) && (getQuestItemsCount(player, ENCHANTED_EYE_MEAT) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_RING) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_ARROW) >= 10))
						{
							st.setCond(3, true);
						}
						else
						{
							playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
						}
					}
					break;
				}
				case MARSH_STAKATO_DRONE:
				{
					if (getQuestItemsCount(player, DRONE_CHITIN) < 10)
					{
						giveItems(player, DRONE_CHITIN, 1);
						if ((getQuestItemsCount(player, DRONE_CHITIN) >= 10) && (getQuestItemsCount(player, PUNCHER_SHARD) >= 10) && (getQuestItemsCount(player, NOBLE_ANT_FEELER) >= 10) && (getQuestItemsCount(player, DEAD_SEEKER_FANG) >= 10) && (getQuestItemsCount(player, OVERLORD_NECKLACE) >= 10) && (getQuestItemsCount(player, FETTERED_SOUL_CHAIN) >= 10) && (getQuestItemsCount(player, CHIEF_AMULET) >= 10) && (getQuestItemsCount(player, ENCHANTED_EYE_MEAT) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_RING) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_ARROW) >= 10))
						{
							st.setCond(3, true);
						}
						else
						{
							playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
						}
					}
					break;
				}
				case DEAD_SEEKER:
				{
					if (getQuestItemsCount(player, DEAD_SEEKER_FANG) < 10)
					{
						giveItems(player, DEAD_SEEKER_FANG, 1);
						if ((getQuestItemsCount(player, DEAD_SEEKER_FANG) >= 10) && (getQuestItemsCount(player, PUNCHER_SHARD) >= 10) && (getQuestItemsCount(player, NOBLE_ANT_FEELER) >= 10) && (getQuestItemsCount(player, DRONE_CHITIN) >= 10) && (getQuestItemsCount(player, OVERLORD_NECKLACE) >= 10) && (getQuestItemsCount(player, FETTERED_SOUL_CHAIN) >= 10) && (getQuestItemsCount(player, CHIEF_AMULET) >= 10) && (getQuestItemsCount(player, ENCHANTED_EYE_MEAT) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_RING) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_ARROW) >= 10))
						{
							st.setCond(3, true);
						}
						else
						{
							playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
						}
					}
					break;
				}
				case BREKA_ORC_OVERLORD:
				{
					if (getQuestItemsCount(player, OVERLORD_NECKLACE) < 10)
					{
						giveItems(player, OVERLORD_NECKLACE, 1);
						if ((getQuestItemsCount(player, OVERLORD_NECKLACE) >= 10) && (getQuestItemsCount(player, PUNCHER_SHARD) >= 10) && (getQuestItemsCount(player, NOBLE_ANT_FEELER) >= 10) && (getQuestItemsCount(player, DRONE_CHITIN) >= 10) && (getQuestItemsCount(player, DEAD_SEEKER_FANG) >= 10) && (getQuestItemsCount(player, FETTERED_SOUL_CHAIN) >= 10) && (getQuestItemsCount(player, CHIEF_AMULET) >= 10) && (getQuestItemsCount(player, ENCHANTED_EYE_MEAT) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_RING) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_ARROW) >= 10))
						{
							st.setCond(3, true);
						}
						else
						{
							playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
						}
					}
					break;
				}
				case FETTERED_SOUL:
				{
					if (getQuestItemsCount(player, FETTERED_SOUL_CHAIN) < 10)
					{
						giveItems(player, FETTERED_SOUL_CHAIN, 1);
						if ((getQuestItemsCount(player, FETTERED_SOUL_CHAIN) >= 10) && (getQuestItemsCount(player, PUNCHER_SHARD) >= 10) && (getQuestItemsCount(player, NOBLE_ANT_FEELER) >= 10) && (getQuestItemsCount(player, DRONE_CHITIN) >= 10) && (getQuestItemsCount(player, DEAD_SEEKER_FANG) >= 10) && (getQuestItemsCount(player, OVERLORD_NECKLACE) >= 10) && (getQuestItemsCount(player, CHIEF_AMULET) >= 10) && (getQuestItemsCount(player, ENCHANTED_EYE_MEAT) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_RING) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_ARROW) >= 10))
						{
							st.setCond(3, true);
						}
						else
						{
							playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
						}
					}
					break;
				}
				case LETO_LIZARDMAN_OVERLORD:
				{
					if (getQuestItemsCount(player, CHIEF_AMULET) < 10)
					{
						giveItems(player, CHIEF_AMULET, 1);
						if ((getQuestItemsCount(player, CHIEF_AMULET) >= 10) && (getQuestItemsCount(player, PUNCHER_SHARD) >= 10) && (getQuestItemsCount(player, NOBLE_ANT_FEELER) >= 10) && (getQuestItemsCount(player, DRONE_CHITIN) >= 10) && (getQuestItemsCount(player, DEAD_SEEKER_FANG) >= 10) && (getQuestItemsCount(player, OVERLORD_NECKLACE) >= 10) && (getQuestItemsCount(player, FETTERED_SOUL_CHAIN) >= 10) && (getQuestItemsCount(player, ENCHANTED_EYE_MEAT) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_RING) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_ARROW) >= 10))
						{
							st.setCond(3, true);
						}
						else
						{
							playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
						}
					}
					break;
				}
				case ENCHANTED_MONSTEREYE:
				{
					if (getQuestItemsCount(player, ENCHANTED_EYE_MEAT) < 10)
					{
						giveItems(player, ENCHANTED_EYE_MEAT, 1);
						if ((getQuestItemsCount(player, ENCHANTED_EYE_MEAT) >= 10) && (getQuestItemsCount(player, PUNCHER_SHARD) >= 10) && (getQuestItemsCount(player, NOBLE_ANT_FEELER) >= 10) && (getQuestItemsCount(player, DRONE_CHITIN) >= 10) && (getQuestItemsCount(player, DEAD_SEEKER_FANG) >= 10) && (getQuestItemsCount(player, OVERLORD_NECKLACE) >= 10) && (getQuestItemsCount(player, FETTERED_SOUL_CHAIN) >= 10) && (getQuestItemsCount(player, CHIEF_AMULET) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_RING) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_ARROW) >= 10))
						{
							st.setCond(3, true);
						}
						else
						{
							playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
						}
					}
					break;
				}
				case TAMLIN_ORC:
				{
					if (getQuestItemsCount(player, TAMRIN_ORC_RING) < 10)
					{
						giveItems(player, TAMRIN_ORC_RING, 1);
						if ((getQuestItemsCount(player, TAMRIN_ORC_RING) >= 10) && (getQuestItemsCount(player, PUNCHER_SHARD) >= 10) && (getQuestItemsCount(player, NOBLE_ANT_FEELER) >= 10) && (getQuestItemsCount(player, DRONE_CHITIN) >= 10) && (getQuestItemsCount(player, DEAD_SEEKER_FANG) >= 10) && (getQuestItemsCount(player, OVERLORD_NECKLACE) >= 10) && (getQuestItemsCount(player, FETTERED_SOUL_CHAIN) >= 10) && (getQuestItemsCount(player, CHIEF_AMULET) >= 10) && (getQuestItemsCount(player, ENCHANTED_EYE_MEAT) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_ARROW) >= 10))
						{
							st.setCond(3, true);
						}
						else
						{
							playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
						}
					}
					break;
				}
				case TAMLIN_ORC_ARCHER:
				{
					if (getQuestItemsCount(player, TAMRIN_ORC_ARROW) < 10)
					{
						giveItems(player, TAMRIN_ORC_ARROW, 1);
						if ((getQuestItemsCount(player, TAMRIN_ORC_ARROW) >= 10) && (getQuestItemsCount(player, PUNCHER_SHARD) >= 10) && (getQuestItemsCount(player, NOBLE_ANT_FEELER) >= 10) && (getQuestItemsCount(player, DRONE_CHITIN) >= 10) && (getQuestItemsCount(player, DEAD_SEEKER_FANG) >= 10) && (getQuestItemsCount(player, OVERLORD_NECKLACE) >= 10) && (getQuestItemsCount(player, FETTERED_SOUL_CHAIN) >= 10) && (getQuestItemsCount(player, CHIEF_AMULET) >= 10) && (getQuestItemsCount(player, ENCHANTED_EYE_MEAT) >= 10) && (getQuestItemsCount(player, TAMRIN_ORC_RING) >= 10))
						{
							st.setCond(3, true);
						}
						else
						{
							playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
						}
					}
					break;
				}
			}
		}
		else if (st.isCond(4))
		{
			switch (npc.getId())
			{
				case EXCURO:
				{
					if (getQuestItemsCount(player, EXCURO_SKIN) < 3)
					{
						giveItems(player, EXCURO_SKIN, 1);
						if ((getQuestItemsCount(player, EXCURO_SKIN) >= 3) && (getQuestItemsCount(player, KRATOR_SHARD) >= 3) && (getQuestItemsCount(player, LAKIN_MACE) >= 3) && (getQuestItemsCount(player, GRANDIS_SKIN) >= 3) && (getQuestItemsCount(player, TIMAK_ORC_BELT) >= 3))
						{
							st.setCond(5, true);
						}
						else
						{
							playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
						}
					}
					break;
				}
				case KRATOR:
				{
					if (getQuestItemsCount(player, KRATOR_SHARD) < 3)
					{
						giveItems(player, KRATOR_SHARD, 1);
						if ((getQuestItemsCount(player, KRATOR_SHARD) >= 3) && (getQuestItemsCount(player, EXCURO_SKIN) >= 3) && (getQuestItemsCount(player, LAKIN_MACE) >= 3) && (getQuestItemsCount(player, GRANDIS_SKIN) >= 3) && (getQuestItemsCount(player, TIMAK_ORC_BELT) >= 3))
						{
							st.setCond(5, true);
						}
						else
						{
							playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
						}
					}
					break;
				}
				case LAKIN:
				{
					if (getQuestItemsCount(player, LAKIN_MACE) < 3)
					{
						giveItems(player, LAKIN_MACE, 1);
						if ((getQuestItemsCount(player, LAKIN_MACE) >= 3) && (getQuestItemsCount(player, EXCURO_SKIN) >= 3) && (getQuestItemsCount(player, KRATOR_SHARD) >= 3) && (getQuestItemsCount(player, GRANDIS_SKIN) >= 3) && (getQuestItemsCount(player, TIMAK_ORC_BELT) >= 3))
						{
							st.setCond(5, true);
						}
						else
						{
							playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
						}
					}
					break;
				}
				case GRANDIS:
				{
					if (getQuestItemsCount(player, GRANDIS_SKIN) < 3)
					{
						giveItems(player, GRANDIS_SKIN, 1);
						if ((getQuestItemsCount(player, GRANDIS_SKIN) >= 3) && (getQuestItemsCount(player, EXCURO_SKIN) >= 3) && (getQuestItemsCount(player, KRATOR_SHARD) >= 3) && (getQuestItemsCount(player, LAKIN_MACE) >= 3) && (getQuestItemsCount(player, TIMAK_ORC_BELT) >= 3))
						{
							st.setCond(5, true);
						}
						else
						{
							playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
						}
					}
					break;
				}
				case TIMAK_ORC_OVERLORD:
				{
					if (getQuestItemsCount(player, TIMAK_ORC_BELT) < 3)
					{
						giveItems(player, TIMAK_ORC_BELT, 1);
						if ((getQuestItemsCount(player, TIMAK_ORC_BELT) >= 3) && (getQuestItemsCount(player, EXCURO_SKIN) >= 3) && (getQuestItemsCount(player, KRATOR_SHARD) >= 3) && (getQuestItemsCount(player, LAKIN_MACE) >= 3) && (getQuestItemsCount(player, GRANDIS_SKIN) >= 3))
						{
							st.setCond(5, true);
						}
						else
						{
							playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
						}
					}
					break;
				}
			}
		}
	}
}