You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OPToxicGas class in OPToxic namespace currently uses StatDefOf.ToxicResistance to determine hediff.Severity multiplier. In 1.4 ToxicEnvironmentResistance StatDef was introduced for toxic gases and other toxic environmental damage. Seems more suitable to use that def instead.
ToxicResistance is related only to toxic fallout and seems obsolete for this use case.
In method DoOPToxicGas the severity multiplier could be calculated like this:
OPToxicGas class in OPToxic namespace currently uses StatDefOf.ToxicResistance to determine hediff.Severity multiplier. In 1.4 ToxicEnvironmentResistance StatDef was introduced for toxic gases and other toxic environmental damage. Seems more suitable to use that def instead.
ToxicResistance is related only to toxic fallout and seems obsolete for this use case.
In method DoOPToxicGas the severity multiplier could be calculated like this:
Instead of:
The text was updated successfully, but these errors were encountered: