mirror of
https://github.com/vcmi/vcmi.git
synced 2026-04-26 20:02:20 +02:00
78f34c5a1d
Fixed 1.7.2 regression of spellcaster logic when casting non-random spells. Slight refactoring of AI code to simplify logic related to SPELLCASTER. As a side effect - AI should now be better at selecting spells if unit has multiple spells to cast.