- ContinuousAbility now supports "ChosenColor" as SetColor.

- Added Shifting Sky by Jeff.
This commit is contained in:
Sloth
2012-02-05 17:05:35 +00:00
parent ad635771df
commit 88588c1a0e
3 changed files with 23 additions and 2 deletions

1
.gitattributes vendored
View File

@@ -7680,6 +7680,7 @@ res/cardsfolder/s/shield_wall.txt svneol=native#text/plain
res/cardsfolder/s/shielding_plax.txt svneol=native#text/plain
res/cardsfolder/s/shieldmates_blessing.txt svneol=native#text/plain
res/cardsfolder/s/shields_of_velis_vel.txt -text
res/cardsfolder/s/shifting_sky.txt -text
res/cardsfolder/s/shifting_sliver.txt svneol=native#text/plain
res/cardsfolder/s/shifting_wall.txt svneol=native#text/plain
res/cardsfolder/s/shimian_specter.txt svneol=native#text/plain

View File

@@ -0,0 +1,15 @@
Name:Shifting Sky
ManaCost:2 U
Types:Enchantment
Text:no text
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color.
SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You
S:Mode$ Continuous| Affected$ Permanent.nonLand | SetColor$ ChosenColor | Description$ All nonland permanents are the chosen color.
SVar:RemAIDeck:True
SVar:RemRandomDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/shifting_sky.jpg
SetInfo:8ED|Rare|http://magiccards.info/scans/en/8e/100.jpg
SetInfo:PLS|Uncommon|http://magiccards.info/scans/en/ps/32.jpg
Oracle:As Shifting Sky enters the battlefield, choose a color.\nAll nonland permanents are the chosen color.
End

View File

@@ -188,8 +188,13 @@ public class StaticAbilityContinuous {
}
if (params.containsKey("SetColor")) {
addColors = CardUtil.getShortColorsString(new ArrayList<String>(Arrays.asList(params.get("SetColor").split(
" & "))));
final String colors = params.get("SetColor");
if (colors.equals("ChosenColor")) {
addColors = CardUtil.getShortColorsString(hostCard.getChosenColor());
} else {
addColors = CardUtil.getShortColorsString(new ArrayList<String>(Arrays.asList(
colors.split(" & "))));
}
se.setOverwriteColors(true);
}