viewing paste Array Healer & Buffer | Athena

Posted on the | Last edited on
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
prontera,152,157,5      script  HealArray       99,{
 
percentheal 100,100;
if(!.buff) end;
for (set .@i, 0; .@i < getarraysize(.buffs$); set .@i, .@i + 1){
if(.@i % 2)
sc_start .buffs$[.@i-1],.time,atoi(.buffs$[.@i]);
}
 
OnInit:
set .buff,1; //0 = No buffs, 1 = Buffs
set .time,600000; //Duration for all the buffs
setarray .buffs$[0],SC_INCREASEAGI,10,SC_ANGELUS,10,SC_BLESSING,10; //Add your buffs in here, 1st skill id then skill level
 
}
Viewed 531 times, submitted by Streusel.