Card-Forge / forge

An unofficial rules engine for the world's greatest card game.
https://card-forge.github.io/forge/
GNU General Public License v3.0
989 stars 565 forks source link

AI activates abilities of creatures/lands to to give them the ability to block but doesn't block with them #4301

Open MorihiroS opened 11 months ago

MorihiroS commented 11 months ago

Describe the bug AI activates abilities of this creatures/lands to to give them the ability to block (becomes creature/flying) but doesn't block with them:

To Reproduce Steps to reproduce the behavior:

  1. AI has 4 hp
  2. AI has Creeping Tar Pit and Mutavault
  3. Player attacks AI with some creatures
  4. AI activates abilities of Creeping Tar Pit and Mutavault
  5. AI blocks only with Mutavault
  6. AI is dead

and

  1. AI has Mothdust Changeling
  2. Player attacks with creature with flying
  3. AI uses Mothdust Changeling ability: 3.1. AI taps Mothdust Changeling (if Mothdust Changeling is the one and only creature) 3.2. AI taps another creature but doesn't block

and

  1. AI has Psychic Frog
  2. Player attacks with creature with flying
  3. AI activates ability of Psychic Frog
  4. AI doesn't block with them if it hasn't low hp

and

  1. AI has Destiny Spinner and low hp
  2. Player attack with creatures with flying
  3. AI activates ability of Destiny Spinner
  4. Land becomes an X/X Elemental creature with trample and haste
  5. AI is dead

Expected behavior AI should activate abilities of creatures/lands to give them the ability to block, if it will actually block with them!

Additional context Similar problem to #3790

Desktop OS: Windows 10 Java Version: 1.8.0_202-b08 Forge Version: 1.6.64-SNAPSHOT-07.13

Screenshots

lands mothdust mothdust2 frog1 frog2 block

github-actions[bot] commented 10 months ago

This issue has not been updated in a while and has now been marked as stale. Stale messages will be auto closed.

MorihiroS commented 10 months ago

@Hanmac, need AI label, keep label and assign Agetian, please