[JOU] Added 9 cards.

This commit is contained in:
LevelX2 2014-04-07 17:14:55 +02:00
parent 62dab73018
commit 75c67644bc
13 changed files with 816 additions and 12 deletions

View file

@ -82,13 +82,15 @@ public class PreventAllDamageToEffect extends PreventionEffectImpl<PreventAllDam
if (super.applies(event, source, game)) {
Permanent permanent = game.getPermanent(event.getTargetId());
if (permanent != null) {
if (filter.match(permanent, source.getSourceId(), source.getControllerId(), game))
if (filter.match(permanent, source.getSourceId(), source.getControllerId(), game)) {
return true;
}
}
else {
Player player = game.getPlayer(event.getTargetId());
if (player != null && filter.match(player, source.getSourceId(), source.getControllerId(), game))
if (player != null && filter.match(player, source.getSourceId(), source.getControllerId(), game)) {
return true;
}
}
}
return false;