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
996 stars 566 forks source link

Deep Gnome Terramancer: trigger fails with untilHostLeavesPlayCommand #1277

Closed tool4ever closed 9 months ago

tool4ever commented 2 years ago

In this case AbilityKey.Cause will be null (e.g. Banisher Priest returning Dryad Arbor).

Maybe need to teach matchesValid that !* on null can be treated as true?

The script also needs to use ResolvedLimit$.

github-actions[bot] commented 1 year ago

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

Hanmac commented 9 months ago

@tool4ever maybe instead, use EmptySa or something to have the Cause be set?

tool4ever commented 9 months ago

hmn but what should I use as hostCard for that? (the original cause isn't really available and there might even be different ones for the cards returning)

also in some cases like SBA Cause=null is probably correct anyway? (though not relevant for this interaction)

Hanmac commented 9 months ago

hmn but what should I use as hostCard for that? (the original cause isn't really available and there might even be different ones for the cards returning)

also in some cases like SBA Cause=null is probably correct anyway? (though not relevant for this interaction)

hm i need to think about this