Merge pull request #2519 from Tsaqu/fixes

Fixed Sirens Call
This commit is contained in:
LevelX2 2016-10-29 19:49:22 +02:00 committed by GitHub
commit a3889b7b10

View file

@ -133,6 +133,11 @@ class SirensCallDestroyEffect extends OneShotEffect {
Player player = game.getPlayer(game.getActivePlayerId()); Player player = game.getPlayer(game.getActivePlayerId());
if (player != null) { if (player != null) {
for (Permanent permanent : game.getBattlefield().getAllActivePermanents(player.getId())) { for (Permanent permanent : game.getBattlefield().getAllActivePermanents(player.getId())) {
// Non Creature Cards are safe.
if(!permanent.getCardType().contains(CardType.CREATURE))
continue;
// Walls are safe. // Walls are safe.
if (permanent.getSubtype(game).contains("Wall")) { if (permanent.getSubtype(game).contains("Wall")) {
continue; continue;