mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 20:29:19 -08:00
Fixed Blind Obedience not tapping tokens that come into play.
This commit is contained in:
parent
4e44a66b64
commit
a9c1746b02
1 changed files with 2 additions and 2 deletions
|
|
@ -93,8 +93,8 @@ class BlindObedienceTapEffect extends ReplacementEffectImpl<BlindObedienceTapEff
|
|||
@Override
|
||||
public boolean applies(GameEvent event, Ability source, Game game) {
|
||||
if (event.getType() == GameEvent.EventType.ENTERS_THE_BATTLEFIELD && game.getOpponents(source.getControllerId()).contains(event.getPlayerId())) {
|
||||
Card c = game.getCard(event.getTargetId());
|
||||
if (c != null && (c.getCardType().contains(CardType.CREATURE) || c.getCardType().contains(CardType.ARTIFACT))) {
|
||||
Permanent permanent = game.getPermanent(event.getTargetId());
|
||||
if (permanent != null && (permanent.getCardType().contains(CardType.CREATURE) || permanent.getCardType().contains(CardType.ARTIFACT))) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue