Test of the Lord
- ID
- 232
- Название
- Test of the Lord
- start_npcs_json
- [30565]
- npc_ids_json
- [30510,30515,30558,30564,30565,30566,30567,30568,30641,30642,30643,30649]
- constants_json
- {"SOMAK":30510,"MANAKIA":30515,"JAKAL":30558,"SUMARI":30564,"KAKAI":30565,"VARKEES":30566,"TANTUS":30567,"HATOS":30568,"TAKUNA":30641,"CHIANTA":30642,"FIRST_ORC":30643,"ANCESTOR_MARTANKUS":30649,"ORDEAL_NECKLACE":3391,"VARKEES_CHARM":3392,"TANTUS_CHARM":3393,"HATOS_CHARM":3394,"TAKUNA_CHARM":3395,"CHIANTA_CHARM":3396,"MANAKIAS_ORDERS":3397,"BREKA_ORC_FANG":3398,"MANAKIAS_AMULET":3399,"HUGE_ORC_FANG":3400,"SUMARIS_LETTER":3401,"URUTU_BLADE":3402,"TIMAK_ORC_SKULL":3403,"SWORD_INTO_SKULL":3404,"NERUGA_AXE_BLADE":3405,"AXE_OF_CEREMONY":3406,"MARSH_SPIDER_FEELER":3407,"MARSH_SPIDER_FEET":3408,"HANDIWORK_SPIDER_BROOCH":3409,"MONSTEREYE_CORNEA":3410,"MONSTEREYE_WOODCARVING":3411,"BEAR_FANG_NECKLACE":3412,"MARTANKUS_CHARM":3413,"RAGNA_ORC_HEAD":3414,"RAGNA_CHIEF_NOTICE":3415,"BONE_ARROW":1341,"IMMORTAL_FLAME":3416,"MARK_LORD":3390,"DIMENSIONAL_DIAMOND":7562}
- Статус разбора
- metadata_only; dynamic Java conditions/rewards retained in source; unresolved starts: []
- Источник
- game/data/scripts/quests/Q00232_TestOfTheLord/Q00232_TestOfTheLord.java
NPC квеста
| ID | Название | Старт квеста | Уровень |
|---|---|---|---|
| 30510 | Somak | Нет | 70 |
| 30515 | Manakia | Нет | 70 |
| 30558 | Jakal | Нет | 70 |
| 30564 | Sumari | Нет | 70 |
| 30565 | Kakai | Да | 70 |
| 30566 | Varkees | Нет | 70 |
| 30567 | Tantus | Нет | 70 |
| 30568 | Hatos | Нет | 70 |
| 30641 | Takuna | Нет | 70 |
| 30642 | Chianta | Нет | 70 |
| 30643 | First Orc | Нет | 70 |
| 30649 | Ancestor Martankus | Нет | 70 |
Условия уровней: выражения из Java
else if (player.getLevel() < 39)
Выдача предметов, адены и опыта: выражения из Java
giveItems(player, ORDEAL_NECKLACE, 1); giveItems(player, DIMENSIONAL_DIAMOND, DF_REWARD_39.get(player.getPlayerClass().getId())); giveItems(player, BEAR_FANG_NECKLACE, 1); giveItems(player, VARKEES_CHARM, 1); giveItems(player, TANTUS_CHARM, 1); giveItems(player, NERUGA_AXE_BLADE, 1); giveItems(player, HATOS_CHARM, 1); giveItems(player, TAKUNA_CHARM, 1); giveItems(player, CHIANTA_CHARM, 1); giveItems(player, MARTANKUS_CHARM, 1); giveItems(player, HUGE_ORC_FANG, 1); giveItems(player, MANAKIAS_AMULET, 1); giveItems(player, MANAKIAS_ORDERS, 1); giveItems(player, AXE_OF_CEREMONY, 1); giveItems(player, SWORD_INTO_SKULL, 1); giveItems(player, SUMARIS_LETTER, 1); giveItems(player, URUTU_BLADE, 1); giveItems(player, HANDIWORK_SPIDER_BROOCH, 1); giveItems(player, MONSTEREYE_WOODCARVING, 1); giveItems(player, MARK_LORD, 1); addExpAndSp(player, 92955, 16250); giveItems(player, IMMORTAL_FLAME, 1); giveItems(player, MONSTEREYE_CORNEA, 1); giveItems(player, TIMAK_ORC_SKULL, 1); giveItems(player, TIMAK_ORC_SKULL, 1); giveItems(player, TIMAK_ORC_SKULL, 1); giveItems(player, MARSH_SPIDER_FEET, 1); giveItems(player, MARSH_SPIDER_FEELER, 1); giveItems(player, BREKA_ORC_FANG, 1); giveItems(player, BREKA_ORC_FANG, 1); giveItems(player, RAGNA_CHIEF_NOTICE, 1); giveItems(player, RAGNA_ORC_HEAD, 1);
Квесты содержат динамические условия Java. Выражения выдачи включают промежуточные предметы, варианты и случайные награды; это не гарантированная награда. Константы приведены выше. Полные условия — в исходнике.
Тексты квеста
[30510-01.htm] Seer Somak: What did you come here for? Sumari's Letter? Did you come to get the Urutu Blade?! We finished the ceremony of the blessings of our ancestors two days ago. Here! Take this back with you. Chief Hatos will be most pleased!
[30510-02.htm] Seer Somak: I hope that you are taking good care of the Urutu Blade which contains the power of flames. Give the holy treasure to the Urutu Chief, Hatos!
[30510-03.htm] Seer Somak: Did you get the totem from the Urutu tribal leader? That dreaded symbol which makes betrayers shiver and enemies' blood run cold! To receive that symbol is a sign of great respect by the tribal leader! You must show the utmost dignity while carrying the Urutu totem!
[30515-01.htm] Seer Manakia: Did you come to see me, Seer Manakia, under the command of Atuba Chief Varkees? I can tell from your necklace that you are taking the Test of the Lord! Then I shall tell you what to do now! As you know in this land there are plenty of traitor Orcs, who have forgotten their origin and pride as an Orc! You must punish them severely by extracting their fangs and bringing them back to me! Our totem, the upright fang is made by collecting the fangs of the armies we've conquered! Your task is to rid the land of the Breka Orcs, and bring their fangs as proof of your victory! But don't forget, a soldier's tooth is no good! Bring only the ones of the Shaman or Overlord! Return when you have collected twenty of them!
[30515-02.htm] Seer Manakia: Did you forget your task already? Go now and get rid of the Breka Orcs in the area and bring twenty of their fangs! Soldier's teeth are worthless! Only bring the ones from the Shamans or Overlords! You remember don't you? The totem of the cold-hearted Atubas is made from the fangs of our enemies!
[30515-03.htm] Seer Manakia: Tejakar Oroka! You brought the twenty fangs! You have warned those vagrant Breka Orcs with the wrath of our tribe. For your honorable contribution, I shall give you this amulet as a prize. Take it to Atuba Chief Varkees at the Orc Village!
[30515-04.htm] Seer Manakia: You have successfully completed your task with the filthy Breka Orcs and brought back their fangs! Now take the amulet I gave you to Atuba Chief Varkees!
[30515-05.htm] Seer Manakia: Someday I shall return to the Immortal Plateau to take the Test of the Lord! But I have unfinished business in this land!
[30558-01.htm] Trader Jakal: Ah, you mean the Neruga Axe Blade? Yes, 1,000 adena. No need to be surprised. You didn't think that I would give it to you for free, did you? No way! I am a merchant. It's a reasonable price for such precious symbol of the Neruga tribe spirit. If you don't agree, then leave! Pay the money.
[30558-02.htm] Trader Jakal: Very well! 1,000 adena, exactly! Then here is the axe blade. This is one part of the axe which the Nerugas use in their ceremony. Handle it with care!
[30558-03.htm] Trader Jakal: Ah, you mean the Neruga Axe Blade? Yes, 1,000 adena. No need to be surprised. You didn't think that I would give it to you for free, did you? No way! I am a merchant. It's a reasonable price for such a precious symbol of the Neruga tribe spirit. If you don't agree, then leave! Pay.
[30558-03a.htm] Trader Jakal: This is not enough money! Who do you think I am? If you ever try to buy something without enough money again, I will throw you out of the shop!
[30558-04.htm] Trader Jakal: The axe blade that I gave you is a part of the Neruga axe. It is a holy weapon which is used during a ceremony in the Pa'agrio Temple, so handle it with care!
[30558-05.htm] Trader Jakal: That is our tribe's holy axe! That means you are someone acknowledged by Tantus, our Neruga tribe leader! Tejakar Oroka! I wish you endless glory in your future!
[30564-01.htm] Blacksmith Sumari: I, Sumari, am a blacksmith of the proud Orcs. Did Urutu Chief Hatos send you here? To collect the Urutu Blade? The blade ordered by Hatos is very important! A holy object to use in the Urutu tribe's ritual! I had to send it to someone else to work on the blade because it was impossible for me to do. I gave it to Seer Somak so he could put the blessings of ancestors in the blade. You are in middle of the Trial of the Lord, right? It would be better for you to get the blade and give it Hatos personally. Take this letter and find Seer Somak in the Town of Dion.
[30564-02.htm] Blacksmith Sumari: Why have you come back? Did I not tell you? I gave the Uturu Blade to Seer Somak of the Town of Dion! He will give you the blade when you show him the letter! So hurry and leave!
[30564-03.htm] Blacksmith Sumari: The Urutu Blade that has the blessings of ancestors! You received it from Seer Somak! Now take this to Chief Hatos!
[30564-04.htm] Blacksmith Sumari: Oh, this is amazing! The Totem of the Urutu tribe, an Orc's skull with a blade! Raise this horrifying form on the battlefield and your enemies will tremble and lose the will to fight! For the chief to have given you this means that he has set a high value on your skills! You should be very honored!
[30565-01.htm] Flame Lord Kakai: I, Kakai, Lord of the Flame, have no business with foreigners! (This quest may only be performed by Orc Shamans.)
[30565-02.htm] Flame Lord Kakai: You, warrior of our race... I shall tell you of the Overlord, the high level Shaman of our race, so listen carefully! They are those born with the fate of ruling over others! Should they become lords that lead a clan, the members of that clan shall all display remarkable power! Traditionally, we Orcs have chosen the chief of a tribe from among the Overlords. In order to become an Overlord, a Shaman must pass the severe Trial of the Lord. I endured this trial as a youngster in order to become the Overlord of the Hestui! The lord or chief that you will be serving in the future will also have passed this trial, so treat them with the reverence and honor that they deserve! (This quest may only be performed by Orc Shamans.)
[30565-03.htm] Flame Lord Kakai: You, warrior of our race... I shall tell you of the Overlord, the high level Shaman of our race, so listen carefully! They are those born with the fate of ruling over others! Should they become lords that lead a clan, the members of that clan shall all display remarkable power! Traditionally, we Orcs have chosen the chief of a tribe from among the Overlords. In order to become an Overlord, a Shaman must pass the severe Trial of the Lord. I endured this trial as a youngster in order to become the Overlord of the Hestui! If you wish to become an Overlord, you must also pass the Trial of the Lord! But I, Flame Lord Kakai, declare, you are not ready! (This quest may only be performed by a character of level 39 and above.)
[30565-04.htm] Flame Lord Kakai: You, warrior of our race... I shall tell you of the Overlord, the high level Shaman of our race, so listen carefully! They are those born with the fate of ruling over others! Should they become lords that lead a clan, the members of that clan shall all display remarkable power! Traditionally, we Orcs have chosen the chief of a tribe from among the Overlords. In order to become an Overlord, a Shaman must pass the severe Trial of the Lord. I endured this trial as a youngster in order to become the Overlord of the Hestui! If you also desire to become an Overlord, you must attempt the Trial of the Lord! To pass the trial, you must first meet with the chiefs of the six tribes and receive their acknowledgement that you are worthy of becoming a lord! Young Shaman, do you wish to attempt the trial? Say you will attempt the Trial of the Lord.
[30565-05.htm] Flame Lord Kakai: I, Hestui tribe Chief Kakai, will oversee your trial. First, take this necklace! And now, with the exception of the Hestui tribe, go to the other five tribal chiefs and receive their acknowledgement that you are worthy of becoming a lord! As a mark of their acknowledgement, bring back the totems of each tribe! Bring back the totems of all five tribes and I, Hestui tribal chief Kakai, will personally test you to see if you are worthy of becoming a lord! Tejakar Oroka! Ask about the five tribal chiefs.
[30565-05a.htm] Flame Lord Kakai: Have you been around to visit the Orc chiefs of the six great tribes yet? Listen carefully! The greatest of the tribes is Hestui, the tribe that I, Kakai, lead! You must seek out the chiefs of the Atuba, Neruga, Urutu, Duda-Mara, and Gandi tribes! The chiefs of the Atuba, Neruga, and Urutu tribe currently reside here, in the King's Hall! Look for the Duda-Mara Chief in the town of Oren, and the Gandi Chief at the Town of Dion! The chiefs will test you to determine if you really are worthy of becoming a lord. Pass their test and receive the totem of their tribe as an acknowledgement of your skills!
[30565-05b.htm] Flame Lord Kakai: I, Hestui leader Kakai, will oversee your test. Take this necklace and visit the other 5 tribe leaders and be acknowledged as a lord. As a proof of their acknowledgement, bring back the totem of each tribe! If you bring back all 5 tribes' totems, I will personally test you to see if you are really qualified to be a lord! And take this Dimension Diamond. You can trade it to the village gatekeeper for something special that may help you on your journey. Ask about the leaders of the 5 tribes.
[30565-06.htm] Flame Lord Kakai: Visit the remaining five tribe chiefs, and receive their acknowledgement of your capacity to become a lord! As a mark of their acknowledgement, bring back the totems of each tribe! Bring back all five tribal totems and I, Hestui tribal Chief Kakai, will personally test you to see if you are worthy of becoming a lord! Ask about the five tribal chiefs.
[30565-07.htm] Flame Lord Kakai: What have we here? A giant Orc fang! A sword embedded in an Orc's skull! The ritual axe! Engraved spider brooch! Monster eye carving! I see that you have received acknowledgement from the Chiefs of the 5 tribes! Good! You are now eligible to take the final test! I, Kakai, Chief of the Hestui tribe and Lord of the great Orc race, shall test you to see if you truly have the skills to become an Overlord! Young Shaman, are you ready? Say you are ready.
[30565-08.htm] Flame Lord Kakai: Good! Now listen to what I say! Do you remember the Cave of Trials, where you went to further your training as an apprentice? Ancestor Martankus lives in that cave. He is a great ancestral spirit that has been watching over our race for thousands of years. I shall give you the Bear Fang Necklace, the symbol of the Hestui tribe. Take this and go to the ancestral spirit! Pass the ultimate test that he gives you and receive acknowledgement as an Overlord! You shall learn the splendid history and honorable traditions of our Orc race. Hurry up and get to work!
[30565-09.htm] Flame Lord Kakai: What, have you not left yet?! Visit Ancestor Martankus in the Cave of Trials! Hurry! The one who hesitates forfeits the right to become an Overlord!
[30565-10.htm] Flame Lord Kakai: Since the days of old, the ancestral spirits have tested all of the tribal Chiefs and Lords before bestowing authority upon them. The time for your test has come! Complete the task that the ancestral spirit Marutankus has for you in order to prove your potential of becoming a Lord!
[30565-11.htm] Flame Lord Kakai: Immortal Flame! The fire bestowed upon us at the beginning of the world by Pa'agrio! The spark that lights our temple and town, day and night! Each year, the Shaman that attempts the Trial of the Lord receives this from the ancestral spirits and comes back to create a new blaze on the Torches of the temple and town! Now you have earned the right to receive the mark of the lord! I am proud of you, descendant of the courageous Orc race! May you accept the will of the ancestors to become a great ruler that leads the mighty Orc race to an honorable future! The trial has passed! Take the mark of the lord! Tejakar Oroka!
[30566-01.htm] Atuba Chief Varkees: Dekara Lamchar Kakai! All praise the great Kakai, Lord of the Flame of Pa'agrio! I see by the necklace you wear that you seek the Lord's judgment! Excellent! I, Varkees, chief of the Atuba, will gladly share my knowledge with you. Tribes require symbols to rally around. Each tribe has its own unique symbol, called a totem. Once you understand the power that the totem bestows on our Atuba fighters, your skills will identify you as their lord. Ask about the Atuba totem.
[30566-02.htm] Atuba Chief Varkees: Ah, you didn't know about the Atuba tribe's totem? You've never heard of the Pointed Fang?! Made from the fang of an enemy Orc, it is a powerful item. Go to the southern part of our lands and there slay the lowly Orcs who have forfeited their honor and acquire their fangs! Ah, but first go to Seer Manakia in the Town of Giran and show him this amulet. He will tell you more about the Orcs you must face.
[30566-03.htm] Atuba Chief Varkees: Seek out Seer Manakia in the Town of Giran! Obey his orders to acquire the fangs of those dishonorable Orcs who lurk near the town.
[30566-04.htm] Atuba Chief Varkees: Welcome back, young Shaman! I have already heard how you slew those dishonorable Orcs near Giran. I hope the experience of killing your fellow Orcs has shown you how ruthless we Atuba can be. Truly, you have earned the Pointed Fang Totem. I, Varkees of the Atuba, salute your skill and fighting spirit!
[30566-05.htm] Atuba Chief Varkees: Greetings, you who enforce the judgment of the Lord! You have already been acknowledged by me, so go and present our tribe's totem to the Flame Lord.
[30567-01.htm] Neruga Chief Tantus: Tejakar Pa'agrio! Praise the Lord of the Flame! I see by the necklace you are wearing that you are a Sorcerer undergoing the Test of the Lord! I, Tantus, undefeated Chief of the Neruga tribe shall teach you... The bond that ties all tribes and kinships together is not blood but the singular consciousness of our entire race! This common mind is symbolized by the totem of each tribe. Once you have an understanding of the totem of the Warriors of Neruga, I will acknowledge you as a Monarch! Now you must find the materials that compose the Neruga tribal totem! Ask about the Neruga tribe's totem.
[30567-02.htm] Neruga Chief Tantus: Are you sure you know nothing about the Neruga tribe's totem? The totem of the undefeated Nerugas, the people who take pride in our long history, is the 'axe and arrow!' This symbol contains the spirit of the Nerugas who never back off, until we have defeated our enemy! The materials that are needed for making the totem are the Negura axe blade used in rituals, and one thousand Bone Arrows! Procure all of these and bring them to me! You can get the axe blade from Trader Jakal.
[30567-03.htm] Neruga Chief Tantus: Didn't you hear me?! Bring me the Negura axe blade and one thousand Bone Arrows! Didn't I tell you? Ask Trader Jakal about the axe blade!
[30567-04.htm] Neruga Chief Tantus: Young one, you have found the materials needed for making the totem of Neruga. I bet you have learned much about the spirit of the Neruga tribe! Now I, Tantus, the chief of the Neruga tribe shall give you the 'Axe of Ceremony.' It is proof that the Neruga Chief has acknowledged your abilities! If you bring this to the Flame Lord Kakai, he will also approve your abilities!
[30567-05.htm] Neruga Chief Tantus: Didn't you already receive the 'Axe of Ceremony'? Upon receiving the totem, it means that you have been acknowledged by the Neruga Chief! So, go now and show the Axe of Ceremony to the Flame Lord!
[30568-01.htm] Urutu Chief Hatos: Young Shaman of the tribe, you shall remember! At one time we ruled the world and brought others to their knees before our awesome power... You must never forget! Our cities burned and our people killed by our enemies... You must remember! You who will take the Test of the Lord! If you wish to be recognized as possessing the qualifications of the Lord, you must know the true meaning of the totem which we, the Urutu tribe, serve. Ask about the Urutu totem.
[30568-02.htm] Urutu Chief Hatos: You really don't know anything about the totem of our Urutu tribe?! The totem of our tribe is a skull with two swords! We use the head of the betrayer Orcs to make this totem! Our totem is a solemn warning for the betrayers who stained our tribe's honor! It is also a sign of strong will that we shall never stop until we have punished every single betrayer! If you wish to understand the meanings of the Urutu totem, you must bring the 2 materials needed to make it. They are the Blade of Urutu and betrayer Orc's Skull! Ask the Blacksmith Sumari about the blade! However the Skull of the Betrayer, you must find it yourself! Recently, in the area called Timak Outpost in the southwestern part of the Town of Oren, Orcs of the Timak tribe have been gathering. They are different from the other Orcs. They are very strong. But they are no exception to the fact that we will punish all those betrayers! You'll have to kill the Timak Orcs and gather 10 skulls from them. I suppose it will be too hard for you to do such thing all alone, so I'll let you use some help from your friends. But remember! You must chop off the betrayer's head with your own hands! Is it clear now?! What you should do?! Find the Blade of Urutu! And gather 10 Skulls of the Timak Orcs!
[30568-03.htm] Urutu Chief Hatos: Did you forget already about your duties?! You must find the materials needed for making the Urutu's totem! The materials are the blade of the Urutu sword, and 10 skulls of Timak Orcs, the betrayers! About the blade, you should ask the Blacksmith Sumari! Tejakar Oroka!
[30568-04.htm] Urutu Chief Hatos: Tejakar Urutu! Ten skulls of Timak Orcs, and the blade of the Urutu sword! You have brought everything that I asked for. Yes, I believe that you learned the true meaning that the skull and swords has to us when you were carrying out this test! Don't forget what you have learned! There will come a day when you shall become the leader of many soldiers and realize how important such symbols as totems are! I, Hatos of the Urutu understood well of your abilities! I feel that you are qualified enough for receiving the Mark of the Monarch! You shall have our totem. When you return with this, the Flame Lord will acknowledge you just as I did!
[30568-05.htm] Urutu Chief Hatos: The totem that you are holding in your hands is the holiest object of the Urutu tribe. It also serves as a warning for betrayers and a symbol of our resolve, stronger than death! And above all, it serves notice that I, Hatos, Chief of the Urutu tribe have acknowledged you! Do not forget the meaning of the skull with a sword stuck in it!
[30641-01.htm] Dudamara Chief Takuna: Tejakar Oroka! I am Takuna, chieftain of the Dudamara tribe! I will punish betrayers by order of the Lord of Flame. I see by your necklace that you must be a Shaman on the Examination of the Lord! Since ancient times our tribe has been known as an 'intelligent' tribe because we have produced more Shamans and clever men than any other tribe. If you want to join our tribe as a Lord, you must understand the power of our symbol, the spider totem! Ask about the totem of Dudamara tribe.
[30641-02.htm] Duda-Mara Chief Takuna: Don't you know anything about the Duda-Mara tribe's totem? Our totem is the giant spider! Spinning a web and staying completely still with icy patience until the enemy falls into the trap. And once they do, we finish them off with stealth as only a predator can! This is the way our tribe fights! If you want to understand the meaning of our totem, gather the materials to make the totem! You'll need feelers and legs of spiders, but not just any spider! They must be strong and fierce spiders! I heard there are marsh spiders in the Cruma Marshlands. Collect 10 feelers and legs of those spiders and bring them to me!
[30641-03.htm] Duda-Mara Chief Takuna: Why are you back? 10 feelers and legs are required to create the Duda-Mara totem! Giant marsh spiders lurk in the Cruma Marshlands within the lands of Dion. Hunt the spiders and get the materials you need!
[30641-04.htm] Duda-Mara Chief Takuna: Tejakar Oroka! You've done a fine job! Spinning a web with intelligence, patience, and boldness reveals your warrior spirit of the spider! I shall give you this 'crafted spider brooch' as a symbol of your intelligence, akin to the spider's. Take it to Flame Lord Kakai and you will be admitted!
[30641-05.htm] Duda-Mara Chief Takuna: The brooch that I gave you is a symbol of your intelligence akin to the spider's. If you want to complete the Trial of the Lord, go see Flame Lord Kakai and boastfully show him the totem of Duda-Mara right away.
[30642-01.htm] Gandi Chief Chianta: Behold the cry of the wind and the trembling of the earth! Feel the fire of combat surging in your veins! The time of chaos draws nigh, and with it endless war, confusion, massacre, and battle! I, Gandi Chief Chianta, decree that in order to survive you must grow stronger! Only the strongest shall inherit the new age! Ah, another young Shaman taking the Test of the Lord? The powers of the sword and magic alone are not enough to earn the authority of the flame! You must also comprehend the source of all power and honor, the sacRed Totem of our Gandi tribe! Ask about the Gandi tribe totem.
[30642-02.htm] Gandi Chief Chianta: Do you truly not know anything about the Gandi tribe totem? Our tribal totem is a line that connects two circles! The two circles represent life and death and are interconnected, forming a larger circle! The warriors of the Gandi tribe, who fight to the death in order to feel more alive, know well the meaning of the circles! The line connecting the circles is represented by a monster eye and you'll understand why once you've seen a monster eye. Young Shaman, you will need the cornea of a monster eye in order to create the Gandi totem! They say that a peculiar breed of monster eye roams near the Ivory Tower of Oren. Apparently these monster eyes have been strengthened by some strange spell cast by a Mystic in the Ivory Tower. Hunt those monster eyes and bring me twenty cornea!
[30642-03.htm] Gandi Chief Chianta: You've come back already? If you wish to understand the meaning of the Gandi totem, and to receive my acknowledgement, you must bring me twenty cornea from the monster eye! The specific breed of monster eye that you should hunt is said to wander the grounds close to the Ivory Tower of Oren.
[30642-04.htm] Gandi Chief Chianta: You have brought back all of the monster eye cornea! Well done, young Shaman! I trust you understand now the significance of the line that connects the two circles. Now I, Gandi Chief Chianta, will give you a monster eye wood carving, the symbol of our tribe. This totem signifies that you have received the acknowledgement of the Gandi tribe Chief. Take this to Flame Lord Kakai!
[30642-05.htm] Gandi Chief Chianta: Young Shaman, contemplate the meaning of the line that connects the 2 circles. It symbolizes the neverending cycle of life and death, and is a definitive symbol for Orc Warriors. We feel most alive on the battlefield with death alongside us. You must not forget this no matter where your path takes you.
[30643-01.htm] First Orc: I am the first and the last Orc, the sole receiver of Pa'agrio's energy, the Hierarch of all Orcs! Though my physical form is gone and my soul hangs on by a thread, I linger to look after my proud Orc descendants! In the beginning, Pa'agrio created me from the essence of fire. My body was forged in the eternal flame, and my power would destroy mountains! My powers rivaled the gods'! When Pa'agrio ordered me to earth, I was set upon and killed by the jealous gods. "Why did they kill you?"
[30643-02.htm] First Orc: They were obviously jealous of the fact that that I, the First Orc, was much stronger than their puny creations. When Pa'agrio ordered me here, they schemed to use the abundant water of this earth to extinguish my inner fire, to harden the lava that flows in my veins. With my last dying breath I gave birth to the fathers of the 7 tribes, in whom I imbued my powers of honor and flame. They also received my secrets of strength through endless training. This same character is within you. Never ignore the spiritual flame that burns within... Ask about the 7 tribes
[30643-03.htm] First Orc: The 7 tribes are Hestui, Ragna, Atuba, Neruga, Urutu, Duda-Mara, and Gandi! The Ragna tribe betrayed our race and turned away from my teachings! Their impertinence still galls me. My soul cannot rest! I heard of your punishment of the Ragna tribe betrayers on my behalf! You have partially assuaged my rage, and now you shall have your reward! May you become a great leader! Tejakar Oroka!
[30649-01.htm] Ancestor Martankus: I am Martankus from Hestui tribe! I have been dead for a thousand years and though my body has gone, my spirit remains to watch over my descendents. Tell me, Shaman of Flame, why do you seek me? "I have come to take the Test of the Lord!"
[30649-02.htm] Ancestor Martankus: I can tell by the grizzly tooth necklace that you wear that Kakai has sent you. So, you wish to take the Test of the Lord! You must learn of your ancestors' history first! Now, listen closely to what I say! A long time ago, Pa'agrio the Lord of Flame created the First Orc. The First Orc was made of flame and hot lava, and came to this land to control the chaos. He came first to this place where you stand, known now as the Cave of Trials. Ask about the First Orc.
[30649-03.htm] Ancestor Martankus: The First Orc, born of Pa'agrio's flame, was a very powerful being. The gods of wind, earth and water were jealous of his power and sought to kill him. Eventually they were successful, but not before the mighty Orc created, with his last dying breath, the originators of the 7 tribes. I was among them, the originator of the Hestui tribe ... We originators of the 7 tribes followed the teachings of the first Orc and worked hard to make our tribes prosperous. After 108 Orc tribes had taken root in this land we knew that our purpose was accomplished. We came to this cave, destroyed our exhausted bodies and left only our souls to watch over our descendants and test young Shamans who want to be the Lord of the Orcs. Ask about the Test of the Lord.
[30649-04.htm] Ancestor Martankus: Becoming a Lord of Orcs requires a suitable test. Your test is to calm the soul of the first Orc, who died unfairly by killing the betrayer of the seven tribes! You should know, there were actually seven preceding tribes before our own. However, after the original seven went into eternal sleep, one tribe betrayed our race and all became chaos. Because of the betrayal, we have forgotten the teachings of the first Orc and wasted thousands of years fighting each other. The tribe who betrayed the seven tribes is the Ragna! You must find Ragna Orcs and punish them! That is the only way to appease the furious spirit of the first Orc. In this very moment, the Ragna Orcs have come into our tribe's land! How dare those dirty betrayers come onto the Immortal Plateau! This grievous, indignant matter cannot be left unpunished! Destroy every Ragna Orc in sight! As proof of your merciless punishment, bring one of their heads! We shall not forgive the ones who tainted our great history!
[30649-05.htm] Ancestor Martankus: Punish that dirty betrayer's tribe, the Ragna Orcs! Only that will quiet the first Orc's anger after all these long years! This is what you must do! At this very moment, they are invading our territory. This grievous, indignant matter cannot be left unpunished! Find and destroy the Ragna Tribe, who dirty the Immortal Plateau with their presence! For proof of your merciless punishment, bring back one of their heads!
[30649-06.htm] Ancestor Martankus: What is this? It is a notice from the betrayer, the Ragna Chief! They say they will make a Chief of the one who kills the Flame Lord! This is an outrage! Betrayer's blood is even in their bones! You, brave Shaman, you have punished betrayer's tribe as I asked you. Proud of you! I acknowledge your service and hereby give you the Immortal Flame. Give this to Kakai! Oh! First Orc! He will personally congratulate your bravery! Although it is but a window to his soul, you will be able to speak with him for a while by using my power. What do you think? Would you like to meet the first Orc? "I would like to meet the great first Orc!"
[30649-07.htm] Ancestor Martankus: I shall use my powers to conjure the spirit of the First Orc. Behold his power and learn! I know you will make your ancestors proud!!
[30649-08.htm] Ancestor Martankus: You have passed the test of the Lord. Now take this Immortal Flame to my descendant, your Lord, Kakai.
Исходник условий и наград (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.Q00232_TestOfTheLord;
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.entity.actor.enums.player.PlayerClass;
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 Q00232_TestOfTheLord extends Quest
{
// NPCs
private static final int SOMAK = 30510;
private static final int MANAKIA = 30515;
private static final int JAKAL = 30558;
private static final int SUMARI = 30564;
private static final int KAKAI = 30565;
private static final int VARKEES = 30566;
private static final int TANTUS = 30567;
private static final int HATOS = 30568;
private static final int TAKUNA = 30641;
private static final int CHIANTA = 30642;
private static final int FIRST_ORC = 30643;
private static final int ANCESTOR_MARTANKUS = 30649;
// Items
private static final int ORDEAL_NECKLACE = 3391;
private static final int VARKEES_CHARM = 3392;
private static final int TANTUS_CHARM = 3393;
private static final int HATOS_CHARM = 3394;
private static final int TAKUNA_CHARM = 3395;
private static final int CHIANTA_CHARM = 3396;
private static final int MANAKIAS_ORDERS = 3397;
private static final int BREKA_ORC_FANG = 3398;
private static final int MANAKIAS_AMULET = 3399;
private static final int HUGE_ORC_FANG = 3400;
private static final int SUMARIS_LETTER = 3401;
private static final int URUTU_BLADE = 3402;
private static final int TIMAK_ORC_SKULL = 3403;
private static final int SWORD_INTO_SKULL = 3404;
private static final int NERUGA_AXE_BLADE = 3405;
private static final int AXE_OF_CEREMONY = 3406;
private static final int MARSH_SPIDER_FEELER = 3407;
private static final int MARSH_SPIDER_FEET = 3408;
private static final int HANDIWORK_SPIDER_BROOCH = 3409;
private static final int MONSTEREYE_CORNEA = 3410;
private static final int MONSTEREYE_WOODCARVING = 3411;
private static final int BEAR_FANG_NECKLACE = 3412;
private static final int MARTANKUS_CHARM = 3413;
private static final int RAGNA_ORC_HEAD = 3414;
private static final int RAGNA_CHIEF_NOTICE = 3415;
private static final int BONE_ARROW = 1341;
private static final int IMMORTAL_FLAME = 3416;
// Rewards
private static final int MARK_LORD = 3390;
private static final int DIMENSIONAL_DIAMOND = 7562;
// Misc
private static Npc _firstOrc; // Used to avoid to spawn multiple instances.
public Q00232_TestOfTheLord()
{
super(232, "Test of the Lord");
registerQuestItems(VARKEES_CHARM, TANTUS_CHARM, HATOS_CHARM, TAKUNA_CHARM, CHIANTA_CHARM, MANAKIAS_ORDERS, BREKA_ORC_FANG, MANAKIAS_AMULET, HUGE_ORC_FANG, SUMARIS_LETTER, URUTU_BLADE, TIMAK_ORC_SKULL, SWORD_INTO_SKULL, NERUGA_AXE_BLADE, AXE_OF_CEREMONY, MARSH_SPIDER_FEELER, MARSH_SPIDER_FEET, HANDIWORK_SPIDER_BROOCH, MONSTEREYE_CORNEA, MONSTEREYE_WOODCARVING, BEAR_FANG_NECKLACE, MARTANKUS_CHARM, RAGNA_ORC_HEAD, RAGNA_ORC_HEAD, IMMORTAL_FLAME);
addStartNpc(KAKAI);
addTalkId(KAKAI, CHIANTA, HATOS, SOMAK, SUMARI, TAKUNA, TANTUS, JAKAL, VARKEES, MANAKIA, ANCESTOR_MARTANKUS, FIRST_ORC);
addKillId(20233, 20269, 20270, 20564, 20583, 20584, 20585, 20586, 20587, 20588, 20778, 20779);
}
@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 "30565-05.htm":
{
st.startQuest();
giveItems(player, ORDEAL_NECKLACE, 1);
if (!player.getVariables().getBoolean("secondClassChange39", false))
{
htmltext = "30565-05b.htm";
giveItems(player, DIMENSIONAL_DIAMOND, DF_REWARD_39.get(player.getPlayerClass().getId()));
player.getVariables().set("secondClassChange39", true);
}
break;
}
case "30565-08.htm":
{
st.setCond(3, true);
takeItems(player, SWORD_INTO_SKULL, 1);
takeItems(player, AXE_OF_CEREMONY, 1);
takeItems(player, MONSTEREYE_WOODCARVING, 1);
takeItems(player, HANDIWORK_SPIDER_BROOCH, 1);
takeItems(player, ORDEAL_NECKLACE, 1);
takeItems(player, HUGE_ORC_FANG, 1);
giveItems(player, BEAR_FANG_NECKLACE, 1);
break;
}
case "30566-02.htm":
{
giveItems(player, VARKEES_CHARM, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
break;
}
case "30567-02.htm":
{
giveItems(player, TANTUS_CHARM, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
break;
}
case "30558-02.htm":
{
takeItems(player, 57, 1000);
giveItems(player, NERUGA_AXE_BLADE, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
break;
}
case "30568-02.htm":
{
giveItems(player, HATOS_CHARM, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
break;
}
case "30641-02.htm":
{
giveItems(player, TAKUNA_CHARM, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
break;
}
case "30642-02.htm":
{
giveItems(player, CHIANTA_CHARM, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
break;
}
case "30643-02.htm":
{
st.setCond(7, true);
startQuestTimer("f_orc_despawn", 10000, null, player, false);
break;
}
case "30649-04.htm":
{
st.setCond(4, true);
takeItems(player, BEAR_FANG_NECKLACE, 1);
giveItems(player, MARTANKUS_CHARM, 1);
break;
}
case "30649-07.htm":
{
if (_firstOrc == null)
{
_firstOrc = addSpawn(FIRST_ORC, 21036, -107690, -3038, 200000, false, 0);
}
break;
}
case "f_orc_despawn":
{
if (_firstOrc != null)
{
_firstOrc.deleteMe();
_firstOrc = null;
}
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:
{
if (player.getRace() != Race.ORC)
{
htmltext = "30565-01.htm";
}
else if (player.getPlayerClass() != PlayerClass.ORC_SHAMAN)
{
htmltext = "30565-02.htm";
}
else if (player.getLevel() < 39)
{
htmltext = "30565-03.htm";
}
else
{
htmltext = "30565-04.htm";
}
break;
}
case State.STARTED:
{
final int cond = st.getCond();
switch (npc.getId())
{
case VARKEES:
{
if (hasQuestItems(player, HUGE_ORC_FANG))
{
htmltext = "30566-05.htm";
}
else if (hasQuestItems(player, VARKEES_CHARM))
{
if (hasQuestItems(player, MANAKIAS_AMULET))
{
htmltext = "30566-04.htm";
takeItems(player, VARKEES_CHARM, -1);
takeItems(player, MANAKIAS_AMULET, -1);
giveItems(player, HUGE_ORC_FANG, 1);
if (hasQuestItems(player, SWORD_INTO_SKULL, AXE_OF_CEREMONY, MONSTEREYE_WOODCARVING, HANDIWORK_SPIDER_BROOCH, ORDEAL_NECKLACE))
{
st.setCond(2, true);
}
else
{
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
}
else
{
htmltext = "30566-03.htm";
}
}
else
{
htmltext = "30566-01.htm";
}
break;
}
case MANAKIA:
{
if (hasQuestItems(player, HUGE_ORC_FANG))
{
htmltext = "30515-05.htm";
}
else if (hasQuestItems(player, MANAKIAS_AMULET))
{
htmltext = "30515-04.htm";
}
else if (hasQuestItems(player, MANAKIAS_ORDERS))
{
if (getQuestItemsCount(player, BREKA_ORC_FANG) >= 20)
{
htmltext = "30515-03.htm";
takeItems(player, MANAKIAS_ORDERS, -1);
takeItems(player, BREKA_ORC_FANG, -1);
giveItems(player, MANAKIAS_AMULET, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
else
{
htmltext = "30515-02.htm";
}
}
else
{
htmltext = "30515-01.htm";
giveItems(player, MANAKIAS_ORDERS, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
break;
}
case TANTUS:
{
if (hasQuestItems(player, AXE_OF_CEREMONY))
{
htmltext = "30567-05.htm";
}
else if (hasQuestItems(player, TANTUS_CHARM))
{
if (getQuestItemsCount(player, BONE_ARROW) >= 1000)
{
htmltext = "30567-04.htm";
takeItems(player, BONE_ARROW, 1000);
takeItems(player, NERUGA_AXE_BLADE, 1);
takeItems(player, TANTUS_CHARM, 1);
giveItems(player, AXE_OF_CEREMONY, 1);
if (hasQuestItems(player, SWORD_INTO_SKULL, MONSTEREYE_WOODCARVING, HANDIWORK_SPIDER_BROOCH, ORDEAL_NECKLACE, HUGE_ORC_FANG))
{
st.setCond(2, true);
}
else
{
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
}
else
{
htmltext = "30567-03.htm";
}
}
else
{
htmltext = "30567-01.htm";
}
break;
}
case JAKAL:
{
if (hasQuestItems(player, AXE_OF_CEREMONY))
{
htmltext = "30558-05.htm";
}
else if (hasQuestItems(player, NERUGA_AXE_BLADE))
{
htmltext = "30558-04.htm";
}
else if (hasQuestItems(player, TANTUS_CHARM))
{
if (getQuestItemsCount(player, 57) >= 1000)
{
htmltext = "30558-01.htm";
}
else
{
htmltext = "30558-03.htm";
}
}
break;
}
case HATOS:
{
if (hasQuestItems(player, SWORD_INTO_SKULL))
{
htmltext = "30568-05.htm";
}
else if (hasQuestItems(player, HATOS_CHARM))
{
if (hasQuestItems(player, URUTU_BLADE) && (getQuestItemsCount(player, TIMAK_ORC_SKULL) >= 10))
{
htmltext = "30568-04.htm";
takeItems(player, HATOS_CHARM, 1);
takeItems(player, URUTU_BLADE, 1);
takeItems(player, TIMAK_ORC_SKULL, -1);
giveItems(player, SWORD_INTO_SKULL, 1);
if (hasQuestItems(player, AXE_OF_CEREMONY, MONSTEREYE_WOODCARVING, HANDIWORK_SPIDER_BROOCH, ORDEAL_NECKLACE, HUGE_ORC_FANG))
{
st.setCond(2, true);
}
else
{
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
}
else
{
htmltext = "30568-03.htm";
}
}
else
{
htmltext = "30568-01.htm";
}
break;
}
case SUMARI:
{
if (hasQuestItems(player, URUTU_BLADE))
{
htmltext = "30564-03.htm";
}
else if (hasQuestItems(player, SUMARIS_LETTER))
{
htmltext = "30564-02.htm";
}
else if (hasQuestItems(player, HATOS_CHARM))
{
htmltext = "30564-01.htm";
giveItems(player, SUMARIS_LETTER, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
break;
}
case SOMAK:
{
if (hasQuestItems(player, SWORD_INTO_SKULL))
{
htmltext = "30510-03.htm";
}
else if (hasQuestItems(player, URUTU_BLADE))
{
htmltext = "30510-02.htm";
}
else if (hasQuestItems(player, SUMARIS_LETTER))
{
htmltext = "30510-01.htm";
takeItems(player, SUMARIS_LETTER, 1);
giveItems(player, URUTU_BLADE, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
break;
}
case TAKUNA:
{
if (hasQuestItems(player, HANDIWORK_SPIDER_BROOCH))
{
htmltext = "30641-05.htm";
}
else if (hasQuestItems(player, TAKUNA_CHARM))
{
if ((getQuestItemsCount(player, MARSH_SPIDER_FEELER) >= 10) && (getQuestItemsCount(player, MARSH_SPIDER_FEET) >= 10))
{
htmltext = "30641-04.htm";
takeItems(player, MARSH_SPIDER_FEELER, -1);
takeItems(player, MARSH_SPIDER_FEET, -1);
takeItems(player, TAKUNA_CHARM, 1);
giveItems(player, HANDIWORK_SPIDER_BROOCH, 1);
if (hasQuestItems(player, SWORD_INTO_SKULL, AXE_OF_CEREMONY, MONSTEREYE_WOODCARVING, ORDEAL_NECKLACE, HUGE_ORC_FANG))
{
st.setCond(2, true);
}
else
{
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
}
else
{
htmltext = "30641-03.htm";
}
}
else
{
htmltext = "30641-01.htm";
}
break;
}
case CHIANTA:
{
if (hasQuestItems(player, MONSTEREYE_WOODCARVING))
{
htmltext = "30642-05.htm";
}
else if (hasQuestItems(player, CHIANTA_CHARM))
{
if (getQuestItemsCount(player, MONSTEREYE_CORNEA) >= 20)
{
htmltext = "30642-04.htm";
takeItems(player, MONSTEREYE_CORNEA, -1);
takeItems(player, CHIANTA_CHARM, 1);
giveItems(player, MONSTEREYE_WOODCARVING, 1);
if (hasQuestItems(player, SWORD_INTO_SKULL, AXE_OF_CEREMONY, HANDIWORK_SPIDER_BROOCH, ORDEAL_NECKLACE, HUGE_ORC_FANG))
{
st.setCond(2, true);
}
else
{
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
}
else
{
htmltext = "30642-03.htm";
}
}
else
{
htmltext = "30642-01.htm";
}
break;
}
case KAKAI:
{
if (cond == 1)
{
htmltext = "30565-06.htm";
}
else if (cond == 2)
{
htmltext = "30565-07.htm";
}
else if (cond == 3)
{
htmltext = "30565-09.htm";
}
else if ((cond > 3) && (cond < 7))
{
htmltext = "30565-10.htm";
}
else if (cond == 7)
{
htmltext = "30565-11.htm";
takeItems(player, IMMORTAL_FLAME, 1);
giveItems(player, MARK_LORD, 1);
addExpAndSp(player, 92955, 16250);
player.broadcastPacket(new SocialAction(player.getObjectId(), 3));
st.exitQuest(false, true);
}
break;
}
case ANCESTOR_MARTANKUS:
{
if (cond == 3)
{
htmltext = "30649-01.htm";
}
else if (cond == 4)
{
htmltext = "30649-05.htm";
}
else if (cond == 5)
{
htmltext = "30649-06.htm";
st.setCond(6, true);
takeItems(player, MARTANKUS_CHARM, 1);
takeItems(player, RAGNA_ORC_HEAD, 1);
takeItems(player, RAGNA_CHIEF_NOTICE, 1);
giveItems(player, IMMORTAL_FLAME, 1);
}
else if (cond == 6)
{
htmltext = "30649-07.htm";
}
else if (cond == 7)
{
htmltext = "30649-08.htm";
}
break;
}
case FIRST_ORC:
{
if (cond == 6)
{
htmltext = "30643-01.htm";
}
else if (cond == 7)
{
htmltext = "30643-03.htm";
}
break;
}
}
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;
}
switch (npc.getId())
{
case 20564:
{
if (hasQuestItems(player, CHIANTA_CHARM) && (getQuestItemsCount(player, MONSTEREYE_CORNEA) < 20))
{
giveItems(player, MONSTEREYE_CORNEA, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
break;
}
case 20583:
case 20584:
case 20585:
{
if (hasQuestItems(player, HATOS_CHARM) && (getRandom(100) < 71) && (getQuestItemsCount(player, TIMAK_ORC_SKULL) < 10))
{
giveItems(player, TIMAK_ORC_SKULL, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
break;
}
case 20586:
{
if (hasQuestItems(player, HATOS_CHARM) && (getRandom(100) < 81) && (getQuestItemsCount(player, TIMAK_ORC_SKULL) < 10))
{
giveItems(player, TIMAK_ORC_SKULL, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
break;
}
case 20587:
case 20588:
{
if (hasQuestItems(player, HATOS_CHARM) && (getQuestItemsCount(player, TIMAK_ORC_SKULL) < 10))
{
giveItems(player, TIMAK_ORC_SKULL, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
break;
}
case 20233:
{
if (hasQuestItems(player, TAKUNA_CHARM))
{
if (getQuestItemsCount(player, MARSH_SPIDER_FEELER) >= 10)
{
giveItems(player, MARSH_SPIDER_FEET, 1);
}
else
{
giveItems(player, MARSH_SPIDER_FEELER, 1);
}
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
break;
}
case 20269:
{
if (hasQuestItems(player, MANAKIAS_ORDERS) && (getRandom(100) < 41) && (getQuestItemsCount(player, BREKA_ORC_FANG) < 20))
{
giveItems(player, BREKA_ORC_FANG, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
break;
}
case 20270:
{
if (hasQuestItems(player, MANAKIAS_ORDERS) && (getRandom(100) < 51) && (getQuestItemsCount(player, BREKA_ORC_FANG) < 20))
{
giveItems(player, BREKA_ORC_FANG, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
break;
}
case 20778:
case 20779:
{
if (hasQuestItems(player, MARTANKUS_CHARM))
{
if (!hasQuestItems(player, RAGNA_CHIEF_NOTICE))
{
playSound(player, QuestSound.ITEMSOUND_QUEST_MIDDLE);
giveItems(player, RAGNA_CHIEF_NOTICE, 1);
}
else if (!hasQuestItems(player, RAGNA_ORC_HEAD))
{
st.setCond(5, true);
giveItems(player, RAGNA_ORC_HEAD, 1);
}
}
break;
}
}
}
}