mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 07:53:51 +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;
|
int value = 50.f;
|
||||||
if (actor.getClass().isNpc())
|
if (actor.getClass().isNpc())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue