cadz Posted March 24, 2013 Posted March 24, 2013 hi there can anyone help me to change these exp or to add a drop rate x2 or x3? - script triple_exp -1,{OnInit:// original Base/Job Exp and Drop Ratesset .bexp_rate, 1; //Put you rate...set .jexp_rate, 1; //put you rate...OnHour16:OnHour23:if( gettime(4) != 0 && gettime(4) != 6 || ( gettime(4) == 1 && gettime(3) >= 16 ) ) { // Monday to Fridayif( gettime(3) >= 23 || gettime(3) < 16 ) {announce "Double Event is finished!",bc_all,0xFF6060;callsub L_ratio, 1;}else {announce "Double Event Starting!", bc_all;callsub L_ratio, 2;}}OnHour12:if( !gettime(4) || ( gettime(4) == 6 && gettime(3) >= 12 ) || ( gettime(4) == 1 && gettime(3) < 12 ) ) {announce "Triple Event is Starting!",bc_all,0xFF6060;callsub L_ratio, 3;}else if( gettime(4) == 1 && gettime(3) == 12 ) {announce "Triple Event is finished!",bc_all,0xFF6060;callsub L_ratio, 1;}elsecallsub L_ratio, 1;end;L_ratio:setbattleflag "base_exp_rate", .bexp_rate * 100 * getarg( 0 );setbattleflag "job_exp_rate", .jexp_rate * 100 * getarg( 0 );set .ratio, getarg( 0 );atcommand "@reloadmobdb";end;OnMinute01:if( .ratio == 3 )announce "Weekend Triple EXP Event is currently in affect, Enjoy and have a great day!",bc_all,0xFF6060;end;} thanks a lot i got this script to loki =) Quote
Brynner Posted March 24, 2013 Posted March 24, 2013 (edited) on rAthena floating_rates.txt simply change this. set $@brate,rand(100,150);set $@jrate,rand(100,150);set $@drate,rand(100,150); Edited March 24, 2013 by Brynner Quote
Brynner Posted March 24, 2013 Posted March 24, 2013 rAthena already have floating rates. all you need to do is configure it correctly base on your server exp and increase it. Quote
cadz Posted March 24, 2013 Author Posted March 24, 2013 im searching on the drop rate i saw only exp.. so i should change or at set .jexp_rate, 1; //put you rate... to this? set .drop_rate,2, setbattleflag "base_exp_rate", .bexp_rate * 100 * getarg( 0 ); to this setbattleflag "drop_rate", .bexp_rate * 100 * getarg( 0 ); ? Quote
Brynner Posted March 24, 2013 Posted March 24, 2013 click mark solve to make it mark as a solve topic Quote
Question
cadz
hi there can anyone help me to change these exp or to add a drop rate x2 or x3?
- script triple_exp -1,{
OnInit:
// original Base/Job Exp and Drop Rates
set .bexp_rate, 1; //Put you rate...
set .jexp_rate, 1; //put you rate...
OnHour16:
OnHour23:
if( gettime(4) != 0 && gettime(4) != 6 || ( gettime(4) == 1 && gettime(3) >= 16 ) ) { // Monday to Friday
if( gettime(3) >= 23 || gettime(3) < 16 ) {
announce "Double Event is finished!",bc_all,0xFF6060;
callsub L_ratio, 1;
}
else {
announce "Double Event Starting!", bc_all;
callsub L_ratio, 2;
}
}
OnHour12:
if( !gettime(4) || ( gettime(4) == 6 && gettime(3) >= 12 ) || ( gettime(4) == 1 && gettime(3) < 12 ) ) {
announce "Triple Event is Starting!",bc_all,0xFF6060;
callsub L_ratio, 3;
}
else if( gettime(4) == 1 && gettime(3) == 12 ) {
announce "Triple Event is finished!",bc_all,0xFF6060;
callsub L_ratio, 1;
}
else
callsub L_ratio, 1;
end;
L_ratio:
setbattleflag "base_exp_rate", .bexp_rate * 100 * getarg( 0 );
setbattleflag "job_exp_rate", .jexp_rate * 100 * getarg( 0 );
set .ratio, getarg( 0 );
atcommand "@reloadmobdb";
end;
OnMinute01:
if( .ratio == 3 )
announce "Weekend Triple EXP Event is currently in affect, Enjoy and have a great day!",bc_all,0xFF6060;
end;
}
thanks a lot i got this script to loki =)
5 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.