Search the Community
Showing results for tags 'floating rates'.
Found 1 result
-
Hi, I just started using Hercules and understand how it works. currently, I am trying to modify the included floating_rates script. - script FloatingRates FAKE_NPC,{ OnInit: //add any other HOURS OnHour03: OnHour05: OnHour12: OnHour18: //------------------- set $@brate,rand(100,150); set $@jrate,rand(100,150); set $@drate,rand(100,150); //Base exp setbattleflag("base_exp_rate",$@brate); //Job exp setbattleflag("job_exp_rate",$@jrate); //Drops setbattleflag("item_rate_common",$@drate); setbattleflag("item_rate_heal",$@drate); setbattleflag("item_rate_use",$@drate); setbattleflag("item_rate_equip",$@drate); //we don't change card drops rate, because these values won't change them anyway atcommand "@reloadmobdb"; announce "Current Rune-Midgard rates are: 1."+($@brate-100)+"x 1."+($@jrate-100)+"x 1."+($@drate-100)+"x",bc_all,0xFF6060; end; } So basically, I just want it to activate everyday, let's say a certain time during the day: example: - start at 1AM - ends at 3AM then start again at 9AM ends at 11AM, however between those times it will return to the server experience rate example: server rate is 5x/5x/3x (base/job/drops) then during floating rate hours it will be go a total of 10x/10x/4x in addition, once it starts it announce, once it ends it also announce. I tried looking up to different floating_rates request, however I am unable to understand much. I really appreciate if anyone can enlighten me on this.