prontera,146,174,4 script Refiner 727,{
for( set .@y,0; .@y < @getarraysize(.array_RefineItems); set .@y,.@y + 1 ) {
if (@inventorylist_id[.@x] == getequipid(1)) {
successrefitem 1;
successrefitem 1;
successrefitem 1;
successrefitem 1;
successrefitem 1;
successrefitem 1;
successrefitem 1;
successrefitem 1;
successrefitem 1;
successrefitem 1;
}
if (@inventorylist_id[.@x] == getequipid(2)) {
successrefitem 2;
successrefitem 2;
successrefitem 2;
successrefitem 2;
successrefitem 2;
successrefitem 2;
successrefitem 2;
successrefitem 2;
successrefitem 2;
successrefitem 2;
}
}
end;
OnInit:
set .array_RefineItems[0],<item id 01>,<item id 02>,<item id 03>,...;
end;
}