- Added Sheltering Prayers.

This commit is contained in:
jendave
2011-08-07 01:10:21 +00:00
parent cef6a5efe1
commit bd72b78b54
3 changed files with 22 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -6233,6 +6233,7 @@ res/cardsfolder/shauku_endbringer.txt -text svneol=native#text/plain
res/cardsfolder/shaukus_minion.txt -text svneol=native#text/plain
res/cardsfolder/shell_skulkin.txt -text svneol=native#text/plain
res/cardsfolder/sheltered_valley.txt -text svneol=native#text/plain
res/cardsfolder/sheltering_prayers.txt -text svneol=native#text/plain
res/cardsfolder/sheoldred_whispering_one.txt -text svneol=native#text/plain
res/cardsfolder/shepherd_of_rot.txt -text svneol=native#text/plain
res/cardsfolder/shepherd_of_the_lost.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,9 @@
Name:Sheltering Prayers
ManaCost:W
Types:Enchantment
Text:no text
K:stPumpAll:Land.Basic+YouCtrl:0/0/Shroud:LandYouCtrlLE/3:Basic lands you control have shroud as long as you control three or fewer lands.
K:stPumpAll:Land.Basic+YouDontCtrl:0/0/Shroud:LandOppCtrlLE/3:Basic lands your opponent controls have shroud as long as your opponent controls three or fewer lands.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/sheltering_prayers.jpg
End

View File

@@ -5353,6 +5353,18 @@ public class GameActionUtil {
OppInPlay = OppInPlay.getType("Creature");
String maxnumber = SpecialConditions.split("/") [1];
if (!(OppInPlay.size() >= Integer.valueOf(maxnumber))) return false;
}
if(SpecialConditions.contains("LandYouCtrlLE")) {
CardList LandInPlay = AllZoneUtil.getPlayerCardsInPlay(SourceCard.getController());
LandInPlay = LandInPlay.getType("Land");
String maxnumber = SpecialConditions.split("/") [1];
if (!(LandInPlay.size() <= Integer.valueOf(maxnumber))) return false;
}
if(SpecialConditions.contains("LandOppCtrlLE")) {
CardList OppLandInPlay = AllZoneUtil.getPlayerCardsInPlay(SourceCard.getController().getOpponent());
OppLandInPlay = OppLandInPlay.getType("Land");
String maxnumber = SpecialConditions.split("/") [1];
if (!(OppLandInPlay.size() <= Integer.valueOf(maxnumber))) return false;
}
if(SpecialConditions.contains("OppLifeLE")) {
int life = SourceCard.getController().getOpponent().getLife();