Onairda Posted September 22, 2019 Posted September 22, 2019 (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 September 22, 2019 by G-RO Quote
0 Onairda Posted September 22, 2019 Author Posted September 22, 2019 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; Quote
0 crazyarashi Posted September 22, 2019 Posted September 22, 2019 You can use bonus2 bExpAddClass if(fame >= 100){ bonus2 bExpAddClass,Class_All,20; //= Increase EXP gain from killing mobs by 20% } Quote
0 Onairda Posted September 22, 2019 Author Posted September 22, 2019 (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 September 22, 2019 by G-RO Quote
Question
Onairda
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
}
Edited by G-ROthank you so much
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.