Changed the IsEnchantable() comment again.

This commit is contained in:
Howaner
2014-09-02 20:17:31 +02:00
parent e431bb4e63
commit c19b2befa8
2 changed files with 3 additions and 3 deletions
+2 -1
View File
@@ -184,7 +184,8 @@ public:
void FromJson(const Json::Value & a_Value);
/** Returns true if the specified item type is enchantable.
If WithBook is true, the function checks the enchantments with a book too. */
If WithBook is true, the function is used in the anvil inventory with book enchantments.
So it checks the "only book enchantments" too. Example: You can only enchant a hoe with a book. */
static bool IsEnchantable(short a_ItemType, bool a_WithBook = false); // tolua_export
/** Returns the enchantability of the item. When the item hasn't a enchantability, it will returns 0 */