AF_Counter AI Ideas
 Posted: 03 May 2011, 14:09
Posted: 03 May 2011, 14:09I've converted all of the Counter code to use the standardized Target system. But I need to test a few corner cases before I can submit (particularly cards that Counter spells that are Targeting Valid<X>). While I'm in here I was going to improve the AI a bit though and was curious if anyone had some ideas.
Currently the AI is based on Computer_CounterSpells2. And basically compares the Counterspells CMC (I don't think it cares about the Activation Cost) to the Card that's being cast CMC. And a single hardcoded Spell is the only exception. I'd rather have this be much more generic.
The AI also (incorrectly) plays Counterspells without having priority, which I plan on fixing as well (and thus ushering in the first cards that can respond to things on the Stack legitimately).
Ideally, when looking at a hand full of Counterspells the AI would use the most restrictive one that can be cast to Counter a particular SA. A Remove Soul should counter a Creature before a Counterspell would if they are both in the AIs hand. An AB$Counter is probably better to use sooner since it (generally) would be card advantage.
So hook me up with some additional ideas, when I get some time this week I'll see if I can implement any of them.
			Currently the AI is based on Computer_CounterSpells2. And basically compares the Counterspells CMC (I don't think it cares about the Activation Cost) to the Card that's being cast CMC. And a single hardcoded Spell is the only exception. I'd rather have this be much more generic.
The AI also (incorrectly) plays Counterspells without having priority, which I plan on fixing as well (and thus ushering in the first cards that can respond to things on the Stack legitimately).
Ideally, when looking at a hand full of Counterspells the AI would use the most restrictive one that can be cast to Counter a particular SA. A Remove Soul should counter a Creature before a Counterspell would if they are both in the AIs hand. An AB$Counter is probably better to use sooner since it (generally) would be card advantage.
So hook me up with some additional ideas, when I get some time this week I'll see if I can implement any of them.