diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-27 15:11:50 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-27 15:11:50 +0000 |
commit | fa995fd30d78c8f8fda192ca314bf8dd0efa8d31 (patch) | |
tree | 16d91ec8cc41b639f38fded6b245ff365778cb5b /src/map/itemdb.c | |
parent | faff32634e6f27c02cfb429851eafaed4c567a45 (diff) | |
download | hercules-fa995fd30d78c8f8fda192ca314bf8dd0efa8d31.tar.gz hercules-fa995fd30d78c8f8fda192ca314bf8dd0efa8d31.tar.bz2 hercules-fa995fd30d78c8f8fda192ca314bf8dd0efa8d31.tar.xz hercules-fa995fd30d78c8f8fda192ca314bf8dd0efa8d31.zip |
- Cleaned up item_misc.txt
- Fixed a bug which makes the group heal bonus be applied as many times as the item is in that group.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9578 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r-- | src/map/itemdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c index 63aaa0bcf..32a8f7d48 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -125,9 +125,9 @@ int itemdb_group_bonus(struct map_session_data *sd, int itemid) continue; for (j=0; j < itemgroup_db[i].qty; j++) { if (itemgroup_db[i].nameid[j] == itemid) - { + { bonus += sd->itemgrouphealrate[i]; - continue; + break; } } } |