mirror of
https://github.com/vcmi/vcmi.git
synced 2026-03-06 23:59:28 +02:00
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.