Преглед изворни кода

BETA: Mutated Kaneus & Gracia Quests from Jython to Java by nonom.

MELERIX пре 13 година
родитељ
комит
f43ccb9051
100 измењених фајлова са 825 додато и 1330 уклоњено
  1. 13 13
      L2J_DataPack_BETA/dist/game/data/scripts.cfg
  2. 0 80
      L2J_DataPack_BETA/dist/game/data/scripts/quests/10267_JourneyToGracia/__init__.py
  3. 0 69
      L2J_DataPack_BETA/dist/game/data/scripts/quests/10268_ToTheSeedOfInfinity/__init__.py
  4. 0 69
      L2J_DataPack_BETA/dist/game/data/scripts/quests/10269_ToTheSeedOfDestruction/__init__.py
  5. 0 101
      L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/__init__.py
  6. 0 98
      L2J_DataPack_BETA/dist/game/data/scripts/quests/10274_CollectingInTheAir/__init__.py
  7. 0 176
      L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/__init__.py
  8. 0 111
      L2J_DataPack_BETA/dist/game/data/scripts/quests/10276_MutatedKaneusGludio/__init__.py
  9. 0 111
      L2J_DataPack_BETA/dist/game/data/scripts/quests/10277_MutatedKaneusDion/__init__.py
  10. 0 111
      L2J_DataPack_BETA/dist/game/data/scripts/quests/10278_MutatedKaneusHeine/__init__.py
  11. 0 111
      L2J_DataPack_BETA/dist/game/data/scripts/quests/10279_MutatedKaneusOren/__init__.py
  12. 0 111
      L2J_DataPack_BETA/dist/game/data/scripts/quests/10280_MutatedKaneusSchuttgart/__init__.py
  13. 0 100
      L2J_DataPack_BETA/dist/game/data/scripts/quests/10281_MutatedKaneusRune/__init__.py
  14. 0 69
      L2J_DataPack_BETA/dist/game/data/scripts/quests/10282_ToTheSeedOfAnnihilation/__init__.py
  15. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-00.htm
  16. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-01.htm
  17. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-02.htm
  18. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-03.htm
  19. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-04.htm
  20. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-05.htm
  21. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-06.htm
  22. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-07.htm
  23. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-0a.htm
  24. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/32548-01.htm
  25. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/32548-02.htm
  26. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/32548-03.htm
  27. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/32564-01.htm
  28. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/32564-02.htm
  29. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/32564-03.htm
  30. 158 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/Q10267_JourneyToGracia.java
  31. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32530-01.htm
  32. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32530-02.htm
  33. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32548-00.htm
  34. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32548-01.htm
  35. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32548-02.htm
  36. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32548-03.htm
  37. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32548-04.htm
  38. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32548-05.htm
  39. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32548-06.htm
  40. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32548-0a.htm
  41. 133 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/Q10268_ToTheSeedOfInfinity.java
  42. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32526-01.htm
  43. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32526-02.htm
  44. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32548-00.htm
  45. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32548-01.htm
  46. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32548-02.htm
  47. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32548-03.htm
  48. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32548-04.htm
  49. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32548-05.htm
  50. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32548-06.htm
  51. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32548-0a.htm
  52. 132 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/Q10269_ToTheSeedOfDestruction.java
  53. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-00.htm
  54. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-01.htm
  55. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-02.htm
  56. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-03.htm
  57. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-04.htm
  58. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-05.htm
  59. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-06.htm
  60. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-07.htm
  61. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-08.htm
  62. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-09.htm
  63. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-0a.htm
  64. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-10.htm
  65. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-11.htm
  66. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-12.htm
  67. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-13.htm
  68. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-14.htm
  69. 193 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/Q10273_GoodDayToFly.java
  70. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/32557-00.htm
  71. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/32557-01.htm
  72. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/32557-02.htm
  73. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/32557-03.htm
  74. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/32557-04.htm
  75. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/32557-05.htm
  76. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/32557-0a.htm
  77. 196 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/Q10274_CollectingInTheAir.java
  78. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/30839-00.htm
  79. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/30839-01.htm
  80. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/30839-02.htm
  81. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/30839-03.htm
  82. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/30839-04.htm
  83. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/30839-05.htm
  84. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/30839-0a.htm
  85. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/31307-00.htm
  86. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/31307-01.htm
  87. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/31307-02.htm
  88. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/31307-03.htm
  89. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/31307-04.htm
  90. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/31307-05.htm
  91. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/31307-0a.htm
  92. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-01.htm
  93. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-02.htm
  94. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-03.htm
  95. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-04.htm
  96. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-05.htm
  97. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-06.htm
  98. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-07.htm
  99. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-08.htm
  100. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-09.htm

+ 13 - 13
L2J_DataPack_BETA/dist/game/data/scripts.cfg

@@ -662,19 +662,19 @@ quests/701_Proof_Of_Existence/__init__.py
 quests/Q702_ATrapForRevenge/Q702_ATrapForRevenge.java
 quests/998_FallenAngelSelect/__init__.py
 quests/999_T1Tutorial/__init__.py
-quests/10267_JourneyToGracia/__init__.py
-quests/10268_ToTheSeedOfInfinity/__init__.py
-quests/10269_ToTheSeedOfDestruction/__init__.py
-quests/10273_GoodDayToFly/__init__.py
-quests/10274_CollectingInTheAir/__init__.py
-quests/10275_ContainingTheAttributePower/__init__.py
-quests/10276_MutatedKaneusGludio/__init__.py
-quests/10277_MutatedKaneusDion/__init__.py
-quests/10278_MutatedKaneusHeine/__init__.py
-quests/10279_MutatedKaneusOren/__init__.py
-quests/10280_MutatedKaneusSchuttgart/__init__.py
-quests/10281_MutatedKaneusRune/__init__.py
-quests/10282_ToTheSeedOfAnnihilation/__init__.py
+quests/Q10267_JourneyToGracia/Q10267_JourneyToGracia.java
+quests/Q10268_ToTheSeedOfInfinity/Q10268_ToTheSeedOfInfinity.java
+quests/Q10269_ToTheSeedOfDestruction/Q10269_ToTheSeedOfDestruction.java
+quests/Q10273_GoodDayToFly/Q10273_GoodDayToFly.java
+quests/Q10274_CollectingInTheAir/Q10274_CollectingInTheAir.java
+quests/Q10275_ContainingTheAttributePower/Q10275_ContainingTheAttributePower.java
+quests/Q10276_MutatedKaneusGludio/Q10276_MutatedKaneusGludio.java
+quests/Q10277_MutatedKaneusDion/Q10277_MutatedKaneusDion.java
+quests/Q10278_MutatedKaneusHeine/Q10278_MutatedKaneusHeine.java
+quests/Q10279_MutatedKaneusOren/Q10279_MutatedKaneusOren.java
+quests/Q10280_MutatedKaneusSchuttgart/Q10280_MutatedKaneusSchuttgart.java
+quests/Q10281_MutatedKaneusRune/Q10281_MutatedKaneusRune.java
+quests/Q10282_ToTheSeedOfAnnihilation/Q10282_ToTheSeedOfAnnihilation.java
 quests/Q10271_TheEnvelopingDarkness/Q10271_TheEnvelopingDarkness.java
 quests/Q10272_LightFragment/Q10272_LightFragment.java
 quests/Q10283_RequestOfIceMerchant/Q10283_RequestOfIceMerchant.java

+ 0 - 80
L2J_DataPack_BETA/dist/game/data/scripts/quests/10267_JourneyToGracia/__init__.py

@@ -1,80 +0,0 @@
-# Made by Kerberos v1.0 on 2009/05/2
-# this script is part of the Official L2J Datapack Project.
-# Visit http://www.l2jdp.com/forum for more details.
-
-import sys
-
-from com.l2jserver.gameserver.datatables import SkillTable
-from com.l2jserver.gameserver.model.quest        			import State
-from com.l2jserver.gameserver.model.quest        			import QuestState
-from com.l2jserver.gameserver.model.quest.jython 			import QuestJython as JQuest
-
-qn = "10267_JourneyToGracia"
-
-#NPCs
-Orven = 30857
-Keucereus = 32548
-Papiku = 32564
-
-#items
-Letter = 13810
-
-class Quest (JQuest) :
-    def __init__(self,id,name,descr):
-        JQuest.__init__(self,id,name,descr)
-        self.questItemIds = [Letter]
-
-    def onAdvEvent (self,event,npc, player) :
-        htmltext = event
-        st = player.getQuestState(qn)
-        if not st : return
-        if event == "30857-06.htm" :
-            st.set("cond","1")
-            st.setState(State.STARTED)
-            st.playSound("ItemSound.quest_accept")
-            st.giveItems(Letter,1)
-        elif event == "32564-02.htm" :
-            st.set("cond","2")
-            st.playSound("ItemSound.quest_middle")
-        elif event == "32548-02.htm" :
-            st.giveItems(57,92500)
-            st.addExpAndSp(75480,7570)
-            st.unset("cond")
-            st.exitQuest(False)
-            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.getNpcId()
-        id = st.getState()
-        cond = st.getInt("cond")
-        if id == State.COMPLETED :
-            if npcId == Keucereus :
-                htmltext = "32548-03.htm"
-            elif npcId == Orven :
-                htmltext = "30857-0a.htm"
-        elif id == State.CREATED and npcId == Orven:
-            if player.getLevel() < 75 :
-                htmltext = "30857-00.htm"
-            else :
-                htmltext = "30857-01.htm"
-        elif id == State.STARTED and npcId == Orven:
-            htmltext = "30857-07.htm"
-        elif id == State.STARTED and npcId == Papiku:
-            if cond == 1 :
-                htmltext = "32564-01.htm"
-            else :
-                htmltext = "32564-03.htm"
-        elif id == State.STARTED and npcId == Keucereus and cond == 2:
-            htmltext = "32548-01.htm"
-        return htmltext
-
-QUEST       = Quest(10267,qn,"Journey to Gracia")
-
-QUEST.addStartNpc(Orven)
-QUEST.addTalkId(Orven)
-QUEST.addTalkId(Keucereus)
-QUEST.addTalkId(Papiku)

