mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-19 20:23:54 +00:00
Fix Calm/Frenzy/Demoralize/Rally Creature weakness and resistance
This commit is contained in:
parent
efa35e9222
commit
f6ef1ce276
1 changed files with 8 additions and 8 deletions
|
@ -298,10 +298,10 @@ short MagicEffect::getResistanceEffect(short effect)
|
||||||
|
|
||||||
for (int i=0; i<2; ++i)
|
for (int i=0; i<2; ++i)
|
||||||
{
|
{
|
||||||
effects[CalmHumanoid] = ResistMagicka;
|
effects[CalmHumanoid+i] = ResistMagicka;
|
||||||
effects[FrenzyHumanoid] = ResistMagicka;
|
effects[FrenzyHumanoid+i] = ResistMagicka;
|
||||||
effects[DemoralizeHumanoid] = ResistMagicka;
|
effects[DemoralizeHumanoid+i] = ResistMagicka;
|
||||||
effects[RallyHumanoid] = ResistMagicka;
|
effects[RallyHumanoid+i] = ResistMagicka;
|
||||||
}
|
}
|
||||||
|
|
||||||
effects[TurnUndead] = ResistMagicka;
|
effects[TurnUndead] = ResistMagicka;
|
||||||
|
@ -341,10 +341,10 @@ short MagicEffect::getWeaknessEffect(short effect)
|
||||||
|
|
||||||
for (int i=0; i<2; ++i)
|
for (int i=0; i<2; ++i)
|
||||||
{
|
{
|
||||||
effects[CalmHumanoid] = WeaknessToMagicka;
|
effects[CalmHumanoid+i] = WeaknessToMagicka;
|
||||||
effects[FrenzyHumanoid] = WeaknessToMagicka;
|
effects[FrenzyHumanoid+i] = WeaknessToMagicka;
|
||||||
effects[DemoralizeHumanoid] = WeaknessToMagicka;
|
effects[DemoralizeHumanoid+i] = WeaknessToMagicka;
|
||||||
effects[RallyHumanoid] = WeaknessToMagicka;
|
effects[RallyHumanoid+i] = WeaknessToMagicka;
|
||||||
}
|
}
|
||||||
|
|
||||||
effects[TurnUndead] = WeaknessToMagicka;
|
effects[TurnUndead] = WeaknessToMagicka;
|
||||||
|
|
Loading…
Reference in a new issue