|
@@ -19451,7 +19451,9 @@ bool skill_produce_mix(struct map_session_data *sd, uint16 skill_id, unsigned sh
|
|
for (l = 0; l < total_qty; l += tmp_item.amount) {
|
|
for (l = 0; l < total_qty; l += tmp_item.amount) {
|
|
if ((flag = pc_additem(sd,&tmp_item,tmp_item.amount,LOG_TYPE_PRODUCE))) {
|
|
if ((flag = pc_additem(sd,&tmp_item,tmp_item.amount,LOG_TYPE_PRODUCE))) {
|
|
clif_additem(sd,0,0,flag);
|
|
clif_additem(sd,0,0,flag);
|
|
- map_addflooritem(&tmp_item,tmp_item.amount,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0,0);
|
|
|
|
|
|
+ if( battle_config.skill_drop_items_full ){
|
|
|
|
+ map_addflooritem(&tmp_item,tmp_item.amount,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0,0);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
k++;
|
|
k++;
|
|
@@ -19469,7 +19471,9 @@ bool skill_produce_mix(struct map_session_data *sd, uint16 skill_id, unsigned sh
|
|
} else if (tmp_item.amount) { //Success
|
|
} else if (tmp_item.amount) { //Success
|
|
if ((flag = pc_additem(sd,&tmp_item,tmp_item.amount,LOG_TYPE_PRODUCE))) {
|
|
if ((flag = pc_additem(sd,&tmp_item,tmp_item.amount,LOG_TYPE_PRODUCE))) {
|
|
clif_additem(sd,0,0,flag);
|
|
clif_additem(sd,0,0,flag);
|
|
- map_addflooritem(&tmp_item,tmp_item.amount,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0,0);
|
|
|
|
|
|
+ if( battle_config.skill_drop_items_full ){
|
|
|
|
+ map_addflooritem(&tmp_item,tmp_item.amount,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0,0);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
if (skill_id == GN_MIX_COOKING || skill_id == GN_MAKEBOMB || skill_id == GN_S_PHARMACY) {
|
|
if (skill_id == GN_MIX_COOKING || skill_id == GN_MAKEBOMB || skill_id == GN_S_PHARMACY) {
|
|
clif_produceeffect(sd,6,nameid);
|
|
clif_produceeffect(sd,6,nameid);
|
|
@@ -19526,7 +19530,9 @@ bool skill_produce_mix(struct map_session_data *sd, uint16 skill_id, unsigned sh
|
|
tmp_item.identify = 1;
|
|
tmp_item.identify = 1;
|
|
if ((flag = pc_additem(sd,&tmp_item,tmp_item.amount,LOG_TYPE_PRODUCE))) {
|
|
if ((flag = pc_additem(sd,&tmp_item,tmp_item.amount,LOG_TYPE_PRODUCE))) {
|
|
clif_additem(sd,0,0,flag);
|
|
clif_additem(sd,0,0,flag);
|
|
- map_addflooritem(&tmp_item,tmp_item.amount,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0,0);
|
|
|
|
|
|
+ if( battle_config.skill_drop_items_full ){
|
|
|
|
+ map_addflooritem(&tmp_item,tmp_item.amount,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0,0);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
clif_produceeffect(sd,7,nameid);
|
|
clif_produceeffect(sd,7,nameid);
|
|
clif_misceffect(&sd->bl,6);
|
|
clif_misceffect(&sd->bl,6);
|