01-27-2014, 01:58 AM
Ah, I wrote this from memory, so it's wrong.
I though our existing enchantments container was called cEnchantment. So, to revise:
I though our existing enchantments container was called cEnchantment. So, to revise:
typedef std::vector<cEnchantments> cEnchantmentsArray; /** Fills a_Enchantments with the list of enchantments applicable to the specified item type */ static void cItem::GetApplicableEnchantmentsForType(short a_ItemType, cEnchantmentsArray & a_Enchantments);