[SNC] Implemented Ziatora's Envoy

This commit is contained in:
Evan Kranzler 2022-04-24 17:20:57 -04:00
parent 0e3252d256
commit cec8c54401
4 changed files with 144 additions and 3 deletions

View file

@ -83,9 +83,9 @@ public class DealsCombatDamageToAPlayerTriggeredAbility extends TriggeredAbility
return false;
}
}
getAllEffects().setValue("damage", event.getAmount());
if (setTargetPointer) {
getAllEffects().setTargetPointer(new FixedTarget(event.getPlayerId()));
getAllEffects().setValue("damage", event.getAmount());
}
return true;
}

View file

@ -1288,8 +1288,10 @@ public abstract class PlayerImpl implements Player, Serializable {
//20091005 - 114.2a
ActivationStatus activationStatus = playLandAbility.canActivate(this.playerId, game);
if (ignoreTiming) {
if (!canPlayLand()) {
return false; // ignore timing does not mean that more lands than normal can be played
if (!canPlayLand() || !isActivePlayer(game)) {
// ignore timing does not mean that more lands than normal can be played
// it also has to be your turn
return false;
}
} else {
if (!activationStatus.canActivate()) {