瀏覽代碼

JYTHON:
- Fix for #1768, thanks for reporting
- Updating quest 426 : Fishing Shots to include Kamael territory. Drop chances need to be varied.

Emperorc 17 年之前
父節點
當前提交
e3e3d5a6df

+ 1 - 1
datapack_development/data/scripts/quests/413_PathToShillienOracle/__init__.py

@@ -22,7 +22,7 @@ class Quest (JQuest) :
 
  def __init__(self,id,name,descr):
      JQuest.__init__(self,id,name,descr)
-     self.questItemIds = range(1262, 1271)
+     self.questItemIds = range(1262,1270)
 
  def onEvent (self,event,st) :
     htmltext = event

+ 5 - 4
datapack_development/data/scripts/quests/426_FishingShot/05.htm

@@ -1,10 +1,11 @@
 <html><body>Fishermen's Guild Member:<br>
 Which monster list would you like to see?<br>
 <a action="bypass -h Quest 426_FishingShot 10.htm">Talking Island</a><br>
-<a action="bypass -h Quest 426_FishingShot 11.htm">Vicinity around Elven Village</a><br>
-<a action="bypass -h Quest 426_FishingShot 12.htm">Vicinity around Dark Elven Village</a><br>
-<a action="bypass -h Quest 426_FishingShot 13.htm">Vicinity around Orc Village</a><br>
-<a action="bypass -h Quest 426_FishingShot 14.htm">Vicinity around Dwarven Village</a><br>
+<a action="bypass -h Quest 426_FishingShot 11.htm">Near the Elf Village</a><br>
+<a action="bypass -h Quest 426_FishingShot 12.htm">Near the Dark Elf Village</a><br>
+<a action="bypass -h Quest 426_FishingShot 13.htm">Near the Orc Village</a><br>
+<a action="bypass -h Quest 426_FishingShot 14.htm">Near the Dwarven Village</a><br>
+<a action="bypass -h Quest 426_FishingShot 23.htm">Near Kamael Village</a><br>
 <a action="bypass -h Quest 426_FishingShot 15.htm">Gludio Territory</a><br>
 <a action="bypass -h Quest 426_FishingShot 16.htm">Dion Territory</a><br>
 <a action="bypass -h Quest 426_FishingShot 17.htm">Giran Territory</a><br>

+ 10 - 1
datapack_development/data/scripts/quests/426_FishingShot/__init__.py

@@ -55,6 +55,11 @@ MOBSspecial = {
     20829:[115,6],20859:[890,8],21066:[5,5],21068:[565,11],21071:[400,12]
 }
 
+KAMAELmobs = { #Chances are custom for now, any retail reports are welcome.
+	22231:160,22233:160,22234:160,22235:160,22237:160,22238:160,22241:160,22244:160,22247:160,
+	22250:160,22252:160
+}
+
 class Quest (JQuest) :
 
  def __init__(self,id,name,descr):
@@ -96,6 +101,8 @@ class Quest (JQuest) :
    chance = 0
    if npcId in MOBS1.keys() :
        chance = MOBS1[npcId]
+   if npcId in KAMAELmobs.keys() :
+       chance = KAMAELmobs[npcId]
    elif npcId in MOBS2.keys() :
        chance = MOBS2[npcId]
        drop = 1
@@ -119,12 +126,14 @@ class Quest (JQuest) :
 
 QUEST       = Quest(426,qn,"Quest for Fishing Shot")
 
-for npc in range(31562,31580)+[31616,31696,31697]:
+for npc in range(31562,31580)+[31616,31696,31697,32348,31989] :
     QUEST.addStartNpc(npc)
     QUEST.addTalkId(npc)
 
 for mob in MOBS1.keys():
     QUEST.addKillId(mob)
+for mob in KAMAELmobs.keys():
+    QUEST.addKillId(mob)
 for mob in MOBS2.keys():
     QUEST.addKillId(mob)
 for mob in MOBS3.keys():