Jovz Posted March 28, 2021 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 8 Reputation: 0 Joined: 02/23/21 Last Seen: May 5, 2023 Share Posted March 28, 2021 (edited) anyone know how to edit the SRC_EXPBOOST to accept negative values? My script. - script rates -1,{ OnPCLoginEvent: OnPCBaseLvUpEvent: if(BaseLevel >= 255 && BaseLevel <= 264) { announce "Good job for reaching level "+ BaseLevel +". We are now decreasing the EXP Rates for this character. GLHF!",bc_self, 0xF83D6A, FW_BOLD; sc_start SC_EXPBOOST,864000000,-990; sc_start SC_JEXPBOOST,864000000,-990; //sc_end SC_EXPBOOST; //sc_end SC_JEXPBOOST; } if(BaseLevel == 265) { sc_end SC_EXPBOOST; sc_end SC_JEXPBOOST; } end; } I updated the status.cpp - case SC_EXPBOOST: case SC_JEXPBOOST: val1 = val1; break; it didn't work it still uses the normal base exp rate /job exp rate. Edited March 28, 2021 by Jovz Quote Link to comment Share on other sites More sharing options...
0 Haruka Mayumi Posted March 29, 2021 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 477 Reputation: 269 Joined: 06/13/17 Last Seen: 4 hours ago Share Posted March 29, 2021 I recommend that you use `bonus_script` for the easiest one which doesn't require source modification.. Quote Link to comment Share on other sites More sharing options...
0 Jovz Posted March 29, 2021 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 8 Reputation: 0 Joined: 02/23/21 Last Seen: May 5, 2023 Author Share Posted March 29, 2021 1 minute ago, Haruka Mayumi said: I recommend that you use `bonus_script` for the easiest one which doesn't require source modification.. Can I use SC_EXPBOOST? Quote Link to comment Share on other sites More sharing options...
0 Haruka Mayumi Posted March 29, 2021 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 477 Reputation: 269 Joined: 06/13/17 Last Seen: 4 hours ago Share Posted March 29, 2021 you don't need to use SC_EXPBOOST. better use bExpAddClass,CLASS_ALL,-90; Quote Link to comment Share on other sites More sharing options...
0 Jovz Posted March 29, 2021 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 8 Reputation: 0 Joined: 02/23/21 Last Seen: May 5, 2023 Author Share Posted March 29, 2021 I hope this will work. - script rates -1,{ OnPCLoginEvent: OnPCBaseLvUpEvent: if(BaseLevel >= 255 && BaseLevel <= 264) { announce "Good job for reaching level "+ BaseLevel +". We are now decreasing the EXP Rates for this character. GLHF!",bc_self, 0xF83D6A, FW_BOLD; //sc_start SC_EXPBOOST,864000000,-990; //sc_start SC_JEXPBOOST,864000000,-990; bonus_script "{ bonus2 bExpAddClass,CLASS_ALL,-90; }",864000000; } if(BaseLevel == 265) { // no need to reset? } end; } it didn't work, it now gives a lot of exp... Quote Link to comment Share on other sites More sharing options...
Question
Jovz
anyone know how to edit the SRC_EXPBOOST to accept negative values?
My script.
I updated the status.cpp - case SC_EXPBOOST: case SC_JEXPBOOST: val1 = val1; break;
it didn't work it still uses the normal base exp rate /job exp rate.
Link to comment
Share on other sites
4 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.