Warning fix
Make applyEnchantment return the record ID instead of modifying Ptr