Merge branch 'forsakenjava' into 'master'

ZNR - Forsaken Monument and support

See merge request core-developers/forge!3160
This commit is contained in:
Michael Kamensky
2020-09-21 05:46:52 +00:00
2 changed files with 15 additions and 0 deletions

View File

@@ -99,6 +99,9 @@ public class TriggerTapsForMana extends Trigger {
if (!this.getHostCard().hasChosenColor() || !produced.contains(MagicColor.toShortString(this.getHostCard().getChosenColor()))) { if (!this.getHostCard().hasChosenColor() || !produced.contains(MagicColor.toShortString(this.getHostCard().getChosenColor()))) {
return false; return false;
} }
if (!produced.contains(MagicColor.toShortString(this.getParam("Produced")))) {
return false;
}
} }
} }

View File

@@ -0,0 +1,12 @@
Name:Forsaken Monument
ManaCost:5
Types:Legendary Artifact
S:Mode$ Continuous | Affected$ Creature.Colorless+YouCtrl | AddPower$ 2 | AddToughness$ 2 | Description$ Colorless creatures you control get +2/+2.
T:Mode$ TapsForMana | ValidCard$ Permanent.YouCtrl | Produced$ C | Execute$ TrigMana | TriggerZones$ Battlefield | Static$ True | TriggerDescription$ Whenever you tap a permanent for {C}, add an additional {C}.
SVar:TrigMana:DB$ Mana | Produced$ C
T:Mode$ SpellCast | ValidCard$ Card.Colorless | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever you cast a colorless spell, you gain 1 life.
SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 1
SVar:PlayMain1:TRUE
DeckHints:Color$Colorless
DeckHas:Ability$LifeGain
Oracle:Colorless creatures you control get +2/+2.\nWhenever you tap a permanent for {C}, add an additional {C}.\nWhenever you cast a colorless spell, you gain 1 life.