This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
zilbe333
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 zilbe3333 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now