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:
@@ -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