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
932 stars 542 forks source link

AI doesn't activate Channel abilities that don't deal damage #5935

Open MorihiroS opened 3 weeks ago

MorihiroS commented 3 weeks ago

Describe the bug AI doesn't activate Channel abilities that don't deal damage even if it can save him

To Reproduce Steps to reproduce the behavior:

  1. AI has 3 Mountains, 3 Islands, 3 Forests and 10 hp.
  2. AI has Otawara, Soaring City, Boseiju, Who Endures and Sokenzan, Crucible of Defiance
  3. Player has Emrakul, the World Anew, Metalwork Colossus and Krosan Cloudscraper
  4. Player attacks with all creatures
  5. AI did nothing

Expected behavior AI should activate Channel abilities that don't deal damage at least in critical situation

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

Screenshots

channel3 channel4

Hanmac commented 3 weeks ago

This isn't Channel Specific, but more about the specific cards

like AI would use Eiganjo, Seat of the Empire without problem

MorihiroS commented 3 weeks ago

AI would use Eiganjo, Seat of the Empire without problem

@Hanmac, it use only those channel abilities that deal damage:

channel5 channel6 channel7 channel8