// SVN - COSTUME ITEM EFFECT NOT WORKING
if( sc->count && sc->data[SC_ITEMSCRIPT] ) {
struct item_data *data = itemdb_exists(sc->data[SC_ITEMSCRIPT]->val1);
if( data && data->script )
run_script(data->script,0,sd->bl.id,0);
}
pc_bonus_script(sd);
// SVN - RAMOD COSTUME ITEM EFFECT WORKING
if( sc->count && sc->data[SC_ITEMSCRIPT] ) {
struct item_data *data = itemdb_exists(sc->data[SC_ITEMSCRIPT]->val1);
if( data && data->script )
run_script(data->script,0,sd->bl.id,0);
if( !calculating ) //Abort, run_script his function. [Skotlex]
return 1;
}
pc_bonus_script(sd);