Onairda Posted September 22, 2019 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 180 Reputation: 9 Joined: 12/30/16 Last Seen: Sunday at 12:30 PM Share 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 Link to comment Share on other sites More sharing options...
0 crazyarashi Posted September 22, 2019 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 776 Reputation: 239 Joined: 02/11/17 Last Seen: Thursday at 11:25 AM Share 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 Link to comment Share on other sites More sharing options...
0 Onairda Posted September 22, 2019 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 180 Reputation: 9 Joined: 12/30/16 Last Seen: Sunday at 12:30 PM Author Share 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 Link to comment Share on other sites More sharing options...
0 Onairda Posted September 22, 2019 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 180 Reputation: 9 Joined: 12/30/16 Last Seen: Sunday at 12:30 PM Author Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.