+ 0 - 69
L2J_DataPack_BETA/dist/game/data/scripts/quests/10268_ToTheSeedOfInfinity/__init__.py

@@ -1,69 +0,0 @@
-# Made by Kerberos v1.0 on 2009/05/1
-# this script is part of the Official L2J Datapack Project.
-# Visit http://www.l2jdp.com/forum for more details.
-
-import sys
-
-from com.l2jserver.gameserver.datatables import SkillTable
-from com.l2jserver.gameserver.model.quest        			import State
-from com.l2jserver.gameserver.model.quest        			import QuestState
-from com.l2jserver.gameserver.model.quest.jython 			import QuestJython as JQuest
-
-qn = "10268_ToTheSeedOfInfinity"
-
-#NPCs
-Keucereus = 32548
-Tepios = 32603
-
-#items
-Introduction = 13811
-
-class Quest (JQuest) :
-    def __init__(self,id,name,descr):
-        JQuest.__init__(self,id,name,descr)
-        self.questItemIds = [Introduction]
-
-    def onAdvEvent (self,event,npc, player) :
-        htmltext = event
-        st = player.getQuestState(qn)
-        if not st : return
-        if event == "32548-05.htm" :
-            st.set("cond","1")
-            st.setState(State.STARTED)
-            st.playSound("ItemSound.quest_accept")
-            st.giveItems(Introduction,1)
-        return htmltext
-
-    def onTalk (self,npc,player):
-        htmltext = Quest.getNoQuestMsg(player)
-        st = player.getQuestState(qn)
-        if not st : return htmltext
-        npcId = npc.getNpcId()
-        id = st.getState()
-        cond = st.getInt("cond")
-        if id == State.COMPLETED :
-            if npcId == Tepios :
-                htmltext = "32530-02.htm" 
-            else:
-                htmltext = "32548-0a.htm"
-        elif id == State.CREATED and npcId == Keucereus:
-            if player.getLevel() < 75 :
-                htmltext = "32548-00.htm"
-            else :
-                htmltext = "32548-01.htm"
-        elif id == State.STARTED and npcId == Keucereus:
-            htmltext = "32548-06.htm"
-        elif id == State.STARTED and npcId == Tepios:
-            htmltext = "32530-01.htm"
-            st.giveItems(57,16671)
-            st.addExpAndSp(100640,10098)
-            st.unset("cond")
-            st.exitQuest(False)
-            st.playSound("ItemSound.quest_finish")
-        return htmltext
-
-QUEST       = Quest(10268,qn,"To the Seed of Infinity")
-
-QUEST.addStartNpc(Keucereus)
-QUEST.addTalkId(Keucereus)
-QUEST.addTalkId(Tepios)

+ 0 - 69
L2J_DataPack_BETA/dist/game/data/scripts/quests/10269_ToTheSeedOfDestruction/__init__.py

@@ -1,69 +0,0 @@
-# Made by Kerberos v1.0 on 2009/05/1
-# this script is part of the Official L2J Datapack Project.
-# Visit http://www.l2jdp.com/forum for more details.
-
-import sys
-
-from com.l2jserver.gameserver.datatables import SkillTable
-from com.l2jserver.gameserver.model.quest        			import State
-from com.l2jserver.gameserver.model.quest        			import QuestState
-from com.l2jserver.gameserver.model.quest.jython 			import QuestJython as JQuest
-
-qn = "10269_ToTheSeedOfDestruction"
-
-#NPCs
-Keucereus = 32548
-Allenos = 32526
-
-#items
-Introduction = 13812
-
-class Quest (JQuest) :
-    def __init__(self,id,name,descr):
-        JQuest.__init__(self,id,name,descr)
-        self.questItemIds = [Introduction]
-
-    def onAdvEvent (self,event,npc, player) :
-        htmltext = event
-        st = player.getQuestState(qn)
-        if not st : return
-        if event == "32548-05.htm" :
-            st.set("cond","1")
-            st.setState(State.STARTED)
-            st.playSound("ItemSound.quest_accept")
-            st.giveItems(Introduction,1)
-        return htmltext
-
-    def onTalk (self,npc,player):
-        htmltext = Quest.getNoQuestMsg(player)
-        st = player.getQuestState(qn)
-        if not st : return htmltext
-        npcId = npc.getNpcId()
-        id = st.getState()
-        cond = st.getInt("cond")
-        if id == State.COMPLETED :
-            if npcId == Allenos :
-                htmltext = "32526-02.htm" 
-            else:
-                htmltext = "32548-0a.htm"
-        elif id == State.CREATED and npcId == Keucereus:
-            if player.getLevel() < 75 :
-                htmltext = "32548-00.htm"
-            else :
-                htmltext = "32548-01.htm"
-        elif id == State.STARTED and npcId == Keucereus:
-            htmltext = "32548-06.htm"
-        elif id == State.STARTED and npcId == Allenos:
-            htmltext = "32526-01.htm"
-            st.giveItems(57,29174)
-            st.addExpAndSp(176121,7671)
-            st.unset("cond")
-            st.exitQuest(False)
-            st.playSound("ItemSound.quest_finish")
-        return htmltext
-
-QUEST       = Quest(10269,qn,"To the Seed of Destruction")
-
-QUEST.addStartNpc(Keucereus)
-QUEST.addTalkId(Keucereus)
-QUEST.addTalkId(Allenos)

+ 0 - 101
L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/__init__.py

@@ -1,101 +0,0 @@
-# Made by Kerberos v1.0 on 2009/04/25
-# this script is part of the Official L2J Datapack Project.
-# Visit http://www.l2jdp.com/forum for more details.
-
-import sys
-
-from com.l2jserver.gameserver.datatables import SkillTable
-from com.l2jserver.gameserver.model.quest        			import State
-from com.l2jserver.gameserver.model.quest        			import QuestState
-from com.l2jserver.gameserver.model.quest.jython 			import QuestJython as JQuest
-
-qn = "10273_GoodDayToFly"
-
-#NPCs
-Lekon = 32557
-
-#items
-Mark = 13856
-
-class Quest (JQuest) :
-    def __init__(self,id,name,descr):
-        JQuest.__init__(self,id,name,descr)
-        self.questItemIds = [Mark]
-
-    def onAdvEvent (self,event,npc, player) :
-        htmltext = event
-        st = player.getQuestState(qn)
-        if not st : return
-        if event == "32557-06.htm" :
-            st.set("cond","1")
-            st.setState(State.STARTED)
-            st.playSound("ItemSound.quest_accept")
-        elif event == "32557-09.htm" :
-            st.set("transform","1")
-            SkillTable.getInstance().getInfo(5982,1).getEffects(player,player)
-        elif event == "32557-10.htm" :
-            st.set("transform","2")
-            SkillTable.getInstance().getInfo(5983,1).getEffects(player,player)
-        elif event == "32557-13.htm" :
-            if st.getInt("transform") == 1 :
-                SkillTable.getInstance().getInfo(5982,1).getEffects(player,player)
-            elif st.getInt("transform") == 2 :
-                SkillTable.getInstance().getInfo(5983,1).getEffects(player,player)
-        return htmltext
-
-    def onTalk (self,npc,player):
-        htmltext = Quest.getNoQuestMsg(player)
-        st = player.getQuestState(qn)
-        if not st : return htmltext
-        npcId = npc.getNpcId()
-        id = st.getState()
-        cond = st.getInt("cond")
-        transform = st.getInt("transform")
-        if id == State.COMPLETED :
-            htmltext = "32557-0a.htm"
-        elif id == State.CREATED :
-            if player.getLevel() < 75 :
-                htmltext = "32557-00.htm"
-            else :
-                htmltext = "32557-01.htm"
-        else :
-            if st.getQuestItemsCount(Mark) >= 5 :
-                htmltext = "32557-14.htm"
-                if transform == 1 :
-                    st.giveItems(13553,1)
-                elif transform == 2 :
-                    st.giveItems(13554,1)
-                st.giveItems(13857,1)
-                st.addExpAndSp(25160,2525)
-                st.unset("transform")
-                st.unset("cond")
-                st.exitQuest(False)
-                st.playSound("ItemSound.quest_finish")
-            elif not transform :
-                htmltext = "32557-07.htm"
-            else :
-                htmltext = "32557-11.htm"
-        return htmltext
-
-
-    def onKill(self,npc,player,isPet):
-        st = player.getQuestState(qn)
-        if not st : return
-        if st.getState() != State.STARTED : return
-
-        count=st.getQuestItemsCount(Mark)
-        if st.getInt("cond")==1 and count < 5 :
-            st.giveItems(Mark,1)
-            if count == 4 :
-                st.playSound("ItemSound.quest_middle")
-                st.set("cond","2")
-            else :
-                st.playSound("ItemSound.quest_itemget")
-        return
-
-QUEST       = Quest(10273,qn,"Good Day To Fly")
-
-QUEST.addStartNpc(Lekon)
-QUEST.addTalkId(Lekon)
-QUEST.addKillId(22614)
-QUEST.addKillId(22615)

+ 0 - 98
L2J_DataPack_BETA/dist/game/data/scripts/quests/10274_CollectingInTheAir/__init__.py

