mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00: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());
|
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;
|
||||||
|
|
Loading…
Reference in a new issue