mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
VOC: Donal and support
This commit is contained in:
committed by
Hans Mackowiak
parent
822bab00e2
commit
41d14f8e51
@@ -134,9 +134,21 @@ public class CardFactory {
|
||||
c.removeType(CardType.Supertype.Legendary);
|
||||
}
|
||||
|
||||
if (sourceSA.hasParam("CopySetPower")) {
|
||||
c.setBasePower(Integer.parseInt(sourceSA.getParam("CopySetPower")));
|
||||
}
|
||||
|
||||
if (sourceSA.hasParam("CopySetToughness")) {
|
||||
c.setBaseToughness(Integer.parseInt(sourceSA.getParam("CopySetToughness")));
|
||||
}
|
||||
|
||||
if (sourceSA.hasParam("CopyAddTypes")) {
|
||||
c.addType(Arrays.asList(sourceSA.getParam("CopyAddTypes").split(" & ")));
|
||||
}
|
||||
|
||||
// change the color of the copy (eg: Fork)
|
||||
if (sourceSA.hasParam("CopyIsColor")) {
|
||||
ColorSet finalColors = ColorSet.getNullColor();
|
||||
ColorSet finalColors;
|
||||
final String newColor = sourceSA.getParam("CopyIsColor");
|
||||
if (newColor.equals("ChosenColor")) {
|
||||
finalColors = ColorSet.fromNames(source.getChosenColors());
|
||||
|
||||
10
forge-gui/res/cardsfolder/upcoming/donal_herald_of_wings.txt
Normal file
10
forge-gui/res/cardsfolder/upcoming/donal_herald_of_wings.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Name:Donal, Herald of Wings
|
||||
ManaCost:2 U U
|
||||
Types:Legendary Creature Human Wizard
|
||||
PT:3/3
|
||||
T:Mode$ SpellCast | TriggerZones$ Battlefield | ValidCard$ Creature.withFlying+nonLegendary | ValidActivatingPlayer$ You | NoResolvingCheck$ True | ActivationLimit$ 1 | Execute$ TrigCopy | OptionalDecider$ You | TriggerDescription$ Whenever you cast a nonlegendary creature spell with flying, you may copy it, except the copy is a 1/1 Spirit in addition to its other types. Do this only once each turn. (The copy becomes a token.)
|
||||
SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | CopySetPower$ 1 | CopySetToughness$ 1 | CopyAddTypes$ Spirit
|
||||
DeckHas:Ability$Token
|
||||
DeckHints:Keyword$Flying
|
||||
SVar:BuffedBy:Creature.withFlying
|
||||
Oracle:Whenever you cast a nonlegendary creature spell with flying, you may copy it, except the copy is a 1/1 Spirit in addition to its other types. Do this only once each turn. (The copy becomes a token.)
|
||||
Reference in New Issue
Block a user