Drop bogus accounting for armor rating from weapon priority

pull/541/head
Capostrophic 6 years ago
parent 4a5e2d1d4e
commit c67eb6d9db

@ -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…
Cancel
Save