- Converted Linvala, Keeper of Silence to script.

This commit is contained in:
jendave
2011-08-06 22:37:23 +00:00
parent 448f300384
commit 3a66a82b69
5 changed files with 5 additions and 19 deletions

View File

@@ -39,15 +39,7 @@ abstract public class Ability extends SpellAbility {
return c.getSVar("PithingTarget").equals(sourceCardName);
}
});
if(getSourceCard().isCreature() == true) {
CardList Silence = AllZoneUtil.getPlayerCardsInPlay(getSourceCard().getController().getOpponent());
Silence = Silence.getName("Linvala, Keeper of Silence");
return AllZone.GameAction.isCardInPlay(getSourceCard()) && !getSourceCard().isFaceDown() && getSourceCard().getName().equals("Spreading Seas") == false && Silence.size() == 0 && Pithing.size() == 0; // For Spreading Seas
}
return AllZone.GameAction.isCardInPlay(getSourceCard()) && !getSourceCard().isFaceDown() && getSourceCard().getName().equals("Spreading Seas") == false && Pithing.size() == 0;
// return false;
}

View File

@@ -39,13 +39,6 @@ abstract public class Ability_Activated extends SpellAbility implements java.io.
});
if(Pithing.size() != 0) return false;
if(c.isCreature() && AllZone.getZone(c).is(Constant.Zone.Battlefield)) {
CardList Silence = AllZoneUtil.getPlayerCardsInPlay(getSourceCard().getController().getOpponent());
Silence = Silence.getName("Linvala, Keeper of Silence");
if (Silence.size() != 0)
return false;
}
if (!(getRestrictions().canPlay(c, this)))
return false;