Armor Hardeners are broken as well.  Percentages are wrong and the "Passive" resists aren't being portrayed.

Resurrecting this thread to suggest some changes.  I noticed some armor calculation errors when outfitting that was really throwing some numbers off for HP and EHP.  I have made a change to a variable calculation and I'll be sending a pull request for the code.  I have also forked the project to perhaps make some changes, so if I do anything people like, hopefully it can be pulled back into master.

The armor was calculating via the "temp" variable correctly for the robot, but it wasn't adding extensionBonus (mechanics and complex mechanics) to the armor plates themselves.  This made T4 plates only worth 1575 regardless of your level of extensions.