[OTJ] Implement Tinybones, the Pickpocket + refactor MayCastTargetThenExileEffect (#12040)

This commit is contained in:
Susucre 2024-04-05 00:16:53 +02:00 committed by GitHub
parent 3e75f93c20
commit d1de8b8cd3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 412 additions and 150 deletions

View file

@ -1280,6 +1280,7 @@ public final class CardUtil {
}
}
// TODO: use CastManaAdjustment instead of boolean anyColor
public static void makeCardPlayable(Game game, Ability source, Card card, Duration duration, boolean anyColor) {
makeCardPlayable(game, source, card, duration, anyColor, null, null);
}
@ -1296,6 +1297,7 @@ public final class CardUtil {
* @param anyColor
* @param condition can be null
*/
// TODO: use CastManaAdjustment instead of boolean anyColor
public static void makeCardPlayable(Game game, Ability source, Card card, Duration duration, boolean anyColor, UUID playerId, Condition condition) {
// Effect can be used for cards in zones and permanents on battlefield
// PermanentCard's ZCC is static, but we need updated ZCC from the card (after moved to another zone)