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 --- doc/item_bonus.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/item_bonus.txt') diff --git a/doc/item_bonus.txt b/doc/item_bonus.txt index b6a947646..db2843933 100644 --- a/doc/item_bonus.txt +++ b/doc/item_bonus.txt @@ -183,7 +183,9 @@ bonus4 bAutoSpellWhenHit,x,y,n,i; n/10% chance to cast skill x of level y when //---- 2/22 new card effects ---- -bonus2 bAddItemHealRate,n,x; Increases HP recovered by n type items by x% +bonus2 bAddItemHealRate,n,x; Increases HP recovered by n type items by x%, + you can also use direct item IDs instead + of group values. (Check db/item_group_db.txt) //---- 3/15 new card effects ---- -- cgit v1.2.3-60-g2f50