mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Merge branch 'treasuremana' into 'master'
AFR: mana from Treasure cards See merge request core-developers/forge!4970
This commit is contained in:
10
forge-gui/res/cardsfolder/upcoming/devour_intellect.txt
Normal file
10
forge-gui/res/cardsfolder/upcoming/devour_intellect.txt
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Name:Devour Intellect
|
||||||
|
ManaCost:B
|
||||||
|
Types:Sorcery
|
||||||
|
A:SP$ Pump | TgtPrompt$ Select target opponent | ValidTgt$ Opponent | SubAbility$ DBBranch
|
||||||
|
SVar:DBBranch:DB$ Branch | BranchConditionSVar$ TreasureCheck | BranchConditionSVarCompare$ GE1 | FalseSubAbility$ DBDiscard | TrueSubAbility$ DBTreasureDiscard
|
||||||
|
SVar:DBDiscard:DB$ Discard | Defined$ Targeted | NumCards$ 1 | Mode$ TgtChoose
|
||||||
|
SVar:DBTreasureDiscard:DB$ Discard | Defined$ Targeted | NumCards$ 1 | Mode$ RevealYouChoose | DiscardValid$ Card.nonLand
|
||||||
|
SVar:TreasureCheck:Count$CastTotalManaSpent Treasure
|
||||||
|
SVar:AIPreference:ManaFrom$Treasure
|
||||||
|
Oracle:Target opponent discards a card. If mana from a Treasure was spent to cast this spell, instead that player reveals their hand, you choose a nonland card from it, then that player discards that card.
|
||||||
9
forge-gui/res/cardsfolder/upcoming/jaded_sell_sword.txt
Normal file
9
forge-gui/res/cardsfolder/upcoming/jaded_sell_sword.txt
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
Name:Jaded Sell-Sword
|
||||||
|
ManaCost:3 R
|
||||||
|
Types:Creature Dragon Warrior
|
||||||
|
PT:4/3
|
||||||
|
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | CheckSVar$ TreasureCheck | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, if mana from a Treasure was spent to cast it, it gains first strike and haste until end of turn.
|
||||||
|
SVar:TrigPump:DB$ Pump | Defined$ Self | KW$ First Strike & Haste
|
||||||
|
SVar:TreasureCheck:Count$CastTotalManaSpent Treasure
|
||||||
|
SVar:AIPreference:ManaFrom$Treasure
|
||||||
|
Oracle:When Jaded Sell-Sword enters the battlefield, if mana from a Treasure was spent to cast it, it gains first strike and haste until end of turn.
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
Name:Kalain, Reclusive Painter
|
||||||
|
ManaCost:B R
|
||||||
|
Types:Legendary Creature Human Elf Bard
|
||||||
|
PT:1/2
|
||||||
|
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ DBToken | TriggerDescription$ When CARDNAME enters the battlefield, create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")
|
||||||
|
SVar:DBToken:DB$ Token | TokenScript$ c_a_treasure_sac
|
||||||
|
R:Event$ Moved | ActiveZones$ Battlefield | ValidCard$ Creature.YouCtrl+Other | Destination$ Battlefield | ReplaceWith$ EnterWithP1P1 | Description$ Other creatures you control enter the battlefield with an additional +1/+1 counter on them for each mana from a Treasure spent to cast them.
|
||||||
|
SVar:EnterWithP1P1:DB$ ChangeZone | Origin$ All | Destination$ Battlefield | WithCountersType$ P1P1 | WithCountersAmount$ Treasure | Defined$ ReplacedCard
|
||||||
|
SVar:Treasure:ReplacedCardLKI$CastTotalManaSpent Treasure
|
||||||
|
DeckHas:Ability$Token & Ability$Sacrifice & Ability$Counters
|
||||||
|
Oracle:When Kalain, Reclusive Painter enters the battlefield, create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")\nOther creatures you control enter the battlefield with an additional +1/+1 counter on them for each mana from a Treasure spent to cast them.
|
||||||
8
forge-gui/res/cardsfolder/upcoming/price_of_loyalty.txt
Normal file
8
forge-gui/res/cardsfolder/upcoming/price_of_loyalty.txt
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
Name:Price of Loyalty
|
||||||
|
ManaCost:2 R
|
||||||
|
Types:Sorcery
|
||||||
|
A:SP$ GainControl | ValidTgts$ Creature | TgtPrompt$ Select target creature | LoseControl$ EOT | Untap$ True | AddKWs$ Haste | SubAbility$ DBPump | SpellDescription$ Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn. If mana from a Treasure was spent to cast this spell, that creature gets +2/+0 until end of turn.
|
||||||
|
SVar:DBPump:DB$ Pump | CheckSVar$ TreasureCheck | Defined$ Targeted | NumAtt$ 2
|
||||||
|
SVar:TreasureCheck:Count$CastTotalManaSpent Treasure
|
||||||
|
SVar:AIPreference:ManaFrom$Treasure
|
||||||
|
Oracle:Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn. If mana from a Treasure was spent to cast this spell, that creature gets +2/+0 until end of turn.
|
||||||
10
forge-gui/res/cardsfolder/upcoming/spoils_of_the_hunt.txt
Normal file
10
forge-gui/res/cardsfolder/upcoming/spoils_of_the_hunt.txt
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Name:Spoils of the Hunt
|
||||||
|
ManaCost:2 G
|
||||||
|
Types:Instant
|
||||||
|
A:SP$ Pump | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | NumAtt$ Treasure | SubAbility$ DBDealDamage | StackDescription$ {c:ThisTargetedCard} gets +1/+0 until end of turn for each mana from a Treasure that was spent to cast this spell. | SpellDescription$ Target creature you control gets +1/+0 until end of turn for each mana from a Treasure that was spent to cast this spell. Then that creature deals damage equal to its power to target creature an opponent controls.
|
||||||
|
SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumDmg$ X | DamageSource$ ParentTarget | AILogic$ PowerDmg | StackDescription$ Then {c:ParentTarget} deals damage equal to its power to {c:ThisTargetedCard}.
|
||||||
|
SVar:X:ParentTargeted$CardPower
|
||||||
|
SVar:Treasure:Count$CastTotalManaSpent Treasure
|
||||||
|
SVar:AIPreference:ManaFrom$Treasure
|
||||||
|
AI:RemoveDeck:Random
|
||||||
|
Oracle:Target creature you control gets +1/+0 until end of turn for each mana from a Treasure that was spent to cast this spell. Then that creature deals damage equal to its power to target creature an opponent controls.
|
||||||
Reference in New Issue
Block a user