mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 18:39:40 +00:00
Fix erroneous assumption that ranged weaponry has speed
Restrict speed mult to melee weaponry
This commit is contained in:
parent
ceb6121b33
commit
d758b573e2
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ namespace MWMechanics
|
||||||
|
|
||||||
rating *= getHitChance(actor, enemy, value) / 100.f;
|
rating *= getHitChance(actor, enemy, value) / 100.f;
|
||||||
|
|
||||||
if (weapon->mData.mType <= ESM::Weapon::MarksmanThrown)
|
if (weapon->mData.mType < ESM::Weapon::MarksmanBow)
|
||||||
rating *= weapon->mData.mSpeed;
|
rating *= weapon->mData.mSpeed;
|
||||||
|
|
||||||
return rating * rangedMult;
|
return rating * rangedMult;
|
||||||
|
|
Loading…
Reference in a new issue