Auto-translated
1. And what will it look like?
2. In order of spells:
Attack
1) General Haste
2) General Blessing
3) Summon Phoenix
4) General Slow
5) Summon Elementals
6) Pause, doesn't cast anything for several turns
7) General Curse
8) Starts over
Defense
1) Summon Phoenix
2) Summon Elementals
3) General Haste
4) General Blessing
5) General Slow
6) Pause for several turns
7) General Curse
8) Starts over
3. Well, in principle, the AI stops using spells and gets stuck in this state. But in general, the chances that the player will have only elementals in their army are small.
Added 22 minutes later
I've tested the spells again. When defending, everything is perfect, but when attacking, it still doesn't work. And the spell is exactly the same. When defending, it easily casts General Blessing.
Added 2 hours 25 minutes later
Regarding point 2. I identified and fixed the bug. The condition check was being performed using an incorrect variable.
2. In order of spells:
Attack
1) General Haste
2) General Blessing
3) Summon Phoenix
4) General Slow
5) Summon Elementals
6) Pause, doesn't cast anything for several turns
7) General Curse
8) Starts over
Defense
1) Summon Phoenix
2) Summon Elementals
3) General Haste
4) General Blessing
5) General Slow
6) Pause for several turns
7) General Curse
8) Starts over
3. Well, in principle, the AI stops using spells and gets stuck in this state. But in general, the chances that the player will have only elementals in their army are small.
Added 22 minutes later
I've tested the spells again. When defending, everything is perfect, but when attacking, it still doesn't work. And the spell is exactly the same. When defending, it easily casts General Blessing.
Added 2 hours 25 minutes later
Regarding point 2. I identified and fixed the bug. The condition check was being performed using an incorrect variable.