1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-19 17:09:40 +00:00

Combat AI: take ranged weapon speed in account

This commit is contained in:
Andrei Kortunov 2018-09-19 12:04:58 +04:00
parent 62f6f174cf
commit 6f4f6a155f

View file

@ -119,7 +119,7 @@ namespace MWMechanics
rating *= getHitChance(actor, enemy, value) / 100.f;
if (weapon->mData.mType < ESM::Weapon::MarksmanBow)
if (weapon->mData.mType < ESM::Weapon::Arrow)
rating *= weapon->mData.mSpeed;
return rating * ratingMult;