viewing paste Unknown #15013 | Text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14
if(@guardianrounds > 99) {
    if(@guardianrounds > nextbonus){
        set .@reward, .guardianreward[rand(0,(getarraysize(.guardianmobs)-1))];
        dispbottom "[Guardian Hunter] Congratulation! You get a Bonus Item: " + getitemname(.@reward);
        getitem(.@reward,1);
        if(@guardianrounds > 99 && @guardianrounds < 199){
            set nextbonus, .startbonus+100;
        }else{
            set nextbonus, nextbonus+100;
        }
    }
 
OnInit:
    set .startbonus, 100;
Viewed 584 times, submitted by Guest.