@@ -1,98 +0,0 @@
-# Made by Kerberos v1.0 on 2009/04/26
-# this script is part of 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.jython import QuestJython as JQuest
-from com.l2jserver.gameserver.util import Util
-
-qn = "10274_CollectingInTheAir"
-
-#NPCs
-Lekon = 32557
-
-#items
-Scroll = 13844
-red = 13858
-blue = 13859
-green = 13860
-
-class Quest (JQuest) :
-    def __init__(self,id,name,descr):
-        JQuest.__init__(self,id,name,descr)
-        self.questItemIds = [Scroll,red,blue,green]
-
-    def onAdvEvent (self,event,npc, player) :
-        htmltext = event
-        st = player.getQuestState(qn)
-        if not st : return
-        if event == "32557-03.htm" :
-            st.set("cond","1")
-            st.giveItems(Scroll,8)
-            st.setState(State.STARTED)
-            st.playSound("ItemSound.quest_accept")
-        return htmltext
-
-    def onTalk (self,npc,player):
-        htmltext = Quest.getNoQuestMsg(player)
-        st = player.getQuestState(qn)
-        if not st : return htmltext
-        npcId = npc.getNpcId()
-        id = st.getState()
-        cond = st.getInt("cond")
-        transform = st.getInt("transform")
-        if id == State.COMPLETED :
-            htmltext = "32557-0a.htm"
-        elif id == State.CREATED :
-            qs = player.getQuestState("10273_GoodDayToFly")
-            if qs:
-                if qs.getState() == State.COMPLETED and player.getLevel() >= 75 :
-                    htmltext = "32557-01.htm"
-                else:
-                    htmltext = "32557-00.htm"
-            else :
-                htmltext = "32557-00.htm"
-        else :
-            if st.getQuestItemsCount(red) + st.getQuestItemsCount(blue) + st.getQuestItemsCount(green) >= 8 :
-                htmltext = "32557-05.htm"
-                st.giveItems(13728,1)
-                st.addExpAndSp(25160,2525)
-                st.unset("transform")
-                st.unset("cond")
-                st.exitQuest(False)
-                st.playSound("ItemSound.quest_finish")
-            else:
-                htmltext = "32557-04.htm"
-        return htmltext
-
-    def onSkillSee (self, npc, player, skill, targets, isPet):
-        st = player.getQuestState(qn)
-        if not st : return
-        if Util.contains(targets, npc) and st.getInt("cond") == 1 and skill.getId() == 2630:
-            st.playSound("ItemSound.quest_itemget")
-            npcId = npc.getNpcId()
-            if npcId in range(18684,18687):
-                st.giveItems(red,1)
-            elif npcId in range(18687,18690):
-                st.giveItems(blue,1)
-            elif npcId in range(18690,18693):
-                st.giveItems(green,1)
-            npc.doDie(player)
-        return
-
-QUEST       = Quest(10274,qn,"Collecting in the Air")
-
-QUEST.addStartNpc(Lekon)
-QUEST.addTalkId(Lekon)
-QUEST.addSkillSeeId(18684)
-QUEST.addSkillSeeId(18685)
-QUEST.addSkillSeeId(18686)
-QUEST.addSkillSeeId(18687)
-QUEST.addSkillSeeId(18688)
-QUEST.addSkillSeeId(18689)
-QUEST.addSkillSeeId(18690)
-QUEST.addSkillSeeId(18691)
-QUEST.addSkillSeeId(18692)

+ 0 - 176
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/__init__.py

@@ -1,176 +0,0 @@
-# Made by Kerberos v1.0 on 2009/05/03
-# this script is part of the Official L2J Datapack Project.
-# Visit http://www.l2jdp.com/forum for more details.
-
-import sys
-
-from com.l2jserver.gameserver.datatables import SkillTable
-from com.l2jserver.gameserver.model						import Elementals
-from com.l2jserver.gameserver.model.itemcontainer import Inventory
-from com.l2jserver.gameserver.model.quest        			import State
-from com.l2jserver.gameserver.model.quest        			import QuestState
-from com.l2jserver.gameserver.model.quest.jython 			import QuestJython as JQuest
-
-qn = "10275_ContainingTheAttributePower"
-
-#NPCs
-Holly = 30839
-Weber = 31307
-Yin = 32325
-Yang = 32326
-Water = 27380
-Air = 27381
-
-#items
-YinSword = 13845
-YangSword = 13881
-SoulPieceWater = 13861
-SoulPieceAir = 13862
-
-class Quest (JQuest) :
-    def __init__(self,id,name,descr):
-        JQuest.__init__(self,id,name,descr)
-        self.questItemIds = [YinSword, YangSword, SoulPieceWater, SoulPieceAir]
-
-    def onAdvEvent (self,event,npc, player) :
-        htmltext = event
-        st = player.getQuestState(qn)
-        if not st : return
-        if event in ["30839-02.htm","31307-02.htm"] :
-            st.set("cond","1")
-            st.setState(State.STARTED)
-            st.playSound("ItemSound.quest_accept")
-        elif event == "30839-05.htm" :
-            st.set("cond","2")
-            st.playSound("ItemSound.quest_middle")
-        elif event == "31307-05.htm" :
-            st.set("cond","7")
-            st.playSound("ItemSound.quest_middle")
-        elif event == "32325-03.htm" :
-            st.set("cond","3")
-            st.giveItems(YinSword,1,Elementals.FIRE,10)
-            st.playSound("ItemSound.quest_middle")
-        elif event == "32326-03.htm" :
-            st.set("cond","8")
-            st.giveItems(YangSword,1,Elementals.EARTH,10)
-            st.playSound("ItemSound.quest_middle")
-        elif event == "32325-06.htm" :
-            if st.getQuestItemsCount(YinSword):
-               st.takeItems(YinSword,1)
-               htmltext = "32325-07.htm"
-            st.giveItems(YinSword,1,Elementals.FIRE,10)
-        elif event == "32326-06.htm" :
-            if st.getQuestItemsCount(YangSword):
-               st.takeItems(YangSword,1)
-               htmltext = "32326-07.htm"
-            st.giveItems(YangSword,1,Elementals.EARTH,10)
-        elif event == "32325-09.htm" :
-            st.set("cond","5")
-            SkillTable.getInstance().getInfo(2635,1).getEffects(player,player)
-            st.giveItems(YinSword,1,Elementals.FIRE,10)
-            st.playSound("ItemSound.quest_middle")
-        elif event == "32326-09.htm" :
-            st.set("cond","10")
-            SkillTable.getInstance().getInfo(2636,1).getEffects(player,player)
-            st.giveItems(YangSword,1,Elementals.EARTH,10)
-            st.playSound("ItemSound.quest_middle")
-        elif event.isdigit() :
-            st.giveItems(10520+int(event),2)
-            st.addExpAndSp(202160,20375)
-            st.unset("cond")
-            st.exitQuest(False)
-            st.playSound("ItemSound.quest_finish")
-            htmltext = str(npc.getNpcId())+"-1"+event+".htm"
-        return htmltext
-
-    def onTalk (self,npc,player):
-        htmltext = Quest.getNoQuestMsg(player)
-        st = player.getQuestState(qn)
-        if not st : return htmltext
-        npcId = npc.getNpcId()
-        id = st.getState()
-        cond = st.getInt("cond")
-        if id == State.COMPLETED :
-            if npcId == Holly :
-                htmltext = "30839-0a.htm"
-            elif npcId == Weber:
-                htmltext = "31307-0a.htm"
-        elif id == State.CREATED :
-            if player.getLevel() >= 76 :
-                if npcId == Holly :
-                    htmltext = "30839-01.htm"
-                else:
-                    htmltext = "31307-01.htm"
-            else:
-                if npcId == Holly :
-                    htmltext = "30839-00.htm"
-                else:
-                    htmltext = "31307-00.htm"
-        else :
-            if npcId == Holly :
-                if cond == 1:
-                   htmltext = "30839-03.htm"
-                elif cond == 2:
-                   htmltext = "30839-05.htm"
-            elif npcId == Weber:
-                if cond == 1:
-                   htmltext = "31307-03.htm"
-                elif cond == 7:
-                   htmltext = "31307-05.htm"
-            elif npcId == Yin:
-                if cond == 2:
-                   htmltext = "32325-01.htm"
-                elif cond in [3,5]:
-                   htmltext = "32325-04.htm"
-                elif cond == 4:
-                   htmltext = "32325-08.htm"
-                   st.takeItems(YinSword,1)
-                   st.takeItems(SoulPieceWater,-1)
-                elif cond == 6:
-                   htmltext = "32325-10.htm"
-            elif npcId == Yang:
-                if cond == 7:
-                   htmltext = "32326-01.htm"
-                elif cond in [8,10]:
-                   htmltext = "32326-04.htm"
-                elif cond == 9:
-                   htmltext = "32326-08.htm"
-                   st.takeItems(YangSword,1)
-                   st.takeItems(SoulPieceAir,-1)
-                elif cond == 11:
-                   htmltext = "32326-10.htm"
-        return htmltext
-
-    def onKill(self,npc,player,isPet):
-        st = player.getQuestState(qn)
-        if not st or isPet: return
-        if st.getState() != State.STARTED : return
-        npcId = npc.getNpcId()
-        if npcId == Air :
-            if st.getItemEquipped(Inventory.PAPERDOLL_RHAND) == YangSword and st.getInt("cond") in [8,10] and st.getQuestItemsCount(SoulPieceAir) < 6 and st.getRandom(100) < 30:
-                st.giveItems(SoulPieceAir,1)
-                if st.getQuestItemsCount(SoulPieceAir) >= 6 :
-                    st.set("cond",str(st.getInt("cond")+1))
-                    st.playSound("ItemSound.quest_middle")
-                else:
-                    st.playSound("ItemSound.quest_itemget")
-        elif npcId == Water :
-            if st.getItemEquipped(Inventory.PAPERDOLL_RHAND) == YinSword and st.getInt("cond") in [3,5] and st.getQuestItemsCount(SoulPieceWater) < 6 and st.getRandom(100) < 30:
-                st.giveItems(SoulPieceWater,1)
-                if st.getQuestItemsCount(SoulPieceWater) >= 6 :
-                    st.set("cond",str(st.getInt("cond")+1))
-                    st.playSound("ItemSound.quest_middle")
-                else:
-                    st.playSound("ItemSound.quest_itemget")
-        return
-
-QUEST       = Quest(10275,qn,"Containing the Attribute Power")
-
-QUEST.addStartNpc(Holly)
-QUEST.addStartNpc(Weber)
-QUEST.addTalkId(Holly)
-QUEST.addTalkId(Weber)
-QUEST.addTalkId(Yin)
-QUEST.addTalkId(Yang)
-QUEST.addKillId(Air)
-QUEST.addKillId(Water)

+ 0 - 111
L2J_DataPack_BETA/dist/game/data/scripts/quests/10276_MutatedKaneusGludio/__init__.py

