Heal only in Woe

getinventorylist;
while( .@i < @inventorylist_count ){
if ( !@inventorylist_identify[.@i] ){
delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0;
getitem @inventorylist_id[.@i],1;
}
.@i++;
}


bad code

actually there are some items that are drop with cards, or item options (example crimson weapons)
https://rathena.org/board/topic/118245-error-buildin_delitem2-failed-to-delete-1-items/?do=findComment&comment=357700

we either need a getitem3/delitem3 script command or identifyall script command ... we missing both of them right now

and for your answer
just add if ( agitcheck() || agitcheck2() ) ... something like that

 
Back
Top