CurrentDamageSustained to 40% of ShieldStats.MaxEnergy. The bottom half is my attempt to add a passive regeneration. What I'm wanting to do is, if the shield is on and not at full health, regenerate ShieldStats.PassiveRegen amount of health every 2 seconds (the 2 seconds bit, as you can see, is not added yet.)) Admittedly, I am working with a very complex mod while not having any C# coding experience outside of this mod, so I've been able to do a couple small things before, but only with guidance from other people. Now that I'm in this server, I want to try asking in here.