viewing paste Unknown #16151 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
-   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;
}
Viewed 624 times, submitted by Guest.