viewing paste Unknown #15331 | Text

Posted on the
1 2 3 4 5 6 7 8 9
function    script  GMaster1    {
    setarray .Items[0], 2504,1,0,2406,1,0,2404,1,0,2313,1,0,2322,1,0; // <item id>,<amount>,<refine>
    set .size, getarraysize(.Items);
    
    if ( (MaxWeight/2) <= Weight ) end;
    for ( set .@i, 0; .@i < .size; set .@i, .@i + 3 ) 
        getitembound2 .Items[.@i],.Items[.@i+1],1,.Items[.@i+2],0,0,0,0,0,1;
    end;
}
Viewed 602 times, submitted by Guest.