Skip to content

Audience With The Land Dragon

Featured Replies

Hi,

I have issue in the quest -Audience with the Land Dragon.

It seems that I cannot find one little spawn isseu with Abyssal Jewel guardian amount. Quest it self  works fine to the end, exept the amount of those guardians in all Jewel cases.. in stead of 5-6-7 it spawns like 20!

How and where to reduce the amount of guardian spawn?

I browsed through quest .py, but my eye did not catch any line responsible for spawn amount.

The script under its def onAttack has its spawn commands:

 def onAttack (self, npc, player, damage, isPet):
   st = player.getQuestState(qn)
   if st :
     npcId = npc.getNpcId()
     maxHp = npc.getMaxHp()
     nowHp = npc.getCurrentHp()
     cond = st.getInt("cond")
     if npcId == ABYSS_JEWEL1 :
         if cond == 2 and st.getInt("moke")<>1:
             if nowHp < maxHp*0.8 and st.getInt("aspawned")<>1 :
                 for i in range(0,70,7):
                    st.addSpawn(GUARDIAN1,-81260,75639+i,-3300,180000)
                    st.addSpawn(GUARDIAN1,-81240,75639+i,-3300,180000)
                 st.set("aspawned","1")
                 self.startQuestTimer("Jewel1_Timer1",900000,npc,None)
             elif nowHp < maxHp*0.4 and st.getQuestItemsCount(FIRST_FRAGMENT_OF_ABYSS_JEWEL)==0 :
                 st.giveItems(FIRST_FRAGMENT_OF_ABYSS_JEWEL,1)
                 st.playSound("ItemSound.quest_itemget")
                 self.startQuestTimer("Jewel1_Timer2",240000,npc,None)
         if nowHp < maxHp*0.1 :
             npc.reduceCurrentHp(9999999,npc)
             self.cancelQuestTimer("Jewel1_Timer1",npc,None)
             self.cancelQuestTimer("Jewel1_Timer2",npc,None)
    if npcId == ABYSS_JEWEL2 :

Could not locate anywhere else anything/db/java side.. It should be stated in .py anyway right? May b I'm missing to see which digits are the ones...

Edited by zilbe333

 

                 for i in range(0,70,7):
                    st.addSpawn(GUARDIAN1,-81260,75639+i,-3300,180000)
                    st.addSpawn(GUARDIAN1,-81240,75639+i,-3300,180000)
  • Author

Isn't "i" the added coords range in spawn? Which number is for the amount?

Edited by zilbe333

It adds 7 to "i" and spawns 2 GUARDIAN1 on every iteration. All this up to 70.

Edited by Tessa

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.