summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2017-04-26 00:08:06 +0800
committerHaru <haru@dotalux.com>2017-04-29 00:47:10 +0200
commitb767de877460a7fb55c4c8a6bd8e21bcbe079b07 (patch)
tree8613b56845c68e62a2659ef11ff90b2953de5552 /src/map/mob.c
parent25e4f661211fc91a64a6e18d8ffd9d16581dfaf9 (diff)
downloadhercules-b767de877460a7fb55c4c8a6bd8e21bcbe079b07.tar.gz
hercules-b767de877460a7fb55c4c8a6bd8e21bcbe079b07.tar.bz2
hercules-b767de877460a7fb55c4c8a6bd8e21bcbe079b07.tar.xz
hercules-b767de877460a7fb55c4c8a6bd8e21bcbe079b07.zip
Removal of rare_drop_announce config.
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 4f08cf38e..52705cf4d 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2440,14 +2440,6 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) {
ditem = mob->setdropitem(md->db->dropitem[i].nameid, 1, it);
- //A Rare Drop Global Announce by Lupus
- if( mvp_sd && drop_rate <= battle_config.rare_drop_announce ) {
- char message[128];
- sprintf (message, msg_txt(541), mvp_sd->status.name, md->name, it->jname, (float)drop_rate/100);
- //MSG: "'%s' won %s's %s (chance: %0.02f%%)"
- intif->broadcast(message, (int)strlen(message)+1, BC_DEFAULT);
- }
-
// Official Drop Announce [Jedzkie]
if (mvp_sd != NULL) {
if ((id = itemdb->search(it->nameid)) != NULL && id->flag.drop_announce) {
@@ -2591,14 +2583,6 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) {
clif->mvp_item(mvp_sd, item.nameid);
log_mvp[0] = item.nameid;
- //A Rare MVP Drop Global Announce by Lupus
- if (rate <= battle_config.rare_drop_announce) {
- char message[128];
- sprintf(message, msg_txt(541), mvp_sd->status.name, md->name, data->jname, rate/100.);
- //MSG: "'%s' won %s's %s (chance: %0.02f%%)"
- intif->broadcast(message, (int)strlen(message)+1, BC_DEFAULT);
- }
-
if((temp = pc->additem(mvp_sd,&item,1,LOG_TYPE_PICKDROP_PLAYER)) != 0) {
clif->additem(mvp_sd,0,0,temp);
map->addflooritem(&md->bl, &item, 1, mvp_sd->bl.m, mvp_sd->bl.x, mvp_sd->bl.y, mvp_sd->status.char_id, (second_sd?second_sd->status.char_id : 0), (third_sd ? third_sd->status.char_id : 0), 1);