def onTalk (self,npc,player):#if player is in Flag/Karma/combat/.
htmltext = "<html><head><body>Vc naun tem requisitos para usar NPC</body></html>"
st = player.getQuestState(qn)
if not st : return htmltext
npcId = npc.getNpcId()
if st.player.getPvpFlag() > 0 :#Player Flag
htmltext = "<html><head><body>You can't buff while you are <font color=\"800080\">flagged!</font><br>Wait some time and try again!</body></html>"
st.exitQuest(1)
elif st.player.getKarma() > 0 :#Player have Karma
st.exitQuest(1)
htmltext = "<html><head><body>You have too much <font color=\"FF0000\">karma!</font><br>Come back,<br>when you don't have any karma!</body></html>"
elif st.player.isInCombat() :#Player in on combat
st.exitQuest(1)
htmltext = "<html><head><body>You can't buff while you are attacking!<br>Stop your fight and try again!</body></html>"
else:
st.setState(State.STARTED)
return InitialHtml
return htmltext
ginete na ftiaksw mia GK pou na exei afto to script? :d
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.
OPENING ON MARCH 21 AT 18:00 GMT+1
Airin Server — a journey from the classic Chronicle 1 to the epic Chronicle 5, followed by a world merge with the Teon server.
We are creating a unique gaming experience where each era unfolds gradually. From your first steps to battles with epic bosses, from the importance of every equipment grade to the significance of every location.
Progressive Chronicles — your journey through history.
Limits:
1 client per person
Rates:
Epic drop chance: x1
Quest drop chance: x1
Raid drop chance: x2
Adena (dynamic): x3~ (x1 for high-level)
EXP\SP: x2-x3
Drop chance: x2-x3
Spoil chance: x2-x3
Quests A-grade: x1-x3
Quests S-grade: x1-x2
Welcome to Elmorelab.com!
Question
~SilveR~
loipon eida stin buffer m afto edw ton code:
ginete na ftiaksw mia GK pou na exei afto to script? :d
an nai pws?
1 answer 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.