mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-17 10:21:11 +00:00
Merge pull request #1096 from Allofich/magic
Don't let Weakness to Magicka affect paralysis
This commit is contained in:
commit
48f299532c
@ -356,8 +356,7 @@ short MagicEffect::getWeaknessEffect(short effect)
|
|||||||
effects[Corprus] = WeaknessToCorprusDisease;
|
effects[Corprus] = WeaknessToCorprusDisease;
|
||||||
effects[Poison] = WeaknessToPoison;
|
effects[Poison] = WeaknessToPoison;
|
||||||
|
|
||||||
// Weakness to magicka or -1 ?
|
effects[Paralyze] = -1;
|
||||||
effects[Paralyze] = WeaknessToMagicka;
|
|
||||||
|
|
||||||
if (effects.find(effect) != effects.end())
|
if (effects.find(effect) != effects.end())
|
||||||
return effects[effect];
|
return effects[effect];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user