- 0
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
AtheIstan
Hi guys, I have frozen pack and I was wondering why restore CP/MP/HP is not working. Is it python problem or what? I need help.
This is the code I have:
#Restore CP
if event == "112":
st.takeItems(ADENA_ID,0)
st.getPlayer().restoreCP()
return "1.htm"
st.setState(State.COMPLETED)
#Restore HP
if event == "113":
st.takeItems(ADENA_ID,0)
st.getPlayer().restoreHP()
return "1.htm"
st.setState(State.COMPLETED)
#Restore MP
if event == "114":
st.takeItems(ADENA_ID,0)
st.getPlayer().restoreMP()
return "1.htm"
st.setState(State.COMPLETED)
#Restore CP/HP/MP
if event == "115":
st.takeItems(ADENA_ID,0)
st.getPlayer().restoreCP()
st.getPlayer().restoreHP()
st.getPlayer().restoreMP()
return "1.htm"
st.setState(State.COMPLETED)
Help me please. Thanks
5 answers to this question
Recommended Posts