Skip to content

[HELP] A Question About JScript.

Featured Replies

Well , i Wanted To Ask U about how to make the Jscript's code , giving me the skill's effect.. and not casting it..

 

Cause i Dunno How..

 

Check It :

 

The Code Is This :

 


		#Might
		if event == "10":
			st.takeItems(ADENA_ID,0)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(4345,3),False,False)
			st.getPlayer().restoreHPMP()
			return "5.htm"		
			st.setState(COMPLETED)

 

And i Want To Make It Just Giving The Effect , And Not Making Me Casting It .. :

 

Any Suggestions / Help?

 

 

*NOTE :

 

It's For IL.

 

 

Thanks In Advance , And Im Looking Forward For Help.

			#Might
		if event == "10":
			st.takeItems(ADENA_ID,2000)
			SkillTable.getInstance().getInfo(4345,3).getEffects(st.getPlayer(),st.getPlayer())
			return "5.htm"		
			st.setState(State.COMPLETED)

 

is for hellbound + and not for c6 :)

  • Author

Not Working :S

 

I Tried It But Its Not Working.

 

Thx Anyway. Other Suggestions??

try it this way:

#Might

if event == "10":

st.takeItems(ADENA_ID,0)

st.getPlayer().getEffects(SkillTable.getInstance().getInfo(4345,3),False,False)

st.getPlayer().restoreHPMP()

return "5.htm"

st.setState(COMPLETED)

 

  • Author

I Tried It But It's Not Working..

I Mean , It Makes The Player Cast It.

 

Not Giving The Effect

 

Thx For The Help..

 

Anything Else??!?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.