Tutorial
- ID
- 255
- Название
- Tutorial
- start_npcs_json
- []
- npc_ids_json
- []
- constants_json
- {}
- Статус разбора
- metadata_only; dynamic Java conditions/rewards retained in source; unresolved starts: []
- Источник
- game/data/scripts/quests/Q00255_Tutorial/Q00255_Tutorial.java
NPC квеста
Записей нет.
Условия уровней: выражения из Java
if ((player.getLevel() < 6) && (qs.getInt("onlyone") == 0))
if ((event_id == 1) && (player.getLevel() < 6))
else if ((event_id == 2) && (player.getLevel() < 6))
else if ((event_id == 8) && (player.getLevel() < 6))
else if ((event_id == 30) && (player.getLevel() < 10) && (qs.getInt("Die") == 0))
else if ((event_id == 800000) && (player.getLevel() < 6) && (qs.getInt("sit") == 0))
switch (player.getLevel())
else if ((event_id == 45) && (player.getLevel() < 10) && (qs.getInt("HP") == 0))
else if ((event_id == 57) && (player.getLevel() < 6) && (qs.getInt("Adena") == 0))
else if ((event_id == 6353) && (player.getLevel() < 6) && (qs.getInt("Gemstone") == 0))
else if ((event_id == 1048576) && (player.getLevel() < 6))Выдача предметов, адены и опыта: выражения из Java
Явные выражения не найдены; проверьте исходник и диалоги.
Квесты содержат динамические условия Java. Выражения выдачи включают промежуточные предметы, варианты и случайные награды; это не гарантированная награда. Константы приведены выше. Полные условия — в исходнике.
Тексты квеста
[tutorial_02.htm] [Movement ] Move your mouse cursor to the spot to which you want to move and left-click. Then, you will be moved to that location. Exit the Tutorial
[tutorial_03.htm] [Changing Point-Of-View] Good work! Now, I will explain to you how you can change your point-of-view. Try moving your mouse while pressing down the right button. You can set your viewpoint in any direction. When you need to examine the area around your character, you can use this feature to change your viewpoint as needed. Exit the Tutorial
[tutorial_04.htm] Using the Mouse Wheel Good work. Now you will learn about enlarging and shrinking the screen using the mouse wheel. If you rotate the mouse wheel down, you enlarge the game screen. Rotate the wheel up to reduce the screen. The more you turn the wheel, the larger or smaller the screen becomes, but notice that there is a limit to how far you can go in either direction. Close Window
[tutorial_05.htm] [Initializing Point-Of-View] Good job! Now, I will explain how you can return to the default point-of-view (POV). Initializing POV means that you will change your POV to the same direction as the direction your character is facing. Right-clicking your mouse will initialize your POV. After looking around, if you would like to look straight ahead again, you can use this feature. Exit the Tutorial
[tutorial_06.htm] Wheel Click Good work. Now we will learn about clicking the mouse wheel. Try clicking the mouse wheel. By clicking the wheel, your viewpoint changes to a frontal view. If you're already looking straight forward, clicking the wheel will switch directions so you're looking straight back. The rearward view will help you in situations such as running away from a monster, or to determine how far you have traveled. Also, it will help you maintain a uniform distance from other characters. Close Window
[tutorial_09.htm] [Picking Up Items] When you defeat monsters, they drop their items on the ground. Move your cursor over to the dropped item, and the cursor will change its shape to a hand-shaped icon, indicating that the item may be picked up. Left-click on the item to pick it up. There is another way to pick up an item. Press the F4 key and you can automatically pick up nearby items. Currently, the fourth slot on the shortcut bar is registered with the pickup action and therefore, when you press the F4 key, that action is activated. Close Window
[tutorial_10.htm] Quest Items When you hunt monsters assigned as part of a quest, they will occasionally drop quest items. These items do not appear on the ground. They automatically appear in your Inventory, making a distinctive sound. You may check your quest items on the Quest tab of the Inventory window (Tab key or ALT+V). If you wish to view ongoing quests, quest items, and quest contents, just click on the Quest button on the bottom-right corner of the screen. (Shortcut Key: ALT+U Close Window
[tutorial_100.htm] Are you sure? Once you exit the tutorial regarding movement, you cannot return to these explanations. Explanation about movement Exit the Tutorial
[tutorial_101.htm] Do you really want to exit the tutorial on changing point-of-view? Once you exit, you will not be able to view this tutorial again. Continue with the tutorial. Exit the Tutorial
[tutorial_102.htm] Are you sure? If you end now you cannot return to these tips. About the Mouse Wheel End Tips
[tutorial_103.htm] Are you sure? If you exit the tutorial on initializing point-of-view, you won't be able to view it again. Continue with the Tutorial Exit the Tutorial
[tutorial_104.htm] Are you sure? If you end now you cannot return to these tips. About Mouse Wheel End Tips
[tutorial_11.htm] Oh, you found the Blue Gemstone. Good job! Now, return to the newbie guide and have a conversation with the guide. If you follow the direction indicated by the arrow above your character, you will run into a newbie guide. I heard that the guides are giving out useful gifts too. So make sure to meet one of them. Close Window
[tutorial_15.htm] [Viewing Maps] If you would like to look up a Map during gameplay, click the Map shaped icon located in the lower right hand corner of the screen. The location of a newbie guide is indicated by a red flag on the Map. Close window.
[tutorial_18.htm] [Penalty for Dying] Upon the death of a character above level 9, that player has a certain amount of Exp subtracted. Therefore, death should be avoided above level 9. Return
[tutorial_19.htm] [HP Regeneration] Your HP level is low. When this happens, if you sit down and rest, your HP will be regenerated more quickly. In order to sit down so that your HP will be regenerated more quickly, press the F11 key. The sit action is currently registered at the 11th slot of the shortcut bar and therefore, when you press the F11 function key, it will be activated. Close Window
[tutorial_20.htm] [Penalty for Dying] From now on you'll be penalized for dying. You must avoid death in order to preserve your Exp. Return
[tutorial_21.htm] [Human Fighter Class Transfer]: When a Human Fighter reaches level 19, the character is allowed to undertake a quest for class transfer. Upon successful completion of the quest and attainment of level 20, the character can transfer to one of three classes. The choices are Warrior, Knight or Rogue. After a class transfer, a character has more diverse, specialized and powerful skills. In order to become a Warrior, you must meet with Master Auron. In order to become a Knight, you must meet with Sir Klaus Vasper. And, in order to become a Rogue, you must meet with Captain Bezique. All three are located in Gludin Village. Please consider your options carefully before selecting your class and then go see the appropriate NPC. Close Window
[tutorial_21a.htm] [Human Mystic Class Transfer]: When a Human Mystic reaches level 19, the character is allowed to undertake a quest for class transfer. Upon successful completion of the quest and attainment of level 20, the character can transfer to one of two classes: Human Wizard or Cleric. After a class transfer, a character's skills become more diverse, specialized and powerful. In order to become a Human Wizard, you must meet with Parina. In order to become a Cleric, you must meet with Priest Zigaunt. Both are located in Gludin Village. Please consider your options carefully and then go see the appropriate NPC. Close Window
[tutorial_21b.htm] [Elven Fighter Class Transfer]: When an Elven Fighter reaches level 19, the character is allowed to undertake a quest for class transfer. Upon successful completion of the quest and attainment of level 20, the character can transfer to one of two classes: an Elven Knight or an Elven Scout. After a class transfer, the character's skills become more diverse and specialized. In order to become an Elven Knight, you must meet with Master Sorius. In order to become an Elven Scout you must meet with Master Reoria. Both are in Gludio Castle Town. Please consider your options carefully and then go see the appropriate NPC. Close Window
[tutorial_21c.htm] [Elven Mystic Class Transfer]: When an Elven Mystic reaches level 19, the character is allowed to undertake a quest for class transfer. After the character successfully completes the quest and attains level 20, the Mystic can transfer to one of two classes: either Elven Wizard or Elven Oracle. After a class transfer, a character's skills become more diverse, powerful and specialized. In order to become an Elven Wizard, you must meet with Rosella. In order to become an Elven Oracle, you must meet with Priest Manuel. Both are located in the Elven Village. Please consider your options carefully and then go see the appropriate NPC. Close Window
[tutorial_21d.htm] [Orc Fighter Class Transfer]: When an Orc Fighter reaches level 19, the character is allowed to undertake a quest for class transfer. Upon successful completion of the quest and attainment of level 20, the character can transfer to one of two classes: Orc Raider or Monk. After a class transfer, a character's skills become more diverse, powerful and specialized. In order to become an Orc Raider, you must meet with Prefect Karukia. In order to become a Monk, you must meet with Gantaki Zu Urutu. Both are in the Orc Village. Please consider your options carefully and then go see the appropriate NPC. Close Window
[tutorial_21e.htm] [Orc Mystic Class Transfer]: When an Orc Mystic reaches level 19, the character is allowed to undertake a quest for class transfer. Upon successful completion of the quest and attainment of level 20, the character can transfer to the Orc Shaman class. After a class transfer, a character's skills become more diverse, powerful and specialized. In order to become an Orc Shaman you must meet with Tataru Zu Hestui in the Orc Village. Close Window
[tutorial_21f.htm] [Dwarven Fighter Class Transfer]: When a Dwarven Fighter reaches level 19, the character is allowed to undertake a quest for class transfer. After successful completion of the quest and attainment of level 20, the character can transfer to one of two classes: Scavenger or Artisan. After a class transfer, a character's skills become more diverse, powerful and specialized. In order to become a Scavenger you must meet with Collector Pippi. In order to become an Artisan you must meet with Blacksmith Silvera. Both are in the Dwarven Village. Please consider your options carefully and then go see the appropriate NPC. Close Window
[tutorial_21g.htm] [Dark Fighter Class Transfer]: When a Dark Fighter reaches level 19, the character is allowed to undertake a quest for class transfer. After successful completion of the quest and attainment of level 20, the character can transfer to one of two classes: Palus Knight or Assassin. After a class transfer, a character's skills become more diverse, powerful and specialized. In order to become a Palus Knight, you must meet with Master Virgil. In order to become an Assassin, you must meet with Triskel. Both are in Gludio Castle Town. Please consider your options carefully and then go see the appropriate NPC. Close Window
[tutorial_21h.htm] [Dark Mystic Class Transfer]: When a Dark Mystic reaches level 19, the character is allowed to undertake a quest for class transfer. After successfully completing the quest and attaining level 20, the character can transfer to one of two classes: Dark Wizard or Shillien Oracle. After a class transfer, a character's skills become more diverse, powerful and specialized. In order to become a Dark Wizard, you must meet with Varika. In order to become a Shillien Oracle, you must meet with Magister Sidra. Varika is located in the Dark Elven Village near the Altar of Rites, and Magister Sidra is located in Gludio Castle Town. Please consider your options carefully and then go see the appropriate NPC. Close Window
[tutorial_21z.htm] Recovering HP & MP Good work. Next time rest when your HP or MP are low. But remember, when you sit down to rest you must find a place where monsters will not attack you. When sitting down, it takes time to stand up after you are attacked, slowing down your counterattack and allowing you to take more damage. Close Window
[tutorial_22.htm] [Human Knight Class Transfer]: A knight who reaches level 40 can proceed with the 2nd class transfer to become a Paladin or a Dark Avenger. In order to accomplish the 2nd class transfer, a player must successfully complete three quests. The first of the three quests can only be undertaken by a character of level 35 or above. If you would like to view more detailed information, please click the class you are interested in. Paladin Dark Avenger Return to Main Menu Close Window
[tutorial_22aa.htm] [Human Knight Class Transfer]: In order to become a Paladin, you must successfully complete three quests. The Trial of Duty can only be undertaken by a player of level 35 or above. This quest starts with Grand Master Hannavalt of Giran Castle Town. The Testimony of Trust can only be undertaken by a player of level 37 or above. This quest begins by meeting with High Priest Hollint of Oren Castle Town. The Test of the Healer can be undertaken by a player of level 39 or above. This quest begins with Priest Bandellos of Giran Castle Town. Return Close Window
[tutorial_22ab.htm] [Human Knight Class Transfer]: In order to become a Dark Avenger, you must successfully complete three quests. The Trial of Duty can only be undertaken by a player of level 35 or above. This quest begins with a visit to Grand Master Hannavalt of Giran Castle Town. The Testimony of Trust can only be undertaken by a player of level 37 or higher. This quest begins with High Priest Hollint of Oren Castle Town. The Test of Witchcraft can be undertaken by a player of level 39 or above. This quest begins with a visit to Orim of the Shadow near Hardin's Academy. Return Close Window
[tutorial_22b.htm] [Rogue Class Transfer]: A Rogue who reaches level 40 can proceed with the 2nd class transfer to become a Treasure Hunter or a Hawkeye. In order to accomplish the 2nd class transfer, the Rogue must successfully complete three quests. The first of the three quests can only be undertaken by a character of level 35 or above. If you would like to view more detailed information, please click the class you are interested in. Treasure Hunter Hawkeye Return Close Window
[tutorial_22ba.htm] [Rogue Class Transfer]: In order to become a Treasure Hunter, the Rogue must successfully complete three quests. The Trial of the Seeker can only be undertaken by a player of level 35 or above. This quest begins with Master Dufner of Giran Castle Town. The Testimony of Trust can only be undertaken by a player oflevel 37 or above This quest begins by meeting High Priest Hollint of Oren Castle Town. The Test of the Searcher can be undertaken by a player of level 39 or above. This quest begins with Master Luther of Hunters Village. Return Close Window
[tutorial_22bb.htm] [Rogue Class Transfer]: In order to become a Hawkeye, the Rogue must successfully complete three quests. The Trial of the Seeker can only be undertaken by a player of level 35 or above. This quest begins with a meeting with Master Dufner of Giran Castle Town. The Testimony of Trust can only be undertaken by a player of level 37 or above. This quest begins with High Priest Hollint of Oren Castle Town. Finally, the Test of Sagittarius can be undertaken by a character of at least level 39. This quest begins with Guild President Bernard of Hunters Village. Return Close Window
[tutorial_22c.htm] [Human Wizard Class Transfer]: A Human Wizard of level 40 can complete a 2nd class transfer to become a Sorcerer/Sorceress, Necromancer, or Warlock. In order to accomplish the 2nd class transfer, a player must successfully complete three quests. The first of the three quests can only be undertaken by a character of level 35 or above. If you would like to view more detailed information, please click the class you are interested in. Sorcerer/ss Necromancer Warlock Return Close Window
[tutorial_22ca.htm] [Human Wizard Class Transfer]: In order to become a Sorcerer or a Sorceress, you must successfully complete three quests. The Trial of the Scholar can only be undertaken by a player of level 35 or above. This quest begins by meeting Magister Mirien of Dion Castle Town. The Testimony of Trust can only be undertaken by a player of level 37 or above. It begins by meeting with High Priest Hollint of Oren Castle Town. The Test of Magus can be undertaken by a player of level 39 or above. This quest begins by meeting with Bard Rukal of Dion Castle Town. Return Close Window
[tutorial_22cb.htm] [Human Wizard Class Transfer]: In order to become a Necromancer, the character must successfully complete three quests. The Trial of the Scholar can only be undertaken by a player of level 35 or above. This quest begins by meeting with Magister Mirien of Dion Castle Town. The Testimony of Trust can only be undertaken by a player of level 37 or above. This quest begins with meeting High Priest Hollint of Oren Castle Town. Finally, the Test of Witchcraft can be undertaken by a player of level 39 or above. This quest begins by meeting Orim of the Shadow near Hardin's Academy. Return Close Window
[tutorial_22cc.htm] [Human Wizard Class Transfer]: In order to become a Warlock, the Wizard must successfully complete three quests. The Trial of the Scholar can only be undertaken by a player of level 35 or above. This quest begins by meeting with Magister Mirien of Dion Castle Town. The Testimony of Trust can only be undertaken by a player of level 37 or above. This quest begins by meeting with High Priest Hollint of Oren Castle Town. Finally, the Test of the Summoner can be undertaken by a player of level 39 or above. This quest begins by meeting with High Summoner Galatea of Gludin Village. Return Close Window
[tutorial_22d.htm] [Cleric Class Transfer]: A Cleric of level 40 can proceed with the 2nd class transfer to become a Bishop or a Prophet. In order to accomplish the 2nd class transfer, the character must successfully complete three quests. The first of the three quests can only be undertaken by a character of level 35 or above. If you would like to view more detailed information, please click the class you are interested in. Bishop Prophet Return to Main Menu Close Window
[tutorial_22da.htm] [Cleric Class Transfer]: In order to become a Bishop, the Cleric must successfully complete three quests. The Trial of the Pilgrim can only be undertaken by a player of level 35 or above. This quest begins by meeting with Hermit Santiago in a farmhouse near the Orc Barracks in Gludio. The Testimony of Trust can only be undertaken by a player of level 37 or above. This quest begins by meeting with High Priest Hollint of Oren Castle Town. Finally, the Test of the Healer can only be undertaken by a player of level 39 or above. This quest begins by meeting with Priest Bandellos of Giran Castle Town. Return Close Window
[tutorial_22db.htm] [Cleric Class Transfer]: In order to become a Prophet, the Cleric must successfully complete three quests. The Trial of the Pilgrim can only be undertaken by a player of level 35 or above. This quest begins by meeting with Hermit Santiago in a farmhouse near the Orc Barracks in Gludio. The Testimony of Trust can only be undertaken by a player of level 37 or above. This quest begins by meeting with High Priest Hollint of Oren Castle Town. Finally, the Test of the Reformer can be undertaken by a player of level 39 or above. This quest begins by meeting with Priestess Pupina of Giran Castle Town. Return to Main Menu Close Window
[tutorial_22e.htm] [Elven Knight Class Transfer]: An Elven Knight who reaches level 40 can proceed with the 2nd class transfer to become a Temple Knight or a Swordsinger. In order to accomplish the 2nd class transfer, a player must successfully complete three quests. The first of the three quests can only be undertaken by a character of level 35 or above. If you would like to view more detailed information, please click the class you are interested in. Temple Knight Swordsinger Return to Main Menu Close Window
[tutorial_22ea.htm] [Elven Knight Class Transfer]: In order to become a Temple Knight the Elven Knight must successfully complete three quests. The Trial of Duty can only be undertaken by a player of level 35 or above. This quest begins by meeting with Grand Master Hannavalt of Giran Castle Town. The Testimony of Life can only be undertaken by a player of level 37 or above. This quest begins by meeting with Master Cardien of Dion Castle Town. Finally, the Test of the Healer can only be undertaken by a player of level 39 or above. This quest begins by meeting with Priest Bandellos of Giran Castle Town. Return Close Window
[tutorial_22eb.htm] [Elven Knight Class Transfer]: In order to become a Swordsinger, the Elven Knight must successfully complete three quests. The Trial of the Challenger can be undertaken by a player of level 35 or above. This quest begins by meeting with Kash of Dion Castle Town. The Testimony of Life can only be undertaken by a player of level 37 or above. This quest begins by meeting with Master Cardien of Dion Castle Town. Finally, the Test of the Duelist can be undertaken by a player of level 39 or above. This quest begins by meeting with Duelist Kaien of Oren Castle Town. Return Close Window
[tutorial_22f.htm] [Elven Scout Class Transfer]: An Elven Scout who reaches level 40 can proceed with the 2nd class transfer to become a Plainswalker or a Silver Ranger. In order to accomplish the 2nd class transfer, The character must successfully complete three quests. The first quest can only be undertaken by a character of level 35 or above. If you would like to view more detailed information, please click the class you are interested in. Plainswalker Silver Ranger Return Close Window
[tutorial_22fa.htm] [Elven Scout Class Transfer]: In order to become a Plainswalker, The Elven Scout must successfully complete three quests. The Trial of the Seeker can only be undertaken by a player of level 35 or above. This quest begins by meeting with Master Dufner of Giran Castle Town. The Testimony of Life can only be undertaken by a player of level 37 or above. This quest begins by meeting with Master Cardien of Dion Castle Town. Finally, the Test of the Searcher can be undertaken by a player of level 39 or above. This quest begings by meeting with Master Luther of Hunters Village. Return Close Window
[tutorial_22fb.htm] [Elven Scout Class Transfer]: In order to become a Silver Ranger, Elven Scout must successfully complete three quests. The Trial of the Seeker can only be undertaken by a player of level 35 or above. This quest begins by meeting with Master Dufner of Giran Castle Town. The Testimony of Life can only be undertaken by a player of level 37 or above. This quest begins by meeting with Master Cardien of Dion Castle Town. Finally, the Test of Sagittarius can only be undertaken by a player of level 39 or above. This quest begins by meeting with Guild President Bernard in Hunters Village. Return Close Window
[tutorial_22g.htm] [Elven Wizard Class Transfer]: An Elven Wizard who reaches level 40 can proceed with the 2nd class transfer to become a Spellsinger or an Elemental Summoner. In order to accomplish the 2nd class transfer, the character must successfully complete three quests. The first of the quests can only be undertaken by a character of level 35 or above. If you wish to view more detailed information, please click the class you are interested in. Spellsinger Elemental Summoner Return Close Window
[tutorial_22ga.htm] [Elven Wizard Class Transfer]: In order to become a Spellsinger, the character must successfully complete three quests. The Trial of the Scholar can only be undertaken by a player of level 35 or above. This quest begins by meeting with Magister Mirien of Dion Castle Town. The Testimony of Life can only be undertaken by a player of level 37 or above. This quest begins by meeting with Master Cardien of Dion Castle Town. Finally, the Test of Magus can be undertaken by a player of level 39 or above. This quest begins by meeting with Bard Rukal of Dion Castle Town. Return Close Window
[tutorial_22gb.htm] [Elven Wizard Class Transfer]: In order to become an Elemental Summoner, the Elven Wizard must complete three quests. The Trial of the Scholar can only be undertaken by a player of level 35 or above. This quest begins by meeting with Magister Mirien of Dion Castle Town. The Testimony of Life can only be undertaken by a player of level 37 or above. This quest begins by meeting with Master Cardien of Dion Castle Town. Finally, the Test of the Summoner can be undertaken by a player of level 39 or above. This quest begins by meeting with High Summoner Galatea of Gludin Village. Return Close Window
[tutorial_22h.htm] [Elven Oracle Class Transfer]: An Elven Oracle who reaches level 40 can proceed with the 2nd class transfer to become an Elder. In order to become an Elder the character must successfully complete three quests. The Trial of the Pilgrim may be undertaken by a player of level 35 or above. This quest begins by meeting with Hermit Santiago in a farmhouse near the Orc Barracks in Gludio. The Testimony of Life may be undertaken by a player of level 37 or above. This quest begins by meeting with Master Cardien of Dion Castle Town. Finally, the Test of the Healer may be undertaken by a player of level 39 or above. This quest begins by meeting with Priest Bandellos of Giran Castle Town. Return Close Window
[tutorial_22i.htm] [Orc Raider Class Transfer]: An Orc Raider who reaches level 40 can proceed with the 2nd class transfer to become a Destroyer. In order to become a Destroyer, The character must successfully complete three quests. The Trial of the Challenger may be undertaken by a player of level 35 or above. This quest begins by meeting with Kash of Dion Castle Town. The Testimony of Glory may be undertaken by a player of level 37 or above. This quest begins by meeting with Prefect Vokian of Giran Castle Town. Finally, the Test of the Champion may be undertaken by a player of level 39 or above. This quest begins by meeting with Veteran Ascalon of Giran Castle Town. Return Close Window
[tutorial_22j.htm] [Monk Class Transfer]: A Monk who reaches level 40 can proceed with the 2nd class transfer to become a Tyrant. In order to become a Tyrant, the player must successfully complete three quests. The Trial of the Challenger may be undertaken by a player of level 35 or above. This quest begins by meeting with Kash of Dion Castle Town. The Testimony of Glory may be undertaken by a player of level 37 or above. This quest begins by meeting with Prefect Vokian of Giran Castle Town. Finally, the Test of the Duelist may be undertaken by a player of level 39 or above. This quest begins by meeting with Duelist Kaien of Oren Castle Town. Return Close Window
[tutorial_22k.htm] [Orc Shaman Class Transfer]: An Orc Shaman who reaches level 40 can proceed with the 2nd class transfer to become an Overlord or a Warcryer. In order to accomplish the 2nd class transfer, the character must successfully complete three quests. The first of the quests can only be undertaken by a player of level 35 or above. If you would like to view more detailed information, please click the class you are interested in. Overlord Warcryer Return Close Window
[tutorial_22ka.htm] [Orc Shaman Class Transfer]: The Orc Shaman must successfully complete three quests. The Trial of the Pilgrim may be undertaken by a player of level 35 or above. This quest begins by meeting with Hermit Santiago in a farmhouse near the Orc Barracks in Gludio. The Testimony of Glory may only be undertaken by a player of level 37 or above. This quest begins by meeting with Prefect Vokian of Giran Castle Town. Finally, the Test of the Lord may be undertaken by a player of level 39 or above. This quest begins by meeting with Flame Lord Kakai in the Orc Village. Return Close Window
[tutorial_22kb.htm] [Orc Shaman Class Transfer]: In order to become a Warcryer, the Orc Shaman must successfully complete three quests. The Trial of the Pilgrim may be undertaken by a player of level 35 or above. This quest begins by meeting with Hermit Santiago who in a farmhouse near the Orc Barracks in Gludio. The Testimony of Glory may be undertaken by a player of level 37 or above. This quest begins by meeting with Prefect Vokian of Giran Castle Town. Finally, the Test of the War Spirit may be undertaken by a player of level 39 or above. This quest begins by meeting with Seer Somak of Dion Castle Town. Return Close Window
[tutorial_22l.htm] [Scavenger Class Transfer]: A Scavenger who reaches level 40 can proceed with the 2nd class transfer to become a Bounty Hunter. In order to become a Bounty Hunter the player must successfully complete three quests. The Trial of the Guildsman may be undertaken by a player of level 35 or above. This quest begins by meeting with Warehouse Keeper Valkon of Giran Castle Town. The Testimony of Prosperity may be undertaken by a player of level 37 or above. This quest begins by meeting with Warehouse Keeper Parman of Giran Castle Town. Finally, the Test of the Searcher may be undertaken by a player of level 39 or above. This quest begins by meeting with Master Luther of Hunters Village. Return Close Window
[tutorial_22m.htm] [Artisan Class Transfer]: An Artisan who reaches level 40 can proceed with the 2nd class transfer to become a Warsmith. In order to become a Warsmith, the player must complete three quests. The Trial of the Guildsman may be undertaken by a player of level 35 or above. This quest begins by meeting with Warehouse Keeper Valkon of Giran Castle Town. The Testimony of Prosperity may be undertaken by a player of level 37 or above. This quest begins by meeting with Warehouse Keeper Parman of Giran Castle Town. Finally, the Test of the Maestro may be undertaken by a player of level 39 or above. This quest begins by meeting with Iron Gate's Lockirin of the Dwarven Village. Return Close Window
[tutorial_22n.htm] [Palus Knight Class Transfer]: A Palus Knight who reaches level 40 can proceed with the 2nd class transfer to become a Shillien Knight or a Bladedancer. In order to accomplish the 2nd class transfer, a player must complete three quests. The first quest can only be undertaken by a character of level 35 or above. If you would like to view more detailed information, please click the class you are interested in. Shillien Knight Bladedancer Return Close Window
[tutorial_22na.htm] [Palus Knight Class Transfer]: In order to become a Shilen Knight a player must successfully complete three quests. The Trial of Duty may be undertaken by a player of level 35 or above. This quest begins by meeting with Grand Master Hannavalt of Giran Castle Town. The Testimony of Fate may be undertaken by a player of level 37 or above. This quest begins by meeting with Magister Kaira of Giran Castle Town. Finally, the Test of Witchcraft can be undertaken by a player of level 39 or above. This quest begins by meeting with Orim of the Shadow near Hardin's Academy. Return Close Window
[tutorial_22nb.htm] [Palus Knight Class Transfer]: In order to become a Bladedancer, a player must successfully complete three quests. The Trial of the Challenger may be undertaken by a player of level 35or above. This quest begins by meeting with Kash of Dion Castle Town. The Testimony of Fate may be undertaken by a player of level 37 or above. This quest begins by meeting with Magister Kaira of Giran Castle Town. Finally, the Test of the Duelist may be undertaken by a player of level 39 or above. This quest begins by meeting with Duelist Kaien of Oren Castle Town. Return Close Window
[tutorial_22o.htm] [Assassin Class Transfer]: An Assassin who reaches level 40 can proceed with the 2nd class transfer to become a Abyss Walker or a Phantom Ranger. In order to accomplish the 2nd class transfer, the character must first successfully complete three quests. The first of the quests can only be undertaken by a character of level 35 or above. If you would like to view more detailed information, please click the class you are interested in. Abyss Walker Phantom Ranger Return Close Window
[tutorial_22oa.htm] [Assassin Class Transfer]: In order to become an Abyss Walker, the player must successfully complete three quests. The Trial of the Seeker may be undertaken by a player of level 35 or above. This quest begins by meeting with Master Dufner of Giran Castle Town. The Testimony of Fate may be undertaken by a player of level 37 or above. This quest begins by meeting with Magister Kaira of Giran Castle Town. Finally, the Test of the Searcher may be undertaken by a player of level 39 or above. This quest begins by meeting with Master Luther of Hunters Village. Return Close Window
[tutorial_22ob.htm] [Assassin Class Transfer]: In order to become a Phantom Ranger, the player must successfully complete three quests. The Trial of the Seeker may be undertaken by a player of level 35 or above. This quest begins by meeting with Master Dufner of Giran Castle Town. The Testimony of Fate may be undertaken by a player of level 37 or above. This quest begins by meeting with Magister Kaira of Giran Castle Town. Finally, the Test of Sagittarius may be undertaken by a player of level 39 or above. This quest begins by meeting with Guild President Bernard of Hunters Village. Return Close Window
[tutorial_22p.htm] [Dark Wizard Class Transfer]: A Dark Wizard who reaches level 40 can proceed with the 2nd class transfer to become a Spellhowler or a Phantom Summoner. In order to accomplish the 2nd class transfer, a player must successfully complete three quests. The first of the quests may be undertaken by a character of level 35 or above. If you would like to view more detailed information, please click the class you are interested in. Spellhowler Phantom Summoner Return Close Window
[tutorial_22pa.htm] [Dark Wizard Class Transfer]: In order to become a Spellhowler the player must successfully complete three quests. The Trial of the Scholar may be undertaken by a player of level 35 or above. This quest begins by meeting with Magister Mirien of Dion Castle Town. The Testimony of Fate may be undertaken by a player of level 37 or above. This quest begins by meeting with Magister Kaira of Giran Castle Town. Finally, the Test of Magus may be undertaken by a player of level 39 or above. This quest begins by meeting with Bard Rukal of Dion Castle Town. Return Close Window
[tutorial_22pb.htm] [Dark Wizard Class Transfer]: In order to become a Phantom Summoner, the player must successfully complete three quests. The Trial of the Scholar may be undertaken by a player of level 35 or above. This quest begins by meeting with Magister Mirien of Dion Castle Town. The Testimony of Fate may be undertaken by a player of level 37 or above. This quest begins by meeting with Magister Kaira of Giran Castle Town. Finally, the Test of the Summoner may be undertaken by a player of level 39 or above. This quest begins by meeting with High Summoner Galatea of Gludin Village. Return Close Window
[tutorial_22q.htm] [Shillien Oracle Class Transfer]: A Shillien Oracle who reaches level 40 can proceed with the 2nd class transfer to become a Shillien Elder. In order to become an Shillien Elder, the player must successfully complete three quests. The Trial of the Pilgrim may be undertaken by a player of level 35 or above. This quest begins by meeting with Hermit Santiago in a farmhouse near the Orc Barracks in Gludio. The Testimony of Fate may be undertaken by a player of level 37 or above. This quest begins by meeting with Magister Kaira of Giran Castle Town . Finally, the Test of the Reformer may be undertaken by a player of level 39 or above. This quest begins by meeting with Priestess Pupina of Giran Castle Town. Return Close Window
[tutorial_22w.htm] [Warrior Class Transfer]: In order to become a Warlord the player must successfully complete three quests. The Trial of the Challenger may be taken by a player of level 35 or above. This quest begins by meeting with Kash of Dion Castle Town. The Testimony of Trust may be undertaken by a player of level 37 or above. This quest begins by meeting with High Priest Hollint of Oren Castle Town. Finally, the Test of the Champion may be undertaken by a player of level 39 or above. This quest begins by meeting with Veteran Ascalon of Giran Castle Town. Return Close Window
[tutorial_24.htm] [Acquire Item] In order to confirm an acquired item, you must open the Inventory Window. Click on the bag-shaped icon on the bottom right screen to open the Inventory Window, or press Tab or ALT+V. Close window.
[tutorial_27.htm] [Pet Information] When a character reaches level 15 he or she can obtain a wolf as a pet by successfully completing a quest which begins by meeting with Pet Manager Martin of Gludin Village. The pet's level parallels that of its master. Close Window
[tutorial_28.htm] [Preparations for the 2nd Class Transfer and for Obtaining a New Pet]: When a character reaches level 35, the character can embark on two new adventures. First of all, the character can undertake a quest for the 2nd class transfer in order to become a new character with more unique features and specialized skills. Also, the character can also undertake a quest to obtain a hatchling. If you would like to find out more, please click on one of the links below. 2nd Class Transfer Quest Quest for Obtaining a Hatchling Close Window
[tutorial_29.htm] [Pet Information]: After reaching level 35 a character can undertake a quest to obtain a hatchling. Just like its master, a hatchling will mature with experience. Once it reaches a certain level it may be transformed into a strider or a wyvern and become a suitable mode of transportation. There are three types of hatchling: hatchling of the wind, hatchling of the stars, and hatchling of twilight. Each has unique characteristics. This quest begins by meeting with Pet Manager Cooper of Giran Castle Town. Return Close Window
[tutorial_30.htm] [Fate's Whisper]: I hear a soft voice whisper in my ear; "...the wind never sleeps, The waves of change are turning. The paths of darkness and light intersect, A new song of dawn begins..." "Listen to the call of fate. You, who will shape the face of the continent! Go see Maestro Reorin... Master Smith of the Platinum race awaits you in the land of Oren..." "...and, in the bottomless pit of despair, let new hope flower, and arm yourself anew with the well-trained flames of eternal torment..." Close Window
[tutorial_delf007.htm] [Conversation with a Newbie Helper] Now, try talking with a Newbie Helper. Move your mouse cursor over the Newbie Helper and left-click. Then your mouse cursor will change into the shape of a balloon. At this time, if you click the left mouse button again, the conversation will start. If you move while following the direction of the arrow above your character, you will run into a Newbie Helper. The helpers will give you helpful instructions as well as useful gifts, so be sure to go meet with a Newbie Helper. Exit the Tutorial
[tutorial_delf008.htm] Quest Speak to the Abyssal Celebrants of the Temple of Shilen. They will give you profitable assignments. They are marked in yellow on the radar, in the upper-right corner of the screen. You must visit them if you want to advance. Close Window
[tutorial_delf009.htm] [Newbie Character] From now on, you will receive the benefits of being a New Character. Until you reach level 25, you will receive the following advantages: 1. Equipment exchange: You can trade your current weapon or armor for higher quality equipment, paying only the difference in price. In order to initiate the trade, start a conversation with any merchant at a weapons or armor shop. 2. Support magic:You may ask a Newbie Guide to cast Support Magic on you, which can be very helpful when fighting monsters. You may receive Support Magic between levels 8 and 39. 3. You can also receive additional Soulshots and Spiritshots specially designed for beginners. Each time you complete a particular quest as a newbie, you will also receive an additional reward. Now go to the Dark Elf Village and meet with Sentry Kristin. She will give you the details of a quest to defeat Imps and Imp Elders in the Dark Elven Forest. If you complete this quest, you will receive additional Soulshots or Spiritshots that are meant for beginners. Close window.
[tutorial_delf_fighter001.htm] Welcome to Lineage II! This is the Temple of Shilen, where Shilen, the goddess of darkness is worshipped. This is the place where young dark elves are trained to grow their skills and strength. Now, you are taking your first step to becoming a Dark Fighter. First, I will explain the basic operation of the game. If you click here, you will move to the next topic of this tutorial.
[tutorial_delf_mage001.htm] Welcome to Lineage II! This is the Temple of Shilen, where Shilen, the goddess of darkness is worshipped. This is the place where young dark elves are trained to grow their skills and strength. Now, you are taking your first step to becoming a Dark Mystic. First, I will explain the basic operation of the game. If you click here, you will move to the next topic of this tutorial.
[tutorial_dwarven009.htm] [Newbie Character] From now on, you will receive the benefits of being a New Character. Until you reach level 25, you will receive the following advantages: 1. Equipment exchange: You can trade your current weapon or armor for higher quality equipment, paying only the difference in price. In order to initiate the trade, start a conversation with any merchant at a weapons or armor shop. 2. Support magic:You may ask a Newbie Guide to cast Support Magic on you, which can be very helpful when fighting monsters. You may receive Support Magic between levels 8 and 39. 3. You can also receive additional Soulshots and Spiritshots specially designed for beginners. Each time you complete a particular quest as a newbie, you will also receive an additional reward. Close window.
[tutorial_dwarven017.htm] [ Learn skills ] Congreatulation! Eou are 5 lvl now. Now you can learn skills. You can do it with NPC in dwarven village in blacksmith shop. Follow the indicator under your head. To recieve the skills you must have some SP?SP Increases every time, when you are hunting. Kill more monsters to resieve more SP. If you whant to know, how much SP do you have now, pressAlt+T. Close window.
[tutorial_dwarven_fighter001.htm] Welcome to Lineage II! This is the strip mine of the Dwarves. All new dwarves start their basic training in this place. Now, you are taking your first step to becoming a Dwarven Fighter. First, I will explain the basic operation of the game. If you click here, you will move to the next topic of this tutorial.
[tutorial_dwarven_fighter007.htm] [Conversation with a Newbie Helper] Now, try talking with a Newbie Helper. Move your mouse cursor over the Newbie Helper and left-click. Then your mouse cursor will change into the shape of a balloon. At this time, if you click the left mouse button again, the conversation will start. If you move while following the direction of the arrow above your character, you will run into a Newbie Helper. The helpers will give you helpful instructions as well as useful gifts, so be sure to go meet with a Newbie Helper. Exit the Tutorial
[tutorial_dwarven_fighter008.htm] Quest Speak to the Miners at the strip mines. They will give you profitable errands to perform. They are marked in yellow on the radar, in the upper-right corner of the screen. You must visit them in order to advance. Close Window
[tutorial_elf007.htm] [Conversation with a Newbie Helper] Now, try talking with a Newbie Helper. Move your mouse cursor over the Newbie Helper and left-click. Then your mouse cursor will change into the shape of a balloon. At this time, if you click the left mouse button again, the conversation will start. If you move while following the direction of the arrow above your character, you will run into a Newbie Helper. The helpers will give you helpful instructions as well as useful gifts, so be sure to go meet with a Newbie Helper. Exit the Tutorial
[tutorial_elf008.htm] Quest Speak to the Mother's Disciples at the Mother Tree Glade. You will be given profitable tasks to perform. They are marked in yellow on the radar, in the upper-right corner of the screen. The errands they give you are important. You must visit them in order to advance. Close Window
[tutorial_elf009.htm] [Newbie Character] From now on, you will receive the benefits of being a New Character. Until you reach level 25, you will receive the following advantages: 1. Equipment exchange: You can trade your current weapon or armor for higher quality equipment, paying only the difference in price. In order to initiate the trade, start a conversation with any merchant at a weapons or armor shop. 2. Support magic:You may ask a Newbie Guide to cast Support Magic on you, which can be very helpful when fighting monsters. You may receive Support Magic between levels 8 and 39. 3. You can also receive additional Soulshots and Spiritshots specially designed for beginners. Each time you complete a particular quest as a newbie, you will also receive an additional reward. Close window.
[tutorial_elven_fighter001.htm] Welcome to Lineage II! This is the sacred spring where the Mother Tree, the mother of all Elves, is worshipped. Before journeying forth to the outside world, young elves begin their training in this place. Now, you are taking your first step to becoming an Elven Fighter. First, I will explain the basic operation of the game. If you click here, you will move to the next topic of this tutorial.
[tutorial_elven_mage001.htm] Welcome to Lineage II! This is the sacred spring where the Mother Tree, the mother of all Elves, is worshipped. Before journeying forth to the outside world, young elves begin their training in this place. Now, you are taking your first step to becoming an Elven Mystic. First, I will explain the basic operation of the game. If you click here, you will move to the next topic of this tutorial.
[tutorial_fighter017.htm] [Learn Skill] Congratulations! You have finally reached level 5. Now you can learn a new skill. To learn a skill, you must meet the Master in the town. Follow the arrow above your head to find him. In order to learn a skill, a certain number of Skill Points (SP) is required. Your SP will grow every time you kill a monster, so if you ever run out of SP, you can earn more by hunting monsters. To see your current SP level, open the Character Information Window. If you click the icon that looks like a face or press the ALT+T keys, the Character Information Window will open. Close window.
[tutorial_human009.htm] [Newbie Character] From now on, you will receive the benefits of being a New Character. Until you reach level 25, you will receive the following advantages: 1. Equipment exchange: You can trade your current weapon or armor for higher quality equipment, paying only the difference in price. In order to initiate the trade, start a conversation with any merchant at a weapons or armor shop. 2. Support magic: You may ask a Newbie Guide to cast Support Magic on you, which can be very helpful when fighting monsters. You may receive Support Magic between levels 8 and 39. 3. You can also receive additional Soulshots and Spiritshots specially designed for beginners. Each time you complete a particular quest as a newbie, you will also receive an additional reward. Now, go find Captain Gilbert in Talking Island Village. He will give you the details of a quest that requires you to defeat the Orcs and Werewolves on Talking Island. If you complete this quest, you will receive additional Soulshots or Spiritshots that are meant for beginners. Close window.
[tutorial_human_fighter001.htm] Welcome to Lineage II! This is Sedrick's Training Hall. This place is famous for producing many noted Fighters. Now, you are taking your first step to becoming a Human Fighter. First, I will explain the basic operation of the game. If you click here, you will move to the next topic of this tutorial.
[tutorial_human_fighter007.htm] [Conversation with a Newbie Helper] Now, try talking with a Newbie Helper. Move your mouse cursor over the Newbie Helper and left-click. Then your mouse cursor will change into the shape of a balloon. At this time, if you click the left mouse button again, the conversation will start. If you move while following the direction of the arrow above your character, you will run into a Newbie Helper. The helpers will give you helpful instructions as well as useful gifts, so be sure to go meet with a Newbie Helper. Exit the Tutorial
[tutorial_human_fighter008.htm] Quest Visit the Masters of Sedrick's Training Hall and click on them. They will give you profitable tasks to perform. The Masters are marked with yellow dots on the radar. You must visit them in order to advance. Close Window
[tutorial_human_mage001.htm] Welcome to Lineage II! This is Einhovant's School of Wizardry. This school is famous for producing many excellent mystics. Now, you are taking your first step to becoming a Human Mystic. First, I will explain the basic operation of the game. If you click here, you will move to the next topic of this tutorial.
[tutorial_human_mage007.htm] [Conversation with a Newbie Helper] Now, try talking with a Newbie Helper. Move your mouse cursor over the Newbie Helper and left-click. Then your mouse cursor will change into the shape of a balloon. At this time, if you click the left mouse button again, the conversation will start. If you move while following the direction of the arrow above your character, you will run into a Newbie Helper. The helpers will give you helpful instructions as well as useful gifts, so be sure to go meet with a Newbie Helper. Exit the Tutorial
[tutorial_human_mage008.htm] Quest Speak to the Magisters of Einhovant's School of Wizardry. You will receive profitable tasks to perform. They are marked in yellow on the radar, at the upper-right corner of the screen. You must visit them, for the tasks they will assign you are important. Close Window
[tutorial_mage017.htm] [Learn Magic] Congratulations! You have finally reached level 7. Now you can learn new magic as well as strengthen your existing magic. To do so, please visit the Magister in the village. If you follow the arrow above your head, you will be able to find the Magister. However, to learn new magic, you must first purchase a spellbook. Spellbooks can be purchased from the Magic Supply Store. The Magister will tell you which spellbook you should purchase. In order to learn a skill, a certain number of Skill Points (SP) is required. Your SP will increase gradually every time you kill a monster, so if you run out of SP while learning skills, you can always earn more by hunting monsters. To check your current SP amount, open the Character Info Window by clicking on the face-shaped icon on the bottom right screen or pressing ALT+T. Close Window.
[tutorial_newbie004a.htm] You've received a spiritshot. It may be viewed in the Inventory Window. Close window.
[tutorial_newbie004b.htm] You have received a Soulshot for Novice as a reward. Please open the Inventory Window to confirm it. Close Window
[tutorial_orc007.htm] [Conversation with a Newbie Helper] Now, try talking with a Newbie Helper. Move your mouse cursor over the Newbie Helper and left-click. Then your mouse cursor will change into the shape of a balloon. At this time, if you click the left mouse button again, the conversation will start. If you move while following the direction of the arrow above your character, you will run into a Newbie Helper. The helpers will give you helpful instructions as well as useful gifts, so be sure to go meet with a Newbie Helper. Exit the Tutorial
[tutorial_orc008.htm] Quest Speak to the Paagrio Priests of the Temple of Paagrio. They will explain the basics of combat through quests. You must visit them, for they will give you a useful gift after you complete a quest. They are marked in yellow on the radar, at the upper-right corner of the screen. You must visit them if you wish to advance. Close Window
[tutorial_orc009.htm] [Newbie Character] From now on, you will receive the benefits of being a New Character. Until you reach level 25, you will receive the following advantages: 1. Equipment exchange: You can trade your current weapon or armor for higher quality equipment, paying only the difference in price. In order to initiate the trade, start a conversation with any merchant at a weapons or armor shop. 2. Support magic:You may ask a Newbie Guide to cast Support Magic on you, which can be very helpful when fighting monsters. You may receive Support Magic after level 6, with support up to level 62. 3. Additional Supplies of Soulshot and Spiritshot. Each time you complete a particular quest as a newbie, you will also receive an additional reward. Go and speak with Atuba Chief Varkees who can be found in the King's Hall within the Orc Village. She will give you the details of a quest to defeat Rakeclaw Imps. If you complete this quest, you will receive additional Soulshot or Spiritshot that are meant for beginners. Close window.
[tutorial_orc_fighter001.htm] Welcome to Lineage II! This is the Temple of Paagrio, the sacred place where we worship Paagrio, the god of flame. It is here that young Orcs begin their training. Now you are taking your first step to becoming an Orc Fighter. First, I will explain the basic operation of the game. If you click here, you will move to the next topic of this tutorial.
[tutorial_orc_fighter017.htm] [ Learn skills ] Congreatulation! Eou are 5 lvl now. Now you can learn skills. You can do it with NPC in dwarven village in blacksmith shop. Follow the indicator under your head. To recieve the skills you must have some SP?SP Increases every time, when you are hunting. Kill more monsters to resieve more SP. If you whant to know, how much SP do you have now, pressAlt+T. Close window.
[tutorial_orc_mage001.htm] Welcome to Lineage II! This is the Temple of Paagrio, the sacred place where we worship Paagrio, the god of flame. It is here that young Orcs begin their training. Now, you are taking your first step to becoming an Orc Mystic. First, I will explain the basic operation of the game. If you click here, you will move to the next topic of this tutorial.
[tutorial_orc_mage017.htm] [Learn Skill] Congratulations! You have finally reached level 7. Now you can learn a new skill. To learn a skill, you must meet the Master in the town. Follow the arrow above your head to find him. In order to learn a skill, a certain number of Skill Points (SP) is required. Your SP will grow every time you kill a monster, so if you ever run out of SP, you can earn more by hunting monsters. To see your current SP level, open the Character Information Window. If you click the icon that looks like a face or press the ALT+T keys, the Character Information Window will open. Close window.
Исходник условий и наград (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.Q00255_Tutorial;
import java.util.HashMap;
import java.util.Map;
import org.l2jmobius.gameserver.config.PlayerConfig;
import org.l2jmobius.gameserver.entity.actor.Npc;
import org.l2jmobius.gameserver.entity.actor.Player;
import org.l2jmobius.gameserver.mechanics.script.Quest;
import org.l2jmobius.gameserver.mechanics.script.QuestState;
public class Q00255_Tutorial extends Quest
{
// @formatter:off
// table for Quest Timer ( Ex == -2 ) [raceId, voice, html]
private static final String[][] QTEXMTWO =
{
{"0", "tutorial_voice_001a", "tutorial_human_fighter001.htm"},
{"10", "tutorial_voice_001b", "tutorial_human_mage001.htm"},
{"18", "tutorial_voice_001c", "tutorial_elven_fighter001.htm"},
{"25", "tutorial_voice_001d", "tutorial_elven_mage001.htm"},
{"31", "tutorial_voice_001e", "tutorial_delf_fighter001.htm"},
{"38", "tutorial_voice_001f", "tutorial_delf_mage001.htm"},
{"44", "tutorial_voice_001g", "tutorial_orc_fighter001.htm"},
{"49", "tutorial_voice_001h", "tutorial_orc_mage001.htm"},
{"53", "tutorial_voice_001i", "tutorial_dwarven_fighter001.htm"},
};
// table for Client Event Enable (8) [raceId, html, x, y, z]
private static final String[][] CEEa =
{
{"0", "tutorial_human_fighter007.htm", "-71424", "258336", "-3109"},
{"10", "tutorial_human_mage007.htm", "-91036", "248044", "-3568"},
{"18", "tutorial_elf007.htm", "46112", "41200", "-3504"},
{"25", "tutorial_elf007.htm", "46112", "41200", "-3504"},
{"31", "tutorial_delf007.htm", "28384", "11056", "-4233"},
{"38", "tutorial_delf007.htm", "28384", "11056", "-4233"},
{"44", "tutorial_orc007.htm", "-56736", "-113680", "-672"},
{"49", "tutorial_orc007.htm", "-56736", "-113680", "-672"},
{"53", "tutorial_dwarven_fighter007.htm", "108567", "-173994", "-406"},
};
// table for Question Mark Clicked (9 & 11) learning skills [raceId, html, x, y, z]
private static final String[][] QMCa =
{
{"0", "tutorial_fighter017.htm", "-83165", "242711", "-3720"},
{"10", "tutorial_mage017.htm", "-85247", "244718", "-3720"},
{"18", "tutorial_fighter017.htm", "45610", "52206", "-2792"},
{"25", "tutorial_mage017.htm", "45610", "52206", "-2792"},
{"31", "tutorial_fighter017.htm", "10344", "14445", "-4242"},
{"38", "tutorial_mage017.htm", "10344", "14445", "-4242"},
{"44", "tutorial_fighter017.htm", "-46324", "-114384", "-200"},
{"49", "tutorial_fighter017.htm", "-46305", "-112763", "-200"},
{"53", "tutorial_fighter017.htm", "115447", "-182672", "-1440"},
};
// @formatter:on
// table for Question Mark Clicked (24) newbie lvl [raceId, html]
private static final Map<Integer, String> QMCb = new HashMap<>();
static
{
QMCb.put(0, "tutorial_human009.htm");
QMCb.put(10, "tutorial_human009.htm");
QMCb.put(18, "tutorial_elf009.htm");
QMCb.put(25, "tutorial_elf009.htm");
QMCb.put(31, "tutorial_delf009.htm");
QMCb.put(38, "tutorial_delf009.htm");
QMCb.put(44, "tutorial_orc009.htm");
QMCb.put(49, "tutorial_orc009.htm");
QMCb.put(53, "tutorial_dwarven009.htm");
}
// table for Question Mark Clicked (35) 1st class transfer [raceId, html]
private static final Map<Integer, String> QMCc = new HashMap<>();
static
{
QMCc.put(0, "tutorial_21.htm");
QMCc.put(10, "tutorial_21a.htm");
QMCc.put(18, "tutorial_21b.htm");
QMCc.put(25, "tutorial_21c.htm");
QMCc.put(31, "tutorial_21g.htm");
QMCc.put(38, "tutorial_21h.htm");
QMCc.put(44, "tutorial_21d.htm");
QMCc.put(49, "tutorial_21e.htm");
QMCc.put(53, "tutorial_21f.htm");
QMCc.put(53, "tutorial_21f.htm");
}
// table for Tutorial Close Link (26) 2nd class transfer [raceId, html]
private static final Map<Integer, String> TCLa = new HashMap<>();
static
{
TCLa.put(1, "tutorial_22w.htm");
TCLa.put(4, "tutorial_22.htm");
TCLa.put(7, "tutorial_22b.htm");
TCLa.put(11, "tutorial_22c.htm");
TCLa.put(15, "tutorial_22d.htm");
TCLa.put(19, "tutorial_22e.htm");
TCLa.put(22, "tutorial_22f.htm");
TCLa.put(26, "tutorial_22g.htm");
TCLa.put(29, "tutorial_22h.htm");
TCLa.put(32, "tutorial_22n.htm");
TCLa.put(35, "tutorial_22o.htm");
TCLa.put(39, "tutorial_22p.htm");
TCLa.put(42, "tutorial_22q.htm");
TCLa.put(45, "tutorial_22i.htm");
TCLa.put(47, "tutorial_22j.htm");
TCLa.put(50, "tutorial_22k.htm");
TCLa.put(54, "tutorial_22l.htm");
TCLa.put(56, "tutorial_22m.htm");
}
// table for Tutorial Close Link (23) 2nd class transfer [raceId, html]
private static final Map<Integer, String> TCLb = new HashMap<>();
static
{
TCLb.put(4, "tutorial_22aa.htm");
TCLb.put(7, "tutorial_22ba.htm");
TCLb.put(11, "tutorial_22ca.htm");
TCLb.put(15, "tutorial_22da.htm");
TCLb.put(19, "tutorial_22ea.htm");
TCLb.put(22, "tutorial_22fa.htm");
TCLb.put(26, "tutorial_22ga.htm");
TCLb.put(32, "tutorial_22na.htm");
TCLb.put(35, "tutorial_22oa.htm");
TCLb.put(39, "tutorial_22pa.htm");
TCLb.put(50, "tutorial_22ka.htm");
}
// table for Tutorial Close Link (24) 2nd class transfer [raceId, html]
private static final Map<Integer, String> TCLc = new HashMap<>();
static
{
TCLc.put(4, "tutorial_22ab.htm");
TCLc.put(7, "tutorial_22bb.htm");
TCLc.put(11, "tutorial_22cb.htm");
TCLc.put(15, "tutorial_22db.htm");
TCLc.put(19, "tutorial_22eb.htm");
TCLc.put(22, "tutorial_22fb.htm");
TCLc.put(26, "tutorial_22gb.htm");
TCLc.put(32, "tutorial_22nb.htm");
TCLc.put(35, "tutorial_22ob.htm");
TCLc.put(39, "tutorial_22pb.htm");
TCLc.put(50, "tutorial_22kb.htm");
}
public Q00255_Tutorial()
{
super(-1, "Tutorial");
}
@Override
public String onEvent(String event, Npc npc, Player player)
{
if (PlayerConfig.DISABLE_TUTORIAL)
{
return "";
}
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return null;
}
String html = "";
final int classId = player.getPlayerClass().getId();
final int Ex = qs.getInt("Ex");
if (event.startsWith("UC"))
{
if ((player.getLevel() < 6) && (qs.getInt("onlyone") == 0))
{
switch (qs.getInt("ucMemo"))
{
case 0:
{
qs.set("ucMemo", "0");
startQuestTimer("QT", 10000, null, player, false);
qs.set("Ex", "-2");
break;
}
case 1:
{
qs.showQuestionMark(1);
qs.playTutorialVoice("tutorial_voice_006");
playSound(player, "ItemSound.quest_tutorial");
break;
}
case 2:
{
if (Ex == 2)
{
qs.showQuestionMark(3);
}
else if (getQuestItemsCount(player, 6353) > 0)
{
qs.showQuestionMark(5);
}
playSound(player, "ItemSound.quest_tutorial");
break;
}
case 3:
{
qs.showQuestionMark(12);
playSound(player, "ItemSound.quest_tutorial");
qs.onTutorialClientEvent(0);
break;
}
}
}
}
else if (event.startsWith("QT"))
{
if (Ex == -2)
{
String voice = "";
for (String[] element : QTEXMTWO)
{
if (classId == Integer.parseInt(element[0]))
{
voice = element[1];
html = element[2];
}
}
qs.playTutorialVoice(voice);
qs.set("Ex", "-3");
cancelQuestTimers("QT");
startQuestTimer("QT", 30000, null, player, false);
}
else if (Ex == -3)
{
qs.playTutorialVoice("tutorial_voice_002");
qs.set("Ex", "0");
}
else if (Ex == -4)
{
qs.playTutorialVoice("tutorial_voice_008");
qs.set("Ex", "-5");
}
}
// Tutorial close
else if (event.startsWith("TE"))
{
cancelQuestTimers("TE");
if (!event.equalsIgnoreCase("TE"))
{
switch (Integer.parseInt(event.substring(2)))
{
case 0:
{
qs.closeTutorialHtml();
break;
}
case 1:
{
qs.closeTutorialHtml();
qs.playTutorialVoice("tutorial_voice_006");
qs.showQuestionMark(1);
playSound(player, "ItemSound.quest_tutorial");
startQuestTimer("QT", 30000, null, player, false);
qs.set("Ex", "-4");
break;
}
case 2:
{
qs.playTutorialVoice("tutorial_voice_003");
html = "tutorial_02.htm";
qs.onTutorialClientEvent(1);
qs.set("Ex", "-5");
break;
}
case 3:
{
html = "tutorial_03.htm";
qs.onTutorialClientEvent(2);
break;
}
case 5:
{
html = "tutorial_05.htm";
qs.onTutorialClientEvent(8);
break;
}
case 7:
{
html = "tutorial_100.htm";
qs.onTutorialClientEvent(0);
break;
}
case 8:
{
html = "tutorial_101.htm";
qs.onTutorialClientEvent(0);
break;
}
case 10:
{
html = "tutorial_103.htm";
qs.onTutorialClientEvent(0);
break;
}
case 12:
{
qs.closeTutorialHtml();
break;
}
case 23:
{
final String entry = TCLb.get(classId);
if (entry != null)
{
html = entry;
}
break;
}
case 24:
{
final String entry = TCLc.get(classId);
if (entry != null)
{
html = entry;
}
break;
}
case 25:
{
html = "tutorial_22cc.htm";
break;
}
case 26:
{
final String entry = TCLa.get(classId);
if (entry != null)
{
html = entry;
}
break;
}
case 27:
{
html = "tutorial_29.htm";
break;
}
case 28:
{
html = "tutorial_28.htm";
break;
}
}
}
}
// Client Event
else if (event.startsWith("CE"))
{
final int event_id = Integer.parseInt(event.substring(2));
if ((event_id == 1) && (player.getLevel() < 6))
{
qs.playTutorialVoice("tutorial_voice_004");
html = "tutorial_03.htm";
playSound(player, "ItemSound.quest_tutorial");
qs.onTutorialClientEvent(2);
}
else if ((event_id == 2) && (player.getLevel() < 6))
{
qs.playTutorialVoice("tutorial_voice_005");
html = "tutorial_05.htm";
playSound(player, "ItemSound.quest_tutorial");
qs.onTutorialClientEvent(8);
}
else if ((event_id == 8) && (player.getLevel() < 6))
{
int x = 0;
int y = 0;
int z = 0;
for (String[] element : CEEa)
{
if (classId == Integer.parseInt(element[0]))
{
html = element[1];
x = Integer.parseInt(element[2]);
y = Integer.parseInt(element[3]);
z = Integer.parseInt(element[4]);
}
}
if (x != 0)
{
playSound(player, "ItemSound.quest_tutorial");
addRadar(player, x, y, z);
qs.playTutorialVoice("tutorial_voice_007");
qs.set("ucMemo", "1");
qs.set("Ex", "-5");
}
}
else if ((event_id == 30) && (player.getLevel() < 10) && (qs.getInt("Die") == 0))
{
qs.playTutorialVoice("tutorial_voice_016");
playSound(player, "ItemSound.quest_tutorial");
qs.set("Die", "1");
qs.showQuestionMark(8);
qs.onTutorialClientEvent(0);
}
else if ((event_id == 800000) && (player.getLevel() < 6) && (qs.getInt("sit") == 0))
{
qs.playTutorialVoice("tutorial_voice_018");
playSound(player, "ItemSound.quest_tutorial");
qs.set("sit", "1");
qs.onTutorialClientEvent(0);
html = "tutorial_21z.htm";
}
else if (event_id == 40)
{
switch (player.getLevel())
{
case 5:
{
if (((qs.getInt("lvl") < 5) && !player.isMageClass()) || (classId == 49))
{
qs.playTutorialVoice("tutorial_voice_014");
qs.showQuestionMark(9);
playSound(player, "ItemSound.quest_tutorial");
qs.set("lvl", "5");
}
break;
}
case 6:
{
if ((qs.getInt("lvl") < 6) && (player.getPlayerClass().level() == 0))
{
qs.playTutorialVoice("tutorial_voice_020");
playSound(player, "ItemSound.quest_tutorial");
qs.showQuestionMark(24);
qs.set("lvl", "6");
}
break;
}
case 7:
{
if ((qs.getInt("lvl") < 7) && player.isMageClass() && (classId != 49) && (player.getPlayerClass().level() == 0))
{
qs.playTutorialVoice("tutorial_voice_019");
playSound(player, "ItemSound.quest_tutorial");
qs.set("lvl", "7");
qs.showQuestionMark(11);
}
break;
}
case 15:
{
if (qs.getInt("lvl") < 15)
{
playSound(player, "ItemSound.quest_tutorial");
qs.set("lvl", "15");
qs.showQuestionMark(33);
}
break;
}
case 19:
{
if ((qs.getInt("lvl") < 19) && (player.getPlayerClass().level() == 0))
{
switch (classId)
{
case 0:
case 10:
case 18:
case 25:
case 31:
case 38:
case 44:
case 49:
case 53:
{
playSound(player, "ItemSound.quest_tutorial");
qs.set("lvl", "19");
qs.showQuestionMark(35);
break;
}
}
}
break;
}
case 35:
{
if ((qs.getInt("lvl") < 35) && (player.getPlayerClass().level() == 1))
{
switch (classId)
{
case 1:
case 4:
case 7:
case 11:
case 15:
case 19:
case 22:
case 26:
case 29:
case 32:
case 35:
case 39:
case 42:
case 45:
case 47:
case 50:
case 54:
case 56:
{
playSound(player, "ItemSound.quest_tutorial");
qs.set("lvl", "35");
qs.showQuestionMark(34);
break;
}
}
}
break;
}
}
}
else if ((event_id == 45) && (player.getLevel() < 10) && (qs.getInt("HP") == 0))
{
qs.playTutorialVoice("tutorial_voice_017");
playSound(player, "ItemSound.quest_tutorial");
qs.set("HP", "1");
qs.showQuestionMark(10);
qs.onTutorialClientEvent(800000);
}
else if ((event_id == 57) && (player.getLevel() < 6) && (qs.getInt("Adena") == 0))
{
qs.playTutorialVoice("tutorial_voice_012");
playSound(player, "ItemSound.quest_tutorial");
qs.set("Adena", "1");
qs.showQuestionMark(23);
}
else if ((event_id == 6353) && (player.getLevel() < 6) && (qs.getInt("Gemstone") == 0))
{
qs.playTutorialVoice("tutorial_voice_013");
playSound(player, "ItemSound.quest_tutorial");
qs.set("Gemstone", "1");
qs.showQuestionMark(5);
}
else if ((event_id == 1048576) && (player.getLevel() < 6))
{
qs.showQuestionMark(5);
qs.playTutorialVoice("tutorial_voice_013");
playSound(player, "ItemSound.quest_tutorial");
}
}
// Question mark clicked
else if (event.startsWith("QM"))
{
int x = 0;
int y = 0;
int z = 0;
switch (Integer.parseInt(event.substring(2)))
{
case 1:
{
qs.playTutorialVoice("tutorial_voice_007");
qs.set("Ex", "-5");
for (String[] element : CEEa)
{
if (classId == Integer.parseInt(element[0]))
{
html = element[1];
x = Integer.parseInt(element[2]);
y = Integer.parseInt(element[3]);
z = Integer.parseInt(element[4]);
}
}
addRadar(player, x, y, z);
break;
}
case 3:
{
html = "tutorial_09.htm";
qs.onTutorialClientEvent(1048576);
break;
}
case 5:
{
for (String[] element : CEEa)
{
if (classId == Integer.parseInt(element[0]))
{
// html = element[1];
x = Integer.parseInt(element[2]);
y = Integer.parseInt(element[3]);
z = Integer.parseInt(element[4]);
}
}
addRadar(player, x, y, z);
html = "tutorial_11.htm";
break;
}
case 7:
{
html = "tutorial_15.htm";
qs.set("ucMemo", "3");
break;
}
case 8:
{
html = "tutorial_18.htm";
break;
}
case 9:
{
for (String[] element : QMCa)
{
if (classId == Integer.parseInt(element[0]))
{
html = element[1];
x = Integer.parseInt(element[2]);
y = Integer.parseInt(element[3]);
z = Integer.parseInt(element[4]);
}
}
if (x != 0)
{
addRadar(player, x, y, z);
}
break;
}
case 10:
{
html = "tutorial_19.htm";
break;
}
case 11:
{
for (String[] element : QMCa)
{
if (classId == Integer.parseInt(element[0]))
{
html = element[1];
x = Integer.parseInt(element[2]);
y = Integer.parseInt(element[3]);
z = Integer.parseInt(element[4]);
}
}
if (x != 0)
{
addRadar(player, x, y, z);
}
break;
}
case 12:
{
html = "tutorial_15.htm";
qs.set("ucMemo", "4");
break;
}
case 17:
{
html = "tutorial_30.htm";
break;
}
case 23:
{
html = "tutorial_24.htm";
break;
}
case 24:
{
final String entry = QMCb.get(classId);
if (entry != null)
{
html = entry;
}
break;
}
case 26:
{
html = player.isMageClass() && (classId != 49) ? "tutorial_newbie004b.htm" : "tutorial_newbie004a.htm";
break;
}
case 33:
{
html = "tutorial_27.htm";
break;
}
case 34:
{
html = "tutorial_28.htm";
break;
}
case 35:
{
final String entry = QMCc.get(classId);
if (entry != null)
{
html = entry;
}
break;
}
}
}
if (html.isEmpty())
{
return null;
}
qs.showTutorialHTML(html);
return null;
}
}