1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Fixed incorrect indexes

This commit is contained in:
Internecine 2014-12-27 19:49:14 +13:00
parent a87fe71ddf
commit 5f9540318a

View File

@ -584,11 +584,11 @@ namespace MWMechanics
}
else if (effectId == ESM::MagicEffect::DamageFatigue || effectId == ESM::MagicEffect::RestoreFatigue)
{
applyDynamicStatsEffect(1, target, magnitude);
applyDynamicStatsEffect(2, target, magnitude);
}
else if (effectId == ESM::MagicEffect::DamageMagicka || effectId == ESM::MagicEffect::RestoreMagicka)
{
applyDynamicStatsEffect(2, target, magnitude);
applyDynamicStatsEffect(1, target, magnitude);
}
else if (effectId == ESM::MagicEffect::DamageSkill || effectId == ESM::MagicEffect::RestoreSkill)
{