blakbord Posted October 16, 2016 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 108 Reputation: 1 Joined: 02/10/12 Last Seen: March 10, 2024 Share Posted October 16, 2016 how to edit this script? I want the script to start on Friday x2 EXP and DROP rate for the whole day until Sunday.. thanks in advanced.. - script FloatingRates -1,{ OnInit: // original Base/Job Exp and Drop Rates set .bexp_rate, 100; //Put you rate... set .jexp_rate, 100; //put you rate... set .ir_common, 50; set .ir_common_boss, 1; set .ir_heal, 50; set .ir_heal_boss, 1; set .ir_use, 50; set .ir_use_boss, 1; set .ir_eq, 50; set .ir_eq_boss, 1; set .ir_card, 100; set .ir_card_boss, 1; OnHour12: if( !gettime(4) || ( gettime(4) == 6 && gettime(3) >= 12 ) || ( gettime(4) == 1 && gettime(3) < 12 ) ) { announce "Good News we're having x2 Drop Rate today until Sunday!",bc_all,0xFF6060; callsub L_ratio, 2; } else if( gettime(4) == 1 && gettime(3) == 12 ) { announce "x2 Drop Rate 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 ); setbattleflag "item_rate_common", .ir_common * 100 * getarg( 0 ); setbattleflag "item_rate_common_boss", .ir_common_boss * 100 * getarg( 0 ); setbattleflag "item_rate_heal", .ir_heal * 100 * getarg( 0 ); setbattleflag "item_rate_heal_boss", .ir_heal_boss * 100 * getarg( 0 ); setbattleflag "item_rate_use", .ir_use * 100 * getarg( 0 ); setbattleflag "item_rate_use_boss", .ir_use_boss * 100 * getarg( 0 ); setbattleflag "item_rate_equip", .ir_eq * 100 * getarg( 0 ); setbattleflag "item_rate_equip_boss", .ir_eq_boss * 100 * getarg( 0 ); setbattleflag "item_rate_card", .ir_card * 100 * getarg( 0 ); setbattleflag "item_rate_card_boss", .ir_card_boss * 100 * getarg( 0 ); atcommand "@reloadmobdb"; end; } Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted October 16, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: 2 hours ago Share Posted October 16, 2016 change OnHour12: if( !gettime(4) || ( gettime(4) == 6 && gettime(3) >= 12 ) || ( gettime(4) == 1 && gettime(3) < 12 ) ) { into this OnHour00: if( gettime(4) == 0 || gettime(4) == 5 || gettime(4) == 6 ) { 1 Quote Link to comment Share on other sites More sharing options...
0 blakbord Posted October 17, 2016 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 108 Reputation: 1 Joined: 02/10/12 Last Seen: March 10, 2024 Author Share Posted October 17, 2016 thank you sir Emistry.. Quote Link to comment Share on other sites More sharing options...
Question
blakbord
how to edit this script? I want the script to start on Friday x2 EXP and DROP rate for the whole day until Sunday.. thanks in advanced..
Link to comment
Share on other sites
2 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.