|
|
|
@ -491,17 +491,9 @@ namespace MWMechanics
|
|
|
|
|
|
|
|
|
|
if (mWeapon.isEmpty())
|
|
|
|
|
{
|
|
|
|
|
if (!mIsNpc)
|
|
|
|
|
{
|
|
|
|
|
return fCombatDistance;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
static float fHandToHandReach =
|
|
|
|
|
MWBase::Environment::get().getWorld()->getStore().get<ESM::GameSetting>().find("fHandToHandReach")->getFloat();
|
|
|
|
|
|
|
|
|
|
return fHandToHandReach * fCombatDistance;
|
|
|
|
|
}
|
|
|
|
|
static float fHandToHandReach =
|
|
|
|
|
MWBase::Environment::get().getWorld()->getStore().get<ESM::GameSetting>().find("fHandToHandReach")->getFloat();
|
|
|
|
|
return fHandToHandReach * fCombatDistance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const ESM::Weapon* weapon = mWeapon.get<ESM::Weapon>()->mBase;
|
|
|
|
|