race features:
Lightning Resistance. You have resistance against lightning damage.
Necromantic Surge. Once per day, the golem may utilize the Necromantic forces used in its construction against its enemies. The flesh golem may, as an action, call forth a surge of necromantic power to disfigure and weaken an opponent. Make a ranged spell attack, using your CON modifier in place of a spellcasting modifier, and on a hit, the target takes 4d6 necrotic damage, but the golem loses 2d4 maximum health until their next rest.