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
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