mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-18 13:20:47 +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
@ -121,7 +121,7 @@ namespace MWMechanics
|
||||
|
||||
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;
|
||||
|
||||
return rating * rangedMult;
|
||||
|
Loading…
x
Reference in New Issue
Block a user