@@ -1,111 +0,0 @@
-# 2010-06-29 by Gnacik
-# Based on official server Franz and Rpg
-
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
-from com.l2jserver.util import Rnd
-
-qn = "10276_MutatedKaneusGludio"
-
-# NPCs
-BATHIS       = 30332
-ROHMER       = 30344
-TOMLAN_KAMOS = 18554
-OL_ARIOSH    = 18555
-
-# Items
-TISSUE_TK    = 13830
-TISSUE_OA    = 13831
-
-class Quest (JQuest) :
-	def __init__(self,id,name,descr):
-		JQuest.__init__(self,id,name,descr)
-		self.questItemIds = [TISSUE_TK, TISSUE_OA]
-
-	def onAdvEvent(self, event, npc, player) :
-		htmltext = event
-		st = player.getQuestState(qn)
-		if not st : return
-
-		if event == "30332-03.htm" :
-			st.setState(State.STARTED)
-			st.set("cond","1")
-			st.playSound("ItemSound.quest_accept")
-		elif event == "30344-03.htm" :
-			st.unset("cond")
-			st.rewardItems(57,8500)
-			st.exitQuest(False)
-			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.getNpcId()
-		cond = st.getInt("cond")
-
-		if npcId == BATHIS :
-			if st.getState() == State.COMPLETED :
-				htmltext = "30332-06.htm"
-			elif st.getState() == State.CREATED and player.getLevel() >= 18 :
-				htmltext = "30332-01.htm"
-			elif st.getState() == State.CREATED and player.getLevel() < 18 :
-				htmltext = "30332-00.htm"
-			elif st.getQuestItemsCount(TISSUE_TK) > 0 and st.getQuestItemsCount(TISSUE_OA) > 0 :
-				htmltext = "30332-05.htm"
-			elif cond == 1 :
-				htmltext = "30332-04.htm"
-		elif npcId == ROHMER :
-				if st.getState() == State.COMPLETED :
-					htmltext = Quest.getAlreadyCompletedMsg(player)
-				elif st.getQuestItemsCount(TISSUE_TK) > 0 and st.getQuestItemsCount(TISSUE_OA) > 0 :
-					htmltext = "30344-02.htm"
-				else :
-					htmltext = "30344-01.htm"
-		return htmltext
-
-	def onKill(self, npc, player, isPet) :
-		npcId = npc.getNpcId()
-		party = player.getParty()
-		if party :
-			PartyMembers = []
-			for member in party.getPartyMembers().toArray() :
-				st = member.getQuestState(qn)
-				if st and st.getState() == State.STARTED and st.getInt("cond") == 1 :
-					if npcId == TOMLAN_KAMOS and st.getQuestItemsCount(TISSUE_TK) == 0 :
-						PartyMembers.append(st)
-					elif npcId == TISSUE_OA and st.getQuestItemsCount(TISSUE_OA) == 0 :
-						PartyMembers.append(st)
-			if len(PartyMembers) == 0 : return
-			winnerst = PartyMembers[Rnd.get(len(PartyMembers))]
-			if npcId == TOMLAN_KAMOS and winnerst.getQuestItemsCount(TISSUE_TK) == 0 :
-				winnerst.giveItems(TISSUE_TK,1)
-				winnerst.playSound("ItemSound.quest_itemget")
-			elif npcId == OL_ARIOSH and winnerst.getQuestItemsCount(TISSUE_OA) == 0 :
-				winnerst.giveItems(TISSUE_OA,1)
-				winnerst.playSound("ItemSound.quest_itemget")
-		else :
-			st = player.getQuestState(qn)
-			if not st : return
-			if st.getState() != State.STARTED : return
-
-			if npcId == TOMLAN_KAMOS and st.getQuestItemsCount(TISSUE_TK) == 0 :
-				st.giveItems(TISSUE_TK,1)
-				st.playSound("ItemSound.quest_itemget")
-			elif npcId == OL_ARIOSH and st.getQuestItemsCount(TISSUE_OA) == 0 :
-				st.giveItems(TISSUE_OA,1)
-				st.playSound("ItemSound.quest_itemget")
-		return
-
-QUEST	= Quest(10276,qn,"Mutated Kaneus - Gludio")
-
-QUEST.addStartNpc(BATHIS)
-QUEST.addTalkId(BATHIS)
-QUEST.addTalkId(ROHMER)
-
-QUEST.addKillId(TOMLAN_KAMOS)
-QUEST.addKillId(OL_ARIOSH)

+ 0 - 111
L2J_DataPack_BETA/dist/game/data/scripts/quests/10277_MutatedKaneusDion/__init__.py

@@ -1,111 +0,0 @@
-# 2010-06-29 by Gnacik
-# Based on official server Franz and Rpg
-
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
-from com.l2jserver.util import Rnd
-
-qn = "10277_MutatedKaneusDion"
-
-# NPCs
-LUKAS        = 30071
-MIRIEN       = 30461
-CRIMSON_HATU = 18558
-SEER_FLOUROS = 18559
-
-# Items
-TISSUE_CH    = 13832
-TISSUE_SF    = 13833
-
-class Quest (JQuest) :
-	def __init__(self,id,name,descr):
-		JQuest.__init__(self,id,name,descr)
-		self.questItemIds = [TISSUE_CH, TISSUE_SF]
-
-	def onAdvEvent(self, event, npc, player) :
-		htmltext = event
-		st = player.getQuestState(qn)
-		if not st : return
-
-		if event == "30071-03.htm" :
-			st.setState(State.STARTED)
-			st.set("cond","1")
-			st.playSound("ItemSound.quest_accept")
-		elif event == "30461-03.htm" :
-			st.unset("cond")
-			st.rewardItems(57,20000)
-			st.exitQuest(False)
-			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.getNpcId()
-		cond = st.getInt("cond")
-
-		if npcId == LUKAS :
-			if st.getState() == State.COMPLETED :
-				htmltext = "30071-06.htm"
-			elif st.getState() == State.CREATED and player.getLevel() >= 28 :
-				htmltext = "30071-01.htm"
-			elif st.getState() == State.CREATED and player.getLevel() < 28 :
-				htmltext = "30071-00.htm"
-			elif st.getQuestItemsCount(TISSUE_CH) > 0 and st.getQuestItemsCount(TISSUE_SF) > 0 :
-				htmltext = "30071-05.htm"
-			elif cond == 1 :
-				htmltext = "30071-04.htm"
-		elif npcId == MIRIEN :
-				if st.getState() == State.COMPLETED :
-					htmltext = Quest.getAlreadyCompletedMsg(player)
-				elif st.getQuestItemsCount(TISSUE_CH) > 0 and st.getQuestItemsCount(TISSUE_SF) > 0 :
-					htmltext = "30461-02.htm"
-				else :
-					htmltext = "30461-01.htm"
-		return htmltext
-
-	def onKill(self, npc, player, isPet) :
-		npcId = npc.getNpcId()
-		party = player.getParty()
-		if party :
-			PartyMembers = []
-			for member in party.getPartyMembers().toArray() :
-				st = member.getQuestState(qn)
-				if st and st.getState() == State.STARTED and st.getInt("cond") == 1 :
-					if npcId == CRIMSON_HATU and st.getQuestItemsCount(TISSUE_CH) == 0 :
-						PartyMembers.append(st)
-					elif npcId == TISSUE_SF and st.getQuestItemsCount(TISSUE_SF) == 0 :
-						PartyMembers.append(st)
-			if len(PartyMembers) == 0 : return
-			winnerst = PartyMembers[Rnd.get(len(PartyMembers))]
-			if npcId == CRIMSON_HATU and winnerst.getQuestItemsCount(TISSUE_CH) == 0 :
-				winnerst.giveItems(TISSUE_CH,1)
-				winnerst.playSound("ItemSound.quest_itemget")
-			elif npcId == SEER_FLOUROS and winnerst.getQuestItemsCount(TISSUE_SF) == 0 :
-				winnerst.giveItems(TISSUE_SF,1)
-				winnerst.playSound("ItemSound.quest_itemget")
-		else :
-			st = player.getQuestState(qn)
-			if not st : return
-			if st.getState() != State.STARTED : return
-
-			if npcId == CRIMSON_HATU and st.getQuestItemsCount(TISSUE_CH) == 0 :
-				st.giveItems(TISSUE_CH,1)
-				st.playSound("ItemSound.quest_itemget")
-			elif npcId == SEER_FLOUROS and st.getQuestItemsCount(TISSUE_SF) == 0 :
-				st.giveItems(TISSUE_SF,1)
-				st.playSound("ItemSound.quest_itemget")
-		return
-
-QUEST	= Quest(10277,qn,"Mutated Kaneus - Dion")
-
-QUEST.addStartNpc(LUKAS)
-QUEST.addTalkId(LUKAS)
-QUEST.addTalkId(MIRIEN)
-
-QUEST.addKillId(CRIMSON_HATU)
-QUEST.addKillId(SEER_FLOUROS)

+ 0 - 111
L2J_DataPack_BETA/dist/game/data/scripts/quests/10278_MutatedKaneusHeine/__init__.py

