Fixed DamageHealth and AbsorbHealth effects applying

pull/1359/head
Andrei Kortunov 8 years ago
parent eac2e52841
commit b7cfb1aaf4

@ -1131,6 +1131,9 @@ namespace MWMechanics
receivedMagicDamage = true;
adjustDynamicStat(creatureStats, effectKey.mId-ESM::MagicEffect::DamageHealth, -magnitude);
}
break;
case ESM::MagicEffect::DamageMagicka:
case ESM::MagicEffect::DamageFatigue:
if (!godmode)
@ -1147,6 +1150,9 @@ namespace MWMechanics
receivedMagicDamage = true;
adjustDynamicStat(creatureStats, effectKey.mId-ESM::MagicEffect::AbsorbHealth, -magnitude);
}
break;
case ESM::MagicEffect::AbsorbMagicka:
case ESM::MagicEffect::AbsorbFatigue:
if (!godmode)

Loading…
Cancel
Save