Setting Armor Values via C#

Users who are viewing this thread

Ravarion

Recruit
I was thinking of making a mod that would tweak armor values by a set amount. Looking at ArmorComponent.ArmArmor, I think it's the value that the armor gives to the wearer's arm, however, it looks like armor values are protected.

Anyone know if I'm looking in the right spot or know of a workaround?
 
Any way you can call the constructor? If not, you might want to inherit from the class and see what you can access by that. (Haven't looked at modding yet, but I'm very interested)
 
Upvote 0
The constructor only takes an ItemComponent for it's constructor, so it doesn't look like I can pass armor values in that way.
 
Upvote 0
Back
Top Bottom