Jump to content
  • 0

Hello, help about editing the exp rate via script


Question

Posted (edited)

Hello there, ? . i want to change the experience for player who have fame 100+.  the fame is stored inside cha_reg_num e

 

example

if( fame >= 100){

//Baselevel exp + 10k

}

else if( fame >= 150){

//BaseLevel exp + 20k

}

thank you so much

Edited by G-RO

3 answers to this question

Recommended Posts

  • 0
Posted

 

20 hours ago, crazyarashi said:

You can use bonus2 bExpAddClass
 


if(fame >= 100){
	bonus2 bExpAddClass,Class_All,20; //= Increase EXP gain from killing mobs by 20%
}


 

Thank you sir crazyarashi for fast response. Do i need to put OnPCLoginEvent:?  or i just need to build like this
 

// btw i solve it :

 

 

sc_start SC_EXPBOOST,864000000,1000;
		sc_start SC_JEXPBOOST,864000000,1000;

 

  • 0
Posted (edited)

 

15 hours ago, crazyarashi said:

You can use bonus2 bExpAddClass
 


if(fame >= 100){
	bonus2 bExpAddClass,Class_All,20; //= Increase EXP gain from killing mobs by 20%
}


 

Thank you sir crazyarashi for fast response. 
 

-	script	expratesfloat	-1,{
OnPCLoginEvent:
OnPCJobLvUpEvent:
OnPCBaseLvUpEvent:
mes "Hi"; 
if( fame >= 1){
	bonus2 bExpAddClass,Class_All,100; //= Increase EXP gain from killing mobs by 20%
close;
}
}

Its not working , i check my exp still the same 

Edited by G-RO

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...