- script FloatingRates -1,{
OnInit:
//Note: You can always set a standard exp. rate or set it as a rand
set $@drate, 6000;
// =========================
OnClock0000:
if( gettime(4)==0 ) { //Sunday
//Drops
setbattleflag("item_rate_common",$@drate);
setbattleflag("item_rate_heal",$@drate);
setbattleflag("item_rate_use",$@drate);
setbattleflag("item_rate_equip",$@drate);
// Reload the database
atcommand "@reloadmobdb";
announce "X2 increased EXP and DROP rates for this whole Sunday starts now! Enjoy!",bc_all,0xFF6060;
}
end;
}
- script FloatingAnn#1 -1,{
OnClock0000:
if(gettime(4) == 1) { // On Saturday at 11:59pm server time, Double EXP event will end
announce "X2 increased EXP and DROP rates has ended!",bc_all,0xFF6060;
//Drops
setbattleflag("item_rate_common", 3000 );
setbattleflag("item_rate_heal", 3000 );
setbattleflag("item_rate_use", 3000 );
setbattleflag("item_rate_equip", 3000 );
atcommand "@reloadmobdb";
}
end;
}