mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 05:09:16 -08:00
* Experimental Frenzy - Fixed a problem that casting cards from hand was not prevented (#5338).
This commit is contained in:
parent
61b1b1ba05
commit
05dcfeaaa1
2 changed files with 41 additions and 2 deletions
|
|
@ -128,6 +128,6 @@ class ExperimentalFrenzyRestrictionEffect extends ContinuousRuleModifyingEffectI
|
|||
@Override
|
||||
public boolean applies(GameEvent event, Ability source, Game game) {
|
||||
return event.getPlayerId().equals(source.getControllerId())
|
||||
&& event.getZone() == Zone.HAND;
|
||||
&& game.getState().getZone(event.getSourceId()) == Zone.HAND;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue