1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-21 12:09:43 +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;
}