mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 16:20:21 +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;
|
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…
x
Reference in New Issue
Block a user