@@ -1,111 +0,0 @@
-# 2010-06-29 by Gnacik
-# Based on official server Franz and Rpg
-
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
-from com.l2jserver.util import Rnd
-
-qn = "10278_MutatedKaneusHeine"
-
-# NPCs
-GOSTA       = 30916
-MINEVIA     = 30907
-BLADE_OTIS  = 18562
-WEIRD_BUNEI = 18564
-
-# Items
-TISSUE_BO   = 13834
-TISSUE_WB   = 13835
-
-class Quest (JQuest) :
-	def __init__(self,id,name,descr):
-		JQuest.__init__(self,id,name,descr)
-		self.questItemIds = [TISSUE_BO, TISSUE_WB]
-
-	def onAdvEvent(self, event, npc, player) :
-		htmltext = event
-		st = player.getQuestState(qn)
-		if not st : return
-
-		if event == "30916-03.htm" :
-			st.setState(State.STARTED)
-			st.set("cond","1")
-			st.playSound("ItemSound.quest_accept")
-		elif event == "30907-03.htm" :
-			st.unset("cond")
-			st.rewardItems(57,50000)
-			st.exitQuest(False)
-			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.getNpcId()
-		cond = st.getInt("cond")
-
-		if npcId == GOSTA :
-			if st.getState() == State.COMPLETED :
-				htmltext = "30916-06.htm"
-			elif st.getState() == State.CREATED and player.getLevel() >= 38 :
-				htmltext = "30916-01.htm"
-			elif st.getState() == State.CREATED and player.getLevel() < 38 :
-				htmltext = "30916-00.htm"
-			elif st.getQuestItemsCount(TISSUE_BO) > 0 and st.getQuestItemsCount(TISSUE_WB) > 0 :
-				htmltext = "30916-05.htm"
-			elif cond == 1 :
-				htmltext = "30916-04.htm"
-		elif npcId == MINEVIA :
-				if st.getState() == State.COMPLETED :
-					htmltext = Quest.getAlreadyCompletedMsg(player)
-				elif st.getQuestItemsCount(TISSUE_BO) > 0 and st.getQuestItemsCount(TISSUE_WB) > 0 :
-					htmltext = "30907-02.htm"
-				else :
-					htmltext = "30907-01.htm"
-		return htmltext
-
-	def onKill(self, npc, player, isPet) :
-		npcId = npc.getNpcId()
-		party = player.getParty()
-		if party :
-			PartyMembers = []
-			for member in party.getPartyMembers().toArray() :
-				st = member.getQuestState(qn)
-				if st and st.getState() == State.STARTED and st.getInt("cond") == 1 :
-					if npcId == BLADE_OTIS and st.getQuestItemsCount(TISSUE_BO) == 0 :
-						PartyMembers.append(st)
-					elif npcId == TISSUE_WB and st.getQuestItemsCount(TISSUE_WB) == 0 :
-						PartyMembers.append(st)
-			if len(PartyMembers) == 0 : return
-			winnerst = PartyMembers[Rnd.get(len(PartyMembers))]
-			if npcId == BLADE_OTIS and winnerst.getQuestItemsCount(TISSUE_BO) == 0 :
-				winnerst.giveItems(TISSUE_BO,1)
-				winnerst.playSound("ItemSound.quest_itemget")
-			elif npcId == WEIRD_BUNEI and winnerst.getQuestItemsCount(TISSUE_WB) == 0 :
-				winnerst.giveItems(TISSUE_WB,1)
-				winnerst.playSound("ItemSound.quest_itemget")
-		else :
-			st = player.getQuestState(qn)
-			if not st : return
-			if st.getState() != State.STARTED : return
-
-			if npcId == BLADE_OTIS and st.getQuestItemsCount(TISSUE_BO) == 0 :
-				st.giveItems(TISSUE_BO,1)
-				st.playSound("ItemSound.quest_itemget")
-			elif npcId == WEIRD_BUNEI and st.getQuestItemsCount(TISSUE_WB) == 0 :
-				st.giveItems(TISSUE_WB,1)
-				st.playSound("ItemSound.quest_itemget")
-		return
-
-QUEST	= Quest(10278,qn,"Mutated Kaneus - Heine")
-
-QUEST.addStartNpc(GOSTA)
-QUEST.addTalkId(GOSTA)
-QUEST.addTalkId(MINEVIA)
-
-QUEST.addKillId(BLADE_OTIS)
-QUEST.addKillId(WEIRD_BUNEI)

+ 0 - 111
L2J_DataPack_BETA/dist/game/data/scripts/quests/10279_MutatedKaneusOren/__init__.py

@@ -1,111 +0,0 @@
-# 2010-06-29 by Gnacik
-# Based on official server Franz and Rpg
-
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
-from com.l2jserver.util import Rnd
-
-qn = "10279_MutatedKaneusOren"
-
-# NPCs
-MOUEN            = 30196
-ROVIA            = 30189
-KAIM_ABIGORE     = 18566
-KNIGHT_MONTAGNAR = 18568
-
-# Items
-TISSUE_KA    = 13836
-TISSUE_KM    = 13837
-
-class Quest (JQuest) :
-	def __init__(self,id,name,descr):
-		JQuest.__init__(self,id,name,descr)
-		self.questItemIds = [TISSUE_KA, TISSUE_KM]
-
-	def onAdvEvent(self, event, npc, player) :
-		htmltext = event
-		st = player.getQuestState(qn)
-		if not st : return
-
-		if event == "30196-03.htm" :
-			st.setState(State.STARTED)
-			st.set("cond","1")
-			st.playSound("ItemSound.quest_accept")
-		elif event == "30189-03.htm" :
-			st.unset("cond")
-			st.rewardItems(57,100000)
-			st.exitQuest(False)
-			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.getNpcId()
-		cond = st.getInt("cond")
-
-		if npcId == MOUEN :
-			if st.getState() == State.COMPLETED :
-				htmltext = "30196-06.htm"
-			elif st.getState() == State.CREATED and player.getLevel() >= 48 :
-				htmltext = "30196-01.htm"
-			elif st.getState() == State.CREATED and player.getLevel() < 48 :
-				htmltext = "30196-00.htm"
-			elif st.getQuestItemsCount(TISSUE_KA) > 0 and st.getQuestItemsCount(TISSUE_KM) > 0 :
-				htmltext = "30196-05.htm"
-			elif cond == 1 :
-				htmltext = "30196-04.htm"
-		elif npcId == ROVIA :
-				if st.getState() == State.COMPLETED :
-					htmltext = Quest.getAlreadyCompletedMsg(player)
-				elif st.getQuestItemsCount(TISSUE_KA) > 0 and st.getQuestItemsCount(TISSUE_KM) > 0 :
-					htmltext = "30189-02.htm"
-				else :
-					htmltext = "30189-01.htm"
-		return htmltext
-
-	def onKill(self, npc, player, isPet) :
-		npcId = npc.getNpcId()
-		party = player.getParty()
-		if party :
-			PartyMembers = []
-			for member in party.getPartyMembers().toArray() :
-				st = member.getQuestState(qn)
-				if st and st.getState() == State.STARTED and st.getInt("cond") == 1 :
-					if npcId == KAIM_ABIGORE and st.getQuestItemsCount(TISSUE_KA) == 0 :
-						PartyMembers.append(st)
-					elif npcId == TISSUE_KM and st.getQuestItemsCount(TISSUE_KM) == 0 :
-						PartyMembers.append(st)
-			if len(PartyMembers) == 0 : return
-			winnerst = PartyMembers[Rnd.get(len(PartyMembers))]
-			if npcId == KAIM_ABIGORE and winnerst.getQuestItemsCount(TISSUE_KA) == 0 :
-				winnerst.giveItems(TISSUE_KA,1)
-				winnerst.playSound("ItemSound.quest_itemget")
-			elif npcId == KNIGHT_MONTAGNAR and winnerst.getQuestItemsCount(TISSUE_KM) == 0 :
-				winnerst.giveItems(TISSUE_KM,1)
-				winnerst.playSound("ItemSound.quest_itemget")
-		else :
-			st = player.getQuestState(qn)
-			if not st : return
-			if st.getState() != State.STARTED : return
-
-			if npcId == KAIM_ABIGORE and st.getQuestItemsCount(TISSUE_KA) == 0 :
-				st.giveItems(TISSUE_KA,1)
-				st.playSound("ItemSound.quest_itemget")
-			elif npcId == KNIGHT_MONTAGNAR and st.getQuestItemsCount(TISSUE_KM) == 0 :
-				st.giveItems(TISSUE_KM,1)
-				st.playSound("ItemSound.quest_itemget")
-		return
-
-QUEST	= Quest(10279,qn,"Mutated Kaneus - Oren")
-
-QUEST.addStartNpc(MOUEN)
-QUEST.addTalkId(MOUEN)
-QUEST.addTalkId(ROVIA)
-
-QUEST.addKillId(KAIM_ABIGORE)
-QUEST.addKillId(KNIGHT_MONTAGNAR)

+ 0 - 111
L2J_DataPack_BETA/dist/game/data/scripts/quests/10280_MutatedKaneusSchuttgart/__init__.py

