mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Converted Blizzard to script.
This commit is contained in:
@@ -63,6 +63,7 @@ abstract public class Spell extends SpellAbility implements java.io.Serializable
|
||||
|
||||
//CantBeCast static abilities
|
||||
CardList allp = AllZoneUtil.getCardsIn(Zone.Battlefield);
|
||||
allp.add(card);
|
||||
for (Card ca : allp) {
|
||||
ArrayList<StaticAbility> staticAbilities = ca.getStaticAbilities();
|
||||
for (StaticAbility stAb : staticAbilities) {
|
||||
|
||||
@@ -187,10 +187,6 @@ public class Spell_Permanent extends Spell {
|
||||
if (source.getName().equals("Serra Avenger")) {
|
||||
if (turn.equals(source.getController()) && turn.getTurn() <= 3)
|
||||
return false;
|
||||
} else if (source.getName().equals("Blizzard")) {
|
||||
CardList lands = AllZoneUtil.getPlayerLandsInPlay(source.getController());
|
||||
lands = lands.getType("Snow");
|
||||
if (lands.size() == 0) return false;
|
||||
}
|
||||
|
||||
// Flash handled by super.canPlay
|
||||
|
||||
Reference in New Issue
Block a user