Item Property Value

Hello,
I'm trying to build a "Corruption Vat" that reverses the value of "ITEM_PROPERTY_ENHANCEMENT_BONUS_VS_ALIGNMENT_GROUP"
I cannot, for the life of me, figure out how to identify the "alignment group" and the "enchantment bonus" attributed to this particular item property. Does anyone have a script that is able to do this? I know it has something to do with SubType value... but I can't dig it up.
Thanks in advance! Will plus up for help!
I'm trying to build a "Corruption Vat" that reverses the value of "ITEM_PROPERTY_ENHANCEMENT_BONUS_VS_ALIGNMENT_GROUP"
I cannot, for the life of me, figure out how to identify the "alignment group" and the "enchantment bonus" attributed to this particular item property. Does anyone have a script that is able to do this? I know it has something to do with SubType value... but I can't dig it up.
Thanks in advance! Will plus up for help!

0
Comments
How to get the enchantment bonus number?
Thank you for this much!
how about IPGetWeaponEnhancementBonus
eg
Assuming you only have one "ITEM_PROPERTY_ENHANCEMENT_BONUS_VS_ALIGNMENT_GROUP" property per item, that should do. Not sure how to differentiate between them if you have multiple.