add Stabilizer (from Scourge)

This commit is contained in:
jendave
2011-08-06 20:34:18 +00:00
parent 77fb8408ad
commit a7790102e8
3 changed files with 17 additions and 1 deletions

1
.gitattributes vendored
View File

@@ -6142,6 +6142,7 @@ res/cardsfolder/squirrel_mob.txt -text svneol=native#text/plain
res/cardsfolder/squirrel_nest.txt -text svneol=native#text/plain res/cardsfolder/squirrel_nest.txt -text svneol=native#text/plain
res/cardsfolder/squirrel_wrangler.txt -text svneol=native#text/plain res/cardsfolder/squirrel_wrangler.txt -text svneol=native#text/plain
res/cardsfolder/stabbing_pain.txt -text svneol=native#text/plain res/cardsfolder/stabbing_pain.txt -text svneol=native#text/plain
res/cardsfolder/stabilizer.txt svneol=native#text/plain
res/cardsfolder/staff_of_domination.txt -text svneol=native#text/plain res/cardsfolder/staff_of_domination.txt -text svneol=native#text/plain
res/cardsfolder/staff_of_the_ages.txt -text svneol=native#text/plain res/cardsfolder/staff_of_the_ages.txt -text svneol=native#text/plain
res/cardsfolder/staff_of_zegon.txt -text svneol=native#text/plain res/cardsfolder/staff_of_zegon.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,8 @@
Name:Stabilizer
ManaCost:2
Types:Artifact
Text:Players can't cycle cards.
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/stabilizer.jpg
End

View File

@@ -1301,6 +1301,12 @@ public class CardFactoryUtil {
return false; return false;
} }
@Override
public boolean canPlay() {
if(AllZoneUtil.isCardInPlay("Stabilizer")) return false;
return super.canPlay();
}
@Override @Override
public void resolve() { public void resolve() {
sourceCard.getController().drawCard(); sourceCard.getController().drawCard();
@@ -1393,6 +1399,7 @@ public class CardFactoryUtil {
@Override @Override
public boolean canPlay() { public boolean canPlay() {
if(AllZoneUtil.isCardInPlay("Stabilizer")) return false;
return super.canPlay(); return super.canPlay();
} }
@@ -1435,7 +1442,7 @@ public class CardFactoryUtil {
} }
} }
}; };
if(type.contains("Basic")) description = "basic land"; if(type.contains("Basic")) description = "Basic land";
else description = type; else description = type;
cycle.setIsCycling(true); cycle.setIsCycling(true);