|
@@ -7611,16 +7611,17 @@ ACMD_FUNC(iteminfo)
|
|
sprintf(atcmd_output, msg_txt(sd,1280), item_data->value_buy, item_data->value_sell, item_data->weight/10. ); // NPC Buy:%dz, Sell:%dz | Weight: %.1f
|
|
sprintf(atcmd_output, msg_txt(sd,1280), item_data->value_buy, item_data->value_sell, item_data->weight/10. ); // NPC Buy:%dz, Sell:%dz | Weight: %.1f
|
|
clif_displaymessage(fd, atcmd_output);
|
|
clif_displaymessage(fd, atcmd_output);
|
|
|
|
|
|
- if (item_data->maxchance == -1)
|
|
|
|
|
|
+ if (item_data->maxchance == -1) {
|
|
strcpy(atcmd_output, msg_txt(sd,1281)); // - Available in the shops only.
|
|
strcpy(atcmd_output, msg_txt(sd,1281)); // - Available in the shops only.
|
|
|
|
+ clif_displaymessage(fd, atcmd_output);
|
|
|
|
+ }
|
|
else if (!battle_config.atcommand_mobinfo_type) {
|
|
else if (!battle_config.atcommand_mobinfo_type) {
|
|
if (item_data->maxchance)
|
|
if (item_data->maxchance)
|
|
sprintf(atcmd_output, msg_txt(sd,1282), (float)item_data->maxchance / 100 ); // - Maximal monsters drop chance: %02.02f%%
|
|
sprintf(atcmd_output, msg_txt(sd,1282), (float)item_data->maxchance / 100 ); // - Maximal monsters drop chance: %02.02f%%
|
|
else
|
|
else
|
|
strcpy(atcmd_output, msg_txt(sd,1283)); // - Monsters don't drop this item.
|
|
strcpy(atcmd_output, msg_txt(sd,1283)); // - Monsters don't drop this item.
|
|
|
|
+ clif_displaymessage(fd, atcmd_output);
|
|
}
|
|
}
|
|
- clif_displaymessage(fd, atcmd_output);
|
|
|
|
-
|
|
|
|
}
|
|
}
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|