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

Combat AI: decrease priority multiplier for enchantments (bug )

This commit is contained in:
Andrei Kortunov 2019-03-09 22:05:24 +04:00
parent c20e69ef24
commit 5f0c8a4783

View file

@ -170,7 +170,7 @@ namespace MWMechanics
float rating = rateEffects(enchantment->mEffects, actor, enemy);
rating *= 2; // prefer rechargable magic items over spells
rating *= 1.25f; // prefer rechargable magic items over spells
return rating;
}