forge icon indicating copy to clipboard operation
forge copied to clipboard

AI kills its creature or damages itself by suspended Rift Bolt/triggers of Valakut if player and its creatures have hexproof/protection

Open MorihiroS opened this issue 2 years ago • 5 comments

Describe the bug After the player casts Surge of Salvation in response to the trigger of suspend from Rift Bolt, AI chooses to kill their Monastery Swiftspear or damage itself instead to choose not to cast Rift Bolt. Same situation for triggers of Valakut, the Molten Pinnacle. If a player and his creatures have protection from lands, AI targets its own creatures by triggers of Valakut, the Molten Pinnacle. But there is a word "may" in the text of Valakut, the Molten Pinnacle, which AI ignores.

To Reproduce Steps to reproduce the behavior:

  1. AI casts Monastery Swiftspear
  2. AI suspends Rift Bolt
  3. Player casts Surge of Salvation in response to the trigger of suspend from Rift Bolt
  4. AI chooses to cast Rift Bolt and kill its Monastery Swiftspear or
  5. AI has no creatures
  6. AI suspends Rift Bolt
  7. Player casts Surge of Salvation in response to the trigger of suspend from Rift Bolt
  8. AI chooses to cast Rift Bolt and damage itself or
  9. Player has Serra's Emissary with protection from lands
  10. AI has Valakut, the Molten Pinnacle, 4+ lands and some creatures
  11. AI casts Primeval Titan
  12. AI finds 2 lands and targets its creatures by triggers of Valakut, the Molten Pinnacle

Expected behavior

  1. AI should choose not to cast Rift Bolt if player and its creatures have hexproof/protection.
  2. AI shouldn't target its own creatures or itself by triggers of Valakut, the Molten Pinnacle.

Additional context Similar with #4001

Desktop OS: Windows 10 Java Version: 1.8.0_202-b08 Forge Version: from 1.6.59-SNAPSHOT-11.24 to 1.6.60-SNAPSHOT-02.03

Screenshots

1 2 3 4

valakut

MorihiroS avatar Nov 24 '23 20:11 MorihiroS

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

github-actions[bot] avatar Dec 26 '23 09:12 github-actions[bot]

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

MorihiroS avatar Dec 26 '23 17:12 MorihiroS

@Hanmac, @Agetian, due to the updated rules for suspend, AI can simply choose not to deal damage. But AI still chooses to kill its creatures first and damage itself second. AI doesn't choose not to cast Rift Bolt.

1 2 3 4

MorihiroS avatar Feb 04 '24 18:02 MorihiroS

@tool4ever have we even updated Suspend yet?

Hanmac avatar Feb 04 '24 18:02 Hanmac

@tool4ever have we even updated Suspend yet?

@Hanmac, its updated, I could choose not to cast rhinos

Also, I combined two requests into one, as the essence became similar, and I deleted request about Valakut

MorihiroS avatar Feb 04 '24 18:02 MorihiroS