mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Added Sheltering Prayers.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||
|
||||
9
res/cardsfolder/sheltering_prayers.txt
Normal file
9
res/cardsfolder/sheltering_prayers.txt
Normal 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
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user