Jump to content

Custom Item bonus Exp Script Help


Recommended Posts


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  10/29/14
  • Last Seen:  

PLEASE HELP ME! i'm thinking of a script that if i use the equipment it has

1% chance to boost the character EXP by 50% for 10 minutes if he killed a

level 75 or higher level monster

I tried several scripts but it failed.

 

Edited by KyleEzra
Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   2
  • Joined:  04/15/12
  • Last Seen:  

On ‎08‎/‎03‎/‎2018 at 11:16 AM, KyleEzra said:

PLEASE HELP ME! i'm thinking of a script that if i use the equipment it has

1% chance to boost the character EXP by 50% for 10 minutes if he killed a

level 75 or higher level monster

I tried several scripts but it failed.

 

As I reviewed the item_bonus.txt, this is impossible. Unless you have knowledge on programming to create your own item bonus.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

-	script	sample	-1,{
	
	OnNPCKillEvent:
		if (isequipped(<item_id>)) {
			if (rand(100) < 1) 
				if (getmonsterinfo(killedrid, MOB_LV) >= 75) {
					sc_start SC_EXPBOOST, (600 * 1000), 50;
				}
		}
		end;
}

 

  • Like 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   2
  • Joined:  04/15/12
  • Last Seen:  

13 hours ago, Emistry said:

-	script	sample	-1,{
	
	OnNPCKillEvent:
		if (isequipped(<item_id>)) {
			if (rand(100) < 1) 
				if (getmonsterinfo(killedrid, MOB_LV) >= 75) {
					sc_start SC_EXPBOOST, (600 * 1000), 50;
				}
		}
		end;
}

 

There you go OP. Emistry at your service :P /heh

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  10/29/14
  • Last Seen:  

On 3/31/2018 at 10:27 AM, Emistry said:
-	script	sample	-1,{
	
	OnNPCKillEvent:
		if (isequipped(<item_id>)) {
			if (rand(100) < 1) 
				if (getmonsterinfo(killedrid, MOB_LV) >= 75) {
					sc_start SC_EXPBOOST, (600 * 1000), 50;
				}
		}
		end;
}

 

this one is working perfectly, thanks Emistry

 

On 3/31/2018 at 11:52 PM, philfix.sai said:

There you go OP. Emistry at your service :P /heh

yup he saves the day again :D

Edited by KyleEzra
Link to comment
Share on other sites

  • 4 years later...

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.03
  • Content Count:  55
  • Reputation:   0
  • Joined:  05/30/22
  • Last Seen:  

On 3/30/2018 at 6:27 PM, Emistry said:
-	script	sample	-1,{
	
	OnNPCKillEvent:
		if (isequipped(<item_id>)) {
			if (rand(100) < 1) 
				if (getmonsterinfo(killedrid, MOB_LV) >= 75) {
					sc_start SC_EXPBOOST, (600 * 1000), 50;
				}
		}
		end;
}

 

Good day sir. How about if just for overally monster and no required lvl? and plus additional exp gain for about 10-20%? Thank you in advance.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

On 7/23/2022 at 6:36 AM, iFox said:

Good day sir. How about if just for overally monster and no required lvl? and plus additional exp gain for about 10-20%? Thank you in advance.

just change your server exp rate to 10~20% higher ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...