AI casts Scale Up only for overload cost
Describe the bug AI doesn't cast Scale Up even if it has untapped Forest. It casts it only for overload cost
To Reproduce Steps to reproduce the behavior:
- AI has a 1/1 creature and untapped Forest.
- AI has Scale Up in its hands
- AI doesn't cast Scale Up
Expected behavior AI should cast Scale Up for 1 creature and it should cast it for overload cost with 2+ creatures
Desktop OS: Windows 10 Java Version: 1.8.0_202-b08 Forge Version: 1.6.60-SNAPSHOT-12.08
Screenshots
@Hanmac, need AI label, keep label and assign Agetian, please
AI casts it, but only for overload cost
@Agetian, I think it's easy to fix, right? Or am I wrong?
@Agetian @tool4ever can we add something like "OverloadNeedsToPlay" SVar to better optimize it?
Or can we add better isOverload check in the SpellEffectAi parts, to not use Overload when there is <1 that would affect it?
I think the isOverload approach would be cleaner if it's more or less universal. If we need additional differentiation on per-card basis, then we can add OverloadNeedsToPlay, yeah.