Card-Forge / Card-Forge/forge

AI "failed to target" when casting Torrent of Souls

Open
#8,905 2 comments 0 reactions 2 assignees Assigned to @Hanmac View on GitHub
AI Game Mechanics keep
Dominant language
Java
Stars
2.7k
Forks
1.1k
Avg merge
1d 1h
Merged PRs (30d)
163

Description

**Describe the bug**
In a duel at a Shandalar "Skull Cave" location (probably [skullcave_3.tmx](https://github.com/Card-Forge/forge/blob/a2b324c9ce12bc3a3ca54fbaf11c42439a3f94eb/forge-gui/res/adventure/common/maps/map/skullcave/skullcave_3.tmx)), an AI "Abyssal Baron" player tapped all its lands for no effect. The log menu said:

> [Torrent of Souls](https://scryfall.com/card/mm3/213/torrent-of-souls) - Couldn't add to stack, failed to target - Return up to one target creature card from your graveyard to the battlefield if {B} was spent to cast this spell. Creatures target player controls get +2/+0 and gain haste until end of turn if {R} was spent to cast this spell. (Do both if {B}{R} was spent.)

An [Eater of Hope](https://scryfall.com/card/mic/115/eater-of-hope) creature was in its graveyard. A swamp & mountains were tapped. There was a viable target creature and player (also the spell said "up to one target creature"), so the spell should have succeeded. The log didn't say WHICH target was at fault.

According to [enemies.json](https://github.com/Card-Forge/forge/blob/a2b324c9ce12bc3a3ca54fbaf11c42439a3f94eb/forge-gui/res/adventure/common/world/enemies.json#L6), the deck was [demon_swamp.dck](https://github.com/Card-Forge/forge/blob/a2b324c9ce12bc3a3ca54fbaf11c42439a3f94eb/forge-gui/res/adventure/common/decks/standard/demon_swamp.dck).

**Operating System**
2.0.07-snapshot-10.04 on Android 15.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.