- script FloatingRates -1,{
OnHour00:
OnHour06:
OnHour12:
OnHour18:
set $@brate,20000;
set $@jrate,20000;
set $@nrate,10000;
set $@drate,10000;
//Base exp
initnpctimer;
setbattleflag("base_exp_rate",$@brate);
//Job exp
setbattleflag("job_exp_rate",$@jrate);
//Card Rate
setbattleflag("item_rate_common",$@drate);
setbattleflag("item_rate_heal",$@drate);
setbattleflag("item_rate_use",$@drate);
setbattleflag("item_rate_equip",$@drate);
setbattleflag("item_rate_card",$@nrate);
//we don't change card drops rate, because these values won't change them anyway
atcommand "@reloadmobdb";
announce "Server: Exp and Drop rate Increase Current Rate: 200.0x/200.0x/100.0x Enjoy",0;
close;
//=================================================================
OnTimer7200000: // after two hours it will reset back to default
//Base exp
setbattleflag("base_exp_rate",15000); // Change all these to your default timers
//Job exp
setbattleflag("job_exp_rate",15000);
//Card Drop Rate
setbattleflag("item_rate_card",5000);
setbattleflag("item_rate_common",5000);
setbattleflag("item_rate_heal",5000);
setbattleflag("item_rate_use",5000);
setbattleflag("item_rate_equip",5000);
atcommand "@reloadmobdb";
stopnpctimer;
announce "Server: Exp and Drop rate Event End",0;
end;
}
hi guys im have a problem with this script and giving me error when the events trigger
kindly please help me thanks a lot in advance