Jump to content
  • 0

Item_db Script


Reducto

Question


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  231
  • Reputation:   9
  • Joined:  12/16/11
  • Last Seen:  

How to make this a item script...

30% EXP until level 80 and 20% until level 95

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   140
  • Joined:  01/04/12
  • Last Seen:  

This is currently set to work 30 minutes, if you want it any different send me a PM.

{ if (BaseLevel<=80) sc_start SC_EXPBOOST,1800000,30; if (BaseLevel<=95) sc_start SC_EXPBOOST,1800000,20; },{},{}

I forgot you might have added this to any equipment, I'd make it with a function. Add this as your item script:

{ callfunc "LevelingBonus"; },{},{}

And add the following function in your NPC folder:

function script LevelingBonus {
 if(BaseLevel<=80) {
  bonus2 bExpAddRace,0,30;
  bonus2 bExpAddRace,1,30;
  bonus2 bExpAddRace,2,30;
  bonus2 bExpAddRace,3,30;
  bonus2 bExpAddRace,4,30;
  bonus2 bExpAddRace,5,30;
  bonus2 bExpAddRace,6,30;
  bonus2 bExpAddRace,7,30;
  bonus2 bExpAddRace,8,30;
  bonus2 bExpAddRace,9,30;
 } if(BaseLevel<=95) {
  bonus2 bExpAddRace,0,20;
  bonus2 bExpAddRace,1,20;
  bonus2 bExpAddRace,2,20;
  bonus2 bExpAddRace,3,20;
  bonus2 bExpAddRace,4,20;
  bonus2 bExpAddRace,5,20;
  bonus2 bExpAddRace,6,20;
  bonus2 bExpAddRace,7,20;
  bonus2 bExpAddRace,8,20;
  bonus2 bExpAddRace,9,20;
 }

Edited by Flaid
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
Answer this question...

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