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
1.03k stars 571 forks source link

AI casts Preordain with Teferi, Time Raveler in player's upkeep #4299

Open MorihiroS opened 1 year ago

MorihiroS commented 1 year ago

Describe the bug AI casts Preordain with first ability of Teferi, Time Raveler in player's upkeep, not at the end of player's turn

To Reproduce Steps to reproduce the behavior:

  1. AI has Teferi, Time Raveler
  2. AI activates first ability of Teferi, Time Raveler
  3. AI passes the turn
  4. AI casts Preordain in player's upkeep

Expected behavior AI should cast Preordain with first ability of Teferi, Time Raveler at the end of player's turn

Additional context Similar with #4061

Desktop OS: Windows 10 Java Version: 1.8.0_202-b08 Forge Version: 1.6.59-SNAPSHOT-12.04

Screenshots

preord

github-actions[bot] commented 11 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 11 months ago

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

Hanmac commented 11 months ago

@Agetian AI should respect timing restrictions set by the AI Effects?