mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- ContinuousAbility now supports "ChosenColor" as SetColor.
- Added Shifting Sky by Jeff.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||
|
||||
15
res/cardsfolder/s/shifting_sky.txt
Normal file
15
res/cardsfolder/s/shifting_sky.txt
Normal 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
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user