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

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock