mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 16:20:21 +00:00
Combat AI: decrease priority multiplier for enchantments (bug #3830)
This commit is contained in:
parent
c20e69ef24
commit
5f0c8a4783
@ -170,7 +170,7 @@ namespace MWMechanics
|
|||||||
|
|
||||||
float rating = rateEffects(enchantment->mEffects, actor, enemy);
|
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;
|
return rating;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user