1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-17 19:20:49 +00:00

Combat AI: decrease priority multiplier for enchantments (bug #3830)

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;
}