magefree / magefree/mage

Need a reliable way to find cards that can be played from not own hand zone

Open
#10,522 1 comment 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

Fixing #9521 should enable something along the lines of

```
game.getContinuousEffects().getApplicableAsThoughEffects(AsThoughEffectType.PLAY_FROM_NOT_OWN_HAND_ZONE, game)
```

to be used for finding all cards that can be played in a way that other effects can reference. This is important for cost reduction effects that have to apply to spells before they are put on the stack; for example `GainAbilityControlledSpellsEffect` and [[Henzie]]. Right now they have to blindly apply to all objects in other zones in order to apply to playable objects, which causes and/or masks other problems with the implementation.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.