orange 4 Posted February 21, 2014 hello people i am looking for a floating rates script to double my drop rate from 8x to 16x and increase my exp rates from 10x to 12x which starts at 00:00hrs Saturday and ends on 00:00hrs on Monday. can some one provide me this script? Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted February 22, 2014 (edited) - script kkjshkjsd -1,{OnSat0000:OnMon0000:OnInit: if ( gettime(4) == 6 || gettime(4) == 0 ) { announce "double drop rate started", bc_all; setbattleflag "base_exp_rate", 1600; setbattleflag "job_exp_rate", 1600; setbattleflag "item_rate_common", 1200; setbattleflag "item_rate_heal", 1200; setbattleflag "item_rate_use", 1200; setbattleflag "item_rate_equip", 1200; atcommand "@reloadmobdb"; } else if ( gettime(4) == 1 && gettime(3) == 0 && gettime(2) == 0 ) { announce "double drop rate ended", bc_all; setbattleflag "base_exp_rate", 800; setbattleflag "job_exp_rate", 800; setbattleflag "item_rate_common", 1000; setbattleflag "item_rate_heal", 1000; setbattleflag "item_rate_use", 1000; setbattleflag "item_rate_equip", 1000; atcommand "@reloadmobdb"; } end;} Edited February 22, 2014 by AnnieRuru Quote Share this post Link to post Share on other sites
0 Ehwaz 8 Posted February 21, 2014 https://github.com/HerculesWS/Hercules/blob/master/npc/custom/etc/floating_rates.txt Quote Share this post Link to post Share on other sites
0 orange 4 Posted February 21, 2014 set $@brate,rand(100,150); set $@jrate,rand(100,150); set $@drate,rand(100,150); this is where i have to set right?? can u tell me what is (100 ,150) for?? Quote Share this post Link to post Share on other sites
0 evilpuncker 504 Posted February 21, 2014 that it will be a random number between 100 and 150 ---------------------------------------*rand(<number>{,<number>});This function returns a number ...(if you specify one) ... randomly positioned between 0 and the number you specify -1.(if you specify two) ... randomly positioned between the two numbers you specify.rand(10) would result in 0,1,2,3,4,5,6,7,8 or 9rand(0,9) would result in 0,1,2,3,4,5,6,7,8 or 9rand(2,5) would result in 2,3,4 or 5--------------------------------------- Quote Share this post Link to post Share on other sites
hello people
i am looking for a floating rates script to double my drop rate from 8x to 16x and increase my exp rates from 10x to 12x which starts at 00:00hrs Saturday and ends on 00:00hrs on Monday.
can some one provide me this script?
Share this post
Link to post
Share on other sites