mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 22:12:03 -08:00
commit
a3889b7b10
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue