Page 1 of 1

[fixed]Spontaneous Mutation causes AI not to attack at cases

PostPosted: 12 Sep 2016, 14:51
by Aswan jaguar
Describe the Bug:
There is some problem with Spontaneous Mutation and AI thinking? AI combat?
I have noticed in 3,4 games AI not attacking with his creatures although there was none disadvantage for AI's creatures if one or more are enchanted with Spontaneous Mutation.I didn't have any blockers or my blockers couldn't hurt AI creatures.(not even any cards in my hand that AI could possibly fear to hurt it's attackers). As you know AI not attacking like crazy with unblocked creatures is something Manalink's AI just doesn't do.
I think AI has to have a creature with power equal or greater to the number of cards in graveyard to attack or something close to it.
2016-09-12_174530ai didn'r attack.jpg
You can see that AI didn't attack with Ashmouth Hound and Unruly Mob.

Which card did behave improperly ?
Spontaneous Mutation - AI combat

Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
Manalink 2016/08/27: Eldritch Moon v2, duel

What exactly should be the correct behavior/interaction ?
Spontaneous Mutation doesn't mess AI combat calculations.

Are any other cards possibly affected by this bug ?
-

Re: Spontaneous Mutation causes AI not to attack at cases

PostPosted: 12 Sep 2016, 17:44
by Korath
I think you'll find that it's considering each of its creatures to have an additional -X/-0 above and beyond the -X/-0 that the enchanted creature gets. If so, an is_hand() check in its EVENT_CHECK_PUMP handler should fix it.

Re: [confi]Spontaneous Mutation causes AI not to attack at c

PostPosted: 07 Oct 2019, 08:51
by Aswan jaguar
Korath wrote:I think you'll find that it's considering each of its creatures to have an additional -X/-0 above and beyond the -X/-0 that the enchanted creature gets. If so, an is_hand() check in its EVENT_CHECK_PUMP handler should fix it.
I can't find any function named is_hand() to test this.

Re: [confi]Spontaneous Mutation causes AI not to attack at c

PostPosted: 07 Oct 2019, 09:29
by Aswan jaguar
Fixed in commit 9c1221f4.