From 9684bc0bf1ced9df4c7885c767ba25142c075018 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 11 Aug 2006 01:25:40 +0000 Subject: - Fixed the item group bonus not working. - Removed unnecessary member id from the item group structure. - Fixed songs/dances always being considered overlapped with themselves. - Added some additional song/dance overlap code that should correctly change the effect of songs/dances when they overlap. - Added a check so that the status-change packet is always send to self when the inflicted char is a player disguised. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8242 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/itemdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/itemdb.c') diff --git a/src/map/itemdb.c b/src/map/itemdb.c index 76ce6f406..c47aaf90a 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -123,7 +123,7 @@ int itemdb_group_bonus(struct map_session_data *sd, int itemid) if (!sd->itemgrouphealrate[i]) continue; for (j=0; j < itemgroup_db[i].qty; j++) { - if (itemgroup_db[i].id[j] == itemid) + if (itemgroup_db[i].nameid[j] == itemid) { bonus += sd->itemgrouphealrate[i]; continue; -- cgit v1.2.3-70-g09d2