diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/itemdb.h | 2 | ||||
-rw-r--r-- | src/map/mob.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h index f508f5c1d..5ea22b190 100644 --- a/src/map/itemdb.h +++ b/src/map/itemdb.h @@ -104,6 +104,8 @@ enum item_itemid { ITEMID_FRAGMENT_OF_CRYSTAL = 7321, ITEMID_SKULL_ = 7420, ITEMID_TOKEN_OF_SIEGFRIED = 7621, + ITEMID_GOLD_KEY77 = 7782, + ITEMID_SILVER_KEY77 = 7783, ITEMID_TRAP_ALLOY = 7940, ITEMID_RED_POUCH_OF_SURPRISE = 12024, ITEMID_BLOODY_DEAD_BRANCH = 12103, diff --git a/src/map/mob.c b/src/map/mob.c index d3feb16b8..16b5417b9 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2412,7 +2412,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) { * so while we discuss, for a small period of time, the list is hardcoded (yes officially only those 2 use it, * thus why we're unsure on how to best place the setting) */ /* temp, will not be hardcoded for long thudu. */ - if( it->nameid == 7782 || it->nameid == 7783 ) /* for when not hardcoded: add a check on mvp bonus drop as well */ + if (it->nameid == ITEMID_GOLD_KEY77 || it->nameid == ITEMID_SILVER_KEY77) /* for when not hardcoded: add a check on mvp bonus drop as well */ clif->item_drop_announce(mvp_sd, it->nameid, md->name); // Announce first, or else ditem will be freed. [Lance] |