From 432cfb3f42c628834d9b6cc5653c78ffbfda037c Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 4 Aug 2006 20:04:16 +0000 Subject: - Changed function itemdb_group to itemdb_group_bonus, it now calculates the total group bonuses of a player for a given item. - Changed itemhealrate to itemgrouphealrate, added a structure itemhealrate to allow storing item-healing bonuses per item. - Modified bAddItemHealRate so it can receive both item-id and item-group values (since the first item-id is +500, there's no risk of mixing them up). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8136 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/itemdb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/itemdb.h') diff --git a/src/map/itemdb.h b/src/map/itemdb.h index d8255ef5a..fc4f1188b 100644 --- a/src/map/itemdb.h +++ b/src/map/itemdb.h @@ -104,7 +104,7 @@ struct item_data* itemdb_exists(int nameid); #define itemdb_available(n) (itemdb_exists(n) && itemdb_search(n)->flag.available) #define itemdb_viewid(n) (itemdb_search(n)->view_id) #define itemdb_autoequip(n) (itemdb_search(n)->flag.autoequip) -int itemdb_group(int nameid); +int itemdb_group_bonus(struct map_session_data *sd, int itemid); int itemdb_searchrandomid(int flags); -- cgit v1.2.3-60-g2f50