From f45d7d9769782b5e9a11348c4ef261a2da51091a Mon Sep 17 00:00:00 2001 From: TheJumper Date: Sat, 22 Feb 2014 01:42:49 +0100 Subject: Monster.h: Added doxy-comments for drop methods --- src/Mobs/Monster.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h index 909504213..670e899c5 100644 --- a/src/Mobs/Monster.h +++ b/src/Mobs/Monster.h @@ -223,8 +223,11 @@ protected: void HandleDaylightBurning(cChunk & a_Chunk); bool m_BurnsInDaylight; + /** Adds a random number of a_Item between a_Min and a_Max to itemdrops a_Drops*/ void AddRandomDropItem(cItems & a_Drops, unsigned int a_Min, unsigned int a_Max, short a_Item, short a_ItemHealth = 0); + /** Adds a item a_Item with the chance of a_Chance to itemdrops a_Drops*/ void AddRandomUncommonDropItem(cItems & a_Drops, float a_Chance, short a_Item, short a_ItemHealth = 0); + /** Adds one rare item out of the list of rare items a_Items modified by the looting level a_LootingLevel(I-III or custom) to the itemdrop a_Drops*/ void AddRandomRareDropItem(cItems & a_Drops, cItems & a_Items, short a_LootingLevel); -- cgit v1.2.3