viewing paste Unknown #449 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
prontera,152,157,5  script  HealArray   99,{
 
    percentheal 100,100;
    if(!.buff) end;
    for (set .@i, 0; .@i < 32; set .@i, .@i + 1){
        if(.@i == .buffs[.@i]){
            sc_start (.buffs[.@i],.time,.level[.@i2]);
            set .@i2,.@i2+1;
        }
    }
    end;
 
OnInit:
    set .buff,1; //0 = No buffs, 1 = Buffs
    set .time,600000; //Duration for all the buffs
    setarray .buffs[0],30,31,32; //Add your buffs in here, 1st skill id then skill level
    setarray .level[0],10,10,10;
    end;
}
Viewed 774 times, submitted by Guest.