@@ -1,111 +0,0 @@
-# 2010-06-29 by Gnacik
-# Based on official server Franz and Rpg
-
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
-from com.l2jserver.util import Rnd
-
-qn = "10280_MutatedKaneusSchuttgart"
-
-# NPCs
-VISHOTSKY        = 31981
-ATRAXIA          = 31972
-VENOMOUS_STORACE = 18571
-KEL_BILETTE      = 18573
-
-# Items
-TISSUE_VS    = 13838
-TISSUE_KB    = 13839
-
-class Quest (JQuest) :
-	def __init__(self,id,name,descr):
-		JQuest.__init__(self,id,name,descr)
-		self.questItemIds = [TISSUE_VS, TISSUE_KB]
-
-	def onAdvEvent(self, event, npc, player) :
-		htmltext = event
-		st = player.getQuestState(qn)
-		if not st : return
-
-		if event == "31981-03.htm" :
-			st.setState(State.STARTED)
-			st.set("cond","1")
-			st.playSound("ItemSound.quest_accept")
-		elif event == "31972-03.htm" :
-			st.unset("cond")
-			st.rewardItems(57,210000)
-			st.exitQuest(False)
-			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.getNpcId()
-		cond = st.getInt("cond")
-
-		if npcId == VISHOTSKY :
-			if st.getState() == State.COMPLETED :
-				htmltext = "31981-06.htm"
-			elif st.getState() == State.CREATED and player.getLevel() >= 58 :
-				htmltext = "31981-01.htm"
-			elif st.getState() == State.CREATED and player.getLevel() < 58 :
-				htmltext = "31981-00.htm"
-			elif st.getQuestItemsCount(TISSUE_VS) > 0 and st.getQuestItemsCount(TISSUE_KB) > 0 :
-				htmltext = "31981-05.htm"
-			elif cond == 1 :
-				htmltext = "31981-04.htm"
-		elif npcId == ATRAXIA :
-				if st.getState() == State.COMPLETED :
-					htmltext = Quest.getAlreadyCompletedMsg(player)
-				elif st.getQuestItemsCount(TISSUE_VS) > 0 and st.getQuestItemsCount(TISSUE_KB) > 0 :
-					htmltext = "31972-02.htm"
-				else :
-					htmltext = "31972-01.htm"
-		return htmltext
-
-	def onKill(self, npc, player, isPet) :
-		npcId = npc.getNpcId()
-		party = player.getParty()
-		if party :
-			PartyMembers = []
-			for member in party.getPartyMembers().toArray() :
-				st = member.getQuestState(qn)
-				if st and st.getState() == State.STARTED and st.getInt("cond") == 1 :
-					if npcId == VENOMOUS_STORACE and st.getQuestItemsCount(TISSUE_VS) == 0 :
-						PartyMembers.append(st)
-					elif npcId == TISSUE_KB and st.getQuestItemsCount(TISSUE_KB) == 0 :
-						PartyMembers.append(st)
-			if len(PartyMembers) == 0 : return
-			winnerst = PartyMembers[Rnd.get(len(PartyMembers))]
-			if npcId == VENOMOUS_STORACE and winnerst.getQuestItemsCount(TISSUE_VS) == 0 :
-				winnerst.giveItems(TISSUE_VS,1)
-				winnerst.playSound("ItemSound.quest_itemget")
-			elif npcId == KEL_BILETTE and winnerst.getQuestItemsCount(TISSUE_KB) == 0 :
-				winnerst.giveItems(TISSUE_KB,1)
-				winnerst.playSound("ItemSound.quest_itemget")
-		else :
-			st = player.getQuestState(qn)
-			if not st : return
-			if st.getState() != State.STARTED : return
-
-			if npcId == VENOMOUS_STORACE and st.getQuestItemsCount(TISSUE_VS) == 0 :
-				st.giveItems(TISSUE_VS,1)
-				st.playSound("ItemSound.quest_itemget")
-			elif npcId == KEL_BILETTE and st.getQuestItemsCount(TISSUE_KB) == 0 :
-				st.giveItems(TISSUE_KB,1)
-				st.playSound("ItemSound.quest_itemget")
-		return
-
-QUEST	= Quest(10280,qn,"Mutated Kaneus - Schuttgart")
-
-QUEST.addStartNpc(VISHOTSKY)
-QUEST.addTalkId(VISHOTSKY)
-QUEST.addTalkId(ATRAXIA)
-
-QUEST.addKillId(VENOMOUS_STORACE)
-QUEST.addKillId(KEL_BILETTE)

+ 0 - 100
L2J_DataPack_BETA/dist/game/data/scripts/quests/10281_MutatedKaneusRune/__init__.py

@@ -1,100 +0,0 @@
-# 2010-06-29 by Gnacik
-# Based on official server Franz and Rpg
-
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
-from com.l2jserver.util import Rnd
-
-qn = "10281_MutatedKaneusRune"
-
-# NPCs
-MATHIAS       = 31340
-KAYAN         = 31335
-WHITE_ALLOSCE = 18577
-
-# Items
-TISSUE_WA    = 13840
-
-class Quest (JQuest) :
-	def __init__(self,id,name,descr):
-		JQuest.__init__(self,id,name,descr)
-		self.questItemIds = [TISSUE_WA]
-
-	def onAdvEvent(self, event, npc, player) :
-		htmltext = event
-		st = player.getQuestState(qn)
-		if not st : return
-
-		if event == "31340-03.htm" :
-			st.setState(State.STARTED)
-			st.set("cond","1")
-			st.playSound("ItemSound.quest_accept")
-		elif event == "31335-03.htm" :
-			st.unset("cond")
-			st.rewardItems(57,360000)
-			st.exitQuest(False)
-			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.getNpcId()
-		cond = st.getInt("cond")
-
-		if npcId == MATHIAS :
-			if st.getState() == State.COMPLETED :
-				htmltext = "31340-06.htm"
-			elif st.getState() == State.CREATED and player.getLevel() >= 68 :
-				htmltext = "31340-01.htm"
-			elif st.getState() == State.CREATED and player.getLevel() < 68 :
-				htmltext = "31340-00.htm"
-			elif st.getQuestItemsCount(TISSUE_WA) > 0 :
-				htmltext = "31340-05.htm"
-			elif cond == 1 :
-				htmltext = "31340-04.htm"
-		elif npcId == KAYAN :
-				if st.getState() == State.COMPLETED :
-					htmltext = Quest.getAlreadyCompletedMsg(player)
-				elif st.getQuestItemsCount(TISSUE_WA) > 0 :
-					htmltext = "31335-02.htm"
-				else :
-					htmltext = "31335-01.htm"
-		return htmltext
-
-	def onKill(self, npc, player, isPet) :
-		npcId = npc.getNpcId()
-		party = player.getParty()
-		if party :
-			PartyMembers = []
-			for member in party.getPartyMembers().toArray() :
-				st = member.getQuestState(qn)
-				if st and st.getState() == State.STARTED and st.getInt("cond") == 1 :
-					if npcId == WHITE_ALLOSCE and st.getQuestItemsCount(TISSUE_WA) == 0 :
-						PartyMembers.append(st)
-			if len(PartyMembers) == 0 : return
-			winnerst = PartyMembers[Rnd.get(len(PartyMembers))]
-			if npcId == WHITE_ALLOSCE and winnerst.getQuestItemsCount(TISSUE_WA) == 0 :
-				winnerst.giveItems(TISSUE_WA,1)
-				winnerst.playSound("ItemSound.quest_itemget")
-		else :
-			st = player.getQuestState(qn)
-			if not st : return
-			if st.getState() != State.STARTED : return
-
-			if npcId == WHITE_ALLOSCE and st.getQuestItemsCount(TISSUE_WA) == 0 :
-				st.giveItems(TISSUE_WA,1)
-				st.playSound("ItemSound.quest_itemget")
-		return
-
-QUEST	= Quest(10281,qn,"Mutated Kaneus - Rune")
-
-QUEST.addStartNpc(MATHIAS)
-QUEST.addTalkId(MATHIAS)
-QUEST.addTalkId(KAYAN)
-
-QUEST.addKillId(WHITE_ALLOSCE)

+ 0 - 69
L2J_DataPack_BETA/dist/game/data/scripts/quests/10282_ToTheSeedOfAnnihilation/__init__.py

@@ -1,69 +0,0 @@
-# 2010-08-13 by Gnacik
-# Based on Freya PTS
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
-
-qn = "10282_ToTheSeedOfAnnihilation"
-
-# NPC
-KBALDIR = 32733
-KLEMIS = 32734
-
-# ITEMS
-SOA_ORDERS = 15512
-
-class Quest (JQuest) :
-	def __init__(self,id,name,descr):
-		JQuest.__init__(self,id,name,descr)
-
-	def onAdvEvent (self,event,npc, player) :
-		htmltext = event
-		st = player.getQuestState(qn)
-		if not st : return
-
-		if event == "32733-07.htm" :
-			st.setState(State.STARTED)
-			st.set("cond","1")
-			st.giveItems(SOA_ORDERS,1)
-			st.playSound("ItemSound.quest_accept")
-		elif event == "32734-02.htm" :
-			st.unset("cond")
-			st.addExpAndSp(1148480,99110)
-			st.takeItems(SOA_ORDERS,-1)
-			st.exitQuest(False)
-		return htmltext
-
-	def onTalk (self,npc,player):
-		htmltext = Quest.getNoQuestMsg(player)
-		st = player.getQuestState(qn)
-		if not st : return htmltext
-
-		npcId = npc.getNpcId()
-		id = st.getState()
-		cond = st.getInt("cond")
-
-		if id == State.COMPLETED :
-			if npcId == KBALDIR :
-				htmltext = "32733-09.htm"
-			elif npcId == KLEMIS:
-				htmltext = "32734-03.htm"
-		elif id == State.CREATED :
-			if player.getLevel() >= 84 :
-				htmltext = "32733-01.htm"
-			else :
-				htmltext = "32733-00.htm"
-		else :
-			if cond == 1 :
-				if npcId == KBALDIR :
-					htmltext = "32733-08.htm"
-				elif npcId == KLEMIS :
-					htmltext = "32734-01.htm"
-		return htmltext
-
-QUEST = Quest(10282,qn,"To the Seed of Annihilation")
-
-QUEST.addStartNpc(KBALDIR)
-QUEST.addTalkId(KBALDIR)
-QUEST.addTalkId(KLEMIS)

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10267_JourneyToGracia/30857-00.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-00.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10267_JourneyToGracia/30857-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-01.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10267_JourneyToGracia/30857-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-02.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10267_JourneyToGracia/30857-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-03.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10267_JourneyToGracia/30857-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-04.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10267_JourneyToGracia/30857-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-05.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10267_JourneyToGracia/30857-06.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-06.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10267_JourneyToGracia/30857-07.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-07.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10267_JourneyToGracia/30857-0a.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/30857-0a.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10267_JourneyToGracia/32548-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/32548-01.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10267_JourneyToGracia/32548-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/32548-02.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10267_JourneyToGracia/32548-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/32548-03.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10267_JourneyToGracia/32564-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/32564-01.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10267_JourneyToGracia/32564-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/32564-02.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10267_JourneyToGracia/32564-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/32564-03.htm


+ 158 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10267_JourneyToGracia/Q10267_JourneyToGracia.java

