From 2622a8622ae94500cfab59ec8599e9348891c8f8 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Mon, 12 Sep 2016 23:21:15 +0200 Subject: APIDump: Reformatted the docs to include type information. Also fixed a bit of documentation in the CPP source. --- src/Item.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Item.h') diff --git a/src/Item.h b/src/Item.h index fb52c75fa..8d0e9d9a0 100644 --- a/src/Item.h +++ b/src/Item.h @@ -197,8 +197,8 @@ public: /** Returns the enchantability of the item. When the item hasn't a enchantability, it will returns 0 */ int GetEnchantability(); // tolua_export - /** Enchants the item using the specified number of XP levels. - Returns true if item enchanted, false if not. */ + /** Randomly enchants the item using the specified number of XP levels. + Returns true if the item was enchanted, false if not (not enchantable / too many enchantments already). */ bool EnchantByXPLevels(int a_NumXPLevels); // tolua_export // tolua_begin -- cgit v1.2.3