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());
if (player != null) {
for (Permanent permanent : game.getBattlefield().getAllActivePermanents(player.getId())) {
// Non Creature Cards are safe.
if(!permanent.getCardType().contains(CardType.CREATURE))
continue;
// Walls are safe.
if (permanent.getSubtype(game).contains("Wall")) {
continue;