I think this needs a dedicated unit test. The way that the stage damage compute is currently set up, it is possible that we are exposed to null reference exceptions when we don't have a given attribute in the structure inventory. However, the compute flags (bools e.g. "ComputeOtherDamage") might guard against that.
I think this needs a dedicated unit test. The way that the stage damage compute is currently set up, it is possible that we are exposed to null reference exceptions when we don't have a given attribute in the structure inventory. However, the compute flags (bools e.g. "ComputeOtherDamage") might guard against that.