diff --git a/L2J_DataPack_BETA/dist/game/data/scripts.cfg b/L2J_DataPack_BETA/dist/game/data/scripts.cfg index 594ab50bfaac8b33c1b1a7cae1f750a8b9a9f958..fa70605d0017f69ee3b1ccabb1b05fb8e9fa59b9 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts.cfg +++ b/L2J_DataPack_BETA/dist/game/data/scripts.cfg @@ -266,10 +266,7 @@ quests/379_FantasyWine/__init__.py quests/383_SearchingForTreasure/__init__.py quests/384_WarehouseKeepersPastime/__init__.py quests/386_StolenDignity/__init__.py -quests/414_PathToOrcRaider/__init__.py -quests/415_PathToOrcMonk/__init__.py quests/417_PathToScavenger/__init__.py -quests/418_PathToArtisan/__init__.py quests/419_GetAPet/__init__.py quests/422_RepentYourSins/__init__.py quests/426_FishingShot/__init__.py diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30501-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30501-02.htm deleted file mode 100644 index 03715b3eee9f12e1c0ca4790681d214131e05d9f..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30501-02.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Prefect Kasman:<br> -Now you have one left. Go and kill the scoundrel! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30501-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30501-03.htm deleted file mode 100644 index ed76f71997211b1d6882835c4121413cde2f8446..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30501-03.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Prefect Kasman:<br> -Foul betrayers, to think that they abandoned the courage and loyalty of our race, they have become low Orcs depraved in body as well as in soul. How truly wicked they look. I am moved to think that we have shown mercy by killing them!<br> -Anyway, you have done well. You have truly demonstrated both courage and loyalty. Congratulations! I bestow this token on you. Take it and go to<font color="LEVEL"> High Prefect Osborn</font> right here! He will change your profession to Orc Raider. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-02.htm deleted file mode 100644 index 80b83dfc9c7aab55c99b57045452b83b981ffe47..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-02.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Prefect Karukia:<br> -Of course, I know that you are trying to become a Raider to be an honored member of our kingdom. However courage that is not supported by skills is foolhardy! It is the shortcut to a meaningless death! If you are patient and train more, opportunity will find you in the proper course of time.<font color="LEVEL"> When you reach level 18, come back to me!</font> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-02a.htm deleted file mode 100644 index 0a64d9904564ed812844d107e3102a678d91d411..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-02a.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Prefect Karukia:<br> -You fool! You have already been selected as a courageous Orc Marauder! Don't waste my time with useless questions. Go out to the battlefield and strike down the enemy! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-03.htm deleted file mode 100644 index ac60e022e63cb74cc6deb579ae6f219cddabdd90..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-03.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Prefect Karukia:<br> -Only the most courageous Orc Fighters are chosen to be Orc Marauders. You don't have the qualifications to become a Marauder! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-04.htm deleted file mode 100644 index 87b89c377035ba2d22cc5f3080721aa42f9c895d..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-04.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Prefect Karukia:<br> -Ohh! The Mark of Raider! Another trustworthy fighter that will protect the kingdom has been born. Ha ha ha! Hurry on to the Human kingdom and show the token to the high prefects there. Then you can change your profession to become a Raider. The fastest way would be to go to the<font color="LEVEL"> High Prefect Osborn of the village of Gludin</font> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-06.htm deleted file mode 100644 index 2ce21ac14f8076fb684533a0b93696c1120fd1e8..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-06.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Prefect Karukia:<br> -Why have you come back already? Didn't I tell you to bring back<font color="LEVEL"> ten kuruka ratman teeth</font>? Is this all the courage you can muster? - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-07a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-07a.htm deleted file mode 100644 index f35d2c082eef7195e1e084216fdfb3fb8f08f11a..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-07a.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Prefect Karukia:<br> -Very good. But do not be vain. A true Orc Raider would regard this only as a snack. The second task is to prove your loyalty.<br>In the Orc kingdom, we have lived many long years on the foundation of absolute obedience to our elders. However, near perfect as we are, sometimes there are betrayers that should not exist. They have fled to the Human land of Gludio to avoid our eyes. They think they are safe, but we have not forgotten them. Here is a<font color="LEVEL"> report of traitors</font> known as Umbars. Go on now and put an end to the traitors and prove your loyalty!<br> -When you complete this task, take the two heads of the betrayers to<font color="LEVEL"> Prefect Kasman in the village of Gludin</font>. If you have truly earned the qualifications to become an Orc Raider, you can receive a token to change profession from him. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-08.htm deleted file mode 100644 index dbc4aaa218a3ffeb608b7e850cb0d60ae69294e2..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-08.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Prefect Karukia:<br> -You have not yet proven your loyalty! There are many traitors hiding far away in Gludio to avoid our eyes! They think they are safe, but we have not forgotten them. Here is the report of two newly revealed<font color="LEVEL"> traitors Umbars</font>. Go on now and put an end to the betrayers and prove your loyalty!<br> -When you complete this task, take the heads of the traitors to<font color="LEVEL"> Prefect Kasman in the village of Gludin</font>. If you have truly earned the qualifications to become an Orc Raider, you will receive a token to change profession from him. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-09.htm deleted file mode 100644 index 20f04161dbcbd8a19e5a54d8b27d317b29d756b2..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-09.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Prefect Karukia:<br> -Take the heads of the traitors to<font color="LEVEL"> Prefect Kasman in the village of Gludin</font>. If you have truly earned the qualifications to become an Orc Raider, you will receive a token to change profession from him. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/31978-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/31978-02.htm deleted file mode 100644 index 08a69ec47c8b8926ccd7e918eb84b2854a4402de..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/31978-02.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Prefect Tazeer:<br> -Very well! Then pay close attention!<br> The <font color="LEVEL">Timora Orcs</font> betrayed us by joining the dreaded Ragna Orcs, who have long been the scourge of this area. They can usually be found near <font color="LEVEL">the lake between the Crypts of Disgrace and the Den of Evil</font>. They hide in the Den of Evil whenever they hear that we're sending a powerful Orc after them.<br> -Letting their betrayal go unchallenged would harm the reputation of the entire Orc Kingdom! If we secretly send an unknown Orc like you after them, they might be taken off-guard...<br> -Please, destroy the Timora Orcs!<br> -<a action="bypass -h Quest 414_PathToOrcRaider 31978-03.htm">"I'll do it."</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/__init__.py deleted file mode 100644 index 5fea9f3d2d4ccf7bb068c4fc93aeb00fff2cb1d8..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/__init__.py +++ /dev/null @@ -1,210 +0,0 @@ -# Made by Mr. Have fun! Version 0.2 -# Shadow Weapon Coupons contributed by BiTi for the Official L2J Datapack Project -# Visit http://www.l2jdp.com/forum/ for more details -import sys -from com.l2jserver.gameserver.model.quest import State -from com.l2jserver.gameserver.model.quest import QuestState -from com.l2jserver.gameserver.model.quest import Quest as JQuest -from com.l2jserver.gameserver.network.serverpackets import SocialAction - -qn = "414_PathToOrcRaider" - -#NPCs -KARUKIA = 30570 -KASMAN = 30501 -TAZEER = 31978 - -#MOBS -GOBLIN_TOMB_RAIDER_LEADER = 20320 -KURUKA_RATMAN_LEADER = 27045 -UMBAR_ORC = 27054 -TIMORA_ORC = 27320 - -#ITEMS -GREEN_BLOOD = 1578 -GOBLIN_DWELLING_MAP = 1579 -KURUKA_RATMAN_TOOTH = 1580 -BETRAYER_UMBAR_REPORT = 1589 -HEAD_OF_BETRAYER = 1591 -TIMORA_ORC_HEAD = 8544 - -#REWARD -MARK_OF_RAIDER = 1592 - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = [GREEN_BLOOD, GOBLIN_DWELLING_MAP, KURUKA_RATMAN_TOOTH, BETRAYER_UMBAR_REPORT, HEAD_OF_BETRAYER, TIMORA_ORC_HEAD] - - def onEvent (self,event,st) : - htmltext = event - if event == "30570-05.htm" : - st.set("id","1") - st.set("cond","1") - st.setState(State.STARTED) - st.giveItems(GOBLIN_DWELLING_MAP,1) - st.playSound("ItemSound.quest_accept") - elif event == "30570-07a.htm" : - st.takeItems(KURUKA_RATMAN_TOOTH,-1) - st.takeItems(GOBLIN_DWELLING_MAP,-1) - st.takeItems(GREEN_BLOOD,-1) - st.giveItems(BETRAYER_UMBAR_REPORT,1) - st.set("id","3") - st.set("cond","3") - st.playSound("ItemSound.quest_middle") - elif event == "30570-07b.htm" : - st.takeItems(KURUKA_RATMAN_TOOTH,-1) - st.takeItems(GOBLIN_DWELLING_MAP,-1) - st.takeItems(GREEN_BLOOD,-1) - st.set("cond","5") - st.playSound("ItemSound.quest_middle") - elif event == "31978-03.htm" : - st.set("cond","6") - st.playSound("ItemSound.quest_middle") - return htmltext - - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - - npcId = npc.getId() - id = st.getState() - if npcId != KARUKIA and id != State.STARTED : return htmltext - - playerClassID = player.getClassId().getId() - playerLvl = player.getLevel() - cond = st.getInt("cond") - - if npcId == KARUKIA and cond == 0 : - if playerLvl >= 18 and playerClassID == 0x2c and st.getQuestItemsCount(MARK_OF_RAIDER) == 0 and st.getQuestItemsCount(GOBLIN_DWELLING_MAP) == 0 : - htmltext = "30570-01.htm" - elif playerClassID != 0x2c : - if playerClassID == 0x2d : - htmltext = "30570-02a.htm" - else: - htmltext = "30570-03.htm" - elif playerLvl < 18 and playerClassID == 0x2c : - htmltext = "30570-02.htm" - elif playerLvl >= 18 and playerClassID == 0x2c and st.getQuestItemsCount(MARK_OF_RAIDER) == 1 : - htmltext = "30570-04.htm" - else: - htmltext = "30570-02.htm" - elif npcId == KARUKIA and cond and st.getQuestItemsCount(GOBLIN_DWELLING_MAP) == 1 and st.getQuestItemsCount(KURUKA_RATMAN_TOOTH) < 10 : - htmltext = "30570-06.htm" - elif npcId == KARUKIA and cond and st.getQuestItemsCount(GOBLIN_DWELLING_MAP) == 1 and st.getQuestItemsCount(KURUKA_RATMAN_TOOTH) >= 10 and st.getQuestItemsCount(BETRAYER_UMBAR_REPORT) == 0 : - htmltext = "30570-07.htm" - elif npcId == KARUKIA and cond >5 : - htmltext = "30570-07b.htm" - elif npcId == KARUKIA and cond and st.getQuestItemsCount(BETRAYER_UMBAR_REPORT) and st.getQuestItemsCount(HEAD_OF_BETRAYER) < 2 : - htmltext = "30570-08.htm" - elif npcId == KARUKIA and cond and st.getQuestItemsCount(BETRAYER_UMBAR_REPORT) and st.getQuestItemsCount(HEAD_OF_BETRAYER) == 2 : - htmltext = "30570-09.htm" - elif npcId == KASMAN and cond and st.getQuestItemsCount(BETRAYER_UMBAR_REPORT) and st.getQuestItemsCount(HEAD_OF_BETRAYER) == 0 : - htmltext = "30501-01.htm" - elif npcId == KASMAN and cond and st.getQuestItemsCount(HEAD_OF_BETRAYER) > 0 and st.getQuestItemsCount(HEAD_OF_BETRAYER) < 2 : - htmltext = "30501-02.htm" - elif npcId == KASMAN and cond and st.getQuestItemsCount(HEAD_OF_BETRAYER) == 2 : - htmltext = "30501-03.htm" - st.takeItems(HEAD_OF_BETRAYER,-1) - st.takeItems(BETRAYER_UMBAR_REPORT,-1) - st.giveItems(MARK_OF_RAIDER,1) - isFinished = st.getGlobalQuestVar("1ClassQuestFinished") - if isFinished == "" : - if player.getLevel() >= 20 : - st.addExpAndSp(320534, 21312) - elif player.getLevel() == 19 : - st.addExpAndSp(456128, 28010) - else: - st.addExpAndSp(591724, 34708) - st.giveItems(57, 163800) - player.sendPacket(SocialAction(player.getObjectId(),3)) - st.unset("cond") - st.exitQuest(False) - st.saveGlobalQuestVar("1ClassQuestFinished","1") - st.playSound("ItemSound.quest_finish") - elif npcId == TAZEER: - if cond == 5: - htmltext = "31978-01.htm" - elif cond == 6: - htmltext = "31978-04.htm" - elif cond == 7: - htmltext = "31978-05.htm" - st.takeItems(TIMORA_ORC_HEAD,-1) - if player.getLevel() >= 20 : - st.addExpAndSp(160267, 10656) - elif player.getLevel() == 19 : - st.addExpAndSp(228064, 14005) - else: - st.addExpAndSp(295862, 17354) - st.giveItems(57, 163800) - st.giveItems(MARK_OF_RAIDER,1) - player.sendPacket(SocialAction(player.getObjectId(),3)) - st.unset("cond") - st.exitQuest(False) - st.playSound("ItemSound.quest_finish") - return htmltext - - def onKill(self,npc,player,isPet): - st = player.getQuestState(qn) - if not st : return - if st.getState() != State.STARTED : return - - cond = st.getInt("cond") - npcId = npc.getId() - xx = int(player.getX()) - yy = int(player.getY()) - zz = int(player.getZ()) - if npcId == GOBLIN_TOMB_RAIDER_LEADER : - if cond and st.getQuestItemsCount(GOBLIN_DWELLING_MAP) == 1 and st.getQuestItemsCount(KURUKA_RATMAN_TOOTH) < 10 and st.getQuestItemsCount(GREEN_BLOOD) < 40 : - if st.getQuestItemsCount(GREEN_BLOOD) > 1 : - if self.getRandom(100) < ((st.getQuestItemsCount(GREEN_BLOOD))*10) : - st.takeItems(GREEN_BLOOD,-1) - st.addSpawn(KURUKA_RATMAN_LEADER,xx,yy,zz) - else: - st.giveItems(GREEN_BLOOD,1) - st.playSound("ItemSound.quest_itemget") - else: - st.giveItems(GREEN_BLOOD,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == KURUKA_RATMAN_LEADER : - if cond and st.getQuestItemsCount(GOBLIN_DWELLING_MAP) == 1 and st.getQuestItemsCount(KURUKA_RATMAN_TOOTH) < 10 : - st.takeItems(GREEN_BLOOD,-1) - if st.getQuestItemsCount(KURUKA_RATMAN_TOOTH) == 9 : - st.giveItems(KURUKA_RATMAN_TOOTH,1) - st.set("id","2") - st.set("cond","2") - st.playSound("ItemSound.quest_middle") - else: - st.giveItems(KURUKA_RATMAN_TOOTH,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == UMBAR_ORC : - if cond and st.getQuestItemsCount(BETRAYER_UMBAR_REPORT) > 0 and st.getQuestItemsCount(HEAD_OF_BETRAYER) < 2 : - st.giveItems(HEAD_OF_BETRAYER,1) - if st.getQuestItemsCount(HEAD_OF_BETRAYER) > 1 : - st.set("id","4") - st.set("cond","4") - st.playSound("ItemSound.quest_middle") - else: - st.playSound("ItemSound.quest_itemget") - elif npcId == TIMORA_ORC : - if cond == 6: - st.set("cond","7") - st.playSound("ItemSound.quest_middle") - st.giveItems(TIMORA_ORC_HEAD,1) - return - -QUEST = Quest(414,qn,"Path of the Orc Raider") - -QUEST.addStartNpc(KARUKIA) - -QUEST.addTalkId(KARUKIA) -QUEST.addTalkId(KASMAN) -QUEST.addTalkId(TAZEER) - -QUEST.addKillId(GOBLIN_TOMB_RAIDER_LEADER) -QUEST.addKillId(KURUKA_RATMAN_LEADER) -QUEST.addKillId(UMBAR_ORC) -QUEST.addKillId(TIMORA_ORC) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30501-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30501-01.htm deleted file mode 100644 index b2d22805e618c9ac6f57762f89dfcd75111d6264..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30501-01.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Prefect Kasman:<br> -To find the second scroll needed in order to become a Paagrio Monk, you must meet<font color="LEVEL"> Khavatari Toruku</font>. To meet him, you must follow the path that heads north from the village. He will be near the fork in the road. When you meet him, give him this fig.<br> -Come back after you have completed his Trial of Steel and you receive the scroll. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-01.htm deleted file mode 100644 index a7b9e83de6ef7bbed107d4fc541749e0669e9b69..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-01.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Gantaki Zu Urutu:<br> -Young one, do you know of the Monks that carry out the teachings of Pa'agrio to achieve ultimate strength? They do not rely on equipment but believe that training their own bodies as weapons is the key to acquiring ultimate power. For this, they practice the Kabart, a traditional martial art of the Orcs that has been passed on for thousands of years.<br> -The training process of a Monk is a perilous path that can only be taken by one with faith like a flame and a strong body like Steel. However, the strength you acquire as a result is indeed amazing. Kabart Masters can strike down a large beast with one blow, using no swords or axes, just swift movements and precise blows.<br> -<a action="bypass -h Quest 415_PathToOrcMonk 30587_1">Say you want to be a Monk</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-02.htm deleted file mode 100644 index 9eacecdd1624927f969b1a647afce01f49d74bcd..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-02.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Gantaki Zu Urutu:<br> -The traditional martial art, Kabart, learned by the Paagrio Monk, is only taught to Orc Fighters that have strong physical strength and indomitable faith! I am sorry, but you do not have the capacity to become a Paagrio Monk. Acknowledge your limits and be off! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-02a.htm deleted file mode 100644 index 3a7aef9cfd7ac52d41e1bec934d9c1a7c8cf72c1..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-02a.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Gantaki Zu Urutu:<br> -You are already a Paagrio Monk that has the two scrolls in your hands! Don't waste your time in a place like this. Go back to your training! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-03.htm deleted file mode 100644 index 931cb7806e5606fd40970fbfbeb149d57a40d081..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-03.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Gantaki Zu Urutu:<br> -The traditional martial art, Kabart, learned by the Paagrio Monk, is only taught to Orc Fighters that have strong physical strength and indomitable faith! I am sorry to say that you come up short both physically and spiritually. Acknowledge your limitations and work hard on your training for the time being! Come back after you earn more experience and reach level 18! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-04.htm deleted file mode 100644 index 3100c599a9e5c5d518a8bf0a172f4eef1530cff6..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-04.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Gantaki Zu Urutu:<br> -Don't you already have the Khavatari Totem? Take it to the Human kingdom and show it to any Orc high prefect. He will change your profession to Paagrio Monk! Tejakar Paagrio! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-05.htm deleted file mode 100644 index ad293c1c9db7f3cbefb6ca6712626de2a910deb4..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Gantaki Zu Urutu:<br> -To become a Monk, one must have the two scrolls that contain the basic secrets of Kabart, the traditional martial art of the Orcs. The first scroll is called the Fiery Spirit Scroll. To obtain this scroll, you must first seek <font color="LEVEL">Khavatari Rosheek</font>.<br> -<a action="bypass -h Quest 415_PathToOrcMonk 1">Ask about Khavatari Rosheek</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-06.htm deleted file mode 100644 index c775233a9c5c1566e119155f6e99995dbc691e44..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-06.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Gantaki Zu Urutu:<br> -As you know, Khavatari is a title given to the greatest Kabart martial art masters. Khavatari Rosheek has left on a journey of trial to develop his skills to a higher level. He has not been seen in the village since. According to the rumors, he is devoting himself to discipline alone near the <font color="LEVEL">Frozen Waterfalls in the northern part of the Immortal Plateau</font>.<br> -If you wish to learn from him, it will be good to prepare a gift. Take this Pomegranate. It will not be easy, but if you perform all the tasks that he gives you, you will receive a scroll! Bring that back to me!<br> -I must tell you one thing more before you leave! <font color="LEVEL">While you are taking the test to become a Monk, you must not use any weapons such as a knife or an axe! You are only allowed to use fist-type weapons or your bare hands!</font> If you break this rule, you cannot complete the test! Remember what I have told you! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-07.htm deleted file mode 100644 index bc3b8479a41d3408988801a9da346f46a8643e42..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-07.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Gantaki Zu Urutu:<br> -To secure the Fiery Spirit Scroll, you must go to <font color="LEVEL">Khavatari Rosheek</font>. He is devoting himself to discipline alone near the <font color="LEVEL">frozen waterfall in the northern part of the Immortal Plateau</font>. Go to him with the Pomegranate that I gave you. If you perform all the tasks that he gives you, you will be able to receive the scroll! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-08.htm deleted file mode 100644 index 95675642c51595a8b78e5eca430e5a32842b3c95..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-08.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Gantaki Zu Urutu:<br> -You haven't obtained the fiery spirit scroll yet? No wonder! Khavatari Rosheek, above all others, regards the tradition of Kabart very dearly! He will not give the scroll to just anyone! Look here, young one!! Grit your teeth and try again! Did you think it would be that easy to earn the qualifications of a Paagrio Monk?! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-09.htm deleted file mode 100644 index 59f6bd3d067c7d32e5a3efd7b8c64d0c34a1e8d6..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-09.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Gantaki Zu Urutu:<br> -Tejakar Oroca! You brought the Fiery Spirit Scroll! Your skill is manifest! Now you have the first of the two scrolls necessary to be an Orc Monk.<br> -There are two ways to find the second scroll. One is to get it from Prefect Kasman of the Village of Gludin, and the other is to meet with Kasman's superior - his teacher, Khavatari Aren. What would you like to do?<br> -<a action="bypass -h Quest 415_PathToOrcMonk 30587-09a.htm">Get the scroll from Prefect Kasman.</a><br> -<a action="bypass -h Quest 415_PathToOrcMonk 30587-09b.htm">Meet Khavatari Aren.</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-09a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-09a.htm deleted file mode 100644 index 148bee77e9e066cdbdcb130b637679923738105b..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-09a.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> -Gantaki Zu Urutu:<br> -Tejakar Oroka! You have brought the fiery spirit scroll! Magnificent, young one! With this, you have obtained the first of the two scrolls you must have to become a Paagrio Monk.<br> -To find the second scroll, you must first journey to the Human land of Gludio and meet<font color="LEVEL"> Prefect Kasman</font>. He is staying in a village called<font color="LEVEL"> Gludin</font>. When you meet him, show him this letter. Then he'll know I sent you and will tell you how to find the scroll.<br> -Now it is time for you to leave. May the flame lead you to victory. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-09b.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-09b.htm deleted file mode 100644 index 0780094dbbe28fa7c6cb2679dbb6e55f9ecfc28b..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-09b.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Gantaki Zu Urutu:<br> -Ah, Khavatari Aren... That name has been forgotten for many years now.<br> -Not only did the Prefect Kasman learn from her, but so did the Flame Successor Akkan. But she went into seclusion a long time ago. Khavatari Hubai took her place and is teaching Kabart.<br> -Khavatari Aren lives as a hermit near the Valley of the Lords. I don't know why she chose such a place, but you can go there and meet her for yourself. If you're lucky, she'll tell you what the culmination of Kabart is. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-10.htm deleted file mode 100644 index 122fd663f5b1cf035d433da721553afb27a6c602..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-10.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Gantaki Zu Urutu:<br> -You haven't left yet? Didn't I tell you? To find the second scroll, you must go to the land of Gludio, which is ruled by the Humans! There, in the<font color="LEVEL"> village of Gludin</font> meet<font color="LEVEL"> Prefect Kasman</font> and give him my letter. He will tell you how to find the second scroll.<br> -Now get ready to depart! May the flame lead you to victory! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-11.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-11.htm deleted file mode 100644 index 7c2be17a04a6817f722cc783a1879038a0d3ea6a..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30587-11.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Gantaki Zu Urutu:<br> -Young fighter, have you not found the second scroll yet? Ha ha! I well know that it is not that easy to secure the scroll! However, if you are not able to overcome a trial of this level, you do not have the qualities to even begin to become a Paagrio Monk! Dedicate yourself to the task at hand! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-02.htm deleted file mode 100644 index e3550dae4d3cee11a7c9267e89685eb0db545538..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-02.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Khavatari Rosheek:<br> -Didn't I tell you not to come back before you caught the<font color="LEVEL"> kasha bear</font> and pulled out five claws? Do not disturb my discipline -- just go hunt the bear! And take heed! If you use any other weapon besides your bare fists or combat weapons, you are disqualified! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-04.htm deleted file mode 100644 index 02bf7de3d123c0ed2d8926c4f776dfa2a9129395..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-04.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Khavatari Rosheek:<br> -Stop bothering me and go catch kasha blade spiders with your bare hands. Pull our their blade-shaped talons and bring me back five of them in the pouch that I gave you. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-05.htm deleted file mode 100644 index 837f3ccc2abc51011eab3d6cc3bdf65f146f47e7..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-05.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Khavatari Rosheek:<br> -Have you come back already? I was about to rest, but you've disturbed me. Don't be such a nuisance, go and kill the<font color="LEVEL"> scarlet salamander</font> with your bare hands and bring back the scales! Collect<font color="LEVEL"> five scales</font> in this pouch and bring them to me. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-06.htm deleted file mode 100644 index 093166c02a6e5683c74997f6e10cb045719a3fdd..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-06.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Khavatari Rosheek:<br> -Don't be such a nuisance! Capture the<font color="LEVEL"> scarlet salamander </font> with your bare hands and pluck out the scales. Bring back<font color="LEVEL"> five scales</font> in the pouch that I gave you. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-08.htm deleted file mode 100644 index 7157a107ae9950ad341d0046df38511c7e818d6a..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-08.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> - -Khavatari Rosheek:<br> -What are you waiting for? Take the fiery spirit scroll and letter that I have written you and go to<font color="LEVEL"> Gantaki Zu Urutu</font> in the village! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30591-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30591-01.htm deleted file mode 100644 index 6da0bad27aa613335391cb89bdb6f0b002da37e6..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30591-01.htm +++ /dev/null @@ -1,12 +0,0 @@ -<html> - -<body> -Khavatari Toruku:<br> -Come here, young Orc. What is this fig? Is it for me? I have not been able to drink one drop of water for more than a fortnight, so this will come in handy. Thank you!<br> -I see you are a Fighter that wishes to become a Paagrio Monk. So, you have come to take the Trial of Steel from me! Steel is metal that has become harder in the flame! It refers to the training process of a Monk in reaching a higher level of strength.<br> -The trial is to test your strength against fighter levels of other races that live in Gludio. Find the<font color="LEVEL"> Vuku Orc fighter, ratman fighter, Langk lizardman warrior, and Felim lizardman warrior</font> and knock them down! If you have gathered<font color="LEVEL"> 3 tokens from each race, adding up to 12 tokens in all</font>, put them in this purse and bring them back.<br> -Even if you fight a lower race, you could be defeated if you are absentminded. So keep your wits about you! And one thing more... you must not use any weapon during the trial, other than your bare fists or hand-to-hand weapons. A true Monk must be able to fight without depending on weapons! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30591-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30591-03.htm deleted file mode 100644 index b9fef93b90bfe619c63a520c7337a52c7a7b8657..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30591-03.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Khavatari Toruku:<br> -Congratulations, young one, for passing the Trial of Steel! As iron becomes harder in the flame, continuous training will make us stronger. Etch this morale deep on your heart.<br> -I will give you the second scroll, the scroll of steel will, that is needed to become a Paagrio Monk. Take it and return to<font color="LEVEL"> Prefect Kasman in the village of Gludin</font>. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30591-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30591-04.htm deleted file mode 100644 index e0aad1950cf449a38a01806df5105bb7a61865e8..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30591-04.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Khavatari Toruku:<br> -You haven't left yet? Take the iron will scroll and go to<font color="LEVEL"> Prefect Kasman of the village of Gludin</font>. Then, you will receive the token needed to change profession. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/31979-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/31979-02.htm deleted file mode 100644 index bdb1eb960dd0d55c2352f23a03e26abf161594ff..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/31979-02.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body><TITLE>Cabart's Geukeu</TITLE><br> -<center>What is Cabart's Geukeu?<br> -<a action="bypass -h Quest 415_PathToOrcMonk 31979-03.htm">Fairy Tale </a><br> -<a action="bypass -h Quest 415_PathToOrcMonk 31979-03.htm">Harmony</a><br> -<a action="bypass -h Quest 415_PathToOrcMonk 31979-03.htm">Enforcement</a></center> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/__init__.py deleted file mode 100644 index 37d48d38e18869e865cde63dfd0b5b8c0cd63808..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/__init__.py +++ /dev/null @@ -1,379 +0,0 @@ -# Made by Mr. Have fun! Version 0.2 -# Shadow Weapon Coupons contributed by BiTi for the Official L2J Datapack Project -# Visit http://www.l2jdp.com/forum/ for more details -import sys -from com.l2jserver.gameserver.model.quest import State -from com.l2jserver.gameserver.model.quest import QuestState -from com.l2jserver.gameserver.model.quest import Quest as JQuest -from com.l2jserver.gameserver.network.serverpackets import SocialAction -from com.l2jserver.gameserver.model.items.type import WeaponType - -qn = "415_PathToOrcMonk" - -POMEGRANATE = 1593 -LEATHER_POUCH1 = 1594 -LEATHER_POUCH2 = 1595 -LEATHER_POUCH3 = 1596 -LEATHER_POUCH1FULL = 1597 -LEATHER_POUCH2FULL = 1598 -LEATHER_POUCH3FULL = 1599 -KASHA_BEAR_CLAW = 1600 -KASHA_BSPIDER_TALON = 1601 -S_SALAMANDER_SCALE = 1602 -SCROLL_FIERY_SPIRIT = 1603 -ROSHEEKS_LETTER = 1604 -GANTAKIS_LETTER = 1605 -FIG = 1606 -LEATHER_PURSE4 = 1607 -LEATHER_POUCH4FULL = 1608 -VUKU_TUSK = 1609 -RATMAN_FANG = 1610 -LANGK_TOOTH = 1611 -FELIM_TOOTH = 1612 -SCROLL_IRON_WILL = 1613 -TORUKUS_LETTER = 1614 -KHAVATARI_TOTEM = 1615 - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = range(1593,1615)+[8545,8546] - - def onEvent (self,event,st) : - htmltext = event - player = st.getPlayer() - if event == "30587_1" : - if player.getClassId().getId() != 0x2c : - if player.getClassId().getId() == 0x2f : - htmltext = "30587-02a.htm" - st.exitQuest(1) - else: - htmltext = "30587-02.htm" - st.exitQuest(1) - else: - if player.getLevel()<18 : - htmltext = "30587-03.htm" - else: - if st.getQuestItemsCount(KHAVATARI_TOTEM) != 0 : - htmltext = "30587-04.htm" - else: - htmltext = "30587-05.htm" - elif event == "1" : - st.set("id","0") - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - htmltext = "30587-06.htm" - st.giveItems(POMEGRANATE,1) - elif event == "30587-09a.htm" : - st.takeItems(ROSHEEKS_LETTER,1) - st.giveItems(GANTAKIS_LETTER,1) - st.set("cond","9") - st.playSound("ItemSound.quest_middle") - elif event == "30587-09b.htm" : - st.takeItems(ROSHEEKS_LETTER,1) - st.giveItems(GANTAKIS_LETTER,1) - st.set("cond","14") - st.playSound("ItemSound.quest_middle") - elif event == "32056-03.htm" : - st.set("cond","15") - st.playSound("ItemSound.quest_middle") - elif event == "32056-08.htm" : - st.set("cond","19") - st.playSound("ItemSound.quest_middle") - st.takeItems(8546,-1) - elif event == "31979-03.htm" : - st.takeItems(SCROLL_FIERY_SPIRIT,1) - st.giveItems(KHAVATARI_TOTEM,1) - isFinished = st.getGlobalQuestVar("1ClassQuestFinished") - if isFinished == "" : - if player.getLevel() >= 20 : - st.addExpAndSp(160267, 12646) - elif player.getLevel() == 19 : - st.addExpAndSp(228064, 15995) - else: - st.addExpAndSp(295862, 19344) - st.giveItems(57, 81900) - player.sendPacket(SocialAction(player.getObjectId(),3)) - st.set("cond","0") - st.set("onlyone","1") - st.exitQuest(False) - st.saveGlobalQuestVar("1ClassQuestFinished","1") - st.playSound("ItemSound.quest_finish") - return htmltext - - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - npcId = npc.getId() - id = st.getState() - cond = st.getInt("cond") - if npcId != 30587 and id != State.STARTED : return htmltext - - if npcId == 30587 and st.getInt("cond")==0 and st.getInt("onlyone")==0 : - htmltext = "30587-01.htm" - elif npcId == 30587 and st.getInt("cond")==0 and st.getInt("onlyone")==1 : - htmltext = "30587-04.htm" - elif npcId == 30587 and st.getInt("cond") and st.getQuestItemsCount(SCROLL_FIERY_SPIRIT)==0 and st.getQuestItemsCount(POMEGRANATE)==1 and st.getQuestItemsCount(GANTAKIS_LETTER)==0 and st.getQuestItemsCount(ROSHEEKS_LETTER)==0 and ((st.getQuestItemsCount(LEATHER_POUCH1)+st.getQuestItemsCount(LEATHER_POUCH2)+st.getQuestItemsCount(LEATHER_POUCH3)+st.getQuestItemsCount(LEATHER_POUCH1FULL)+st.getQuestItemsCount(LEATHER_POUCH2FULL)+st.getQuestItemsCount(LEATHER_POUCH3FULL))==0) : - htmltext = "30587-07.htm" - elif npcId == 30587 and st.getInt("cond") and st.getQuestItemsCount(SCROLL_FIERY_SPIRIT)==0 and st.getQuestItemsCount(POMEGRANATE)==0 and st.getQuestItemsCount(GANTAKIS_LETTER)==0 and st.getQuestItemsCount(ROSHEEKS_LETTER)==0 and ((st.getQuestItemsCount(LEATHER_POUCH1)+st.getQuestItemsCount(LEATHER_POUCH2)+st.getQuestItemsCount(LEATHER_POUCH3)+st.getQuestItemsCount(LEATHER_POUCH1FULL)+st.getQuestItemsCount(LEATHER_POUCH2FULL)+st.getQuestItemsCount(LEATHER_POUCH3FULL))==1) : - htmltext = "30587-08.htm" - elif npcId == 30587 and st.getInt("cond") and st.getQuestItemsCount(SCROLL_FIERY_SPIRIT)==1 and st.getQuestItemsCount(POMEGRANATE)==0 and st.getQuestItemsCount(GANTAKIS_LETTER)==0 and st.getQuestItemsCount(ROSHEEKS_LETTER)==1 and ((st.getQuestItemsCount(LEATHER_POUCH1)+st.getQuestItemsCount(LEATHER_POUCH2)+st.getQuestItemsCount(LEATHER_POUCH3)+st.getQuestItemsCount(LEATHER_POUCH1FULL)+st.getQuestItemsCount(LEATHER_POUCH2FULL)+st.getQuestItemsCount(LEATHER_POUCH3FULL))==0) : - htmltext = "30587-09.htm" - elif npcId == 30587 and st.getInt("cond") >= 14: - htmltext = "30587-09b.htm" - elif npcId == 30587 and st.getInt("cond") and st.getQuestItemsCount(SCROLL_FIERY_SPIRIT)==1 and st.getQuestItemsCount(POMEGRANATE)==0 and st.getQuestItemsCount(GANTAKIS_LETTER)==1 and st.getQuestItemsCount(ROSHEEKS_LETTER)==0 and ((st.getQuestItemsCount(LEATHER_POUCH1)+st.getQuestItemsCount(LEATHER_POUCH2)+st.getQuestItemsCount(LEATHER_POUCH3)+st.getQuestItemsCount(LEATHER_POUCH1FULL)+st.getQuestItemsCount(LEATHER_POUCH2FULL)+st.getQuestItemsCount(LEATHER_POUCH3FULL))==0) : - htmltext = "30587-10.htm" - elif npcId == 30587 and st.getInt("cond") and st.getQuestItemsCount(SCROLL_FIERY_SPIRIT)==1 and st.getQuestItemsCount(POMEGRANATE)==0 and st.getQuestItemsCount(GANTAKIS_LETTER)==0 and st.getQuestItemsCount(ROSHEEKS_LETTER)==0 and ((st.getQuestItemsCount(LEATHER_POUCH1)+st.getQuestItemsCount(LEATHER_POUCH2)+st.getQuestItemsCount(LEATHER_POUCH3)+st.getQuestItemsCount(LEATHER_POUCH1FULL)+st.getQuestItemsCount(LEATHER_POUCH2FULL)+st.getQuestItemsCount(LEATHER_POUCH3FULL))==0) : - htmltext = "30587-11.htm" - elif npcId == 30590 and st.getInt("cond") and st.getQuestItemsCount(POMEGRANATE) : - htmltext = "30590-01.htm" - st.takeItems(POMEGRANATE,1) - st.giveItems(LEATHER_POUCH1,1) - st.set("cond","2") - st.playSound("ItemSound.quest_middle") - elif npcId == 30590 and st.getInt("cond") and st.getQuestItemsCount(LEATHER_POUCH1) and st.getQuestItemsCount(LEATHER_POUCH1FULL)==0 : - htmltext = "30590-02.htm" - elif npcId == 30590 and st.getInt("cond") and st.getQuestItemsCount(LEATHER_POUCH1)==0 and st.getQuestItemsCount(LEATHER_POUCH1FULL) : - htmltext = "30590-03.htm" - st.takeItems(LEATHER_POUCH1FULL,1) - st.giveItems(LEATHER_POUCH2,1) - st.set("cond","4") - st.playSound("ItemSound.quest_middle") - elif npcId == 30590 and st.getInt("cond") and st.getQuestItemsCount(LEATHER_POUCH2)==1 and st.getQuestItemsCount(LEATHER_POUCH2FULL)==0 : - htmltext = "30590-04.htm" - elif npcId == 30590 and st.getInt("cond") and st.getQuestItemsCount(LEATHER_POUCH2)==0 and st.getQuestItemsCount(LEATHER_POUCH2FULL)==1 : - htmltext = "30590-05.htm" - st.takeItems(LEATHER_POUCH2FULL,1) - st.giveItems(LEATHER_POUCH3,1) - st.set("cond","6") - st.playSound("ItemSound.quest_middle") - elif npcId == 30590 and st.getInt("cond") and st.getQuestItemsCount(LEATHER_POUCH3)==1 and st.getQuestItemsCount(LEATHER_POUCH3FULL)==0 : - htmltext = "30590-06.htm" - elif npcId == 30590 and st.getInt("cond") and st.getQuestItemsCount(LEATHER_POUCH3)==0 and st.getQuestItemsCount(LEATHER_POUCH3FULL)==1 : - htmltext = "30590-07.htm" - st.takeItems(LEATHER_POUCH3FULL,1) - st.giveItems(SCROLL_FIERY_SPIRIT,1) - st.giveItems(ROSHEEKS_LETTER,1) - st.set("cond","8") - st.playSound("ItemSound.quest_middle") - elif npcId == 30590 and st.getInt("cond") and st.getQuestItemsCount(ROSHEEKS_LETTER)==1 and st.getQuestItemsCount(SCROLL_FIERY_SPIRIT)==1 : - htmltext = "30590-08.htm" - elif npcId == 30590 and st.getInt("cond") and st.getQuestItemsCount(ROSHEEKS_LETTER)==0 and st.getQuestItemsCount(SCROLL_FIERY_SPIRIT)==1 : - htmltext = "30590-09.htm" - elif npcId == 30501 and st.getInt("cond") and st.getQuestItemsCount(GANTAKIS_LETTER) : - htmltext = "30501-01.htm" - st.takeItems(GANTAKIS_LETTER,1) - st.giveItems(FIG,1) - st.set("cond","10") - st.playSound("ItemSound.quest_middle") - elif npcId == 30501 and st.getInt("cond") and st.getQuestItemsCount(FIG) and (st.getQuestItemsCount(LEATHER_PURSE4)==0 or st.getQuestItemsCount(LEATHER_POUCH4FULL)==0) : - htmltext = "30501-02.htm" - elif npcId == 30501 and st.getInt("cond") and st.getQuestItemsCount(FIG)==0 and (st.getQuestItemsCount(LEATHER_PURSE4)==1 or st.getQuestItemsCount(LEATHER_POUCH4FULL)==1) : - htmltext = "30501-03.htm" - elif npcId == 30501 and st.getInt("cond") and st.getQuestItemsCount(SCROLL_IRON_WILL) : - htmltext = "30501-04.htm" - st.takeItems(SCROLL_IRON_WILL,1) - st.takeItems(SCROLL_FIERY_SPIRIT,1) - st.takeItems(TORUKUS_LETTER,1) - st.giveItems(KHAVATARI_TOTEM,1) - if player.getLevel() >= 20 : - st.addExpAndSp(320534, 25292) - elif player.getLevel() == 19 : - st.addExpAndSp(456128, 31990) - else: - st.addExpAndSp(591724, 38688) - st.giveItems(57, 163800) - player.sendPacket(SocialAction(player.getObjectId(),3)) - st.set("cond","0") - st.set("onlyone","1") - st.exitQuest(False) - st.playSound("ItemSound.quest_finish") - elif npcId == 30591 and st.getInt("cond") and st.getQuestItemsCount(FIG) : - htmltext = "30591-01.htm" - st.takeItems(FIG,1) - st.giveItems(LEATHER_PURSE4,1) - st.set("cond","11") - st.playSound("ItemSound.quest_middle") - elif npcId == 30591 and st.getInt("cond") and st.getQuestItemsCount(LEATHER_PURSE4) and st.getQuestItemsCount(LEATHER_POUCH4FULL)==0 : - htmltext = "30591-02.htm" - elif npcId == 30591 and st.getInt("cond") and st.getQuestItemsCount(LEATHER_PURSE4)==0 and st.getQuestItemsCount(LEATHER_POUCH4FULL)==1 : - htmltext = "30591-03.htm" - st.takeItems(LEATHER_POUCH4FULL,1) - st.giveItems(SCROLL_IRON_WILL,1) - st.giveItems(TORUKUS_LETTER,1) - st.set("cond","13") - st.playSound("ItemSound.quest_middle") - elif npcId == 30591 and st.getInt("cond") and st.getQuestItemsCount(SCROLL_IRON_WILL)==1 and st.getQuestItemsCount(TORUKUS_LETTER)==1 : - htmltext = "30591-04.htm" - elif npcId == 32056 : - if cond == 14: - htmltext = "32056-01.htm" - elif cond == 15: - htmltext = "32056-04.htm" - elif cond == 16: - htmltext = "32056-05.htm" - st.set("cond","17") - st.playSound("ItemSound.quest_middle") - st.takeItems(8545,-1) - elif cond == 17: - htmltext = "32056-06.htm" - elif cond == 18: - htmltext = "32056-07.htm" - elif cond == 19: - htmltext = "32056-09.htm" - elif npcId == 31979 : - if cond == 19: - htmltext = "31979-01.htm" - return htmltext - - def onKill(self,npc,player,isPet): - st = player.getQuestState(qn) - if not st : return - if st.getState() != State.STARTED : return - # only fists/dual fists or bare hands are allowed - if player.getActiveWeaponItem() != None : - if player.getActiveWeaponItem().getItemType() != WeaponType.FIST and player.getActiveWeaponItem().getItemType() != WeaponType.DUALFIST: return - npcId = npc.getId() - if npcId == 20479 : - st.set("id","0") - if st.getInt("cond")and st.getQuestItemsCount(LEATHER_POUCH1) == 1 : - if st.getQuestItemsCount(KASHA_BEAR_CLAW) == 4 : - st.takeItems(KASHA_BEAR_CLAW,st.getQuestItemsCount(KASHA_BEAR_CLAW)) - st.takeItems(LEATHER_POUCH1,st.getQuestItemsCount(LEATHER_POUCH1)) - st.giveItems(LEATHER_POUCH1FULL,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","3") - else: - st.giveItems(KASHA_BEAR_CLAW,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == 20415 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(LEATHER_POUCH3) == 1 : - if st.getQuestItemsCount(S_SALAMANDER_SCALE) == 4 : - st.takeItems(S_SALAMANDER_SCALE,st.getQuestItemsCount(S_SALAMANDER_SCALE)) - st.takeItems(LEATHER_POUCH3,st.getQuestItemsCount(LEATHER_POUCH3)) - st.giveItems(LEATHER_POUCH3FULL,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","7") - else: - st.giveItems(S_SALAMANDER_SCALE,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == 20476 and st.getInt("cond") == 15: - if st.getQuestItemsCount(8545) < 6 and self.getRandom(100) <= 50: - if st.getQuestItemsCount(8545) == 5 : - st.playSound("ItemSound.quest_middle") - st.set("cond","16") - else: - st.playSound("ItemSound.quest_itemget") - st.giveItems(8545,1) - elif npcId == 20478 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(LEATHER_POUCH2) == 1 : - if st.getQuestItemsCount(KASHA_BSPIDER_TALON) == 4 : - st.takeItems(KASHA_BSPIDER_TALON,st.getQuestItemsCount(KASHA_BSPIDER_TALON)) - st.takeItems(LEATHER_POUCH2,st.getQuestItemsCount(LEATHER_POUCH2)) - st.giveItems(LEATHER_POUCH2FULL,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","5") - else: - st.giveItems(KASHA_BSPIDER_TALON,1) - st.playSound("ItemSound.quest_itemget") - elif st.getInt("cond") == 15: - if st.getQuestItemsCount(8545) < 6 and self.getRandom(100) <= 50: - if st.getQuestItemsCount(8545) == 5 : - st.playSound("ItemSound.quest_middle") - st.set("cond","16") - else: - st.playSound("ItemSound.quest_itemget") - st.giveItems(8545,1) - elif npcId == 20017 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(LEATHER_PURSE4) == 1 and st.getQuestItemsCount(VUKU_TUSK)<3 : - if st.getQuestItemsCount(RATMAN_FANG)+st.getQuestItemsCount(LANGK_TOOTH)+st.getQuestItemsCount(FELIM_TOOTH)+st.getQuestItemsCount(VUKU_TUSK) >= 11 : - st.takeItems(VUKU_TUSK,st.getQuestItemsCount(VUKU_TUSK)) - st.takeItems(RATMAN_FANG,st.getQuestItemsCount(RATMAN_FANG)) - st.takeItems(LANGK_TOOTH,st.getQuestItemsCount(LANGK_TOOTH)) - st.takeItems(FELIM_TOOTH,st.getQuestItemsCount(FELIM_TOOTH)) - st.takeItems(LEATHER_PURSE4,1) - st.giveItems(LEATHER_POUCH4FULL,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","12") - else: - st.giveItems(VUKU_TUSK,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == 20359 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(LEATHER_PURSE4) == 1 and st.getQuestItemsCount(RATMAN_FANG)<3 : - if st.getQuestItemsCount(RATMAN_FANG)+st.getQuestItemsCount(LANGK_TOOTH)+st.getQuestItemsCount(FELIM_TOOTH)+st.getQuestItemsCount(VUKU_TUSK) >= 11 : - st.takeItems(VUKU_TUSK,st.getQuestItemsCount(VUKU_TUSK)) - st.takeItems(RATMAN_FANG,st.getQuestItemsCount(RATMAN_FANG)) - st.takeItems(LANGK_TOOTH,st.getQuestItemsCount(LANGK_TOOTH)) - st.takeItems(FELIM_TOOTH,st.getQuestItemsCount(FELIM_TOOTH)) - st.takeItems(LEATHER_PURSE4,1) - st.giveItems(LEATHER_POUCH4FULL,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","12") - else: - st.giveItems(RATMAN_FANG,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == 20024 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(LEATHER_PURSE4) == 1 and st.getQuestItemsCount(LANGK_TOOTH)<3 : - if st.getQuestItemsCount(RATMAN_FANG)+st.getQuestItemsCount(LANGK_TOOTH)+st.getQuestItemsCount(FELIM_TOOTH)+st.getQuestItemsCount(VUKU_TUSK) >= 11 : - st.takeItems(VUKU_TUSK,st.getQuestItemsCount(VUKU_TUSK)) - st.takeItems(RATMAN_FANG,st.getQuestItemsCount(RATMAN_FANG)) - st.takeItems(LANGK_TOOTH,st.getQuestItemsCount(LANGK_TOOTH)) - st.takeItems(FELIM_TOOTH,st.getQuestItemsCount(FELIM_TOOTH)) - st.takeItems(LEATHER_PURSE4,1) - st.giveItems(LEATHER_POUCH4FULL,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","12") - else: - st.giveItems(LANGK_TOOTH,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == 20014 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(LEATHER_PURSE4) == 1 and st.getQuestItemsCount(FELIM_TOOTH)<3 : - if st.getQuestItemsCount(RATMAN_FANG)+st.getQuestItemsCount(LANGK_TOOTH)+st.getQuestItemsCount(FELIM_TOOTH)+st.getQuestItemsCount(VUKU_TUSK) >= 11 : - st.takeItems(VUKU_TUSK,st.getQuestItemsCount(VUKU_TUSK)) - st.takeItems(RATMAN_FANG,st.getQuestItemsCount(RATMAN_FANG)) - st.takeItems(LANGK_TOOTH,st.getQuestItemsCount(LANGK_TOOTH)) - st.takeItems(FELIM_TOOTH,st.getQuestItemsCount(FELIM_TOOTH)) - st.takeItems(LEATHER_PURSE4,1) - st.giveItems(LEATHER_POUCH4FULL,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","12") - else: - st.giveItems(FELIM_TOOTH,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == 21118 and st.getInt("cond") == 17 : - st.giveItems(8546,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","18") - return - -QUEST = Quest(415,qn,"Path of the Monk") - -QUEST.addStartNpc(30587) - -QUEST.addTalkId(30587) - -QUEST.addTalkId(30501) -QUEST.addTalkId(30590) -QUEST.addTalkId(30591) -QUEST.addTalkId(31979) -QUEST.addTalkId(32056) - -QUEST.addKillId(20014) -QUEST.addKillId(20017) -QUEST.addKillId(20024) -QUEST.addKillId(20359) -QUEST.addKillId(20415) -QUEST.addKillId(20476) -QUEST.addKillId(20478) -QUEST.addKillId(20479) -QUEST.addKillId(21118) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-05.htm deleted file mode 100644 index 8e426cd5ad47ed5a5c4306c48a3b6861ef0f8fec..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Blacksmith Pinter:<br> -Yes, this is it! Thank you so much. Let me look it over once more, then I hope you will take it to<font color="LEVEL"> Kluto</font>.<br> -<a action="bypass -h Quest 418_PathToArtisan 30298_3">Look here, shouldn't my efforts receive some kind of compensation?</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-09.htm deleted file mode 100644 index b16e5954ab2184f6e902161b0c5baa803635603d..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-09.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Blacksmith Kluto:<br> -Ha ha ha, you have finally brought it. Well done!<br> -Hmmm, but isn't this the certificate for the second test of the Artisan? Where did you get it?<br> -<a action="bypass -h Quest 418_PathToArtisan 30317_7">Now, what was I going to do with these? I have no idea.</a><br> -<a action="bypass -h Quest 418_PathToArtisan 30317_8">Blacksmith Pinter gave it to me</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-01.htm deleted file mode 100644 index 78398d622164b55f4c583b1a64fc784db560130a..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-01.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Blacksmith Silvera:<br> -I teach young Dwarves and manage the Test of the Artisan. All apprentice Dwarves arrive at an important turning point where they must decide their future occupations. Dwarves may choose the path of the Artisan or the Raider.<br> -Artisans, who I'm responsible for testing, create something from nothing. They have unbelievable talents and use the most modern techniques available in the world today for their creations. The Artisan is the middle step in the process of becoming a Warsmith. If you wish to become the greatest skilled craftsman in Aden, you must walk the path of the Artisan.<br> -<a action="bypass -h Quest 418_PathToArtisan 30527_1">Say you want to be an Artisan.</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-03.htm deleted file mode 100644 index e22d73c0a39f4f55df5088615a9e0b1c1ba6e266..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-03.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Blacksmith Silvera:<br> -I'm sorry but you don't have the qualifications to become an Artisan. It troubles me if you think it is an easy job. Only those who have at least the minimum qualifications are allowed to take the test. Go gather more experience. Do not come back until you are at least level 18. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-05.htm deleted file mode 100644 index 9be8652059f4634352e08d8af305a50a35fc8013..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-05.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Blacksmith Silvera:<br> -I see your mind is completely made up. First then, let me tell you about the test of the Artisan. It is conducted by three blacksmiths, including me.<br> -I am in charge of the first part. The second is conducted by Kluto in Gludin, and the third by Pinter in the town of Gludio. First, you must pass my test in order to be qualified to take the other two.<br> -<a action="bypass -h Quest 418_PathToArtisan 1">Take first test</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-06.htm deleted file mode 100644 index 5e1021535d36bdf2561d55727dfa8e972f6dd516..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-06.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Blacksmith Silvera:<br> -The first test is very easy; Though the Artisan's main task is making things, to be sure, he must also be able to find the materials needed for manufacture by himself, and not depend on others. The first test puts its focus on those basic skills. Oh, and by the way, take this ring while you are taking the test. Ok?<br> -Now I will give you the task. If you look around the Abandonned Coal Mines, you will come face to face with the nasty boogle ratman gang. They are the bad guys that trouble us Dwarves. Kill them and come back. But when you look at them, you'll see that they have nasty front teeth. The funny thing is that their front teeth are very useful materials. You know the famous motto of the Dwarves, right? "Whatever it is, there is nothing to throw out!"<br> -<font color="LEVEL">Catch Boogle Ratman and Boogle Ratman Leaders and bring their front teeth.</font>This is my task. See that you bring me<font color="LEVEL"> ten boogle ratman teeth and two teeth of the boogle ratman leaders</font>. If you come up short, you fail! So make sure you have the right number. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-07.htm deleted file mode 100644 index 67a6aaa09f08717841568876855897bdbd22defe..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-07.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Blacksmith Silvera:<br> -Ok, if you've brought your homework, let me take a look! One, two, three ... There's not enough! You don't want to fail your first test do you? I told you clearly!<font color="LEVEL"> Ten Boogle Ratman front teeth, and two from the Boogle Ratman Leaders!</font> If you understand that, go and find them! Hurry up! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-08.htm deleted file mode 100644 index 9922a94d2c4b06f929b0250bb78ec642bbb03d5c..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-08.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Blacksmith Silvera:<br> -Have you brought all the Boogle Ratman teeth? Let me see ... One, two, three ... The number is exactly correct. Ok! With this, you pass the first test; Congratulations!<br> -Now, you must go and take the second test; First, go to<font color="LEVEL"> Blacksmith Kluto in Gludin.</font> He will guide the next step. Good luck! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-11.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-11.htm deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/__init__.py deleted file mode 100644 index 179024214ae71429dead80a33c7da0134268900d..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/__init__.py +++ /dev/null @@ -1,223 +0,0 @@ -# Made by Mr. Have fun! Version 0.2 -# Shadow Weapon Coupons contributed by BiTi for the Official L2J Datapack Project -# Visit http://www.l2jdp.com/forum/ for more details -import sys -from com.l2jserver.gameserver.model.quest import State -from com.l2jserver.gameserver.model.quest import QuestState -from com.l2jserver.gameserver.model.quest import Quest as JQuest -from com.l2jserver.gameserver.network.serverpackets import SocialAction - -qn = "418_PathToArtisan" - -SILVERYS_RING = 1632 -PASS_1ST = 1633 -PASS_2ND = 1634 -PASS_FINAL = 1635 -RATMAN_TOOTH = 1636 -BIG_RATMAN_TOOTH = 1637 -KLUTOS_LETTER = 1638 -FOOTPRINT = 1639 -SECRET_BOX1 = 1640 -SECRET_BOX2 = 1641 -TOTEM_SPIRIT_CLAW = 1622 -TATARUS_LETTER = 1623 - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = range(1632, 1635) + range(1636,1642) + [1622, 1623] - - def onEvent (self,event,st) : - htmltext = event - player = st.getPlayer() - if event == "30527_1" : - if player.getClassId().getId() != 0x35 : - if player.getClassId().getId() == 0x38 : - htmltext = "30527-02a.htm" - else: - htmltext = "30527-02.htm" - else: - if player.getLevel()<18 : - htmltext = "30527-03.htm" - else: - if st.getQuestItemsCount(PASS_FINAL) != 0 : - htmltext = "30527-04.htm" - else: - htmltext = "30527-05.htm" - return htmltext - elif event == "30527_2" : - htmltext = "30527-11.htm" - st.takeItems(TOTEM_SPIRIT_CLAW,1) - st.giveItems(TATARUS_LETTER,1) - elif event == "1" : - st.set("id","0") - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - htmltext = "30527-06.htm" - st.giveItems(SILVERYS_RING,1) - elif event == "30317_1" : - htmltext = "30317-02.htm" - elif event == "30317_2" : - htmltext = "30317-05.htm" - elif event == "30317_3" : - htmltext = "30317-03.htm" - elif event == "30317_4" : - htmltext = "30317-04.htm" - st.giveItems(KLUTOS_LETTER,1) - st.set("cond","4") - elif event == "30317_5" : - htmltext = "30317-06.htm" - elif event == "30317_6" : - htmltext = "30317-07.htm" - st.giveItems(KLUTOS_LETTER,1) - st.set("cond","4") - elif event == "30317_7" : - if st.getQuestItemsCount(PASS_1ST) and st.getQuestItemsCount(PASS_2ND) and st.getQuestItemsCount(SECRET_BOX2) : - htmltext = "30317-10.htm" - st.takeItems(PASS_1ST,1) - st.takeItems(PASS_2ND,1) - st.takeItems(SECRET_BOX2,1) - st.giveItems(PASS_FINAL,1) - isFinished = st.getGlobalQuestVar("1ClassQuestFinished") - if isFinished == "" : - if player.getLevel() >= 20 : - st.addExpAndSp(320534, 32452) - elif player.getLevel() == 19 : - st.addExpAndSp(456128, 30150) - else: - st.addExpAndSp(591724, 36848) - st.giveItems(57, 163800) - st.set("cond","0") - st.exitQuest(False) - st.saveGlobalQuestVar("1ClassQuestFinished","1") - st.playSound("ItemSound.quest_finish") - player.sendPacket(SocialAction(player.getObjectId(),3)) - else : - htmltext = "30317-08.htm" - elif event == "30317_8" : - htmltext = "30317-11.htm" - elif event == "30317_9" : - if st.getQuestItemsCount(PASS_1ST) and st.getQuestItemsCount(PASS_2ND) and st.getQuestItemsCount(SECRET_BOX2) : - htmltext = "30317-12.htm" - st.takeItems(PASS_1ST,1) - st.takeItems(PASS_2ND,1) - st.takeItems(SECRET_BOX2,1) - st.giveItems(PASS_FINAL,1) - if player.getLevel() >= 20 : - st.addExpAndSp(160267, 11726) - elif player.getLevel() == 19 : - st.addExpAndSp(228064, 15075) - else: - st.addExpAndSp(295862, 18424) - st.giveItems(57, 81900) - st.set("cond","0") - st.exitQuest(False) - st.playSound("ItemSound.quest_finish") - player.sendPacket(SocialAction(player.getObjectId(),3)) - else : - htmltext = "30317-08.htm" - elif event == "30298_1" : - htmltext = "30298-02.htm" - elif event == "30298_2" : - htmltext = "30298-03.htm" - st.takeItems(KLUTOS_LETTER,1) - st.giveItems(FOOTPRINT,1) - st.set("cond","5") - elif event == "30298_3" : - htmltext = "30298-06.htm" - st.takeItems(SECRET_BOX1,1) - st.takeItems(FOOTPRINT,1) - st.giveItems(SECRET_BOX2,1) - st.giveItems(PASS_2ND,1) - st.set("cond","7") - return htmltext - - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - - npcId = npc.getId() - id = st.getState() - if npcId != 30527 and id != State.STARTED : return htmltext - - if npcId == 30527 and st.getInt("cond")==0 : - htmltext = "30527-01.htm" - elif npcId == 30527 and st.getInt("cond") and st.getQuestItemsCount(SILVERYS_RING)==1 and (st.getQuestItemsCount(RATMAN_TOOTH)+st.getQuestItemsCount(BIG_RATMAN_TOOTH))<12 : - htmltext = "30527-07.htm" - elif npcId == 30527 and st.getInt("cond") and st.getQuestItemsCount(SILVERYS_RING)==1 and st.getQuestItemsCount(RATMAN_TOOTH)>=10 and st.getQuestItemsCount(BIG_RATMAN_TOOTH)>=2 : - htmltext = "30527-08.htm" - st.takeItems(SILVERYS_RING,st.getQuestItemsCount(SILVERYS_RING)) - st.takeItems(RATMAN_TOOTH,st.getQuestItemsCount(RATMAN_TOOTH)) - st.takeItems(BIG_RATMAN_TOOTH,st.getQuestItemsCount(BIG_RATMAN_TOOTH)) - st.giveItems(PASS_1ST,1) - st.set("cond","3") - elif npcId == 30527 and st.getInt("cond") and st.getQuestItemsCount(PASS_1ST)==1 : - htmltext = "30527-09.htm" - elif npcId == 30317 and st.getInt("cond") and st.getQuestItemsCount(KLUTOS_LETTER)==0 and st.getQuestItemsCount(FOOTPRINT)==0 and st.getQuestItemsCount(PASS_1ST) and st.getQuestItemsCount(PASS_2ND)==0 and st.getQuestItemsCount(SECRET_BOX2)==0 : - htmltext = "30317-01.htm" - elif npcId == 30317 and st.getInt("cond") and st.getQuestItemsCount(PASS_1ST) and (st.getQuestItemsCount(KLUTOS_LETTER) or st.getQuestItemsCount(FOOTPRINT)) : - htmltext = "30317-08.htm" - elif npcId == 30317 and st.getInt("cond") and st.getQuestItemsCount(PASS_1ST) and st.getQuestItemsCount(PASS_2ND) and st.getQuestItemsCount(SECRET_BOX2) : - htmltext = "30317-09.htm" - elif npcId == 30298 and st.getInt("cond") and st.getQuestItemsCount(PASS_1ST) and st.getQuestItemsCount(KLUTOS_LETTER) : - htmltext = "30298-01.htm" - elif npcId == 30298 and st.getInt("cond") and st.getQuestItemsCount(PASS_1ST) and st.getQuestItemsCount(FOOTPRINT) and st.getQuestItemsCount(SECRET_BOX1)==0 : - htmltext = "30298-04.htm" - elif npcId == 30298 and st.getInt("cond") and st.getQuestItemsCount(PASS_1ST) and st.getQuestItemsCount(FOOTPRINT) and st.getQuestItemsCount(SECRET_BOX1) : - htmltext = "30298-05.htm" - elif npcId == 30298 and st.getInt("cond") and st.getQuestItemsCount(PASS_1ST) and st.getQuestItemsCount(PASS_2ND) and st.getQuestItemsCount(SECRET_BOX2) : - htmltext = "30298-07.htm" - return htmltext - - def onKill(self,npc,player,isPet): - st = player.getQuestState(qn) - if not st : return - if st.getState() != State.STARTED : return - npcId = npc.getId() - if npcId == 20389 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(SILVERYS_RING) == 1 and st.getQuestItemsCount(RATMAN_TOOTH)<10 : - if self.getRandom(10)<7 : - if st.getQuestItemsCount(RATMAN_TOOTH) == 9 and st.getQuestItemsCount(BIG_RATMAN_TOOTH) == 2 : - st.giveItems(RATMAN_TOOTH,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","2") - else: - st.giveItems(RATMAN_TOOTH,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == 20390 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(SILVERYS_RING) == 1 and st.getQuestItemsCount(BIG_RATMAN_TOOTH)<2 : - if self.getRandom(10)<5 : - if st.getQuestItemsCount(BIG_RATMAN_TOOTH) == 1 and st.getQuestItemsCount(RATMAN_TOOTH) == 10 : - st.giveItems(BIG_RATMAN_TOOTH,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","2") - else: - st.giveItems(BIG_RATMAN_TOOTH,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == 20017 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(FOOTPRINT) == 1 and st.getQuestItemsCount(SECRET_BOX1)<1 : - if self.getRandom(10)<2 : - st.giveItems(SECRET_BOX1,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","6") - return - -QUEST = Quest(418,qn,"Path To Artisan") - -QUEST.addStartNpc(30527) - -QUEST.addTalkId(30527) - -QUEST.addTalkId(30298) -QUEST.addTalkId(30317) - -QUEST.addKillId(20017) -QUEST.addKillId(20389) -QUEST.addKillId(20390) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30501-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30501-01.html similarity index 78% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30501-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30501-01.html index 475bea10c589e59e619e30a28f1694b1b2c282ba..61c9e67951cba4699be9775df62b95eec3829183 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30501-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30501-01.html @@ -1,9 +1,3 @@ -<html> - -<body> -Prefect Kasman:<br> -I have received notice from Karukia. You were given the task to destroy the betrayers, right? They are sly scoundrels, so you must be careful in dealing with them. After you finish your task, bring me back their heads! - - -</body> -</html> \ No newline at end of file +<html><body>Prefect Kasman:<br> +I have received notice from Karukia. You were given the task to destroy the betrayers, right? They are sly scoundrels, so you must be careful in dealing with them. After you finish your task, bring me back their heads! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30501-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30501-02.html new file mode 100644 index 0000000000000000000000000000000000000000..ec11aa3aa03791e1965a60e3b2aa62f34e77b4b4 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30501-02.html @@ -0,0 +1,3 @@ +<html><body>Prefect Kasman:<br> +Now you have one left. Go and kill the scoundrel! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30501-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30501-03.html new file mode 100644 index 0000000000000000000000000000000000000000..92e61e869453b7c21ecd0de6064bb860e0b587dd --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30501-03.html @@ -0,0 +1,4 @@ +<html><body>Prefect Kasman:<br> +Foul betrayers, the Umbar tribe, to think that they abandoned the courage and loyalty of high-level orcs, they have become low Orcs depraved in body as well as in soul. How truly wicked they look. I am moved to think that we have shown mercy by killing them!<br> +Anyway, you have done well. You have truly demonstrated both courage and loyalty. Congratulations! I bestow this token on you. Take it and go to <font color="LEVEL">High Prefect Osborn</font> right here! He will change your profession to Orc Raider. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-01.htm similarity index 88% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-01.htm index bea9b1e4e6597deec153c01574d813b8b9e8f7c5..97f49f82a707914408f2fcac357f8630a76c0992 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-01.htm @@ -1,5 +1,5 @@ -<html><body>Prefect Karukia:<br> -Orc Raiders are of the most elite rank among fighters of our race! Their mere appearance on the battlefield makes the enemy troops shiver in fear!<br> -To earn the qualifications to become an Orc Raider, you must prove that you have courage that has no regard for death, and absolute loyalty to the Orcs. There have been many young ones that lost their lives trying to prove their courage and loyalty! It is not something to challenge with a light heart!<br> -<a action="bypass -h Quest 414_PathToOrcRaider 30570-05.htm">Say you want to be an Orc Raider</a> +<html><body>Prefect Karukia:<br> +Orc Raiders are of the most elite rank among fighters of our race! Their mere appearance on the battlefield makes the enemy troops shiver in fear!<br> +To earn the qualifications to become an Orc Raider, you must prove that you have courage that has no regard for death, and absolute loyalty to the Orcs. There have been many young ones that lost their lives trying to prove their courage and loyalty! It is not something to challenge with a light heart!<br> +<a action="bypass -h Quest Q00414_PathOfTheOrcRaider ACCEPT">Say you want to be an Orc Raider</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-02.htm new file mode 100644 index 0000000000000000000000000000000000000000..2d5f607d38b2160b7df2590adfe08e2c43d055d4 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-02.htm @@ -0,0 +1,3 @@ +<html><body>Prefect Karukia:<br> +Of course, I know your goal is to be a dignified and noble member of our race. But courage unsupported by ability is foolishness! That is a path that leads only to a meaningless death. Train patiently, youngster, and your chance will come. <font color="LEVEL">See me again when you reach level 18!</font> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-02a.htm new file mode 100644 index 0000000000000000000000000000000000000000..c99eee7e3887f51e7ab94e53c420c12f542e8172 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-02a.htm @@ -0,0 +1,3 @@ +<html><body>Prefect Karukia:<br> +You fool! You have already been selected as a courageous Orc Raider! Don't waste my time with useless questions. Go out to the battlefield and strike down the enemy! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-03.htm new file mode 100644 index 0000000000000000000000000000000000000000..1557ddb874559485765b69c6d5367e1f87be8431 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-03.htm @@ -0,0 +1,3 @@ +<html><body>Prefect Karukia:<br> +Only the most courageous Orc Fighters are chosen to be Orc Raiders. You don't have the qualifications to become a Marauder! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-04.htm new file mode 100644 index 0000000000000000000000000000000000000000..7b91f5c82f060a26f7ea09781005080c16868a11 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-04.htm @@ -0,0 +1,3 @@ +<html><body>Prefect Karukia:<br> +Oh! The Mark of the Raider! Another strong Warrior is born to fight for the Kingdom! Ha! You must go at once to the Kingdom of Humans and show this mark to the High Prefect there! He'll transfer you to the Raider class. You should visit either High Prefect Osborn in <font color="LEVEL">Gludin Village</font> or High Prefect Pinker in <font color="LEVEL">the Town of Schuttgart</font>. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-05.htm similarity index 99% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-05.htm index 7cd3487accec4a1e85ddae9828cffec7394cff9f..ea6beffdfb62d362ac3548edc8c14cee2de45112 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-05.htm @@ -1,4 +1,4 @@ -<html><body>Prefect Karukia:<br> -Then, I will give you a test! Orc Raiders are completed when they show courage that is unafraid of death and loyalty that is absolute. First, you must prove your loyalty. Destroy the <font color="LEVEL">goblins</font> that spoil the earth and the <font color="LEVEL">Kuruka Ratman Leaders</font> that control that filthy race!<br> -Take this Map. It is marked with the places where there are goblin tribes. If you obliterate the <font color="LEVEL">goblin tomb raider leader</font> there, a Kuruka Ratman Leader will appear, so make sure not to let him get away! We do not need captives. Remember, you must kill at least ten Kuruka Ratman Leaders. Plant the power and fear of the Orcs into the enemy's heart! +<html><body>Prefect Karukia:<br> +Then, I will give you a test! Orc Raiders are completed when they show courage that is unafraid of death and loyalty that is absolute. First, you must prove your loyalty. Destroy the <font color="LEVEL">goblins</font> that spoil the earth and the <font color="LEVEL">Kuruka Ratman Leaders</font> that control that filthy race!<br> +Take this Map. It is marked with the places where there are goblin tribes. If you obliterate the <font color="LEVEL">goblin tomb raider leader</font> there, a Kuruka Ratman Leader will appear, so make sure not to let him get away! We do not need captives. Remember, you must kill at least ten Kuruka Ratman Leaders. Plant the power and fear of the Orcs into the enemy's heart! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-06.html new file mode 100644 index 0000000000000000000000000000000000000000..7a6b1c0300c56bdbd23a7e2c5c487948a4b5559d --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-06.html @@ -0,0 +1,3 @@ +<html><body>Prefect Karukia:<br> +Why have you come back already? Didn't I tell you to bring back <font color="LEVEL">ten kuruka ratman teeth</font>? Is this all the courage you can muster? +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-07.html similarity index 53% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-07.html index 02550333ac890ec6e71485aae997438325a5b978..311463de84d671a9dbfcbaac16e6e5e7837d4930 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-07.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-07.html @@ -1,6 +1,6 @@ -<html><body>Prefect Karukia:<br> -You accomplished the mission well, but don't get too sure of yourself! As an Orc Raider, that should've been nothing to you! Now you must prove your loyalty.<br> -Two Judges await you. Which do you want to go to?<br> -<a action="bypass -h Quest 414_PathToOrcRaider 30570-07a.htm">"I want to go to Gludin Village."</a><br> -<a action="bypass -h Quest 414_PathToOrcRaider 30570-07b.htm">"I want to go to the Town of Schuttgart."</a> +<html><body>Prefect Karukia:<br> +You accomplished the mission well, but don't get too sure of yourself! As an Orc Raider, that should've been nothing to you! Now you must prove your loyalty.<br> +Two Judges await you. Which do you want to go to?<br> +<a action="bypass -h Quest Q00414_PathOfTheOrcRaider 30570-07a.html">"I want to go to Gludin Village."</a><br> +<a action="bypass -h Quest Q00414_PathOfTheOrcRaider 30570-07b.html">"I want to go to the Town of Schuttgart."</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-07a.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-07a.html new file mode 100644 index 0000000000000000000000000000000000000000..6d20a327d9c5d2e4f16297e1328364a4ac999308 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-07a.html @@ -0,0 +1,4 @@ +<html><body>Prefect Karukia:<br> +We of the Orc Kingdom have long cherished our tradition of obedience to our elders. Having said that, there are always certain individuals who'd like to change the way we do things...<br> +Some such criminal dogs are said to be hiding in Gludin Village! Speak with Prefect Kasman of Gludin Village... He'll tell you what you need to do! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-07b.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-07b.html similarity index 99% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-07b.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-07b.html index 6bd10bac1b1cc424c6b54c3334dce39e4e71a747..f5767745482627c36465b96786527f34650999b8 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/30570-07b.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-07b.html @@ -1,4 +1,4 @@ -<html><body>Prefect Karukia:<br> -We of the Orc Kingdom have long cherished our tradition of obedience to our elders. Having said that, there are always certain individuals who'd like to change the way we do things...<br> -Some such criminal dogs are said to be hiding in the Town of Schuttgart! Speak with Tazeer, the Lord of Schuttgart... He'll tell you what you need to do! +<html><body>Prefect Karukia:<br> +We of the Orc Kingdom have long cherished our tradition of obedience to our elders. Having said that, there are always certain individuals who'd like to change the way we do things...<br> +Some such criminal dogs are said to be hiding in the Town of Schuttgart! Speak with Tazeer, the Lord of Schuttgart... He'll tell you what you need to do! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-08.html new file mode 100644 index 0000000000000000000000000000000000000000..f9cc24df5f24f19c4042c8c652fd50e0262609e9 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/30570-08.html @@ -0,0 +1,4 @@ +<html><body>Prefect Karukia:<br> +You have not yet proven your loyalty! There are many traitors hiding far away in Gludin to avoid our eyes! They think they are safe, but we have not forgotten them. Go on now and put an end to the betrayers and prove your loyalty!<br> +When you complete this task, take the heads of the two traitors to <font color="LEVEL">Prefect Kasman in the village of Gludin</font>. If you have truly earned the qualifications to become an Orc Raider, you will receive a token to change profession from him. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/31978-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/31978-01.html similarity index 75% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/31978-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/31978-01.html index d508820354ebaae2db16372c56c7eb8a490994ca..f4ea72cb2ca7ba93df6c896b0f30b5309e5dd2fa 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/31978-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/31978-01.html @@ -1,7 +1,7 @@ -<html><body>Prefect Tazeer:<br> -All glory flows from the great fire!<br> -Are you a young soldier of the Orc Kingdom? Surely you realize that you must prove your loyalty in order to be an Orc Raider.<br> -The test is very simple. Unlike in your land, there are many lower Orcs here, who hold much power...<br> -Any move against them would take a special kind of courage... Do you have it?<br> -<a action="bypass -h Quest 414_PathToOrcRaider 31978-02.htm">"I do."</a> +<html><body>Prefect Tazeer:<br> +ll glory flows from the great fire!<br> +Are you a young soldier of the Orc Kingdom? Surely you realize that you must prove your loyalty in order to be an Orc Raider.<br> +The test is very simple. Unlike in your land, there are many lower Orcs here, who hold much power...<br> +Any move against them would take a special kind of courage... Do you have it?<br> +<a action="bypass -h Quest Q00414_PathOfTheOrcRaider 31978-04.html">"I do."</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/31978-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/31978-02.html similarity index 98% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/31978-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/31978-02.html index d0cf3c190f2d88a7e06a791d5cb9f8e8e3c3dfc8..ace0fe91512a426c5a9744714630f8d06bcf1b26 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/31978-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/31978-02.html @@ -1,5 +1,5 @@ -<html><body>Prefect Tazeer:<br> -Excellent! I won't tell you that you won't be in serious danger, but I believe that you're skilled enough to defeat the Timora Orcs.<br> -Bring me one of their heads and I'll reward you with the Mark of the Raider!<br> -Go now! +<html><body>Prefect Tazeer:<br> +Excellent! I won't tell you that you won't be in serious danger, but I believe that you're skilled enough to defeat the Timora Orcs.<br> +Bring me one of their heads and I'll reward you with the Mark of the Raider!<br> +Go now! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/31978-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/31978-03.html similarity index 98% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/31978-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/31978-03.html index 01100e1a318535b4d258175311f4591112a4b69a..4b7b6af545c5ec7b4cbaa4ebcd1e225f121631cd 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/31978-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/31978-03.html @@ -1,4 +1,4 @@ -<html><body>Prefect Tazeer:<br> -The traitorous <font color="LEVEL">Timora Orcs</font> can be found near <font color="LEVEL">the lake between the Crypts of Disgrace and the Den of Evil</font>!<br> -Now go and bring me back one of their heads! +<html><body>Prefect Tazeer:<br> +The traitorous <font color="LEVEL">Timora Orcs</font> can be found near <font color="LEVEL">the lake between the Crypts of Disgrace and the Den of Evil</font>!<br> +Now go and bring me back one of their heads! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/31978-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/31978-04.html new file mode 100644 index 0000000000000000000000000000000000000000..f6c462cb50dea55ea271e6f7110f5a4b7b784d39 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/31978-04.html @@ -0,0 +1,7 @@ +<html><body>Prefect Tazeer:<br> +Very well! Then pay close attention!<br> +The <font color="LEVEL">Timora Orcs</font> betrayed us by joining the dreaded Ragna Orcs, who have long been the scourge of this area. They can usually be found near <font color="LEVEL">the lake between the Crypts of Disgrace and the Den of Evil</font>. They hide in the Den of Evil whenever they hear that we're sending a powerful Orc after them.<br> +Letting their betrayal go unchallenged would harm the reputation of the entire Orc Kingdom! If we secretly send an unknown Orc like you after them, they might be taken off-guard...<br> +Please, destroy the Timora Orcs!<br> +<a action="bypass -h Quest Q00414_PathOfTheOrcRaider 31978-02.html">"I'll do it."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/31978-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/31978-05.html similarity index 98% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/31978-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/31978-05.html index e7b03aa72b56232399a14f8ca0db11b98e78caa2..696863a05b8558e21add9e9dbdffe959013b8f7f 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/414_PathToOrcRaider/31978-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/31978-05.html @@ -1,5 +1,5 @@ -<html><body>Prefect Tazeer:<br> -Tejakar Oroca! Tejakar Renegade Raider! You've brought me the head of a traitor!<br><br> -Please accept this Mark of the Raider! Take it to the High Prefect and he will qualify you as an Orc Raider if your skills are good enough!<br> -Glory be with you, young Orc! +<html><body>Prefect Tazeer:<br> +Tejakar Oroca! Tejakar Renegade Raider! You've brought me the head of a traitor!<br><br> +Please accept this Mark of the Raider! Take it to the High Prefect and he will qualify you as an Orc Raider if your skills are good enough!<br> +Glory be with you, young Orc! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/Q00414_PathOfTheOrcRaider.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/Q00414_PathOfTheOrcRaider.java new file mode 100644 index 0000000000000000000000000000000000000000..96a03d23cf7b0e5ed6c06001c7ea3abcc4095540 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00414_PathOfTheOrcRaider/Q00414_PathOfTheOrcRaider.java @@ -0,0 +1,373 @@ +/* + * Copyright (C) 2004-2014 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * L2J DataPack is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +package quests.Q00414_PathOfTheOrcRaider; + +import com.l2jserver.gameserver.ai.CtrlIntention; +import com.l2jserver.gameserver.enums.QuestSound; +import com.l2jserver.gameserver.model.actor.L2Attackable; +import com.l2jserver.gameserver.model.actor.L2Npc; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.model.base.ClassId; +import com.l2jserver.gameserver.model.quest.Quest; +import com.l2jserver.gameserver.model.quest.QuestState; +import com.l2jserver.gameserver.network.serverpackets.SocialAction; +import com.l2jserver.gameserver.util.Util; + +/** + * Path Of The Orc Raider (414) + * @author ivantotov + */ +public final class Q00414_PathOfTheOrcRaider extends Quest +{ + // NPCs + private static final int PREFECT_KARUKIA = 30570; + private static final int PREFRCT_KASMAN = 30501; + private static final int PREFRCT_TAZEER = 31978; + // Items + private static final int GREEN_BLOOD = 1578; + private static final int GOBLIN_DWELLING_MAP = 1579; + private static final int KURUKA_RATMAN_TOOTH = 1580; + private static final int BETRAYER_UMBAR_REPORT = 1589; + private static final int BETRAYER_ZAKAN_REPORT = 1590; + private static final int HEAD_OF_BETRAYER = 1591; + private static final int TIMORA_ORC_HEAD = 8544; + // Reward + private static final int MARK_OF_RAIDER = 1592; + // Quest Monster + private static final int KURUKA_RATMAN_LEADER = 27045; + private static final int UMBAR_ORC = 27054; + private static final int TIMORA_ORC = 27320; + // Monster + private static final int GOBLIN_TOMB_RAIDER_LEADER = 20320; + // Misc + private static final int MIN_LEVEL = 18; + + public Q00414_PathOfTheOrcRaider() + { + super(414, Q00414_PathOfTheOrcRaider.class.getSimpleName(), "Path Of The Orc Raider"); + addStartNpc(PREFECT_KARUKIA); + addTalkId(PREFECT_KARUKIA, PREFRCT_KASMAN, PREFRCT_TAZEER); + addKillId(KURUKA_RATMAN_LEADER, UMBAR_ORC, TIMORA_ORC, GOBLIN_TOMB_RAIDER_LEADER); + registerQuestItems(GREEN_BLOOD, GOBLIN_DWELLING_MAP, KURUKA_RATMAN_TOOTH, BETRAYER_UMBAR_REPORT, BETRAYER_ZAKAN_REPORT, HEAD_OF_BETRAYER, TIMORA_ORC_HEAD); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "ACCEPT": + { + if (player.getClassId() == ClassId.orcFighter) + { + if (player.getLevel() >= MIN_LEVEL) + { + if (hasQuestItems(player, MARK_OF_RAIDER)) + { + htmltext = "30570-04.htm"; + } + else + { + if (!hasQuestItems(player, GOBLIN_DWELLING_MAP)) + { + giveItems(player, GOBLIN_DWELLING_MAP, 1); + } + qs.startQuest(); + htmltext = "30570-05.htm"; + } + } + else + { + htmltext = "30570-02.htm"; + } + } + else if (player.getClassId() == ClassId.orcRaider) + { + htmltext = "30570-02a.htm"; + } + else + { + htmltext = "30570-03.htm"; + } + break; + } + case "30570-07a.html": + { + if (hasQuestItems(player, GOBLIN_DWELLING_MAP) && (getQuestItemsCount(player, KURUKA_RATMAN_TOOTH) >= 10)) + { + takeItems(player, GOBLIN_DWELLING_MAP, 1); + takeItems(player, KURUKA_RATMAN_TOOTH, -1); + giveItems(player, BETRAYER_UMBAR_REPORT, 1); + giveItems(player, BETRAYER_ZAKAN_REPORT, 1); + qs.setCond(3, true); + htmltext = event; + } + break; + } + case "30570-07b.html": + { + if (hasQuestItems(player, GOBLIN_DWELLING_MAP) && (getQuestItemsCount(player, KURUKA_RATMAN_TOOTH) >= 10)) + { + takeItems(player, GOBLIN_DWELLING_MAP, 1); + takeItems(player, KURUKA_RATMAN_TOOTH, -1); + qs.setCond(5, true); + qs.setMemoState(2); + htmltext = event; + } + break; + } + case "31978-04.html": + { + if (qs.isMemoState(2)) + { + htmltext = event; + } + break; + } + case "31978-02.html": + { + if (qs.isMemoState(2)) + { + qs.setMemoState(3); + qs.setCond(6, true); + htmltext = event; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + if ((qs != null) && qs.isStarted() && Util.checkIfInRange(1500, npc, killer, true)) + { + switch (npc.getId()) + { + case GOBLIN_TOMB_RAIDER_LEADER: + { + if (hasQuestItems(killer, GOBLIN_DWELLING_MAP) && (getQuestItemsCount(killer, KURUKA_RATMAN_TOOTH) < 10) && (getQuestItemsCount(killer, GREEN_BLOOD) <= 20)) + { + if (getRandom(100) < (getQuestItemsCount(killer, GREEN_BLOOD) * 5)) + { + takeItems(killer, GREEN_BLOOD, -1); + final L2Attackable monster = (L2Attackable) addSpawn(KURUKA_RATMAN_LEADER, npc, true, 0, true); + attackPlayer(monster, killer); + } + else + { + giveItems(killer, GREEN_BLOOD, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case KURUKA_RATMAN_LEADER: + { + if (hasQuestItems(killer, GOBLIN_DWELLING_MAP) && (getQuestItemsCount(killer, KURUKA_RATMAN_TOOTH) < 10)) + { + takeItems(killer, GREEN_BLOOD, -1); + if (getQuestItemsCount(killer, KURUKA_RATMAN_TOOTH) >= 9) + { + giveItems(killer, KURUKA_RATMAN_TOOTH, 1); + qs.setCond(2, true); + } + else + { + giveItems(killer, KURUKA_RATMAN_TOOTH, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case UMBAR_ORC: + { + if (hasAtLeastOneQuestItem(killer, BETRAYER_UMBAR_REPORT, BETRAYER_ZAKAN_REPORT) && (getQuestItemsCount(killer, HEAD_OF_BETRAYER) < 2) && (getRandom(10) < 2)) + { + giveItems(killer, HEAD_OF_BETRAYER, 1); + if (hasQuestItems(killer, BETRAYER_ZAKAN_REPORT)) + { + takeItems(killer, BETRAYER_ZAKAN_REPORT, 1); + } + else if (hasQuestItems(killer, BETRAYER_UMBAR_REPORT)) + { + takeItems(killer, BETRAYER_UMBAR_REPORT, 1); + } + if (getQuestItemsCount(killer, HEAD_OF_BETRAYER) == 2) + { + qs.setCond(4, true); + } + else + { + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case TIMORA_ORC: + { + if (qs.isMemoState(3) && !hasQuestItems(killer, TIMORA_ORC_HEAD)) + { + if (getRandom(100) < 60) + { + giveItems(killer, TIMORA_ORC_HEAD, 1); + qs.setCond(7, true); + } + } + break; + } + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + if (qs.isCreated() || qs.isCompleted()) + { + if (npc.getId() == PREFECT_KARUKIA) + { + htmltext = "30570-01.htm"; + } + } + else if (qs.isStarted()) + { + switch (npc.getId()) + { + case PREFECT_KARUKIA: + { + if (hasQuestItems(player, GOBLIN_DWELLING_MAP) && (getQuestItemsCount(player, KURUKA_RATMAN_TOOTH) < 10)) + { + htmltext = "30570-06.html"; + } + else if (hasQuestItems(player, GOBLIN_DWELLING_MAP) && (getQuestItemsCount(player, KURUKA_RATMAN_TOOTH) >= 10)) + { + if (!hasAtLeastOneQuestItem(player, BETRAYER_UMBAR_REPORT, BETRAYER_ZAKAN_REPORT)) + { + htmltext = "30570-07.html"; + } + } + else if (hasQuestItems(player, HEAD_OF_BETRAYER) || hasAtLeastOneQuestItem(player, BETRAYER_UMBAR_REPORT, BETRAYER_ZAKAN_REPORT)) + { + htmltext = "30570-08.html"; + } + else if (qs.isMemoState(2)) + { + htmltext = "30570-07b.html"; + } + break; + } + case PREFRCT_KASMAN: + { + if (!hasQuestItems(player, HEAD_OF_BETRAYER) && (getQuestItemsCount(player, BETRAYER_UMBAR_REPORT, BETRAYER_ZAKAN_REPORT) >= 2)) + { + htmltext = "30501-01.html"; + } + else if (getQuestItemsCount(player, HEAD_OF_BETRAYER) == 1) + { + htmltext = "30501-02.html"; + } + else if (getQuestItemsCount(player, HEAD_OF_BETRAYER) == 2) + { + giveAdena(player, 163800, true); + giveItems(player, MARK_OF_RAIDER, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 320534, 21312); + } + else if (level == 19) + { + addExpAndSp(player, 456128, 28010); + } + else + { + addExpAndSp(player, 591724, 34708); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = "30501-03.html"; + } + break; + } + case PREFRCT_TAZEER: + { + if (qs.isMemoState(2)) + { + htmltext = "31978-01.html"; + } + else if (qs.isMemoState(3)) + { + if (!hasQuestItems(player, TIMORA_ORC_HEAD)) + { + htmltext = "31978-03.html"; + } + else + { + giveAdena(player, 81900, true); + giveItems(player, MARK_OF_RAIDER, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 160267, 10656); + } + else if (level == 19) + { + addExpAndSp(player, 228064, 14005); + } + else + { + addExpAndSp(player, 295862, 17354); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = "31978-05.html"; + } + } + break; + } + } + } + return htmltext; + } + + private static void attackPlayer(L2Attackable npc, L2PcInstance player) + { + if ((npc != null) && (player != null)) + { + npc.setIsRunning(true); + npc.addDamageHate(player, 0, 999); + npc.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player); + } + } +} \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30501-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30501-01.html new file mode 100644 index 0000000000000000000000000000000000000000..14033dbb6c53130dbc5aca072383469efd7022e1 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30501-01.html @@ -0,0 +1,4 @@ +<html><body>Prefect Kasman:<br> +To find the second scroll needed in order to become a Monk, you must meet <font color="LEVEL">Khavatari Toruku</font>. To meet him, you must follow the path that heads north from the village. He will be near the fork in the road. When you meet him, give him this fig.<br> +Come back after you have completed his Trial of Steel and you receive the scroll. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30501-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30501-02.html similarity index 62% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30501-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30501-02.html index 0a6f873333a7e13d39f6b933cc7b8b8c5e5d1a63..51560f40201bda20723c50dff6da3db9e9fbd100 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30501-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30501-02.html @@ -1,9 +1,3 @@ -<html> - -<body> -Prefect Kasman:<br> -Why have you returned? If you want to find the scroll, go on now to<font color="LEVEL"> Khavatari Toruku</font> He is near the three-way junction if you follow the road north of the village. When you secure the iron will scroll, come back to me. - - -</body> -</html> \ No newline at end of file +<html><body>Prefect Kasman:<br> +Why have you returned? If you want to find the scroll, go on now to<font color="LEVEL"> Khavatari Toruku</font> He is near the three-way junction if you follow the road north of the village. When you secure the Iron Will Scroll, come back to me. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30501-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30501-03.html similarity index 71% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30501-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30501-03.html index 0ebc06fd2d4cab467e4fe85e7b1faa1a88b3bf30..53440e793f6b19e0a18376bd5b941b70e3ea41a1 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30501-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30501-03.html @@ -1,9 +1,3 @@ -<html> - -<body> -Prefect Kasman:<br> -You have met Khavatari Toruku! They say that his tasks can be completed only with iron will and determination! That's no problem for one like you, right? - - -</body> -</html> \ No newline at end of file +<html><body>Prefect Kasman:<br> +You have met Khavatari Toruku! They say that his tasks can be completed only with iron will and determination! That's no problem for one like you, right? +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30501-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30501-04.html similarity index 59% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30501-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30501-04.html index 633d0dde9f236c0e20a18ff97e4e876044b48f76..5f7eddef23cd83e66b4be61c9d1b9e04fd2c1b0a 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30501-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30501-04.html @@ -1,10 +1,4 @@ -<html> - -<body> -Prefect Kasman:<br> -Tejakar Oroka! Good work, young fighter! As a result of steady effort and steadfast perseverance, you have obtained both scrolls! Congratulations! Maintain that spirit and go forward. I hope you will become a fighter stronger than anyone else!<br> -Take this totem! It is a token that shows that you have earned the rights and passed the Trial of Flame and Iron to become a Paagrio Monk. Take this to the high prefect. He will change your profession to Paagrio Monk. - - -</body> -</html> \ No newline at end of file +<html><body>Prefect Kasman:<br> +Tejakar Oroka! Good work, young fighter! As a result of steady effort and steadfast perseverance, you have obtained both scrolls! Congratulations! Maintain that spirit and go forward. I hope you will become a fighter stronger than anyone else!<br> +Take this totem! It is a token that shows that you have earned the rights and passed the Trial of Flame and Iron to become a Monk. Take this to the high prefect. He will change your profession to Monk. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-01.htm new file mode 100644 index 0000000000000000000000000000000000000000..2b7c387c99b32fb1b090e455e2be0e3cf870e4e7 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-01.htm @@ -0,0 +1,5 @@ +<html><body>Gantaki Zu Urutu:<br> +Young one, do you know of the Monks that follow the secret teachings of Pa'agrio? They do not rely on weapons other than their own bodies, believing that through this training they will gain ultimate strength. They have practiced Kabart, the traditional martial art of the Orcs, for thousands of years now.<br> +Only an Orc whose will is as bright as the sacred flame and whose body is as strong as the finest steel may walk the path of a Monk. But the reward is worthwhile -- Kabart Masters can kill even the largest beast with one blow of their bare hands.<br> +<a action="bypass -h Quest Q00415_PathOfTheOrcMonk ACCEPT">Say you want to become a Monk.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-02.htm new file mode 100644 index 0000000000000000000000000000000000000000..7f63dc8a1578ff00f1d18a47bfc605f4f915c0ad --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-02.htm @@ -0,0 +1,3 @@ +<html><body>Gantaki Zu Urutu:<br> +Only the strongest and most skilled Orc Fighters may attempt to learn our traditional martial art, Kabart. You are simply not fit to become a Monk. Ambition is good, but a wise warrior acknowledges his limitations. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-02a.htm new file mode 100644 index 0000000000000000000000000000000000000000..545fde7b0cca53c67ecbb19b89bbf8ab50f81954 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-02a.htm @@ -0,0 +1,3 @@ +<html><body>Gantaki Zu Urutu:<br> +Why do you waste your time and mine speaking on such matters? I see that you are already a Monk who holds the 2 scrolls! Return to your training and allow me to go about my duty. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-03.htm new file mode 100644 index 0000000000000000000000000000000000000000..5521267a1e962e0779e1b3f91ff11fbca9bde26f --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-03.htm @@ -0,0 +1,3 @@ +<html><body>Gantaki Zu Urutu:<br> +Only the strongest and most skilled Orc Fighters may attempt to learn our traditional martial art, Kabart. You are neither physically nor mentally ready to become a Monk. Ambition is good, but a wise warrior acknowledges his limitations. Continue your training and come see me again when you reach level 18. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-04.htm new file mode 100644 index 0000000000000000000000000000000000000000..660479ede81a4977f337ff633a43dcf84be3c660 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-04.htm @@ -0,0 +1,3 @@ +<html><body>Gantaki Zu Urutu:<br> +Don't you already have the Khavatari Totem? Take it to the Human kingdom and show it to any Orc high prefect. He will allow you to change your class to Monk. Tejakar Pa'agrio! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-05.htm new file mode 100644 index 0000000000000000000000000000000000000000..3ea7291f524028a2fde040cecdc1d36d7bd48814 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-05.htm @@ -0,0 +1,4 @@ +<html><body>Gantaki Zu Urutu:<br> +To become a Monk, you must possess the 2 scrolls containing the basic secrets of Kabart, the traditional Orc martial art. The first scroll is called the Fiery Spirit Scroll. To obtain it, seek out <font color="LEVEL">Khavatari Rosheek</font>.<br> +<a action="bypass -h Quest Q00415_PathOfTheOrcMonk 30587-06.htm">Ask about Khavatari Rosheek.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-06.htm new file mode 100644 index 0000000000000000000000000000000000000000..f02e29aae41df965733c256e6ab1c5d8700f6bee --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-06.htm @@ -0,0 +1,5 @@ +<html><body>Gantaki Zu Urutu:<br> +As you know, Khavatari is a title bestowed on only the greatest Kabart martial art masters. Khavatari Rosheek left our village some time ago to further develop his skills. I have heard rumors that he is near the <font color="LEVEL">Frozen Waterfalls in the northern part of the Immortal Plateau</font>.<br> +But if you him to teach you, it would be wise for you to offer him a gift to show your respect. Here, take this Pomegranate. Perform all the tasks he gives you, no matter how difficult, and he will reward you with the scroll, which you must then bring back to me.<br> +Ah, I almost neglected to tell you the most importatn thing: <font color="LEVEL">while you are taking the test to become a Monk, you must not use any weapons other than fist-type weapons or your bare hands!</font> If you violate this rule, you will not be allowed to complete the test. DO not forget! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-07.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-07.html new file mode 100644 index 0000000000000000000000000000000000000000..2a0043486753eda74273437c361921425638f646 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-07.html @@ -0,0 +1,3 @@ +<html><body>Gantaki Zu Urutu:<br> +To obtain the Fiery Spirit Scroll, seek out <font color="LEVEL">Khavatari Rosheek</font> near the <font color="LEVEL">Frozen Waterfall in the northern part of the Immortal Plateau</font>. Give him the Pomegranate I gave you and follow all his instructions perfectly! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-08.html new file mode 100644 index 0000000000000000000000000000000000000000..74db53086a644fcb7d3c8f11e520ec2ceb596e3c --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-08.html @@ -0,0 +1,3 @@ +<html><body>Gantaki Zu Urutu:<br> +You haven't obtained the Fiery Spirit Scroll yet? No wonder! Khavatari Rosheek, above all others, esteems the traditions of Kabart. He will not give the scroll to just anyone who asks! If you truly wish to become a Monk, you must steel yourself to the task and try again. Did you really think it would be easy?! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-09a.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-09a.html new file mode 100644 index 0000000000000000000000000000000000000000..f2bdf8530afe08dd6aaa780387ad861cd0e4e7f7 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-09a.html @@ -0,0 +1,6 @@ +<html><body>Gantaki Zu Urutu:<br> +Tejakar Oroca! You have brought the Fiery Spirit Scroll! Well done! Now you have the first of the 2 scrolls necessary to become an Orc Monk.<br> +There are two ways to find the second scroll. You may either obtain it from Prefect Kasman of the Human village of Gludin, or you may seek out Kasman's superior: his teacher, Khavatari Aren. What would you like to do?<br> +<a action="bypass -h Quest Q00415_PathOfTheOrcMonk 30587-09b.html">Obtain the scroll from Prefect Kasman.</a><br> +<a action="bypass -h Quest Q00415_PathOfTheOrcMonk 30587-09c.html">Seek Khavatari Aren.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-09b.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-09b.html new file mode 100644 index 0000000000000000000000000000000000000000..7566dd20623669839eeda92b4e3a311aa08638b1 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-09b.html @@ -0,0 +1,4 @@ +<html><body>Gantaki Zu Urutu:<br> +Then go to the Human land of Gludio and find <font color="LEVEL">Prefect Kasman</font> in the village called <font color="LEVEL">Gludin</font>. Show him this letter, and he will tell you how to obtain the scroll.<br> +May the sacred flame guide you to success! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-09c.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-09c.html new file mode 100644 index 0000000000000000000000000000000000000000..8fc10f0699dfa7ee341c59e52a62dd6b81c15c4a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-09c.html @@ -0,0 +1,5 @@ +<html><body>Gantaki Zu Urutu:<br> +Ah, Khavatari Aren... That name has been almost forgotten for many years now.<br> +Not only did she teach Prefect Kasman, but Flame Successor Akkan as well. But she went into seclusion a long time ago, and Khavatari Hubai took her place.<br> +Khavatari Aren lives as a hermit near the Valley of the Lords. I don't know why she chose such a place, but if you seek her out she may still be willing to help you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-10.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-10.html new file mode 100644 index 0000000000000000000000000000000000000000..6ded5cf45a8434fdb2069f593e95ccf5cc6369db --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-10.html @@ -0,0 +1,4 @@ +<html><body>Gantaki Zu Urutu:<br> +You haven't left yet? Why do you delay? To find the second scroll, go to the Human land of Gludio and give this letter to <font color="LEVEL">Prefect Kasman</font> in the village known as <font color="LEVEL">Gludin</font>. He will tell you how to find the second scroll.<br> +Waste no more time! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-11.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-11.html new file mode 100644 index 0000000000000000000000000000000000000000..72a3d7533060bb569c44b30a64d95efa3eac81c8 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30587-11.html @@ -0,0 +1,3 @@ +<html><body>Gantaki Zu Urutu:<br> +Ah, you have not yet obtained the second scroll? Ha ha! I well know that how difficult it is to do so. But if you cannot overcome this trial, you are certainly not fit to be a Monk. Steel yourself to the task at hand and try again! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-01.html similarity index 77% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-01.html index f141315899b7cd3bba2c371cdb01042c221d90da..805a3d5de87b5d4af354f6e9b7675f6b4cdca07f 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-01.html @@ -1,11 +1,5 @@ -<html> - -<body> -Khavatari Rosheek:<br> -It's a fledgling sent by Gantaki! How dare you disturb my meditation ...<br> -I don't want to associate with someone with no skill! Go catch the<font color="LEVEL"> kasha bear</font> with your bare hands! Then, pull out five claws and bring them back in this pouch! Until you finish this task, don't think of coming back!<br> -And take heed! If you use any other weapon besides your bare fists or hand-to-hand weapons, you are disqualified! A true monk must be able to fight without depending on weapons! - - -</body> -</html> \ No newline at end of file +<html><body>Khavatari Rosheek:<br> +It's a fledgling sent by Gantaki! How dare you disturb my meditation ...<br> +I don't want to associate with someone with no skill! Go catch the <font color="LEVEL">kasha bear</font> with your bare hands! Then, pull out five claws and bring them back in this pouch! Until you finish this task, don't think of coming back!<br> +And take heed! If you use any other weapon besides your bare fists or hand-to-hand weapons, you are disqualified! A true monk must be able to fight without depending on weapons! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-02.html new file mode 100644 index 0000000000000000000000000000000000000000..159417f3cf831c23c8d821c24981dfde96814032 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-02.html @@ -0,0 +1,3 @@ +<html><body>Khavatari Rosheek:<br> +Didn't I tell you not to come back before you caught the <font color="LEVEL">kasha bear</font> and pulled out five claws? Do not disturb my discipline -- just go hunt the bear! And take heed! If you use any other weapon besides your bare fists or combat weapons, you are disqualified! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-03.html similarity index 76% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-03.html index 5b247440a087a46593990a28437f6b2942e60a87..89be7178f6c6216fce7f79d58753e34a92c55bd8 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-03.html @@ -1,11 +1,5 @@ -<html> - -<body> -Khavatari Rosheek:<br> -Tejakar Oroka! Have you come back already?<br> -I'm sorry but I am meditating, so I do not have any time to deal with you! Go hunt the<font color="LEVEL"> kasha bladespider</font>. And bring back five blade-shaped talons in this pouch. Then I will especially put aside some time to teach you.<br> -I tell you again, but if you use any other weapon besides your bare fists or hand-to-hand weapons, you are disqualified! A true monk must be able to fight without depending on weapons! - - -</body> -</html> \ No newline at end of file +<html><body>Khavatari Rosheek:<br> +Tejakar Oroka! Have you come back already?<br> +I'm sorry but I am meditating, so I do not have any time to deal with you! Go hunt the <font color="LEVEL">kasha bladespider</font>. And bring back five blade-shaped talons in this pouch. Then I will especially put aside some time to teach you.<br> +I tell you again, but if you use any other weapon besides your bare fists or hand-to-hand weapons, you are disqualified! A true monk must be able to fight without depending on weapons! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-04.html new file mode 100644 index 0000000000000000000000000000000000000000..1dab2f766c2795504708bbb9ec0596bd00c7759a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-04.html @@ -0,0 +1,3 @@ +<html><body>Khavatari Rosheek:<br> +Stop bothering me and go catch <font color="LEVEL">kasha blade spiders</font> with your bare fists and combat equipment only. Pull out their blade-shaped talons and bring me back five of them in the pouch that I gave you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-05.html new file mode 100644 index 0000000000000000000000000000000000000000..53a9b4de5da83771158649479ab9cbda941dfd26 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-05.html @@ -0,0 +1,4 @@ +<html><body>Khavatari Rosheek:<br> +Have you come back already? I was about to rest, but you've disturbed me. Don't be such a nuisance, go and kill the <font color="LEVEL">scarlet salamander</font> and bring back its scales! Collect <font color="LEVEL">five scales</font> in this pouch and bring them to me.<br> +Of course, you should not use anything other than your bare fists and combat equipment! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-06.html new file mode 100644 index 0000000000000000000000000000000000000000..1d68e4bf604620376643cec424c99dba4a86402b --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-06.html @@ -0,0 +1,3 @@ +<html><body>Khavatari Rosheek:<br> +Don't be such a nuisance! Capture the <font color="LEVEL">scarlet salamander</font> with your bare fists and combat equipment and pluck out its scales. Bring back <font color="LEVEL">five scales</font> in the pouch that I gave you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-07.html similarity index 51% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-07.html index 45a9c2f1d1e0f58e93f47ab5b4b9ae4e6fe43ea3..dc753facb12bb70b033eb16d7c8c635a1f0d358c 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-07.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-07.html @@ -1,11 +1,5 @@ -<html> - -<body> -Khavatari Rosheek:<br> -Very good! I haven't seen one with your guts in a long time. Actually, I have nothing to teach you that you have not already taught yourself. The flame stands for strong faith that wishes to become stronger and a fiery desire to achieve victory.<br> -I was testing whether you had the heart to abandon all desires and walk the path of the Paagrio Monk who pursues only strength. This is the meaning of the Trial of Flame.<br> -Now take this! The fiery spirit scroll! Take it and this letter and go back to<font color="LEVEL"> Gantaki Zu Urutu</font>. - - -</body> -</html> \ No newline at end of file +<html><body>Khavatari Rosheek:<br> +Very good! I haven't seen one with your guts in a long time. Actually, I have nothing to teach you that you have not already taught yourself. The flame stands for strong faith that wishes to become stronger and a fiery desire to achieve victory.<br> +I was testing whether you had the heart to abandon all desires and walk the path of the Monk who pursues only strength. This is the meaning of the Trial of Flame.<br> +Now take this! The Fiery Spirit Scroll! Take it and this letter and go back to <font color="LEVEL">Gantaki Zu Urutu</font>. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-08.html new file mode 100644 index 0000000000000000000000000000000000000000..2879801630d856ce1d7cf4fae606deb6a61fa7e3 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-08.html @@ -0,0 +1,3 @@ +<html><body>Khavatari Rosheek:<br> +What are you waiting for? Take the Fiery Spirit Scroll and letter that I have written you and go to <font color="LEVEL">Gantaki Zu Urutu</font> in the village! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-09.html similarity index 59% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-09.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-09.html index 27837a781ec3a7cafcf00da78e557c8db505d7a9..c85bc91adad45b792ebdb4820ae24549337188ef 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30590-09.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30590-09.html @@ -1,9 +1,3 @@ -<html> - -<body> -Khavatari Rosheek:<br> -Young fighter, you have not found the second scroll yet? Then you must strive all the harder! - - -</body> -</html> \ No newline at end of file +<html><body>Khavatari Rosheek:<br> +Young fighter, you have not found the second scroll yet? Then you must strive all the harder! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30591-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30591-01.html new file mode 100644 index 0000000000000000000000000000000000000000..516a2f8c6273c7bae8539871a57fc82d54780d49 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30591-01.html @@ -0,0 +1,6 @@ +<html><body>Khavatari Toruku:<br> +Come here, young Orc. What is this fig? Is it for me? I have not been able to drink one drop of water for more than a fortnight, so this will come in handy. Thank you!<br> +I see you are a Fighter that wishes to become a Monk. So, you have come to take the Trial of Steel from me! Steel is metal that has become harder in the flame! It refers to the training process of a Monk in reaching a higher level of strength.<br> +The trial is to test your strength against fighter levels of other races that live in Gludio. Find the <font color="LEVEL">Vuku Orc Fighter on Windmill Hill in the southern part of Gludin Village, the ratman warrior on the path to the ruins, the Langk Lizardman Warrior in the Langk Lizardmen Dwellings facing the southern coast, and the Felim Lizardman Warrior in the Fellmere Harvesting Grounds in the northern part of Gludin Village</font> and knock them down! If you have gathered <font color="LEVEL">3 tokens from each race, adding up to 12 tokens in all</font>, put them in this purse and bring them back.<br> +Even if you fight a lower race, you could be defeated if you are absentminded. So keep your wits about you! And one thing more... you must not use any weapon during the trial, other than your bare fists or hand-to-hand weapons. A true Monk must be able to fight without depending on weapons! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30591-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30591-02.html similarity index 54% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30591-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30591-02.html index 0ac09336862d67a67bf3f6ea32e0fa4664e90ef6..7ac4d59409154cb827041d0ffcb8dd0503e7d286 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/30591-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30591-02.html @@ -1,10 +1,4 @@ -<html> - -<body> -Khavatari Toruku:<br> -To complete the Trial of Steel, you must fight against fighters of various races. The opponents you must knock down are the<font color="LEVEL"> Vuku Orc fighter, ratman fighter, Langk lizardman warrior, and Felim warrior</font>. Come back after you have collected three tokens from each race, for a total of 12 tokens.<br> -And, don't forget, you must not use any weapon during the trial other than your bare fists or hand-to-hand weapons. A true Monk must be able to fight without depending on weapons! - - -</body> -</html> \ No newline at end of file +<html><body>Khavatari Toruku:<br> +To complete the Trial of Steel, you must fight against fighters of various races. The opponents you must knock down are the <font color="LEVEL">Vuku Orc Fighter, ratman warrior, Langk Lizardman Warrior, and Felim warrior</font>. Come back after you have collected three tokens from each race, for a total of 12 tokens.<br> +And, don't forget, you must not use any weapon during the trial other than your bare fists or hand-to-hand weapons. A true Monk must be able to fight without depending on weapons! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30591-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30591-03.html new file mode 100644 index 0000000000000000000000000000000000000000..e90fa68c6191576de48972edbb367126ca52382a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30591-03.html @@ -0,0 +1,4 @@ +<html><body>Khavatari Toruku:<br> +Congratulations, young one, for passing the Trial of Steel! As iron becomes harder in the flame, continuous training will make us stronger. Etch this morale deep on your heart.<br> +I will give you the second scroll, the scroll of Steel will, that is needed to become a Monk. Take it and return to <font color="LEVEL">Prefect Kasman in the village of Gludin</font>. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30591-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30591-04.html new file mode 100644 index 0000000000000000000000000000000000000000..5dd212067ae2096a85fa0325eac16ce7c8aee142 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/30591-04.html @@ -0,0 +1,3 @@ +<html><body>Khavatari Toruku:<br> +You haven't left yet? Take the Iron Will Scroll and go to <font color="LEVEL">Prefect Kasman of the village of Gludin</font>. Then, you will receive the token needed to change profession. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/31979-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/31979-01.html similarity index 64% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/31979-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/31979-01.html index ff8a268b71c40d9d8730b0cc9eaa865e007f2edb..cb55e27d1d1c3e94fb32c7d2d0f858cc1b23db73 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/31979-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/31979-01.html @@ -1,6 +1,6 @@ -<html><body>Seer Moira:<br> -What? You met Khavatari Aren?<br> -Docara Pa'agrio! Surprising indeed! I can't believe that you, a renegade Orc, met Khavatari Aren.....<br> -If you really met him, then prove it!<br> -<a action="bypass -h Quest 415_PathToOrcMonk 31979-02.htm">"Let me tell you about the Culmination of Kabart."</a> +<html><body>Seer Moira:<br> +What? You met Khavatari Aren?<br> +Docara Pa'agrio! Surprising indeed! I can't believe that you, a renegade Orc, met Khavatari Aren.....<br> +If you really met him, then prove it!<br> +<a action="bypass -h Quest Q00415_PathOfTheOrcMonk 31979-02.html">"Let me tell you about the Culmination of Kabart."</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/31979-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/31979-02.html new file mode 100644 index 0000000000000000000000000000000000000000..1929bb35aea161a1a23a3770ffbd9ba14c505770 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/31979-02.html @@ -0,0 +1,6 @@ +<html><body><TITLE>Cabart's Geukeu</TITLE><br> +<center>What is Cabart's Geukeu?<br> +<a action="bypass -h Quest Q00415_PathOfTheOrcMonk 31979-03.html">Fairy Tale </a><br> +<a action="bypass -h Quest Q00415_PathOfTheOrcMonk 31979-04.html">Harmony</a><br> +<a action="bypass -h Quest Q00415_PathOfTheOrcMonk 31979-04.html">Enforcement</a></center> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/31979-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/31979-03.html similarity index 99% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/31979-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/31979-03.html index 3821b4617c20c88fe8ae6d786d3c5918913b2fde..c9004c07dc1a5e43f27e5978fc3edf04a03c0665 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/31979-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/31979-03.html @@ -1,3 +1,3 @@ -<html><body>Seer Moira:<br> -You've done well! You're qualified, alright! Please accept this Khavatari Totem. If you take this to the High Prefect, he'll bestow the title of Orc Monk upon you. +<html><body>Seer Moira:<br> +You've done well! You're qualified, alright! Please accept this Khavatari Totem. If you take this to the High Prefect, he'll bestow the title of Orc Monk upon you. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/31979-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/31979-04.html new file mode 100644 index 0000000000000000000000000000000000000000..1cd4f4e970d3d82e770b0fe79cd88d51246adb77 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/31979-04.html @@ -0,0 +1,3 @@ +<html><body>Seer Moira:<br> +What? Did you really meet Khavatari Aren? Your answer sounds good, but it's the answer of someone who doesn't know what he is! Come back after you've given it more thought. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-01.html similarity index 79% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-01.html index 85cea3c850b9973a3452bb538ee836b2364adcbe..536b59a7faffdc6a20ee05854c49b39f7d4853ea 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-01.html @@ -1,5 +1,5 @@ -<html><body>Khavatari Aren:<br> -So you are a monk apprentice in training... From the way you move, I'd guess you were trained under Flame Lord Kakai. Is he still in good health?<br> -Yes, it's true I too used to write secret scrolls, but that was a long time ago. Is that what you seek from me for now, young Orc?<br> -<a action="bypass -h Quest 415_PathToOrcMonk 32056-02.htm">Nod your head.</a> +<html><body>Khavatari Aren:<br> +So you are a monk apprentice in training... From the way you move, I'd guess you were trained under Flame Lord Kakai. Is he still in good health?<br> +Yes, it's true I too used to write secret scrolls, but that was a long time ago. Is that what you seek from me for now, young Orc?<br> +<a action="bypass -h Quest Q00415_PathOfTheOrcMonk 32056-02.html">Nod your head.</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-02.html similarity index 81% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-02.html index 82467d6ab2f6db6b7bbff5e861193637b704aec2..9a6634c5fdfa8605d14c8b0fa424e1f182fa1674 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-02.html @@ -1,6 +1,6 @@ -<html><body>Khavatari Aren:<br> -Impressive! Your technique is strong for a novice! You remind me of myself as a young Orc...<br> -Hey, Toruku! Come here. See this novice? I have job for one of you. I'll let the two of you determine who should be given the assignment through a contest of combat skill. He's a real fighter, this novice, so be careful!<br> -Are you ready, novice?<br> -<a action="bypass -h Quest 415_PathToOrcMonk 32056-03.htm">Say you're ready.</a> +<html><body>Khavatari Aren:<br> +Impressive! Your technique is strong for a novice! You remind me of myself as a young Orc...<br> +Hey, Toruku! Come here. See this novice? I have job for one of you. I'll let the two of you determine who should be given the assignment through a contest of combat skill. He's a real fighter, this novice, so be careful!<br> +Are you ready, novice?<br> +<a action="bypass -h Quest Q00415_PathOfTheOrcMonk 32056-03.html">Say you're ready.</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-03.html similarity index 79% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-03.html index d04e8529861f0143bd2b686a763d969271f6c577..e58d6ce66ef0cf8093d3ed83c7b6e639d554481d 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-03.html @@ -1,4 +1,4 @@ -<html><body>Khavatari Aren: <br> -Very well. I will attend to matters here. Go and exercise your Kabart skills on the Kasha Blade Spiders and Kasha Fang Spiders you find. If you kill them and bring back 6 of their fangs, I will accept this as a demonstration of your skill. <br> -You must fight them using only Kabart. Use no sword, spear or axe. Mark this well: if you use a weapon to obtain the fangs, I will know. +<html><body>Khavatari Aren:<br> +Very well. I will attend to matters here. Go and exercise your Kabart skills on the Kasha Blade Spiders and Kasha Fang Spiders you find. If you kill them and bring back 6 of their fangs, I will accept this as a demonstration of your skill.<br> +You must fight them using only Kabart. Use no sword, spear or axe. Mark this well: if you use a weapon to obtain the fangs, I will know. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-04.html similarity index 99% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-04.html index 19bb16ae7791feb4c9ebef29b207d69d15f33715..aa93a2e00327d9256bfdbe4e47254f1217453992 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-04.html @@ -1,3 +1,3 @@ -<html><body>Khavatari Aren:<br> -Go and engage the Kasha Blade Spiders and Kasha Fang Spiders you find using only your Kabart training. Bring back 6 of their fangs as evidence of victory, and I will acknowledge your skills. You must fight them using only Kabart. Use no sword, spear or axe. Mark this well: if you use a weapon to obtain the fangs, I will know. +<html><body>Khavatari Aren:<br> +Go and engage the Kasha Blade Spiders and Kasha Fang Spiders you find using only your Kabart training. Bring back 6 of their fangs as evidence of victory, and I will acknowledge your skills. You must fight them using only Kabart. Use no sword, spear or axe. Mark this well: if you use a weapon to obtain the fangs, I will know. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-05.html similarity index 76% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-05.html index fd658bd63b7fbd358b9b1467168997b3dfa234d2..dd3b96425057fef09df769675113336966769bf6 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-05.html @@ -1,6 +1,7 @@ -<html><body>Khavatari Aren:<br> -You have returned with the spider fangs, I perceive. How do I know? I saw your battle!<br> How did I see it, you ask? The power of Kabart, my young friend! Through it, I can watch you - just like my totem, the spider web of Duda-Mara.<br> -You did very well. Now I will give you a more difficult job to test your worthiness.<br> -There are creatures called <font color="LEVEL">Baar Dre Vanul, who live south of the Immortal Plateau</font>. If you defeat them and bring their horns to me, you will have proven your worth to be a monk.<br> -And yes, once again, you must <font color="LEVEL">fight using only Kabart. If you depend on weapons instead of your own skill, the path to Kabart will remain closed to you.</font> +<html><body>Khavatari Aren:<br> +You have returned with the spider fangs, I perceive. How do I know? I saw your battle!<br> +How did I see it, you ask? The power of Kabart, my young friend! Through it, I can watch you - just like my totem, the spider web of Duda-Mara.<br> +You did very well. Now I will give you a more difficult job to test your worthiness.<br> +There are creatures called <font color="LEVEL">Baar Dre Vanul, who live south of the Immortal Plateau</font>. If you defeat them and bring their horns to me, you will have proven your worth to be a monk.<br> +And yes, once again, you must <font color="LEVEL">fight using only Kabart. If you depend on weapons instead of your own skill, the path to Kabart will remain closed to you.</font> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-06.html similarity index 99% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-06.html index 703fafdf46d1c3c64a54df5692686e9ce237ca42..9b725298f0fb638b33700b79dfae6490e8903676 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-06.html @@ -1,4 +1,4 @@ -<html><body>Khavatari Aren:<br> -There are creatures called <font color="LEVEL">Baar Dre Vanul who live south of the Immortal Plateau</font>. A Necromancer called them forth. If you defeat them and bring their horns to me, you will have proven your worth to be a monk.<br> -And yes, once again, you must <font color="LEVEL">fight using only Kabart. If you depend on weapons instead of your own skill, the path to Kabart will remain closed to you.</font> +<html><body>Khavatari Aren:<br> +There are creatures called <font color="LEVEL">Baar Dre Vanul who live south of the Immortal Plateau</font>. A Necromancer called them forth. If you defeat them and bring their horns to me, you will have proven your worth to be a monk.<br> +And yes, once again, you must <font color="LEVEL">fight using only Kabart. If you depend on weapons instead of your own skill, the path to Kabart will remain closed to you.</font> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-07.html similarity index 80% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-07.html index 3a42d16138f47268f04b383d5ad97eb7b03ffd46..7716e125d8f0503ba7d9b750805bbe88d5ff12c8 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-07.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-07.html @@ -1,6 +1,6 @@ -<html><body>Khavatari Aren:<br> -You have returned, and you bear the Baar Dre Vanul's horn.<br> -They are formidable opponents, the Baar Dre Vanul. That fact that you have triumphed is evidence of mastery in Kabart.<br> -Very good. I do not write secret scrolls any more, so all I can give you are my teachings.<br> -<a action="bypass -h Quest 415_PathToOrcMonk 32056-08.htm">Listen.</a> +<html><body>Khavatari Aren:<br> +You have returned, and you bear the Baar Dre Vanul's horn.<br> +They are formidable opponents, the Baar Dre Vanul. That fact that you have triumphed is evidence of mastery in Kabart.<br> +Very good. I do not write secret scrolls any more, so all I can give you are my teachings.<br> +<a action="bypass -h Quest Q00415_PathOfTheOrcMonk 32056-08.html">Listen.</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-08.html similarity index 76% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-08.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-08.html index e38adcbedada039cf324a9de8857637001df4928..cc5b775fd4828dd30c70adee7c74662a6937abcd 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-08.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-08.html @@ -1,4 +1,5 @@ -<html><body>Khavatari Aren:<br> -Mastering the fighting skills of Kabart doesn't mean you've mastered Kabart itself. Receiving into your body the energy of nature and the power of totems...these also are part of true mastery. For that, you must view and learn many things, in an effort to understand their true nature.<br> -To understand the complete oneness with everything - that is true mastery of Kabart. Those who claim to have mastered Kabart merely act out the spirits of the totems, whereas those who have truly mastered Kabart become the totem itself. Do not forget this!<br> Now, take this lesson with you, and go to <font color="LEVEL">Seer Moira</font> in the Town of Schuttgart. If I vouch for your qualifications, he'll give you something you need. +<html><body>Khavatari Aren:<br> +Mastering the fighting skills of Kabart doesn't mean you've mastered Kabart itself. Receiving into your body the energy of nature and the power of totems...these also are part of true mastery. For that, you must view and learn many things, in an effort to understand their true nature.<br> +To understand the complete oneness with everything - that is true mastery of Kabart. Those who claim to have mastered Kabart merely act out the spirits of the totems, whereas those who have truly mastered Kabart become the totem itself. Do not forget this!<br> +Now, take this lesson with you, and go to <font color="LEVEL">Seer Moira</font> in the Town of Schuttgart. If I vouch for your qualifications, he'll give you something you need. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-09.html similarity index 99% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-09.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-09.html index cc7cf08693bd8b8b0361e719b2d63bd0ff6af4f8..d4fcb28c2ec1363c42fa4f1ea7c5e18065dd96be 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/415_PathToOrcMonk/32056-09.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/32056-09.html @@ -1,3 +1,3 @@ -<html><body>Khavatari Aren:<br> -<font color="LEVEL">The culmination of the art of Kabart is complete oneness.</font> Now, take this lesson and go to <font color="LEVEL">Seer Moira</font> in the Town of Schuttgart. If I vouch for your qualifications, he'll give you something you need. +<html><body>Khavatari Aren:<br> +<font color="LEVEL">The culmination of the art of Kabart is complete oneness.</font> Now, take this lesson and go to <font color="LEVEL">Seer Moira</font> in the Town of Schuttgart. If I vouch for your qualifications, he'll give you something you need. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/Q00415_PathOfTheOrcMonk.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/Q00415_PathOfTheOrcMonk.java new file mode 100644 index 0000000000000000000000000000000000000000..69c75eab9a48123e5a7dcf6c877c66abed4510af --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00415_PathOfTheOrcMonk/Q00415_PathOfTheOrcMonk.java @@ -0,0 +1,707 @@ +/* + * Copyright (C) 2004-2014 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * L2J DataPack is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +package quests.Q00415_PathOfTheOrcMonk; + +import com.l2jserver.gameserver.enums.QuestSound; +import com.l2jserver.gameserver.model.actor.L2Npc; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.model.base.ClassId; +import com.l2jserver.gameserver.model.items.instance.L2ItemInstance; +import com.l2jserver.gameserver.model.items.type.WeaponType; +import com.l2jserver.gameserver.model.quest.Quest; +import com.l2jserver.gameserver.model.quest.QuestState; +import com.l2jserver.gameserver.network.serverpackets.SocialAction; +import com.l2jserver.gameserver.util.Util; + +/** + * Path Of The Orc Monk (415) + * @author ivantotov + */ +public final class Q00415_PathOfTheOrcMonk extends Quest +{ + // NPCs + private static final int PREFECT_KASMAN = 30501; + private static final int GANTAKI_ZU_URUTU = 30587; + private static final int KHAVATARI_ROSHEEK = 30590; + private static final int KHAVATARI_TORUKU = 30591; + private static final int SEER_MOIRA = 31979; + private static final int KHAVATARI_AREN = 32056; + // Items + private static final int POMEGRANATE = 1593; + private static final int LEATHER_POUCH_1ST = 1594; + private static final int LEATHER_POUCH_2ND = 1595; + private static final int LEATHER_POUCH_3RD = 1596; + private static final int LEATHER_POUCH_1ST_FULL = 1597; + private static final int LEATHER_POUCH_2ND_FULL = 1598; + private static final int LEATHER_POUCH_3RD_FULL = 1599; + private static final int KASHA_BEAR_CLAW = 1600; + private static final int KASHA_BLADE_SPIDER_TALON = 1601; + private static final int SCARLET_SALAMANDER_SCALE = 1602; + private static final int FIERY_SPIRIT_SCROLL = 1603; + private static final int ROSHEEKS_LETTER = 1604; + private static final int GANTAKIS_LETTRT_OF_RECOMMENDATION = 1605; + private static final int FIG = 1606; + private static final int LEATHER_POUCH_4TF = 1607; + private static final int LEATHER_POUCH_4TF_FULL = 1608; + private static final int VUKU_ORK_TUSK = 1609; + private static final int RATMAN_FANG = 1610; + private static final int LANGK_LIZARDMAN_TOOTH = 1611; + private static final int FELIM_LIZARDMAN_TOOTH = 1612; + private static final int IRON_WILL_SCROLL = 1613; + private static final int TORUKUS_LETTER = 1614; + private static final int KASHA_SPIDERS_TOOTH = 8545; + private static final int HORN_OF_BAAR_DRE_VANUL = 8546; + // Reward + private static final int KHAVATARI_TOTEM = 1615; + // Monster + private static final int FELIM_LIZARDMAN_WARRIOR = 20014; + private static final int VUKU_ORC_FIGHTER = 20017; + private static final int LANGK_LIZZARDMAN_WARRIOR = 20024; + private static final int RATMAN_WARRIOR = 20359; + private static final int SCARLET_SALAMANDER = 20415; + private static final int KASHA_FANG_SPIDER = 20476; + private static final int KASHA_BLADE_SPIDER = 20478; + private static final int KASHA_BEAR = 20479; + private static final int BAAR_DRE_VANUL = 21118; + // Misc + private static final int MIN_LEVEL = 18; + + public Q00415_PathOfTheOrcMonk() + { + super(415, Q00415_PathOfTheOrcMonk.class.getSimpleName(), "Path Of The Orc Monk"); + addStartNpc(GANTAKI_ZU_URUTU); + addTalkId(GANTAKI_ZU_URUTU, PREFECT_KASMAN, KHAVATARI_ROSHEEK, KHAVATARI_TORUKU, SEER_MOIRA, KHAVATARI_AREN); + addAttackId(FELIM_LIZARDMAN_WARRIOR, VUKU_ORC_FIGHTER, LANGK_LIZZARDMAN_WARRIOR, RATMAN_WARRIOR, SCARLET_SALAMANDER, KASHA_FANG_SPIDER, KASHA_BLADE_SPIDER, KASHA_BEAR, BAAR_DRE_VANUL); + addKillId(FELIM_LIZARDMAN_WARRIOR, VUKU_ORC_FIGHTER, LANGK_LIZZARDMAN_WARRIOR, RATMAN_WARRIOR, SCARLET_SALAMANDER, KASHA_FANG_SPIDER, KASHA_BLADE_SPIDER, KASHA_BEAR, BAAR_DRE_VANUL); + registerQuestItems(POMEGRANATE, LEATHER_POUCH_1ST, LEATHER_POUCH_2ND, LEATHER_POUCH_3RD, LEATHER_POUCH_1ST_FULL, LEATHER_POUCH_2ND_FULL, LEATHER_POUCH_3RD_FULL, KASHA_BEAR_CLAW, KASHA_BLADE_SPIDER_TALON, SCARLET_SALAMANDER_SCALE, FIERY_SPIRIT_SCROLL, ROSHEEKS_LETTER, GANTAKIS_LETTRT_OF_RECOMMENDATION, FIG, LEATHER_POUCH_4TF, LEATHER_POUCH_4TF_FULL, VUKU_ORK_TUSK, RATMAN_FANG, LANGK_LIZARDMAN_TOOTH, FELIM_LIZARDMAN_TOOTH, IRON_WILL_SCROLL, TORUKUS_LETTER, KASHA_SPIDERS_TOOTH, HORN_OF_BAAR_DRE_VANUL); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + + if (qs == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "ACCEPT": + { + if (player.getClassId() == ClassId.orcFighter) + { + if (player.getLevel() >= MIN_LEVEL) + { + if (hasQuestItems(player, KHAVATARI_TOTEM)) + { + htmltext = "30587-04.htm"; + } + else + { + htmltext = "30587-05.htm"; + } + } + else + { + htmltext = "30587-03.htm"; + } + } + else if (player.getClassId() == ClassId.orcMonk) + { + htmltext = "30587-02a.htm"; + } + else + { + htmltext = "30587-02.htm"; + } + break; + } + case "30587-06.htm": + { + qs.startQuest(); + giveItems(player, POMEGRANATE, 1); + htmltext = event; + break; + } + case "30587-09b.html": + { + if (hasQuestItems(player, FIERY_SPIRIT_SCROLL, ROSHEEKS_LETTER)) + { + takeItems(player, ROSHEEKS_LETTER, 1); + giveItems(player, GANTAKIS_LETTRT_OF_RECOMMENDATION, 1); + qs.setCond(9); + htmltext = event; + } + break; + } + case "30587-09c.html": + { + if (hasQuestItems(player, FIERY_SPIRIT_SCROLL, ROSHEEKS_LETTER)) + { + takeItems(player, ROSHEEKS_LETTER, 1); + qs.setMemoState(2); + qs.setCond(14); + htmltext = event; + } + break; + } + case "31979-02.html": + { + if (qs.isMemoState(5)) + { + htmltext = event; + } + break; + } + case "31979-03.html": + { + if (qs.isMemoState(5)) + { + giveAdena(player, 81900, true); + giveItems(player, KHAVATARI_TOTEM, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 160267, 12646); + } + else if (level == 19) + { + addExpAndSp(player, 228064, 15995); + } + else + { + addExpAndSp(player, 295862, 19344); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = event; + } + break; + } + case "31979-04.html": + { + if (qs.isMemoState(5)) + { + qs.setCond(20); + htmltext = event; + } + break; + } + case "32056-02.html": + { + if (qs.isMemoState(2)) + { + htmltext = event; + } + break; + } + case "32056-03.html": + { + if (qs.isMemoState(2)) + { + qs.setMemoState(3); + qs.setCond(15); + htmltext = event; + } + break; + } + case "32056-08.html": + { + if (qs.isMemoState(4) && (getQuestItemsCount(player, HORN_OF_BAAR_DRE_VANUL) >= 1)) + { + takeItems(player, HORN_OF_BAAR_DRE_VANUL, -1); + qs.setMemoState(5); + qs.setCond(19); + htmltext = event; + } + break; + } + } + return htmltext; + } + + @Override + public String onAttack(L2Npc npc, L2PcInstance attacker, int damage, boolean isSummon) + { + final QuestState qs = getQuestState(attacker, false); + if ((qs != null) && qs.isStarted()) + { + switch (npc.getScriptValue()) + { + case 0: + { + if (!checkWeapon(attacker)) + { + npc.setScriptValue(2); + } + else + { + npc.setScriptValue(1); + npc.getVariables().set("Q00415_last_attacker", attacker.getObjectId()); + } + break; + } + case 1: + { + if ((npc.getVariables().getInt("Q00415__last_attacker") != attacker.getObjectId()) || !checkWeapon(attacker)) + { + npc.setScriptValue(2); + } + break; + } + } + } + return super.onAttack(npc, attacker, damage, isSummon); + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + if ((qs != null) && qs.isStarted() && npc.isScriptValue(1) && Util.checkIfInRange(1500, npc, killer, true)) + { + final long ItemCount = getQuestItemsCount(killer, RATMAN_FANG, LANGK_LIZARDMAN_TOOTH, FELIM_LIZARDMAN_TOOTH, VUKU_ORK_TUSK); + switch (npc.getId()) + { + case FELIM_LIZARDMAN_WARRIOR: + { + if (hasQuestItems(killer, LEATHER_POUCH_4TF) && (getQuestItemsCount(killer, FELIM_LIZARDMAN_TOOTH) < 3)) + { + if (ItemCount >= 11) + { + takeItems(killer, LEATHER_POUCH_4TF, 1); + giveItems(killer, LEATHER_POUCH_4TF_FULL, 1); + takeItems(killer, VUKU_ORK_TUSK, -1); + takeItems(killer, RATMAN_FANG, -1); + takeItems(killer, LANGK_LIZARDMAN_TOOTH, -1); + takeItems(killer, FELIM_LIZARDMAN_TOOTH, -1); + qs.setCond(12, true); + } + else + { + giveItems(killer, FELIM_LIZARDMAN_TOOTH, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case VUKU_ORC_FIGHTER: + { + if (hasQuestItems(killer, LEATHER_POUCH_4TF) && (getQuestItemsCount(killer, VUKU_ORK_TUSK) < 3)) + { + if (ItemCount >= 11) + { + takeItems(killer, LEATHER_POUCH_4TF, 1); + giveItems(killer, LEATHER_POUCH_4TF_FULL, 1); + takeItems(killer, VUKU_ORK_TUSK, -1); + takeItems(killer, RATMAN_FANG, -1); + takeItems(killer, LANGK_LIZARDMAN_TOOTH, -1); + takeItems(killer, FELIM_LIZARDMAN_TOOTH, -1); + qs.setCond(12, true); + } + else + { + giveItems(killer, VUKU_ORK_TUSK, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case LANGK_LIZZARDMAN_WARRIOR: + { + if (hasQuestItems(killer, LEATHER_POUCH_4TF) && (getQuestItemsCount(killer, LANGK_LIZARDMAN_TOOTH) < 3)) + { + if (ItemCount >= 11) + { + takeItems(killer, LEATHER_POUCH_4TF, 1); + giveItems(killer, LEATHER_POUCH_4TF_FULL, 1); + takeItems(killer, VUKU_ORK_TUSK, -1); + takeItems(killer, RATMAN_FANG, -1); + takeItems(killer, LANGK_LIZARDMAN_TOOTH, -1); + takeItems(killer, FELIM_LIZARDMAN_TOOTH, -1); + qs.setCond(12, true); + } + else + { + giveItems(killer, LANGK_LIZARDMAN_TOOTH, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case RATMAN_WARRIOR: + { + if (hasQuestItems(killer, LEATHER_POUCH_4TF) && (getQuestItemsCount(killer, RATMAN_FANG) < 3)) + { + if (ItemCount >= 11) + { + takeItems(killer, LEATHER_POUCH_4TF, 1); + giveItems(killer, LEATHER_POUCH_4TF_FULL, 1); + takeItems(killer, VUKU_ORK_TUSK, -1); + takeItems(killer, RATMAN_FANG, -1); + takeItems(killer, LANGK_LIZARDMAN_TOOTH, -1); + takeItems(killer, FELIM_LIZARDMAN_TOOTH, -1); + qs.setCond(12, true); + } + else + { + giveItems(killer, RATMAN_FANG, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case SCARLET_SALAMANDER: + { + if (hasQuestItems(killer, LEATHER_POUCH_3RD)) + { + if (getQuestItemsCount(killer, SCARLET_SALAMANDER_SCALE) == 4) + { + takeItems(killer, LEATHER_POUCH_3RD, 1); + giveItems(killer, LEATHER_POUCH_3RD_FULL, 1); + takeItems(killer, SCARLET_SALAMANDER_SCALE, -1); + qs.setCond(7, true); + } + else + { + giveItems(killer, SCARLET_SALAMANDER_SCALE, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case KASHA_FANG_SPIDER: + { + if (qs.isMemoState(3) && (getQuestItemsCount(killer, KASHA_SPIDERS_TOOTH) < 6)) + { + if (getRandom(100) < 70) + { + giveItems(killer, KASHA_SPIDERS_TOOTH, 1); + if (getQuestItemsCount(killer, KASHA_SPIDERS_TOOTH) >= 6) + { + qs.setCond(16, true); + } + else + { + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + } + break; + } + case KASHA_BLADE_SPIDER: + { + if (hasQuestItems(killer, LEATHER_POUCH_2ND)) + { + if (getQuestItemsCount(killer, KASHA_BLADE_SPIDER_TALON) == 4) + { + takeItems(killer, LEATHER_POUCH_2ND, 1); + giveItems(killer, LEATHER_POUCH_2ND_FULL, 1); + takeItems(killer, KASHA_BLADE_SPIDER_TALON, -1); + qs.setCond(5, true); + } + else + { + giveItems(killer, KASHA_BLADE_SPIDER_TALON, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (qs.isMemoState(3) && (getQuestItemsCount(killer, KASHA_SPIDERS_TOOTH) < 6)) + { + if (getRandom(100) < 70) + { + giveItems(killer, KASHA_SPIDERS_TOOTH, 1); + if (getQuestItemsCount(killer, KASHA_SPIDERS_TOOTH) == 6) + { + qs.setCond(16, true); + } + else + { + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + } + break; + } + case KASHA_BEAR: + { + if (hasQuestItems(killer, LEATHER_POUCH_1ST)) + { + if (getQuestItemsCount(killer, KASHA_BEAR_CLAW) == 4) + { + takeItems(killer, LEATHER_POUCH_1ST, 1); + giveItems(killer, LEATHER_POUCH_1ST_FULL, 1); + takeItems(killer, KASHA_BEAR_CLAW, -1); + qs.setCond(3, true); + } + else + { + giveItems(killer, KASHA_BEAR_CLAW, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case BAAR_DRE_VANUL: + { + if (qs.isMemoState(4) && !hasQuestItems(killer, HORN_OF_BAAR_DRE_VANUL)) + { + if (getRandom(100) < 90) + { + giveItems(killer, HORN_OF_BAAR_DRE_VANUL, 1); + qs.setCond(18, true); + } + } + break; + } + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, true); + final int memoState = qs.getMemoState(); + String htmltext = getNoQuestMsg(player); + if (qs.isCreated() || qs.isCompleted()) + { + if (npc.getId() == GANTAKI_ZU_URUTU) + { + htmltext = "30587-01.htm"; + } + } + else if (qs.isStarted()) + { + switch (npc.getId()) + { + case GANTAKI_ZU_URUTU: + { + final long letterCount = getQuestItemsCount(player, LEATHER_POUCH_1ST, LEATHER_POUCH_2ND, LEATHER_POUCH_3RD, LEATHER_POUCH_1ST_FULL, LEATHER_POUCH_2ND_FULL, LEATHER_POUCH_3RD_FULL); + if (memoState == 2) + { + htmltext = "30587-09c.html"; + } + else if (hasQuestItems(player, POMEGRANATE) && !hasAtLeastOneQuestItem(player, FIERY_SPIRIT_SCROLL, GANTAKIS_LETTRT_OF_RECOMMENDATION, ROSHEEKS_LETTER) && (letterCount == 0)) + { + htmltext = "30587-07.html"; + } + else if (!hasAtLeastOneQuestItem(player, FIERY_SPIRIT_SCROLL, POMEGRANATE, GANTAKIS_LETTRT_OF_RECOMMENDATION, ROSHEEKS_LETTER) && (letterCount == 1)) + { + htmltext = "30587-08.html"; + } + else if (hasQuestItems(player, FIERY_SPIRIT_SCROLL, ROSHEEKS_LETTER) && !hasAtLeastOneQuestItem(player, POMEGRANATE, GANTAKIS_LETTRT_OF_RECOMMENDATION) && (letterCount == 0)) + { + htmltext = "30587-09a.html"; + } + else if (memoState < 2) + { + if (hasQuestItems(player, FIERY_SPIRIT_SCROLL, GANTAKIS_LETTRT_OF_RECOMMENDATION) && !hasAtLeastOneQuestItem(player, POMEGRANATE, ROSHEEKS_LETTER) && (letterCount == 0)) + { + htmltext = "30587-10.html"; + } + else if (hasQuestItems(player, FIERY_SPIRIT_SCROLL) && !hasAtLeastOneQuestItem(player, POMEGRANATE, GANTAKIS_LETTRT_OF_RECOMMENDATION, ROSHEEKS_LETTER) && (letterCount == 0)) + { + htmltext = "30587-11.html"; + } + } + break; + } + case PREFECT_KASMAN: + { + if (hasQuestItems(player, GANTAKIS_LETTRT_OF_RECOMMENDATION)) + { + takeItems(player, GANTAKIS_LETTRT_OF_RECOMMENDATION, 1); + giveItems(player, FIG, 1); + qs.setCond(10); + htmltext = "30501-01.html"; + } + else if (hasQuestItems(player, FIG) && !hasAtLeastOneQuestItem(player, LEATHER_POUCH_4TF, LEATHER_POUCH_4TF_FULL)) + { + htmltext = "30501-02.html"; + } + else if (!hasQuestItems(player, FIG) && hasAtLeastOneQuestItem(player, LEATHER_POUCH_4TF, LEATHER_POUCH_4TF_FULL)) + { + htmltext = "30501-03.html"; + } + else if (hasQuestItems(player, IRON_WILL_SCROLL)) + { + giveAdena(player, 163800, true); + giveItems(player, KHAVATARI_TOTEM, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 320534, 25292); + } + else if (level == 19) + { + addExpAndSp(player, 456128, 31990); + } + else + { + addExpAndSp(player, 591724, 38688); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = "30501-04.html"; + } + break; + } + case KHAVATARI_ROSHEEK: + { + if (hasQuestItems(player, POMEGRANATE)) + { + takeItems(player, POMEGRANATE, 1); + giveItems(player, LEATHER_POUCH_1ST, 1); + qs.setCond(2); + htmltext = "30590-01.html"; + } + else if (hasQuestItems(player, LEATHER_POUCH_1ST) && !hasQuestItems(player, LEATHER_POUCH_1ST_FULL)) + { + htmltext = "30590-02.html"; + } + else if (!hasQuestItems(player, LEATHER_POUCH_1ST) && hasQuestItems(player, LEATHER_POUCH_1ST_FULL)) + { + giveItems(player, LEATHER_POUCH_2ND, 1); + takeItems(player, LEATHER_POUCH_1ST_FULL, 1); + qs.setCond(4); + htmltext = "30590-03.html"; + } + else if (hasQuestItems(player, LEATHER_POUCH_2ND) && !hasQuestItems(player, LEATHER_POUCH_2ND_FULL)) + { + htmltext = "30590-04.html"; + } + else if (!hasQuestItems(player, LEATHER_POUCH_2ND) && hasQuestItems(player, LEATHER_POUCH_2ND_FULL)) + { + giveItems(player, LEATHER_POUCH_3RD, 1); + takeItems(player, LEATHER_POUCH_2ND_FULL, 1); + qs.setCond(6); + htmltext = "30590-05.html"; + } + else if (hasQuestItems(player, LEATHER_POUCH_3RD) && !hasQuestItems(player, LEATHER_POUCH_3RD_FULL)) + { + htmltext = "30590-06.html"; + } + else if (!hasQuestItems(player, LEATHER_POUCH_3RD) && hasQuestItems(player, LEATHER_POUCH_3RD_FULL)) + { + takeItems(player, LEATHER_POUCH_3RD_FULL, 1); + giveItems(player, FIERY_SPIRIT_SCROLL, 1); + giveItems(player, ROSHEEKS_LETTER, 1); + qs.setCond(8); + htmltext = "30590-07.html"; + } + else if (hasQuestItems(player, ROSHEEKS_LETTER, FIERY_SPIRIT_SCROLL)) + { + htmltext = "30590-08.html"; + } + else if (!hasQuestItems(player, ROSHEEKS_LETTER) && hasQuestItems(player, FIERY_SPIRIT_SCROLL)) + { + htmltext = "30590-09.html"; + } + break; + } + case KHAVATARI_TORUKU: + { + if (hasQuestItems(player, FIG)) + { + takeItems(player, FIG, 1); + giveItems(player, LEATHER_POUCH_4TF, 1); + qs.setCond(11); + htmltext = "30591-01.html"; + } + else if (hasQuestItems(player, LEATHER_POUCH_4TF) && !hasQuestItems(player, LEATHER_POUCH_4TF_FULL)) + { + htmltext = "30591-02.html"; + } + else if (!hasQuestItems(player, LEATHER_POUCH_4TF) && hasQuestItems(player, LEATHER_POUCH_4TF_FULL)) + { + takeItems(player, LEATHER_POUCH_4TF_FULL, 1); + giveItems(player, IRON_WILL_SCROLL, 1); + giveItems(player, TORUKUS_LETTER, 1); + qs.setCond(13); + htmltext = "30591-03.html"; + } + else if (hasQuestItems(player, IRON_WILL_SCROLL, TORUKUS_LETTER)) + { + htmltext = "30591-04.html"; + } + break; + } + case SEER_MOIRA: + { + if (memoState == 5) + { + htmltext = "31979-01.html"; + } + break; + } + case KHAVATARI_AREN: + { + if (memoState == 2) + { + htmltext = "32056-01.html"; + } + else if (memoState == 3) + { + if (getQuestItemsCount(player, KASHA_SPIDERS_TOOTH) < 6) + { + htmltext = "32056-04.html"; + } + else + { + takeItems(player, KASHA_SPIDERS_TOOTH, -1); + qs.setMemoState(4); + qs.setCond(17); + htmltext = "32056-05.html"; + } + } + else if (memoState == 4) + { + if (!hasQuestItems(player, HORN_OF_BAAR_DRE_VANUL)) + { + htmltext = "32056-06.html"; + } + else + { + htmltext = "32056-07.html"; + } + } + else if (memoState == 5) + { + htmltext = "32056-09.html"; + } + break; + } + } + } + return htmltext; + } + + private static boolean checkWeapon(L2PcInstance player) + { + L2ItemInstance weapon = player.getActiveWeaponInstance(); + return ((weapon == null) || (weapon.getItemType() == WeaponType.FIST) || (weapon.getItemType() == WeaponType.DUALFIST)); + } +} \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-01.html similarity index 63% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-01.html index 284e080cb3122402f2cbe5f6b171a4ccb034b584..0fc16577f9b6b25d5fec2c594b3caee7e01bff06 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-01.html @@ -1,4 +1,4 @@ -<html><body>Blacksmith Pinter:<br> -Ah, this letter! Have you really brought this from Kluto? It is beyond my power, what should I do ...<br> -<a action="bypass -h Quest 418_PathToArtisan 30298_1">What is the matter?</a> +<html><body>Blacksmith Pinter:<br> +Ah, this letter! Have you really brought this from Kluto? It is beyond my power, what should I do ...<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30298-02.html">What is the matter?</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-02.html similarity index 83% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-02.html index 33f472b91cf6bc4114e54448fcc07d62b5b3c53d..a6252cfa7e0af461a9085878584db093cd6cfcb0 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-02.html @@ -1,4 +1,4 @@ -<html><body>Blacksmith Pinter:<br> -Actually, Kluto asked me for something before... I kept it hidden in the corner of the blacksmith's shop for a long time, but oh dear, the item has been stolen! If I don't have it, Kluto will be terribly angry... he may seem like a gentleman but he has a temper like fire. When he is angry, not even the head blacksmiths can calm him. How will I find that item?<br> -<a action="bypass -h Quest 418_PathToArtisan 30298_2">I will find it</a> +<html><body>Blacksmith Pinter:<br> +Actually, Kluto asked me for something before... I kept it hidden in the corner of the blacksmith's shop for a long time, but oh dear, the item has been stolen! If I don't have it, Kluto will be terribly angry... he may seem like a gentleman but he has a temper like fire. When he is angry, not even the head blacksmiths can calm him. How will I find that item?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30298-03.html">I will find it</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-03.html similarity index 89% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-03.html index 5430be7a2267cc8184cb117287a8b01e15d08eab..a274a98b485eb9e85c53609ee2759a9eeba531e2 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-03.html @@ -1,5 +1,5 @@ -<html><body>Blacksmith Pinter:<br> -Are you sure? Could you do that?<br> -If so, I can give you one clue. This is a footprint that was discovered on the floor of the blacksmith shop on the night of the robbery. I think that it is probably the footprint of the thief. Looking at the footprint, there is no doubt that it is one of a<font color="LEVEL"> Vuku Orc fighter</font>. If you catch them and destroy them, I'm sure something will come out.<br> -Here, I will give you an impression of the footstep to use as a clue in catching the thief. By the way, the thing that was stolen was a large box. Thank you. +<html><body>Blacksmith Pinter:<br> +Are you sure? Could you do that?<br> +If so, I can give you one clue. This is a footprint that was discovered on the floor of the blacksmith shop on the night of the robbery. I think that it is probably the footprint of the thief. Looking at the footprint, there is no doubt that it is one of a <font color="LEVEL">Vuku Orc Fighter</font>. If you catch them and destroy them, I'm sure something will come out.<br> +Here, I will give you an impression of the footstep to use as a clue in catching the thief. By the way, the thing that was stolen was a large box. Thank you. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-04.html similarity index 61% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-04.html index de4d6bba4fbdb95450c27a2694e2ff30968d0227..23278b51943a9514f6f9a806e063093de465feeb 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-04.html @@ -1,3 +1,3 @@ -<html><body>Blacksmith Pinter:<br> -I see you have not found the stolen item yet. Please hurry and find it. My life depends upon your success. You know who the thieves are, right? We strongly suspect the<font color="LEVEL"> Vuku Orc fighters</font>. Hurry and catch them! +<html><body>Blacksmith Pinter:<br> +I see you have not found the stolen item yet. Please hurry and find it. My life depends upon your success. You know who the thieves are, right? We strongly suspect the <font color="LEVEL">Vuku Orc Fighters</font>. Hurry and catch them! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-05.html new file mode 100644 index 0000000000000000000000000000000000000000..bfdb6473957c5f66a20061ede5d35716319c7f4a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-05.html @@ -0,0 +1,4 @@ +<html><body>Blacksmith Pinter:<br> +Yes, this is it! Thank you so much. Let me look it over once more, then I hope you will take it to <font color="LEVEL">Kluto</font>.<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30298-06.html">Look here, shouldn't my efforts receive some kind of compensation?</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-06.html similarity index 86% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-06.html index 2c8561e2fb78bedf300983f0c1199fee70b2a894..4a79dd8a1684fb07ac4b7ee8c6f0792cd4e501db 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-06.html @@ -1,5 +1,5 @@ -<html><body>Blacksmith Pinter:<br> -Compensation ... right. Dwarves do not operate without something in return ... Hmm, what would you like?<br> -Ah, you are in the midst of taking the test of the Artisan, aren't you? If that is so, then I will give you this. However, you must not tell anyone what you have done. If this becomes known, we could all be permanently removed from the Black Anvil Guild.<br> -Well then, please take this box back to<font color="LEVEL"> Kluto</font>. Thank you. +<html><body>Blacksmith Pinter:<br> +Compensation ... right. Dwarves do not operate without something in return ... Hmm, what would you like?<br> +Ah, you are in the midst of taking the test of the Artisan, aren't you? If that is so, then I will give you this. However, you must not tell anyone what you have done. If this becomes known, we could all be permanently removed from the Black Anvil Guild.<br> +Well then, please take this box back to <font color="LEVEL">Kluto</font>. Thank you. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-07.html similarity index 98% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-07.html index a373bba48b30e2a7573eaa8ee080638a3e87f8a5..5fb57c3d7e3e93c7bc55371ee1695eb394fa7b5a 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30298-07.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30298-07.html @@ -1,4 +1,4 @@ -<html><body>Blacksmith Pinter:<br> -Go and take the item to him. Isn't that enough compensation?<br> -I tell you again, this task is an absolute secret. If things go wrong, I'll be ruined for the rest of my life! +<html><body>Blacksmith Pinter:<br> +Go and take the item to him. Isn't that enough compensation?<br> +I tell you again, this task is an absolute secret. If things go wrong, I'll be ruined for the rest of my life! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-01.html similarity index 56% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-01.html index 42bc61e5743571d412ce1cfaf66e611edbf93bcc..68f472930ccac39223e0409ed69545ec893b0640 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-01.html @@ -1,6 +1,6 @@ -<html><body>Blacksmith Kluto:<br> -Oh! Do you want to be an Artisan? I see you've already passed the first test! That Silvery, who gave you the first test, has a strange way of speaking, but she's actually quite a good-natured girl. Traveling has changed her accent though ... oh well ...<br> -My son is infatuated with that girl these days. He's quite a good boy, not just because he's my son ... What do you think? Do you think you can help my son?<br> -<a action="bypass -h Quest 418_PathToArtisan 30317_1">Fine, I am a genius in matchmaking, though I may not look like one</a><br> -<a action="bypass -h Quest 418_PathToArtisan 30317_2">Look here, sir, I'm here to take a test!</a> +<html><body>Blacksmith Kluto:<br> +Oh! Do you want to be an Artisan? I see you've already passed the first test! That Silvera, who gave you the first test, has a strange way of speaking, but she's actually quite a good-natured girl. Traveling has changed her accent though ... oh well ...<br> +My son is infatuated with that girl these days. He's quite a good boy, not just because he's my son ... What do you think? Do you think you can help my son?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30317-02.html">Fine, I am a genius in matchmaking, though I may not look like one</a><br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30317-05.html">Look here, sir, I'm here to take a test!</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-02.html similarity index 79% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-02.html index e0aa1fd9457f502d54bfb9e0a86dbf5adbdf6cf2..ae752f7e25b5a254c8fc6f6421bbb9a029d5f456 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-02.html @@ -1,4 +1,4 @@ -<html><body>Blacksmith Kluto:<br> -Oh, really? But aren't you here to take the test? One who has come to take a test mustn't let his mind wander to other things ... How will you take the test properly with such an attitude? I was only testing you with the story of my son ... I'm taking off points! Oh dear ...! It will be difficult to pass the test, I fear ....<br> -<a action="bypass -h Quest 418_PathToArtisan 30317_3">Please give me another chance</a> +<html><body>Blacksmith Kluto:<br> +Oh, really? But aren't you here to take the test? One who has come to take a test mustn't let his mind wander to other things ... How will you take the test properly with such an attitude? I was only testing you with the story of my son ... I'm taking off points! Oh dear ...! It will be difficult to pass the test, I fear ....<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30317-03.html">Please give me another chance</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-03.html similarity index 73% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-03.html index f78d78ef127b594b9053e291ff194d7564090592..326bb2e803d6bda083ce8f0d6114c29177a6b56b 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-03.html @@ -1,4 +1,4 @@ -<html><body>Blacksmith Kluto:<br> -Give you another chance? Hmm ... Very well! In return, you must do one thing that I ask you without fail. If you complete it properly, I will give you one more chance. What do you say, will you do as I tell you?<br> -<a action="bypass -h Quest 418_PathToArtisan 30317_4">Just give me the orders</a> +<html><body>Blacksmith Kluto:<br> +Give you another chance? Hmm ... Very well! In return, you must do one thing that I ask you without fail. If you complete it properly, I will give you one more chance. What do you say, will you do as I tell you?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30317-04.html">Just give me the orders</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-04.html similarity index 81% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-04.html index 567569404a101260577ad3254f9f31ed546e546c..64155729bff1ba2cc72e6be17bef9760c45943a7 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-04.html @@ -1,4 +1,4 @@ -<html><body>Blacksmith Kluto:<br> -Good! So now listen carefully to what I have to say. First, take this letter to<font color="LEVEL"> Blacksmith Pinter in the town of Gludio</font>. If you give him this letter, he will give you something. Bring that back to me. What do you think? It's very easy, isn't it?<br> -If you've understood, go and get started! +<html><body>Blacksmith Kluto:<br> +Good! So now listen carefully to what I have to say. First, take this letter to <font color="LEVEL">Blacksmith Pinter in the town of Gludio</font>. If you give him this letter, he will give you something. Bring that back to me. What do you think? It's very easy, isn't it?<br> +If you've understood, go and get started! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-05.html similarity index 87% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-05.html index 37fd8fc9179e9d8a002be633acfef540fce1f727..b0a263c1f42ae1b2ac3820d6ecb71dcfa7cabc74 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-05.html @@ -1,6 +1,6 @@ -<html><body>Blacksmith Kluto:<br> -Ah, look at myself. I said something unnecessary. My apologies.<br> -But it seems you have quite a strong character. Actually, all that I said was simply to test your qualifications. You have passed, for now. I see you are a fine Dwarf. It is an unwritten law that we Dwarves do not put our efforts into something that is unprofitable, and I can see that you have some talent!<br> -But ... There is something I must confess ... There is a bit of a problem ... You cannot take a test in these circumstances ... What should I do ...?<br> -<a action="bypass -h Quest 418_PathToArtisan 30317_5">What is it?</a> +<html><body>Blacksmith Kluto:<br> +Ah, look at myself. I said something unnecessary. My apologies.<br> +But it seems you have quite a strong character. Actually, all that I said was simply to test your qualifications. You have passed, for now. I see you are a fine Dwarf. It is an unwritten law that we Dwarves do not put our efforts into something that is unprofitable, and I can see that you have some talent!<br> +But ... There is something I must confess ... There is a bit of a problem ... You cannot take a test in these circumstances ... What should I do ...?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30317-06.html">What is it?</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-06.html similarity index 73% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-06.html index b3626d9fea9b06ad09ac2a871467098e5eb46694..55fec7f5a1e598342361a15c793e5ebbc9bf1dd7 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-06.html @@ -1,4 +1,4 @@ -<html><body>Blacksmith Kluto:<br> -Hmm ... Actually ... It is a complicated matter that is a bit difficult to explain to you. However, if you help me, I will make some arrangements so you can definitely take the test of the Artisan. What do you think? Will you help me?<br> -<a action="bypass -h Quest 418_PathToArtisan 30317_6">I have no choice, I will help you</a> +<html><body>Blacksmith Kluto:<br> +Hmm ... Actually ... It is a complicated matter that is a bit difficult to explain to you. However, if you help me, I will make some arrangements so you can definitely take the test of the Artisan. What do you think? Will you help me?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30317-07.html">I have no choice, I will help you</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-07.html similarity index 69% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-07.html index b4651b5a29d2e2e19a47af8b63ea03feb48c9dfd..df45a864b6556f11cd07358e4f4b7d2b65f1401d 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-07.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-07.html @@ -1,5 +1,5 @@ -<html><body>Blacksmith Kluto:<br> -Thank you, youngster. So, from now on I want you to listen carefully to what I say.<br> -Take this letter that I give you to<font color="LEVEL"> Blacksmith Pinter in the Town of Gludio</font>. If you give him the letter, he will give you something. Bring that back to me. What do you think? It's very easy, isn't it?<br> -Now that you know, depart quickly! Every moment is critical! +<html><body>Blacksmith Kluto:<br> +Thank you, youngster. So, from now on I want you to listen carefully to what I say.<br> +Take this letter that I give you to <font color="LEVEL">Blacksmith Pinter in the town of Gludio</font>. If you give him the letter, he will give you something. Bring that back to me. What do you think? It's very easy, isn't it?<br> +Now that you know, depart quickly! Every moment is critical! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-08.html similarity index 75% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-08.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-08.html index 90e3749dd748f02cb1bb4c7a2d6356f5397272d6..3af40448b067665bfdc3e6e537fef0c9d733d21a 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-08.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-08.html @@ -1,4 +1,4 @@ -<html><body>Blacksmith Kluto:<br> -What, you haven't left yet?<br> -Hurry up and take the letter to<font color="LEVEL"> Blacksmith Pinter in the Town of Gludio</font>. Then, you must return to me with the item he gives you. If you understand, then be off! +<html><body>Blacksmith Kluto:<br> +What, you haven't left yet?<br> +Hurry up and take the letter to<font color="LEVEL"> Blacksmith Pinter in the town of Gludio</font>. Then, you must return to me with the item he gives you. If you understand, then be off! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-09.html new file mode 100644 index 0000000000000000000000000000000000000000..47d063be59fa2a82814613ba4d094475ff1b8aa3 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-09.html @@ -0,0 +1,6 @@ +<html><body>Blacksmith Kluto:<br> +Ha ha ha, you have finally brought it. Well done!<br> +Hmmm, but isn't this the certificate for the second test of the Artisan? Where did you get it?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30317-10.html">Now, what was I going to do with these? I have no idea.</a><br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30317-11.html">Blacksmith Pinter gave it to me</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-10.html similarity index 92% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-10.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-10.html index 183c578e50b9cbe78db29725316ba4dc040623e5..bfe0f6a5a31513b2af48f6957955595d06cfe3b3 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-10.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-10.html @@ -1,6 +1,6 @@ -<html><body>Blacksmith Kluto:<br> -Ha Ha Ha, with this, you have passed the final test. Congratulations! Are you confused?<br> -I was testing your loyalty to see if you would keep a secret until the last moment. All that you have done until now was actually part of the test. The box that you brought is in fact just an empty box. I am sorry if I seemed like I was tricking you for a while, but this is how we Dwarves give our tests. "Always pursue profit" and "Never betray your colleague in a crisis" are two very different proverbs, and it is difficult to live up to them both.<br> -Since you have done both splendidly, I will give you the final certificate for passing the test of the Artisan. Now take this and go to<font color="LEVEL"> Head Blacksmith Tapoy</font> to change profession to an Artisan. Of course, you know the required level is 20, right?<br> -If you understand, go on now and become an Artisan. From now on, we are colleagues! +<html><body>Blacksmith Kluto:<br> +Ha Ha Ha, with this, you have passed the final test. Congratulations! Are you confused?<br> +I was testing your loyalty to see if you would keep a secret until the last moment. All that you have done until now was actually part of the test. The box that you brought is in fact just an empty box. I am sorry if I seemed like I was tricking you for a while, but this is how we Dwarves give our tests. "Always pursue profit" and "Never betray your colleague in a crisis" are two very different proverbs, and it is difficult to live up to them both.<br> +Since you have done both splendidly, I will give you the final certificate for passing the test of the Artisan. Now take this and go to <font color="LEVEL">Head Blacksmith Tapoy</font> to change profession to an Artisan. Of course, you know the required level is 20, right?<br> +If you understand, go on now and become an Artisan. From now on, we are colleagues! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-11.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-11.html similarity index 64% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-11.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-11.html index 604e4390f0c58378ec03b7d2018202152a897468..b371d205e8aa5c9fa59a3ee083ae56e400c02528 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-11.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-11.html @@ -1,5 +1,5 @@ -<html><body>Blacksmith Kluto:<br> -Are you sure? Did Blacksmith Pinter really give this to you?<br> -I see I have no choice. What a shame, but we will have to eternally banish our old friend from our Black Anvil guild. How could he have done such a thing, what a foolish friend ...<br> -<a action="bypass -h Quest 418_PathToArtisan 30317_9">No, I have been mistaken. A kind Dwarf on the road gave it to me, so I unknowingly accepted it.</a> +<html><body>Blacksmith Kluto:<br> +Are you sure? Did Blacksmith Pinter really give this to you?<br> +I see I have no choice. What a shame, but we will have to eternally banish our old friend from our Black Anvil guild. How could he have done such a thing, what a foolish friend ...<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30317-12.html">No, I have been mistaken. A kind Dwarf on the road gave it to me, so I unknowingly accepted it.</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-12.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-12.html similarity index 93% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-12.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-12.html index b1c2a4df9436c62de4cea5f178d175efe922a6ea..81fd1bf4c76bae318030dfba6c26247ba1ba3988 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30317-12.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30317-12.html @@ -1,7 +1,7 @@ -<html><body>Blacksmith Kluto:<br> -Really? So you've met such a kind-hearted Dwarf. Then I guess I have no choice.<br> -Ha ha ha, do you think that I would fall for a lie like that? But anyway, with this, you have passed the final test. Congratulations!<br> -Are you confused? My question was to test your loyalty and see if you would keep a secret until under pressure. All that you have done was actually part of the test. The box that you brought is just an empty box. I am sorry if I seemed like I was tricking you for a while, but this is how we Dwarves give our tests. "Always pursue profits" and "Never betray your colleague in a crisis" are two very different proverbs, and it is difficult to live up to them.<br> -Since you have done both splendidly, I will give you the final certificate for passing the test of the Artisan. Now take this and go to<font color="LEVEL"> Head Blacksmith Tapoy</font> to change profession to an Artisan. Of course, you know the required level is 20, right?<br> -If you've understand, go on now and become an Artisan. From now on, we are colleagues! +<html><body>Blacksmith Kluto:<br> +Really? So you've met such a kind-hearted Dwarf. Then I guess I have no choice.<br> +Ha ha ha, do you think that I would fall for a lie like that? But anyway, with this, you have passed the final test. Congratulations!<br> +Are you confused? My question was to test your loyalty and see if you would keep a secret until under pressure. All that you have done was actually part of the test. The box that you brought is just an empty box. I am sorry if I seemed like I was tricking you for a while, but this is how we Dwarves give our tests. "Always pursue profits" and "Never betray your colleague in a crisis" are two very different proverbs, and it is difficult to live up to them.<br> +Since you have done both splendidly, I will give you the final certificate for passing the test of the Artisan. Now take this and go to <font color="LEVEL">Head Blacksmith Tapoy</font> to change profession to an Artisan. Of course, you know the required level is 20, right?<br> +If you've understand, go on now and become an Artisan. From now on, we are colleagues! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-01.htm new file mode 100644 index 0000000000000000000000000000000000000000..7b167fe6cdf8b1276a626b0a6c843b2fe8851b8e --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-01.htm @@ -0,0 +1,5 @@ +<html><body>Blacksmith Silvera:<br> +I teach young Dwarves and manage the Test of the Artisan. All apprentice Dwarves arrive at an important turning point where they must decide their future occupations. Dwarves may choose the path of the Artisan or the Scavenger.<br> +Artisans, who I'm responsible for testing, create something from nothing. They have unbelievable talents and use the most modern techniques available in the world today for their creations. The Artisan is the middle step in the process of becoming a Warsmith. If you wish to become the greatest skilled craftsman in Aden, you must walk the path of the Artisan.<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan ACCEPT">Say you want to be an Artisan.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-02.htm similarity index 99% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-02.htm index d3f0a706238a798978dd359968e33bfe7f51358e..3e23379b3edbcff31000bf8dcf4662595a9c1ae2 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-02.htm @@ -1,3 +1,3 @@ -<html><body>Blacksmith Silvera:<br> -But one moment! You wish to be an Artisan? You must be mistaken. You cannot become an Artisan! Impossible! Go walk your own path. I do not have time to spare for dealing with those who are not qualified. +<html><body>Blacksmith Silvera:<br> +But one moment! You wish to be an Artisan? You must be mistaken. You cannot become an Artisan! Impossible! Go walk your own path. I do not have time to spare for dealing with those who are not qualified. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-02a.htm similarity index 98% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-02a.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-02a.htm index 0d048b0050376a0181d89c89470a41ef7bd485dd..f8b60fe8491c6681bc85de6e03a98cb267884720 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-02a.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-02a.htm @@ -1,3 +1,3 @@ -<html><body>Blacksmith Silvera:<br> -You! You must be mistaken. You are already an Artisan! Are you joking?! +<html><body>Blacksmith Silvera:<br> +You! You must be mistaken. You are already an Artisan! Are you joking?! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-03.htm new file mode 100644 index 0000000000000000000000000000000000000000..945500610993275844bff256c74e7c46b6f917ca --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-03.htm @@ -0,0 +1,3 @@ +<html><body>Blacksmith Silvera:<br> +Sorry! You are not yet qualified to be an Artisan. I warn you: it is not an easy path. To even take the test, you must first meet certain minimum qualifications. Gain more experience. Then return to me after you have reached at least level 18. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-04.htm similarity index 98% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-04.htm index 0cd15106d0bfe38d23c8d5b33be43438ad33f5f2..c7bdf3f0687d0261e136487956d1865c55c18103 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-04.htm @@ -1,3 +1,3 @@ -<html><body>Blacksmith Silvera:<br> -What are you doing, loitering around here when you've already taken the test? Go on and change profession to an Artisan! +<html><body>Blacksmith Silvera:<br> +What are you doing, loitering around here when you've already taken the test? Go on and change profession to an Artisan! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-05.htm new file mode 100644 index 0000000000000000000000000000000000000000..99b7ff777230c8db7118f4495bdefeb084dd2ecd --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-05.htm @@ -0,0 +1,6 @@ +<html>Blacksmith Silvery:<br> +Oh, fine, fine! I see that you are ready for the Artisan test.<br> +It is administered by the guild master of the Black Anvil, of whom you have certainly heard - a blacksmith of great renown! I will give the first, most basic of the tests; if you pass, you may go on to the second test.<br> +Shall we begin?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30527-06.htm">Take the first part of the test. </a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-06.htm new file mode 100644 index 0000000000000000000000000000000000000000..731ea65b71372bfb86d64c1e7b6b58b02f44700b --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-06.htm @@ -0,0 +1,5 @@ +<html><body>Blacksmith Silvera:<br> +The first test is very easy; Though the Artisan's main task is making things, to be sure, he must also be able to find the materials needed for manufacture by himself, and not depend on others. The first test puts its focus on those basic skills. Oh, and by the way, take this ring while you are taking the test. Ok?<br> +Now I will give you the task. If you look around the Abandoned Coal Mines, you will come face to face with the nasty boogle ratman gang. They are the bad guys that trouble us Dwarves. Kill them and come back. But when you look at them, you'll see that they have nasty front teeth. The funny thing is that their front teeth are very useful materials. You know the famous motto of the Dwarves, right? "Whatever it is, there is nothing to throw out!"<br> +<font color="LEVEL">Catch boogle ratmen and boogle ratman leaders and bring their front teeth.</font>This is my task. See that you bring me <font color="LEVEL">ten boogle ratman teeth and two teeth of the boogle ratman leaders</font>. If you come up short, you fail! So make sure you have the right number. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-07.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-07.html new file mode 100644 index 0000000000000000000000000000000000000000..9be7f82450124194d15fc2d4ed62d062b8284adc --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-07.html @@ -0,0 +1,3 @@ +<html><body>Blacksmith Silvera:<br> +Ok, if you've brought your homework, let me take a look! One, two, three ... There's not enough! You don't want to fail your first test do you? I told you clearly! <font color="LEVEL">Ten boogle ratman front teeth, and two from the boogle ratman leaders!</font>If you understand that, go and find them! Hurry up! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-08a.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-08a.html new file mode 100644 index 0000000000000000000000000000000000000000..4a52b728be5cc1fe10d215abcd5e0cff305cb97d --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-08a.html @@ -0,0 +1,6 @@ +<html><body>Blacksmith Silvery:<br> +Let us see, then, the front teeth of the Boogle Ratmen. Did you get them all?... Yes, the count is correct. My congratulations!<br> +The first test is completed. The second test is held in one of two places, and you may choose where you take it: Gludio Territory or Schuttgart Territory. Which do you choose?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30527-08b.html">Gludio Territory</a><br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30527-08c.html">Schuttgart Territory</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-08b.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-08b.html new file mode 100644 index 0000000000000000000000000000000000000000..0cf3ee8f64d7d95fbe29fcb477ef12b9c301433c --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-08b.html @@ -0,0 +1,3 @@ +<html><body>Blacksmith Silvery:<br> +Very well, then! Seek <font color="LEVEL">Blacksmith Kluto in Gludin Village</font>. From him you will receive the second of the tests. Good fortune to you! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-08c.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-08c.html new file mode 100644 index 0000000000000000000000000000000000000000..f39f212e2d3934316d1d0af7636340641cd1d357 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-08c.html @@ -0,0 +1,3 @@ +<html><body>Blacksmith Silvery:<br> +Let it be so! Seek out <font color="LEVEL">Railroad Worker Obi on the Plains of Plunder</font>. He shall instruct you in what to do next. Good luck, candidate! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-09.html similarity index 57% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-09.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-09.html index 26216f229fb26e030065a6ed951c1dedcad26cdc..154892c57528dad7340161c3bf10f38fb7d89866 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/418_PathToArtisan/30527-09.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-09.html @@ -1,3 +1,3 @@ -<html><body>Blacksmith Silvera:<br> -Why are you still here? To take the second test, I told you to go to<font color="LEVEL"> Gludin</font> ... Quickly go and meet<font color="LEVEL"> Blacksmith Kluto</font>. He will give you detailed instructions for the second test. Well then, good luck! +<html><body>Blacksmith Silvera:<br> +Why are you still here? To take the second test, I told you to go to <font color="LEVEL">Gludin</font> ... Quickly go and meet <font color="LEVEL">Blacksmith Kluto</font>. He will give you detailed instructions for the second test. Well then, good luck! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-09a.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-09a.html new file mode 100644 index 0000000000000000000000000000000000000000..022dfc8fbb36d96df7bb49aeb17a7e04e4654b76 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30527-09a.html @@ -0,0 +1,3 @@ +<html><body>Blacksmith Silvery:<br> +Ho, now! Why do you tarry? Your next test lies on the <font color="LEVEL">Plains of Plunder</font>, not in my shop! Go there at once, and good luck! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30531-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30531-01.html new file mode 100644 index 0000000000000000000000000000000000000000..b3ab917adac869b606c9f2ea49d89d3fbc9e253e --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30531-01.html @@ -0,0 +1,4 @@ +<html><body>Lockirin of the Iron Gate:<br> +Hmm. I see you have come a long way, and I thank you, but... since you are here, I infer that you failed the Artisan Test.<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30531-02.html">"What do you mean? What is the Artisan Test?"</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30531-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30531-02.html new file mode 100644 index 0000000000000000000000000000000000000000..64e461a23ef0c5ff872a943f63ceefc434f038d9 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30531-02.html @@ -0,0 +1,4 @@ +<html><body>Lockirin of the Iron Gate:<br> +Well, it's not a fatal problem. However, I'll have to give you a bit of a history lesson - specifically, the history concerning the war between the Orcs and the Elves.<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30531-03.html">Listen.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30531-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30531-03.html new file mode 100644 index 0000000000000000000000000000000000000000..2c8d3a9f5c6a1c55f134137aac3d86081d25b0a7 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30531-03.html @@ -0,0 +1,4 @@ +<html><body>Lockirin of the Iron Gate:<br> +We Dwarves sold weapons to the Orcs. Armed with our steel, they were a match and more for the Elves. However, we also sold weapons to the Humans, once they arrived on the scene. We were shortsighted; all we thought of was the profit in the arms trade. Can you predict what happened?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30531-04.html">Listen.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30531-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30531-04.html new file mode 100644 index 0000000000000000000000000000000000000000..d1a29f68695cab8db165a81b36721d661520d341 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30531-04.html @@ -0,0 +1,5 @@ +<html><body>Lockirin of the Iron Gate:<br> +The Orcs were defeated with the help of the Humans, and then the Elves turned on us. They held us responsible for the losses they suffered in the war. They killed the great Dwarf King, and the fall of the Dwarves soon followed.<br> +After that, the Black Anvil Guild made a new rule: they would no longer sell weapons to outsiders. You see? It is not enough that you can do something; you should always ask if you <i>should</i> do it.<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 30531-05.html">"I understand."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30531-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30531-05.html new file mode 100644 index 0000000000000000000000000000000000000000..4df26e297379961a59396dd98545854f4dcee117 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/30531-05.html @@ -0,0 +1,3 @@ +<html><body>Lockirin of the Iron Gate:<br> +Very well. You have passed this test and I shall certify that. When you become an Artisan, remember the lesson you learned today, and always consider the consequences of what you make. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31956-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31956-01.html new file mode 100644 index 0000000000000000000000000000000000000000..340bf46a5eaf4ece2c9b3082871e96a3cb7352d2 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31956-01.html @@ -0,0 +1,4 @@ +<html><body>Warehouse Keeper Rydel:<br> +What brings you here? You aren't here to apply to be a Warehouse Keeper, are you?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 31956-02.html">"I've got good news you've been waiting for. I'll take the reward now."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31956-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31956-02.html new file mode 100644 index 0000000000000000000000000000000000000000..851fd8b9f683ab0b39d9a92453b8cbc49701d401 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31956-02.html @@ -0,0 +1,6 @@ +<html><body>Warehouse Keeper Rydie:<br> +Oh, you're the one who is taking the Path to an Artisan!<br> +What a surprise! I haven't seen anyone taking the Path to an Artisan in a long time!<br> +Let me see, the good news... Means you're qualified to be an Artisan!<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 31956-03.html">"Can you tell me more?"</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31956-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31956-03.html new file mode 100644 index 0000000000000000000000000000000000000000..6fb6c5dd141dea30e794c4bbfda965360df690db --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31956-03.html @@ -0,0 +1,6 @@ +<html><body>Warehouse Keeper Rydie:<br> +Well, the stories? They are all kinds of passwords for the test. Some are stories about a hard mission, considering the question and coming up with an answer.<br> +Don't worry, it probably won't fail this test. Keep this in mind!<br> +You and I, we're both Dwarves.<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 31956-04.html">"I've got it."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31956-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31956-04.html new file mode 100644 index 0000000000000000000000000000000000000000..de0e63ef0d233e19e3fb5c3f5d4d52685da89c2b --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31956-04.html @@ -0,0 +1,4 @@ +<html><body>Warehouse Keeper Rydel:<br> +Good, then take this certificate.<br> +You've passed the Path to an Artisan! Go see Head Blacksmith Tapoy in Gludin Village and he'll make you an Artisan. Good luck! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-01.html new file mode 100644 index 0000000000000000000000000000000000000000..3da685dfb1bd74d9cfac450f53061f371a4c3cdf --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-01.html @@ -0,0 +1,8 @@ +<html><body>Mineral Trader Hitchi:<br> +Is this the test of the Artisan?<br> +Then you definitely have something to tell me!<br> +Huh, then the final execution day is...!<br> +Well, what is it? Please tell me!<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 31963-02.html">"Well you see, it's like this..."</a><br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 31963-06.html">"I'll have to think about it."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-02.html new file mode 100644 index 0000000000000000000000000000000000000000..acb51f19d70986ca22027def97209ca76ecfdf62 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-02.html @@ -0,0 +1,6 @@ +<html><body>Mineral Trader Hitchi:<br> +The golden wagon wheels shake..!<br> +By the way, do you have any idea what you just said?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 31963-03.html">"I don't think. Thinking is someone else's job."</a><br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 31963-05.html">"I did think about it and decided to say something."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-03.html new file mode 100644 index 0000000000000000000000000000000000000000..e449591237835e3c5294b808d2b54bc4c99c232a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-03.html @@ -0,0 +1,4 @@ +<html><body>Mineral Trader Hitchi:<br> +Ha! Awesome! Just like a craftsman, eh?<br> +Thanks for telling me that story. Now you should go talk to <font color="LEVEL">Lockirin in Dwarven Village</font> at the Iron Gate Guild. He'll tell you what you need to do next. Ha! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-04.html new file mode 100644 index 0000000000000000000000000000000000000000..70481346d5e773239914d7800bbd5416d90d4172 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-04.html @@ -0,0 +1,3 @@ +<html><body>Mineral Trader Hitchi:<br> +Thank you for telling me the story. Now go to <font color="LEVEL">Lockirin in Dwarven Village</font> at the Iron Gate Guild. He'll tell you what you need to do next. Ha! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-05.html new file mode 100644 index 0000000000000000000000000000000000000000..edc6831bf1a97e320462099be69ca4a8cf8924ab --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-05.html @@ -0,0 +1,6 @@ +<html><body>Mineral Trader Hitchi:<br> +Is that so?<br> +Well, that has nothing to do with me, anyway!<br> +Please go and speak with the Railroad Worker Obi and deliver this:<br> +<font color="LEVEL"><center>Registration complete. Will wait for execution date.</center></font><br> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-06.html new file mode 100644 index 0000000000000000000000000000000000000000..c017b48f03bd72402b8822a8b4b324e29380a2b7 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-06.html @@ -0,0 +1,5 @@ +<html><body>Mineral Trader Hitchi:<br> +Do you need something else?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 31963-07.html">"No, not at all. I'll deliver the message."</a><br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 31963-09.html">"I don't want to get involved in this! I'm leaving."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-06a.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-06a.html new file mode 100644 index 0000000000000000000000000000000000000000..5416bc567c5e4b480a57644ddb9ba95ecd097a53 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-06a.html @@ -0,0 +1,5 @@ +<html><body>Mineral Trader Hitch:<br> +Please give this message to Railroad Worker Obi.<br> +<font color="LEVEL"><center>Registration complete. Will wait for execution date.</center></font><br> +That's it. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-07.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-07.html new file mode 100644 index 0000000000000000000000000000000000000000..dcc6a88ea9983f5d6139e5733a8cc47a7ef4f1bc --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-07.html @@ -0,0 +1,6 @@ +<html><body>Mineral Trader Hitchi:<br> +Is that so?<br> +Oh, it's not that bad!<br> +Please deliver this to Warehouse Keeper Rydel in the Town of Schuttgart.<br> +<font color="LEVEL">Good news arrived that you've been waiting for. Give messenger appropriate reward.</font><br> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-08.html new file mode 100644 index 0000000000000000000000000000000000000000..ff6d978880a6600ea4dddb4d39fc577002734020 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-08.html @@ -0,0 +1,4 @@ +<html><body>Mineral Trader Hitchi:<br> +Please deliver this to Warehouse Keeper Rydel in the Town of Schuttgart.<br> +<font color="LEVEL"><center>Good news arrived that you've been waiting for. Give messenger appropriate reward.</center></font><br> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-09.html new file mode 100644 index 0000000000000000000000000000000000000000..d0a4ae909a5c3bc3d913c2260e38c32cdeb47183 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-09.html @@ -0,0 +1,6 @@ +<html><body>Mineral Trader Hitchi:<br> +Just a minute, what's the hurry?<br> +Come on, why don't you wait here for a while? Wouldn't you like to be an Artisan?<br> +Don't get me wrong... I just wanted to find out what you thought about our six Dwarven guilds.<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 31963-10.html">"Stop right there."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-10.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-10.html new file mode 100644 index 0000000000000000000000000000000000000000..593074b7cd7b27805ef603ac55c6e395c0c26dff --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-10.html @@ -0,0 +1,7 @@ +<html><body>Mineral Trader Hitchi:<br> +I think Obi probably told me this story... The six Dwarven Guilds are like the columns that support the house of Dwarves.<br> +Architecture, trade, iron manufacture, warehousing, collecting.. Dwarves would cease to exist if even one of the six Guilds went missing.<br> +We Dwarves must put the good of our entire race above personal enrichment!<br> +We must never forget the bitter experiences that we've had in the past... We were enslaved by a tribe of savages... Only to see them destroyed by the very weapons they forced us to make for them!<br> +You passed the test! I'll give you this Pass Certificate and the Head Blacksmith will make you an Artisan. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-11.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-11.html new file mode 100644 index 0000000000000000000000000000000000000000..47f3236ad3116b26f893bbce6b1b83f8ab95d95a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/31963-11.html @@ -0,0 +1,6 @@ +<html><body>Mineral Trader Hitchi:<br> +Just a minute, what's the hurry?<br> +Come on, please wait here with me for a while. Wouldn't you like to be an Artisan?<br> +Don't get me wrong... I just want to know what you think about our six Dwarven guilds.<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 31963-10.html">"Stop right there."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-01.html new file mode 100644 index 0000000000000000000000000000000000000000..d767f913de6f0cac0f15b3ef1408be6e222ed736 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-01.html @@ -0,0 +1,6 @@ +<html><body>Railroad Worker Obi:<br> +The Artisan's test? Isn't that test conducted by the Black Anvil Guild?<br> +Obviously, I'm a miner from the Gray Pillar Guild. I have nothing to do with Artisans!<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 32052-02.html">"Oh, I'm sorry."</a><br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 32052-04.html">"I was sent to see you."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-02.html new file mode 100644 index 0000000000000000000000000000000000000000..ed5b7fb3afa52b6d14926e44d4543007d2030bb7 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-02.html @@ -0,0 +1,6 @@ +<html><body>Railroad Worker Obi:<br> +Hey, why did you give up so easy?<br> +It doesn't matter whether I belong to the Gray Pillar guild or not, does it?<br> +All six guilds are closely related and share collaborative relationships with each other. I even know some Collectors who work in Blacksmith Shops! Then, it shouldn't be so strange for me to give the test of an Artisan, right?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 32052-03.html">"I'm sorry."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-03.html new file mode 100644 index 0000000000000000000000000000000000000000..27ef353b8c893c68c6bde6e5b453de22e97bc35b --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-03.html @@ -0,0 +1,6 @@ +<html><body>Railroad Worker Obi:<br> +Oh, well, you're a youngster, and youngsters make a lot of mistakes!<br> +Just don't forget that all of our guilds have the same aim, that is, we exist to protect all Dwarves and independence!<br> +Are you ready to hear about the test?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 32052-05.html">"Tell me about the test."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-04.html new file mode 100644 index 0000000000000000000000000000000000000000..76710f7be7670b8758976987ab0d25bbd8d269a9 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-04.html @@ -0,0 +1,5 @@ +<html><body>Railroad Worker Obi:<br> +You have a good mind, and I think you'll make a good Artisan.<br> +Never forget, we Dwarves stick together, no matter which guild we belong to.<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 32052-05.html">"Tell me about the test."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-05.html new file mode 100644 index 0000000000000000000000000000000000000000..7f57e981f4d93b3f270a43a0b356ce295ed3b5a6 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-05.html @@ -0,0 +1,5 @@ +<html><body>Railroad Worker Obi:<br> +The test isn't very hard at all.<br> +All you have to do is listen to a story and deliver it Mineral Trader Hitchi in the Town of Schuttgart as it is, and follow his orders. Isn't that simple?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 32052-06.html">"Yes."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-06.html new file mode 100644 index 0000000000000000000000000000000000000000..0be29eae4f6c55d54a73237e4f0e6ca44365215f --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-06.html @@ -0,0 +1,5 @@ +<html><body>Railroad Worker Obi:<br> +OK, but remember, you must never tell this story to anyone else! All Artisans must learn the importance of keeping secrets!<br> +And, you must suppress your curiousity as well. Your role is only to deliver my words just as they are. Well, are you ready?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 32052-07.html">"I'm ready."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-07.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-07.html new file mode 100644 index 0000000000000000000000000000000000000000..4cbb4ba396d3f74235d1a04e3c58b7f6722f36f2 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-07.html @@ -0,0 +1,5 @@ +<html><body>Railroad Worker Obi:<br> +<center><font color="LEVEL">The Golden Wheels are shaking. If you hit now,<br> +you can change the balance of the six pillars</font></center><br> +Deliver these words to <font color="LEVEL">Mineral Trader Hitchi in the Town of Schuttgart</font>. I'll answer no questions! If you want to pass the test, follow my words to the letter. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-08.html new file mode 100644 index 0000000000000000000000000000000000000000..de2aa596db9451fad9cab12ffbbc76fa6fb16f72 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-08.html @@ -0,0 +1,3 @@ +<html><body>Railroad Worker Obi:<br> +I already told you. Deliver the message to <font color="LEVEL">Mineral Trader Hitchi in the Town of Schuttgart</font>. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-09.html new file mode 100644 index 0000000000000000000000000000000000000000..82a469e4c59bce3efc7fa2685efa9a7909433d66 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-09.html @@ -0,0 +1,4 @@ +<html><body>Railroad Worker Obi:<br> +You're back so soon?<br>Do you have a message for me?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 32052-10.html">Message received, will wait for the execution date</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-10.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-10.html new file mode 100644 index 0000000000000000000000000000000000000000..23528dbb4c7a15e3417980e9fe5abd26120c8959 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-10.html @@ -0,0 +1,6 @@ +<html><body>Railroad Worker Obi:<br> +I see.<br> +Then I'll proceed with my assignment.<br> +Haven't you felt anything while doing this?<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 32052-11.html">"Why did you use me?"</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-11.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-11.html new file mode 100644 index 0000000000000000000000000000000000000000..697457806fef4177ce11ac3befb2e244d0208391 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-11.html @@ -0,0 +1,6 @@ +<html><body>Railroad Worker Obi:<br> +I didn't use you! That was the test!<br> +Well, let's call it your education.<br> +Artisans make things. Once things are made, they are out of our control. Therefore, we must always think carefully about what we're making.<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 32052-12.html">"I thought about it."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-12.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-12.html new file mode 100644 index 0000000000000000000000000000000000000000..221fe39a55362c61fba2ef727a5df05dbf7401ac --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-12.html @@ -0,0 +1,8 @@ +<html><body>Railroad Worker Obi:<br> +That's right! That's the conclusion after serious thought, but doesn't just want to admit fostering trouble in our Dwarven Guilds.<br> +We, Dwarves have been persecuted too long. Even though we're extremely dextrous, and quite rich, we lack any real political power!<br> +Why? We've been too selfish!<br> +We should think more about our entire race, not just personal wealth!<br> +Just the words of an old Railroad Worker who remains alone at the place of dreams...<br> +<a action="bypass -h Quest Q00418_PathOfTheArtisan 32052-13.html">"I got it."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-13.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-13.html new file mode 100644 index 0000000000000000000000000000000000000000..e303405ef5e34c8581e92474e1d3870ef736323d --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/32052-13.html @@ -0,0 +1,5 @@ +<html><body>Railroad Worker Obi:<br> +Now I'll give you this Final Pass Certificate.<br> +You're fully qualified to become an Artisan.<br> +Speak with the Head Blacksmith near here. Congratulations! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/Q00418_PathOfTheArtisan.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/Q00418_PathOfTheArtisan.java new file mode 100644 index 0000000000000000000000000000000000000000..5dc79ff65254cf338b614e4441be19ff88608dbe --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00418_PathOfTheArtisan/Q00418_PathOfTheArtisan.java @@ -0,0 +1,639 @@ +/* + * Copyright (C) 2004-2014 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * L2J DataPack is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +package quests.Q00418_PathOfTheArtisan; + +import com.l2jserver.gameserver.enums.QuestSound; +import com.l2jserver.gameserver.model.actor.L2Npc; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.model.base.ClassId; +import com.l2jserver.gameserver.model.quest.Quest; +import com.l2jserver.gameserver.model.quest.QuestState; +import com.l2jserver.gameserver.network.serverpackets.SocialAction; +import com.l2jserver.gameserver.util.Util; + +/** + * Path Of The Artisan (418) + * @author ivantotov + */ +public final class Q00418_PathOfTheArtisan extends Quest +{ + // NPCs + private static final int BLACKSMITH_SILVERA = 30527; + private static final int BLACKSMITH_PINTER = 30298; + private static final int BLACKSMITH_KLUTO = 30317; + private static final int IRON_GATES_LOCKIRIN = 30531; + private static final int WAREHOUSE_KEEPER_RYDEL = 31956; + private static final int MINERAL_TRADER_HITCHI = 31963; + private static final int RAILROAD_WORKER_OBI = 32052; + // Items + private static final int SILVERYS_RING = 1632; + private static final int PASS_1ST_CERTIFICATE = 1633; + private static final int PASS_2ND_CERTIFICATE = 1634; + private static final int BOOGLE_RATMAN_TOOTH = 1636; + private static final int BOOGLE_RATMAN_LEADERS_TOOTH = 1637; + private static final int KLUTOS_LETTER = 1638; + private static final int FOOTPRINT_OF_THIEF = 1639; + private static final int STOLEN_SECRET_BOX = 1640; + private static final int SECRET_BOX = 1641; + // Reward + private static final int FINAL_PASS_CERTIFICATE = 1635; + // Monster + private static final int VUKU_ORC_FIGHTER = 20017; + private static final int BOOGLE_RATMAN = 20389; + private static final int BOOGLE_RATMAN_LEADER = 20390; + // Misc + private static final int MIN_LEVEL = 18; + + public Q00418_PathOfTheArtisan() + { + super(418, Q00418_PathOfTheArtisan.class.getSimpleName(), "Path Of The Artisan"); + addStartNpc(BLACKSMITH_SILVERA); + addTalkId(BLACKSMITH_SILVERA, BLACKSMITH_PINTER, BLACKSMITH_KLUTO, IRON_GATES_LOCKIRIN, WAREHOUSE_KEEPER_RYDEL, MINERAL_TRADER_HITCHI, RAILROAD_WORKER_OBI); + addKillId(VUKU_ORC_FIGHTER, BOOGLE_RATMAN, BOOGLE_RATMAN_LEADER); + registerQuestItems(SILVERYS_RING, PASS_1ST_CERTIFICATE, PASS_2ND_CERTIFICATE, BOOGLE_RATMAN_TOOTH, BOOGLE_RATMAN_LEADERS_TOOTH, KLUTOS_LETTER, FOOTPRINT_OF_THIEF, STOLEN_SECRET_BOX, SECRET_BOX); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "ACCEPT": + { + if (player.getClassId() == ClassId.dwarvenFighter) + { + if (player.getLevel() >= MIN_LEVEL) + { + if (hasQuestItems(player, FINAL_PASS_CERTIFICATE)) + { + htmltext = "30527-04.htm"; + } + else + { + htmltext = "30527-05.htm"; + } + } + else + { + htmltext = "30527-03.htm"; + } + } + else if (player.getClassId() == ClassId.artisan) + { + htmltext = "30527-02a.htm"; + } + else + { + htmltext = "30527-02.htm"; + } + break; + } + case "30527-06.htm": + { + qs.startQuest(); + giveItems(player, SILVERYS_RING, 1); + htmltext = event; + break; + } + case "30527-08b.html": + { + takeItems(player, SILVERYS_RING, 1); + takeItems(player, BOOGLE_RATMAN_TOOTH, -1); + takeItems(player, BOOGLE_RATMAN_LEADERS_TOOTH, -1); + giveItems(player, PASS_1ST_CERTIFICATE, 1); + qs.setCond(3, true); + htmltext = event; + break; + } + case "30527-08c.html": + { + takeItems(player, SILVERYS_RING, 1); + takeItems(player, BOOGLE_RATMAN_TOOTH, -1); + takeItems(player, BOOGLE_RATMAN_LEADERS_TOOTH, -1); + qs.setMemoState(10); + qs.setCond(8, true); + htmltext = event; + break; + } + case "30298-02.html": + case "30317-02.html": + case "30317-03.html": + case "30317-05.html": + case "30317-06.html": + case "30317-11.html": + case "30531-02.html": + case "30531-03.html": + case "30531-04.html": + case "31956-02.html": + case "31956-03.html": + case "32052-02.html": + case "32052-03.html": + case "32052-04.html": + case "32052-05.html": + case "32052-06.html": + case "32052-10.html": + case "32052-11.html": + case "32052-12.html": + { + htmltext = event; + break; + } + case "30298-03.html": + { + if (hasQuestItems(player, KLUTOS_LETTER)) + { + takeItems(player, KLUTOS_LETTER, 1); + giveItems(player, FOOTPRINT_OF_THIEF, 1); + qs.setCond(5, true); + htmltext = event; + } + break; + } + case "30298-06.html": + { + if (hasQuestItems(player, FOOTPRINT_OF_THIEF, STOLEN_SECRET_BOX)) + { + giveItems(player, PASS_2ND_CERTIFICATE, 1); + takeItems(player, FOOTPRINT_OF_THIEF, 1); + takeItems(player, STOLEN_SECRET_BOX, 1); + giveItems(player, SECRET_BOX, 1); + qs.setCond(7, true); + htmltext = event; + } + break; + } + case "30317-04.html": + { + giveItems(player, KLUTOS_LETTER, 1); + qs.setCond(4, true); + htmltext = event; + break; + } + case "30317-07.html": + { + giveItems(player, KLUTOS_LETTER, 1); + qs.setCond(4); + htmltext = event; + break; + } + case "30317-10.html": + { + if (hasQuestItems(player, PASS_2ND_CERTIFICATE, SECRET_BOX)) + { + giveAdena(player, 163800, true); + giveItems(player, FINAL_PASS_CERTIFICATE, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 320534, 32452); + } + else if (level == 19) + { + addExpAndSp(player, 456128, 30150); + } + else + { + addExpAndSp(player, 591724, 36848); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = event; + } + break; + } + case "30317-12.html": + { + if (hasQuestItems(player, PASS_2ND_CERTIFICATE, SECRET_BOX)) + { + giveAdena(player, 81900, true); + giveItems(player, FINAL_PASS_CERTIFICATE, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 160267, 11726); + } + else if (level == 19) + { + addExpAndSp(player, 228064, 15075); + } + else + { + addExpAndSp(player, 295862, 18424); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = event; + } + break; + } + case "30531-05.html": + { + if (qs.isMemoState(101)) + { + giveAdena(player, 81900, true); + giveItems(player, FINAL_PASS_CERTIFICATE, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 160267, 11726); + } + else if (level == 19) + { + addExpAndSp(player, 228064, 15075); + } + else + { + addExpAndSp(player, 295862, 18424); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = event; + } + break; + } + case "31956-04.html": + { + if (qs.isMemoState(201)) + { + giveAdena(player, 81900, true); + giveItems(player, FINAL_PASS_CERTIFICATE, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 160267, 11726); + } + else if (level == 19) + { + addExpAndSp(player, 228064, 15075); + } + else + { + addExpAndSp(player, 295862, 18424); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = event; + } + break; + } + case "31963-02.html": + case "31963-06.html": + { + if (qs.isMemoState(100)) + { + htmltext = event; + } + break; + } + case "31963-03.html": + { + if (qs.isMemoState(100)) + { + qs.setMemoState(101); + qs.setCond(10, true); + htmltext = event; + } + break; + } + case "31963-05.html": + { + if (qs.isMemoState(100)) + { + qs.setMemoState(102); + qs.setCond(11, true); + htmltext = event; + } + break; + } + case "31963-07.html": + { + if (qs.isMemoState(100)) + { + qs.setMemoState(201); + qs.setCond(12, true); + htmltext = event; + } + break; + } + case "31963-09.html": + { + if (qs.isMemoState(100)) + { + qs.setMemoState(202); + htmltext = event; + } + break; + } + case "31963-10.html": + { + if (qs.isMemoState(202)) + { + giveAdena(player, 81900, true); + giveItems(player, FINAL_PASS_CERTIFICATE, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 160267, 11726); + } + else if (level == 19) + { + addExpAndSp(player, 228064, 15075); + } + else + { + addExpAndSp(player, 295862, 18424); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = event; + } + break; + } + case "32052-07.html": + { + if (qs.isMemoState(10)) + { + qs.setMemoState(100); + qs.setCond(9, true); + htmltext = event; + } + break; + } + case "32052-13.html": + { + if (qs.isMemoState(102)) + { + giveAdena(player, 81900, true); + giveItems(player, FINAL_PASS_CERTIFICATE, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 160267, 11726); + } + else if (level == 19) + { + addExpAndSp(player, 228064, 15075); + } + else + { + addExpAndSp(player, 295862, 18424); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = event; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + if ((qs != null) && qs.isStarted() && Util.checkIfInRange(1500, npc, killer, true)) + { + switch (npc.getId()) + { + case VUKU_ORC_FIGHTER: + { + if (hasQuestItems(killer, FOOTPRINT_OF_THIEF) && !hasQuestItems(killer, STOLEN_SECRET_BOX)) + { + if (getRandom(10) < 2) + { + giveItems(killer, STOLEN_SECRET_BOX, 1); + qs.setCond(6, true); + } + } + break; + } + case BOOGLE_RATMAN: + { + if (hasQuestItems(killer, SILVERYS_RING) && (getQuestItemsCount(killer, BOOGLE_RATMAN_TOOTH) < 10)) + { + if (getRandom(10) < 7) + { + if (getQuestItemsCount(killer, BOOGLE_RATMAN_TOOTH) == 9) + { + giveItems(killer, BOOGLE_RATMAN_TOOTH, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE); + if (getQuestItemsCount(killer, BOOGLE_RATMAN_LEADERS_TOOTH) >= 2) + { + qs.setCond(2); + } + } + else + { + giveItems(killer, BOOGLE_RATMAN_TOOTH, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + } + break; + } + case BOOGLE_RATMAN_LEADER: + { + if (hasQuestItems(killer, SILVERYS_RING) && (getQuestItemsCount(killer, BOOGLE_RATMAN_LEADERS_TOOTH) < 2)) + { + if (getRandom(10) < 5) + { + if (getQuestItemsCount(killer, BOOGLE_RATMAN_LEADERS_TOOTH) == 1) + { + giveItems(killer, BOOGLE_RATMAN_LEADERS_TOOTH, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE); + if (getQuestItemsCount(killer, BOOGLE_RATMAN_TOOTH) >= 10) + { + qs.setCond(2); + } + } + } + else + { + giveItems(killer, BOOGLE_RATMAN_LEADERS_TOOTH, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + if (qs.isCreated() || qs.isCompleted()) + { + if (npc.getId() == BLACKSMITH_SILVERA) + { + htmltext = "30527-01.htm"; + } + } + else if (qs.isStarted()) + { + switch (npc.getId()) + { + case BLACKSMITH_SILVERA: + { + if (hasQuestItems(player, SILVERYS_RING) && ((getQuestItemsCount(player, BOOGLE_RATMAN_TOOTH) + getQuestItemsCount(player, BOOGLE_RATMAN_LEADERS_TOOTH)) < 12)) + { + htmltext = "30527-07.html"; + } + else if (hasQuestItems(player, SILVERYS_RING) && (getQuestItemsCount(player, BOOGLE_RATMAN_TOOTH) >= 10) && (getQuestItemsCount(player, BOOGLE_RATMAN_LEADERS_TOOTH) >= 2)) + { + htmltext = "30527-08a.html"; + } + else if (hasQuestItems(player, PASS_1ST_CERTIFICATE)) + { + htmltext = "30527-09.html"; + } + else if (!hasQuestItems(player, PASS_1ST_CERTIFICATE) && qs.isMemoState(10)) + { + htmltext = "30527-09a.html"; + } + break; + } + case BLACKSMITH_PINTER: + { + if (hasQuestItems(player, PASS_1ST_CERTIFICATE, KLUTOS_LETTER)) + { + htmltext = "30298-01.html"; + } + else if (hasQuestItems(player, PASS_1ST_CERTIFICATE, FOOTPRINT_OF_THIEF) && !hasQuestItems(player, STOLEN_SECRET_BOX)) + { + htmltext = "30298-04.html"; + } + else if (hasQuestItems(player, PASS_1ST_CERTIFICATE, FOOTPRINT_OF_THIEF, STOLEN_SECRET_BOX)) + { + htmltext = "30298-05.html"; + } + else if (hasQuestItems(player, PASS_1ST_CERTIFICATE, PASS_2ND_CERTIFICATE, SECRET_BOX)) + { + htmltext = "30298-07.html"; + } + break; + } + case BLACKSMITH_KLUTO: + { + if (hasQuestItems(player, PASS_1ST_CERTIFICATE) && !hasAtLeastOneQuestItem(player, FOOTPRINT_OF_THIEF, KLUTOS_LETTER, PASS_2ND_CERTIFICATE, SECRET_BOX)) + { + htmltext = "30317-01.html"; + } + else if (hasQuestItems(player, PASS_1ST_CERTIFICATE) && hasAtLeastOneQuestItem(player, KLUTOS_LETTER, FOOTPRINT_OF_THIEF)) + { + htmltext = "30317-08.html"; + } + else if (hasQuestItems(player, PASS_1ST_CERTIFICATE, PASS_2ND_CERTIFICATE, SECRET_BOX)) + { + htmltext = "30317-09.html"; + } + break; + } + case IRON_GATES_LOCKIRIN: + { + if (qs.isMemoState(101)) + { + htmltext = "30531-01.html"; + } + break; + } + case WAREHOUSE_KEEPER_RYDEL: + { + if (qs.isMemoState(201)) + { + htmltext = "31956-01.html"; + } + break; + } + case MINERAL_TRADER_HITCHI: + { + switch (qs.getMemoState()) + { + case 100: + { + htmltext = "31963-01.html"; + break; + } + case 101: + { + htmltext = "31963-04.html"; + break; + } + case 102: + { + htmltext = "31963-06a.html"; + break; + } + case 201: + { + htmltext = "31963-08.html"; + break; + } + case 202: + { + htmltext = "31963-11.html"; + break; + } + } + break; + } + case RAILROAD_WORKER_OBI: + { + switch (qs.getMemoState()) + { + case 10: + { + htmltext = "32052-01.html"; + break; + } + case 100: + { + htmltext = "32052-08.html"; + break; + } + case 102: + { + htmltext = "32052-09.html"; + break; + } + } + break; + } + } + } + return htmltext; + } +} \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/QuestMasterHandler.java index 8f052f6a4e9f46a839de2d5db589ea49b6cb1f35..d41c75a5c13bef3296123520447c585602a22752 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -267,7 +267,10 @@ import quests.Q00410_PathOfThePalusKnight.Q00410_PathOfThePalusKnight; import quests.Q00411_PathOfTheAssassin.Q00411_PathOfTheAssassin; import quests.Q00412_PathOfTheDarkWizard.Q00412_PathOfTheDarkWizard; import quests.Q00413_PathOfTheShillienOracle.Q00413_PathOfTheShillienOracle; +import quests.Q00414_PathOfTheOrcRaider.Q00414_PathOfTheOrcRaider; +import quests.Q00415_PathOfTheOrcMonk.Q00415_PathOfTheOrcMonk; import quests.Q00416_PathOfTheOrcShaman.Q00416_PathOfTheOrcShaman; +import quests.Q00418_PathOfTheArtisan.Q00418_PathOfTheArtisan; import quests.Q00420_LittleWing.Q00420_LittleWing; import quests.Q00421_LittleWingsBigAdventure.Q00421_LittleWingsBigAdventure; import quests.Q00423_TakeYourBestShot.Q00423_TakeYourBestShot; @@ -650,7 +653,10 @@ public class QuestMasterHandler Q00411_PathOfTheAssassin.class, Q00412_PathOfTheDarkWizard.class, Q00413_PathOfTheShillienOracle.class, + Q00414_PathOfTheOrcRaider.class, + Q00415_PathOfTheOrcMonk.class, Q00416_PathOfTheOrcShaman.class, + Q00418_PathOfTheArtisan.class, Q00420_LittleWing.class, Q00421_LittleWingsBigAdventure.class, Q00423_TakeYourBestShot.class, diff --git a/L2J_DataPack_BETA/dist/sql/game/updates/20141005update.sql b/L2J_DataPack_BETA/dist/sql/game/updates/20141005update.sql new file mode 100644 index 0000000000000000000000000000000000000000..98796e7c6548c75ea4cb12bf6cac3f6ec8664b30 --- /dev/null +++ b/L2J_DataPack_BETA/dist/sql/game/updates/20141005update.sql @@ -0,0 +1,3 @@ +UPDATE character_quests SET name='414_PathToOrcRaider' WHERE name='Q00414_PathOfTheOrcRaider'; +UPDATE character_quests SET name='415_PathToOrcMonk' WHERE name='Q00415_PathOfTheOrcMonk'; +UPDATE character_quests SET name='418_PathToArtisan' WHERE name='Q00418_PathOfTheArtisan'; \ No newline at end of file