[KHM] small change to Vorinclex, Monstrous Raider to prevent modifying counters on cards not on the battlefield

This commit is contained in:
Evan Kranzler 2021-01-28 09:43:07 -05:00
parent ecd2ba588c
commit af5331a9e4

View file

@ -85,6 +85,10 @@ class VorinclexMonstrousRaiderEffect extends ReplacementEffectImpl {
@Override
public boolean applies(GameEvent event, Ability source, Game game) {
if (game.getPlayer(event.getTargetId()) == null
&& game.getState().getZone(event.getTargetId()) != Zone.BATTLEFIELD) {
return false;
}
return source.isControlledBy(event.getPlayerId())
|| game.getOpponents(event.getPlayerId()).contains(source.getControllerId());
}