mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-20 18:11:35 +00:00
Drop bogus accounting for armor rating from weapon priority
This commit is contained in:
parent
4a5e2d1d4e
commit
c67eb6d9db
1 changed files with 0 additions and 6 deletions
|
@ -108,12 +108,6 @@ namespace MWMechanics
|
|||
}
|
||||
}
|
||||
|
||||
if (enemy.getClass().isNpc())
|
||||
{
|
||||
static const float fCombatArmorMinMult = gmst.find("fCombatArmorMinMult")->mValue.getFloat();
|
||||
rating *= std::max(fCombatArmorMinMult, rating / (rating + enemy.getClass().getArmorRating(enemy)));
|
||||
}
|
||||
|
||||
int value = 50.f;
|
||||
if (actor.getClass().isNpc())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue