Jump to content

Recommended Posts

Posted

Hi i need edit this code.

I need to convert the code to instead give the class gave the appropriate skill.

                        if event == "1":
                                delexp = (st.player.getStat().getExp()-st.player.getStat().getExpForLevel(40))
        	        	st.player.getStat().addExp(-delexp)
		        st.getPlayer().setClassId(9)
			st.getPlayer().broadcastUserInfo()
			st.giveItems(NVIDIA_ID,1)
			        st.playSound("ItemSound.quest_fanfare_2")
  			        return "9.htm"
			st.setState(State.COMPLETED)

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...