- 0
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
Chakl22
i have this code right now:
if npcId == SENTRY1 : if npc.getInstanceId() in self.worlds: world = self.worlds[npc.getInstanceId()] for partyMember in party.getPartyMembers().toArray(): st1 = partyMember.getQuestState("Bloodshedparty") if not st1: st1 = self.newQuestState(partyMember) st1.playSound("ItemSound.quest_middle") partyMember.sendPacket(CreatureSay(npc.getObjectId(), 0, npc.getName(), "Beginners luck...")) st.giveItems(E_APIGA,1) elif npcId == SENTRY2 : if npc.getInstanceId() in self.worlds: world = self.worlds[npc.getInstanceId()] for partyMember in party.getPartyMembers().toArray(): st1 = partyMember.getQuestState("Bloodshedparty") if not st1: st1 = self.newQuestState(partyMember) st1.playSound("ItemSound.quest_middle") partyMember.sendPacket(CreatureSay(npc.getObjectId(), 0, npc.getName(), "I'll get you next time, Noob!!")) st.giveItems(E_APIGA,1) openDoor(DOOR1,npc.instanceId) openDoor(DOOR2,npc.instanceId)This is the first room of 3 in the instance so the players are ported there and fight vs 2 mobs.
Right now the players can kill Sentry 2 first and the Door will open, i wanna the players need kill the 2 MOBS and later of this the door get opened. thx.
2 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