Lineage II Classic Einhovant new project is looking for a skilled Java Developer to join our team!
If you're passionate about game development and eager to contribute to this project, we'd love to hear from you.
For more details, feel free to send us a message. Let’s create something amazing together!
DISCORD :
https://discord.com/users/325653525793210378
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
Question
rtcxool
Hi everyone!
I need some help on python script.
I did full quest and everything is working perfectly. Just one thing I'm trying to achieve and do not know that should I write in script.
I want that the quest reward to be Adena or Mask ( one or other, not both). Would be good even with a chance Adena 70% - Mask 30%.
According to script I can see that reward is both.
Can someone help me and provide a script that I need to achieve what I mentioned above please?
Thank you in advance guys
elif event == "30620-7.htm" and st.getQuestItemsCount(FRUIT_BASKET) == 1 :
st.takeItems(FRUIT_BASKET,1)
st.giveItems(ADENA,500000)
st.giveItems(MASK,1)
st.unset("cond")
st.playSound("ItemSound.quest_finish")
st.exitQuest(1)
return htmltext
3 answers to this question
Recommended Posts