is check for pvps , but i dont know how to add the second,
i m unskiled for java and i m searching for hours to find solution but i cant ...
as u see in code have check for pvp count,
>=20
i need also 1 check about time to able this quest to be done every 24hours
can u some write me check for time & pvp ?
def onTalk (self,npc,player):
htmltext = "<html><body>You are either not carrying out your quest or don't meet the criteria.</body></html>"
st = player.getQuestState(qn)
if not st : return htmltext
npcId = npc.getNpcId()
id = st.getState()
Pvp = player.getPvpKills()
cond = st.getInt("cond")
if id == CREATED :
if Pvp>=20 :
htmltext = "30078-01.htm"
else:
htmltext = "<html><body>This quest can only be taken by characters PvP count is more than 200 and higher!</body></html>"
st.exitQuest(1)
@Ave
Hey bro, I really appreciate your work and I love what you’re doing — no doubt about your talent.
But please, try to respect the deadline 🙏
You mentioned it would take 2 days, and now it’s been almost 10 days.
I can’t wait forever just for a logo 💀
Question
GsL
Hello there!!
I try to edit one quest and i need 2 check ,
1 check is working fine
is check for pvps , but i dont know how to add the second,
i m unskiled for java and i m searching for hours to find solution but i cant ...
as u see in code have check for pvp count,
i need also 1 check about time to able this quest to be done every 24hours
can u some write me check for time & pvp ?
26 answers to this question
Recommended Posts