summaryrefslogtreecommitdiffstats
path: root/src/Item.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-09-12 23:21:15 +0200
committerMattes D <github@xoft.cz>2016-09-12 23:21:15 +0200
commit2622a8622ae94500cfab59ec8599e9348891c8f8 (patch)
tree26d1f1adebabe0b8d7426bf8ac1eea6a6c0def14 /src/Item.h
parentAPIDump: Support structured parameter info. (diff)
downloadcuberite-2622a8622ae94500cfab59ec8599e9348891c8f8.tar
cuberite-2622a8622ae94500cfab59ec8599e9348891c8f8.tar.gz
cuberite-2622a8622ae94500cfab59ec8599e9348891c8f8.tar.bz2
cuberite-2622a8622ae94500cfab59ec8599e9348891c8f8.tar.lz
cuberite-2622a8622ae94500cfab59ec8599e9348891c8f8.tar.xz
cuberite-2622a8622ae94500cfab59ec8599e9348891c8f8.tar.zst
cuberite-2622a8622ae94500cfab59ec8599e9348891c8f8.zip
Diffstat (limited to '')
-rw-r--r--src/Item.h4
1 files changed, 2 insertions, 2 deletions
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