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.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hood-services
https://campsite.bio/utchihaamkt
Question
Chakl22
i have this code right now:
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.