mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
add Stabilizer (from Scourge)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||||
|
|||||||
8
res/cardsfolder/stabilizer.txt
Normal file
8
res/cardsfolder/stabilizer.txt
Normal 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
|
||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user