@@ -0,0 +1,158 @@
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package quests.Q10267_JourneyToGracia;
+
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.quest.Quest;
+import com.l2jserver.gameserver.model.quest.QuestState;
+import com.l2jserver.gameserver.model.quest.State;
+
+/**
+ * Journey To Gracia (10267). Original jython script by Kerberos v1.0 on 2009/05/2
+ * @author nonom
+ */
+public class Q10267_JourneyToGracia extends Quest
+{
+	private static final String qn = "10267_JourneyToGracia";
+	
+	// NPCs
+	private static final int ORVEN = 30857;
+	private static final int KEUCEREUS = 32548;
+	private static final int PAPIKU = 32564;
+	
+	// Items
+	private static final int LETTER = 13810;
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = getNoQuestMsg(player);
+		QuestState st = player.getQuestState(qn);
+		
+		int npcId = npc.getNpcId();
+		
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		switch (st.getState())
+		{
+			case State.COMPLETED:
+				if (npcId == KEUCEREUS)
+				{
+					htmltext = "32548-03.htm";
+				}
+				else if (npcId == ORVEN)
+				{
+					htmltext = "30857-0a.htm";
+				}
+				break;
+			case State.CREATED:
+				if (npcId == ORVEN)
+				{
+					if (player.getLevel() < 75)
+					{
+						htmltext = "30857-00.htm";
+					}
+					else
+					{
+						htmltext = "30857-01.htm";
+					}
+				}
+				break;
+			case State.STARTED:
+				if (npcId == ORVEN)
+				{
+					htmltext = "30857-07.htm";
+				}
+				else if (npcId == PAPIKU)
+				{
+					if (Integer.valueOf(st.get("cond")) == 1)
+					{
+						htmltext = "32564-01.htm";
+					}
+					else
+					{
+						htmltext = "32564-03.htm";
+					}
+				}
+				else if (npcId == KEUCEREUS)
+				{
+					if (Integer.valueOf(st.get("cond")) == 2)
+					{
+						htmltext = "32548-01.htm";
+					}
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = event;
+		QuestState st = player.getQuestState(qn);
+		
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		switch (event)
+		{
+			case "30857-06.htm":
+				st.set("cond", "1");
+				st.setState(State.STARTED);
+				st.playSound("ItemSound.quest_accept");
+				st.giveItems(LETTER, 1);
+				break;
+			case "32564-02.htm":
+				st.set("cond", "2");
+				st.playSound("ItemSound.quest_middle");
+				break;
+			case "32548-02.htm":
+				st.giveItems(57, 92500);
+				st.addExpAndSp(75480, 7570);
+				st.exitQuest(false);
+				st.playSound("ItemSound.quest_finish");
+				break;
+		}
+		return htmltext;
+	}
+	
+	public Q10267_JourneyToGracia(int questId, String name, String descr)
+	{
+		super(questId, name, descr);
+		
+		addStartNpc(ORVEN);
+		
+		addTalkId(ORVEN);
+		addTalkId(KEUCEREUS);
+		addTalkId(PAPIKU);
+		
+		questItemIds = new int[]
+		{
+			LETTER
+		};
+	}
+	
+	public static void main(String[] args)
+	{
+		new Q10267_JourneyToGracia(10267, qn, "Journey to Gracia");
+	}
+}

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10268_ToTheSeedOfInfinity/32530-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32530-01.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10268_ToTheSeedOfInfinity/32530-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32530-02.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10268_ToTheSeedOfInfinity/32548-00.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32548-00.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10268_ToTheSeedOfInfinity/32548-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32548-01.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10268_ToTheSeedOfInfinity/32548-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32548-02.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10268_ToTheSeedOfInfinity/32548-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32548-03.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10268_ToTheSeedOfInfinity/32548-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32548-04.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10268_ToTheSeedOfInfinity/32548-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32548-05.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10268_ToTheSeedOfInfinity/32548-06.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32548-06.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10268_ToTheSeedOfInfinity/32548-0a.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/32548-0a.htm


+ 133 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10268_ToTheSeedOfInfinity/Q10268_ToTheSeedOfInfinity.java

@@ -0,0 +1,133 @@
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package quests.Q10268_ToTheSeedOfInfinity;
+
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.quest.Quest;
+import com.l2jserver.gameserver.model.quest.QuestState;
+import com.l2jserver.gameserver.model.quest.State;
+
+/**
+ * To the Seed of Infinity (10268). Original jython script by Kerberos v1.0 on 2009/05/1
+ * @author nonom
+ */
+public class Q10268_ToTheSeedOfInfinity extends Quest
+{
+	private static final String qn = "10268_ToTheSeedOfInfinity";
+	
+	// NPCs
+	private static final int KEUCEREUS = 32548;
+	private static final int TEPIOS = 32603;
+	
+	// Items
+	private static final int INTRODUCTION = 13811;
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = getNoQuestMsg(player);
+		QuestState st = player.getQuestState(qn);
+		
+		int npcId = npc.getNpcId();
+		
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		switch (st.getState())
+		{
+			case State.COMPLETED:
+				if (npcId == TEPIOS)
+				{
+					htmltext = "32530-02.htm";
+				}
+				else
+				{
+					htmltext = "32548-0a.htm";
+				}
+				break;
+			case State.CREATED:
+				if (npcId == KEUCEREUS)
+				{
+					if (player.getLevel() < 75)
+					{
+						htmltext = "32548-00.htm";
+					}
+					else
+					{
+						htmltext = "32548-01.htm";
+					}
+				}
+				break;
+			case State.STARTED:
+				if (npcId == KEUCEREUS)
+				{
+					htmltext = "32548-06.htm";
+				}
+				else if (npcId == TEPIOS)
+				{
+					htmltext = "32530-01.htm";
+					st.giveItems(57, 16671);
+					st.addExpAndSp(100640, 10098);
+					st.exitQuest(false);
+					st.playSound("ItemSound.quest_finish");
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = event;
+		QuestState st = player.getQuestState(qn);
+		
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		if (event.equalsIgnoreCase("32548-05.htm"))
+		{
+			st.set("cond", "1");
+			st.setState(State.STARTED);
+			st.playSound("ItemSound.quest_accept");
+			st.giveItems(INTRODUCTION, 1);
+		}
+		return htmltext;
+	}
+	
+	public Q10268_ToTheSeedOfInfinity(int questId, String name, String descr)
+	{
+		super(questId, name, descr);
+		
+		addStartNpc(KEUCEREUS);
+		addTalkId(KEUCEREUS);
+		addTalkId(TEPIOS);
+		
+		questItemIds = new int[]
+		{
+			INTRODUCTION
+		};
+	}
+	
+	public static void main(String[] args)
+	{
+		new Q10268_ToTheSeedOfInfinity(10268, qn, "To the Seed of Infinity");
+	}
+}

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10269_ToTheSeedOfDestruction/32526-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32526-01.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10269_ToTheSeedOfDestruction/32526-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32526-02.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10269_ToTheSeedOfDestruction/32548-00.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32548-00.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10269_ToTheSeedOfDestruction/32548-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32548-01.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10269_ToTheSeedOfDestruction/32548-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32548-02.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10269_ToTheSeedOfDestruction/32548-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32548-03.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10269_ToTheSeedOfDestruction/32548-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32548-04.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10269_ToTheSeedOfDestruction/32548-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32548-05.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10269_ToTheSeedOfDestruction/32548-06.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32548-06.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10269_ToTheSeedOfDestruction/32548-0a.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/32548-0a.htm


+ 132 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10269_ToTheSeedOfDestruction/Q10269_ToTheSeedOfDestruction.java

@@ -0,0 +1,132 @@
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package quests.Q10269_ToTheSeedOfDestruction;
+
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.quest.Quest;
+import com.l2jserver.gameserver.model.quest.QuestState;
+import com.l2jserver.gameserver.model.quest.State;
+
+/**
+ * To the Seed of Destruction (10269). Original jython script by Kerberos v1.0 on 2009/05/1
+ * @author nonom
+ */
+public class Q10269_ToTheSeedOfDestruction extends Quest
+{
+	private static final String qn = "10269_ToTheSeedOfDestruction";
+	
+	// NPCs
+	private static final int KEUCEREUS = 32548;
+	private static final int ALLENOS = 32526;
+	
+	// Items
+	private static final int INTRODUCTION = 13812;
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = getNoQuestMsg(player);
+		QuestState st = player.getQuestState(qn);
+		int npcId = npc.getNpcId();
+		
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		switch (st.getState())
+		{
+			case State.COMPLETED:
+				if (npcId == ALLENOS)
+				{
+					htmltext = "32526-02.htm";
+				}
+				else
+				{
+					htmltext = "32548-0a.htm";
+				}
+				break;
+			case State.CREATED:
+				if (npcId == KEUCEREUS)
+				{
+					if (player.getLevel() < 75)
+					{
+						htmltext = "32548-00.htm";
+					}
+					else
+					{
+						htmltext = "32548-01.htm";
+					}
+				}
+				break;
+			case State.STARTED:
+				if (npcId == KEUCEREUS)
+				{
+					htmltext = "32548-06.htm";
+				}
+				else if (npcId == ALLENOS)
+				{
+					htmltext = "32526-01.htm";
+					st.giveItems(57, 29174);
+					st.addExpAndSp(176121, 7671);
+					st.exitQuest(false);
+					st.playSound("ItemSound.quest_finish");
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = event;
+		QuestState st = player.getQuestState(qn);
+		
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		if (event.equalsIgnoreCase("32548-05.htm"))
+		{
+			st.set("cond", "1");
+			st.setState(State.STARTED);
+			st.playSound("ItemSound.quest_accept");
+			st.giveItems(INTRODUCTION, 1);
+		}
+		return htmltext;
+	}
+	
+	public Q10269_ToTheSeedOfDestruction(int questId, String name, String descr)
+	{
+		super(questId, name, descr);
+		
+		addStartNpc(KEUCEREUS);
+		addTalkId(KEUCEREUS);
+		addTalkId(ALLENOS);
+		
+		questItemIds = new int[]
+		{
+			INTRODUCTION
+		};
+	}
+	
+	public static void main(String[] args)
+	{
+		new Q10269_ToTheSeedOfDestruction(10269, qn, "To the Seed of Destruction");
+	}
+}

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/32557-00.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-00.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/32557-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-01.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/32557-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-02.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/32557-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-03.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/32557-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-04.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/32557-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-05.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/32557-06.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-06.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/32557-07.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-07.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/32557-08.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-08.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/32557-09.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-09.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/32557-0a.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-0a.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/32557-10.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-10.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/32557-11.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-11.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/32557-12.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-12.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/32557-13.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-13.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10273_GoodDayToFly/32557-14.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/32557-14.htm


+ 193 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10273_GoodDayToFly/Q10273_GoodDayToFly.java

@@ -0,0 +1,193 @@
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package quests.Q10273_GoodDayToFly;
+
+import com.l2jserver.gameserver.datatables.SkillTable;
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.quest.Quest;
+import com.l2jserver.gameserver.model.quest.QuestState;
+import com.l2jserver.gameserver.model.quest.State;
+
+/**
+ * Good Day to Fly (10273). Original Jython script by Kerberos v1.0 on 2009/04/25
+ * @author nonom
+ */
+public class Q10273_GoodDayToFly extends Quest
+{
+	private static final String qn = "10273_GoodDayToFly";
+	
+	// NPCs
+	private static final int LEKON = 32557;
+	
+	private static final int[] MOBS =
+	{
+		22614, 22615
+	};
+	
+	// Items
+	private static final int MARK = 13856;
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = getNoQuestMsg(player);
+		QuestState st = player.getQuestState(qn);
+		
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		int transform = st.getInt("transform");
+		
+		switch (st.getState())
+		{
+			case State.COMPLETED:
+				htmltext = "32557-0a.htm";
+				break;
+			case State.CREATED:
+				if (player.getLevel() < 75)
+				{
+					htmltext = "32557-00.htm";
+				}
+				else
+				{
+					htmltext = "32557-01.htm";
+				}
+				break;
+			default:
+				if (st.getQuestItemsCount(MARK) >= 5)
+				{
+					htmltext = "32557-14.htm";
+					if (transform == 1)
+					{
+						st.giveItems(13553, 1);
+					}
+					else if (transform == 2)
+					{
+						st.giveItems(13554, 1);
+					}
+					st.giveItems(13857, 1);
+					st.addExpAndSp(25160, 2525);
+					st.exitQuest(false);
+					st.playSound("ItemSound.quest_finish");
+				}
+				else if (transform == 0)
+				{
+					htmltext = "32557-07.htm";
+				}
+				else
+				{
+					htmltext = "32557-11.htm";
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = event;
+		QuestState st = player.getQuestState(qn);
+		
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		switch (event)
+		{
+			case "32557-06.htm":
+				st.set("cond", "1");
+				st.setState(State.STARTED);
+				st.playSound("ItemSound.quest_accept");
+				break;
+			case "32557-09.htm":
+				st.set("transform", "1");
+				SkillTable.getInstance().getInfo(5982, 1).getEffects(player, player);
+				break;
+			case "32557-10.htm":
+				st.set("transform", "2");
+				SkillTable.getInstance().getInfo(5983, 1).getEffects(player, player);
+				break;
+			case "32557-13.htm":
+				if (st.getInt("transform") == 1)
+				{
+					SkillTable.getInstance().getInfo(5982, 1).getEffects(player, player);
+				}
+				else if (st.getInt("transform") == 2)
+				{
+					SkillTable.getInstance().getInfo(5983, 1).getEffects(player, player);
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onKill(L2Npc npc, L2PcInstance killer, boolean isPet)
+	{
+		QuestState st = killer.getQuestState(qn);
+		
+		if (st == null)
+		{
+			return null;
+		}
+		
+		if (!st.isStarted())
+		{
+			return null;
+		}
+		
+		final long count = st.getQuestItemsCount(MARK);
+		
+		if ((st.getInt("cond") == 1) && (count < 5))
+		{
+			st.giveItems(MARK, 1);
+			if (count == 4)
+			{
+				st.playSound("ItemSound.quest_middle");
+				st.set("cond", "2");
+			}
+			else
+			{
+				st.playSound("ItemSound.quest_itemget");
+			}
+		}
+		return null;
+	}
+	
+	public Q10273_GoodDayToFly(int questId, String name, String descr)
+	{
+		super(questId, name, descr);
+		addStartNpc(LEKON);
+		addTalkId(LEKON);
+		for (int i : MOBS)
+		{
+			addKillId(i);
+		}
+		questItemIds = new int[]
+		{
+			MARK
+		};
+	}
+	
+	public static void main(String[] args)
+	{
+		new Q10273_GoodDayToFly(10273, qn, "Good Day to Fly");
+	}
+}

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10274_CollectingInTheAir/32557-00.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/32557-00.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10274_CollectingInTheAir/32557-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/32557-01.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10274_CollectingInTheAir/32557-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/32557-02.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10274_CollectingInTheAir/32557-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/32557-03.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10274_CollectingInTheAir/32557-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/32557-04.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10274_CollectingInTheAir/32557-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/32557-05.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10274_CollectingInTheAir/32557-0a.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/32557-0a.htm


+ 196 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10274_CollectingInTheAir/Q10274_CollectingInTheAir.java

@@ -0,0 +1,196 @@
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package quests.Q10274_CollectingInTheAir;
+
+import com.l2jserver.gameserver.model.L2Object;
+import com.l2jserver.gameserver.model.L2Skill;
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.quest.Quest;
+import com.l2jserver.gameserver.model.quest.QuestState;
+import com.l2jserver.gameserver.model.quest.State;
+import com.l2jserver.gameserver.util.Util;
+
+/**
+ * Collecting in the Air (10274). Original Jython script by Kerberos v1.0 on 2009/04/26
+ * @author nonom
+ */
+public class Q10274_CollectingInTheAir extends Quest
+{
+	private static final String qn = "10274_CollectingInTheAir";
+	
+	// NPCs
+	private static final int LEKON = 32557;
+	
+	// Items
+	private static final int SCROLL = 13844;
+	private static final int RED = 13858;
+	private static final int BLUE = 13859;
+	private static final int GREEN = 13860;
+	
+	private static final int MOBS[] =
+	{
+		18684, 18685, 18686, 18687, 18688, 18689, 18690, 18691, 18692, 18693
+	};
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = getNoQuestMsg(player);
+		QuestState st = player.getQuestState(qn);
+		
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		switch (st.getState())
+		{
+			case State.COMPLETED:
+				htmltext = "32557-0a.htm";
+				break;
+			case State.CREATED:
+				QuestState qs = player.getQuestState("10273_GoodDayToFly");
+				if (qs != null)
+				{
+					if (qs.isCompleted() && (player.getLevel() >= 75))
+					{
+						htmltext = "32557-01.htm";
+					}
+					else
+					{
+						htmltext = "32557-00.htm";
+					}
+				}
+				else
+				{
+					htmltext = "32557-00.htm";
+				}
+				break;
+			case State.STARTED:
+				if ((st.getQuestItemsCount(RED) + st.getQuestItemsCount(BLUE) + st.getQuestItemsCount(GREEN)) >= 8)
+				{
+					htmltext = "32557-05.htm";
+					st.giveItems(13728, 1);
+					st.addExpAndSp(25160, 2525);
+					st.unset("transform");
+					st.exitQuest(false);
+					st.playSound("ItemSound.quest_finish");
+				}
+				else
+				{
+					htmltext = "32557-04.htm";
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = event;
+		QuestState st = player.getQuestState(qn);
+		
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		if (event.equalsIgnoreCase("32557-03.htm"))
+		{
+			st.set("cond", "1");
+			st.giveItems(SCROLL, 8);
+			st.setState(State.STARTED);
+			st.playSound("ItemSound.quest_accept");
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onSkillSee(L2Npc npc, L2PcInstance caster, L2Skill skill, L2Object[] targets, boolean isPet)
+	{
+		super.onSkillSee(npc, caster, skill, targets, isPet);
+		
+		QuestState st = caster.getQuestState(qn);
+		int npcId = npc.getNpcId();
+		
+		if (st == null)
+		{
+			return null;
+		}
+		
+		if (!st.isStarted())
+		{
+			return null;
+		}
+		
+		if (!Util.contains(MOBS, npcId))
+		{
+			return null;
+		}
+		
+		if (Util.contains(targets, npc) && (st.getInt("cond") == 1) && (skill.getId() == 2630))
+		{
+			st.playSound("ItemSound.quest_itemget");
+			
+			if ((npcId > 18684) && (npcId < 18687))
+			{
+				st.giveItems(RED, 1);
+			}
+			else if ((npcId > 18687) && (npcId < 18690))
+			{
+				st.giveItems(BLUE, 1);
+			}
+			else if ((npcId > 18690) && (npcId < 18693))
+			{
+				st.giveItems(GREEN, 1);
+			}
+			npc.doDie(caster);
+		}
+		return null;
+	}
+	
+	public Q10274_CollectingInTheAir(int questId, String name, String descr)
+	{
+		super(questId, name, descr);
+		
+		addStartNpc(LEKON);
+		addTalkId(LEKON);
+		
+		addSkillSeeId(18684);
+		addSkillSeeId(18685);
+		addSkillSeeId(18686);
+		addSkillSeeId(18687);
+		addSkillSeeId(18688);
+		addSkillSeeId(18689);
+		addSkillSeeId(18690);
+		addSkillSeeId(18691);
+		addSkillSeeId(18692);
+		
+		questItemIds = new int[]
+		{
+			SCROLL, 
+			RED, 
+			BLUE, 
+			GREEN
+		};
+	}
+	
+	public static void main(String[] args)
+	{
+		new Q10274_CollectingInTheAir(10274, qn, "Collecting in the Air");
+	}
+}

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/30839-00.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/30839-00.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/30839-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/30839-01.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/30839-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/30839-02.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/30839-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/30839-03.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/30839-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/30839-04.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/30839-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/30839-05.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/30839-0a.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/30839-0a.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/31307-00.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/31307-00.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/31307-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/31307-01.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/31307-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/31307-02.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/31307-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/31307-03.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/31307-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/31307-04.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/31307-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/31307-05.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/31307-0a.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/31307-0a.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/32325-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-01.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/32325-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-02.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/32325-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-03.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/32325-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-04.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/32325-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-05.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/32325-06.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-06.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/32325-07.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-07.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/32325-08.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-08.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/10275_ContainingTheAttributePower/32325-09.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10275_ContainingTheAttributePower/32325-09.htm


Неке датотеке нису приказане због велике количине промена