mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-20 19:39:41 +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;
|
||||
|
||||
if (weapon->mData.mType <= ESM::Weapon::MarksmanThrown)
|
||||
if (weapon->mData.mType < ESM::Weapon::MarksmanBow)
|
||||
rating *= weapon->mData.mSpeed;
|
||||
|
||||
return rating * rangedMult;
|
||||
|
|
Loading…
Reference in a new issue