mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-28 14:53:58 +00:00
Fix iFightAttack and iFightAttacking being swapped
Looks like the research wiki page was incorrect, the higher value (iFightAttack) being for the victim makes more sense, is consistent with iDispAttackMod/fDispAttacking, and seems to be how the original game behaves as well.
This commit is contained in:
parent
b35f87ae7e
commit
2410d79410
@ -1041,8 +1041,8 @@ namespace MWMechanics
|
|||||||
}
|
}
|
||||||
else if (type == OT_Assault)
|
else if (type == OT_Assault)
|
||||||
{
|
{
|
||||||
fight = esmStore.get<ESM::GameSetting>().find("iFightAttack")->getInt();
|
fight = esmStore.get<ESM::GameSetting>().find("iFightAttacking")->getInt();
|
||||||
fightVictim = esmStore.get<ESM::GameSetting>().find("iFightAttacking")->getInt();
|
fightVictim = esmStore.get<ESM::GameSetting>().find("iFightAttack")->getInt();
|
||||||
}
|
}
|
||||||
else if (type == OT_Murder)
|
else if (type == OT_Murder)
|
||||||
fight = fightVictim = esmStore.get<ESM::GameSetting>().find("iFightKilling")->getInt();
|
fight = fightVictim = esmStore.get<ESM::GameSetting>().find("iFightKilling")->getInt();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user