Merge branch 'freshmaster' into 'master'

New card scripts (HTR20 + NEO)

See merge request core-developers/forge!6119
This commit is contained in:
Michael Kamensky
2022-02-03 15:46:55 +00:00
9 changed files with 93 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
Name:Banishing Slash
ManaCost:W W
Types:Sorcery
A:SP$ Destroy | TargetMin$ 0 | TargetMax$ 1 | ValidTgts$ Artifact,Enchantment,Creature.tapped | TgtPrompt$ Choose target artifact, enchantment or tapped creature. | SubAbility$ DBToken | SpellDescription$ Destroy up to one target artifact, enchantment, or tapped creature. Then if you control an artifact and an enchantment, create a 2/2 white Samurai creature token with vigilance.
SVar:DBToken:DB$ Token | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | TokenAmount$ 1 | TokenScript$ w_2_2_samurai_vigilance
SVar:Y:Count$Valid Artifact.YouCtrl/LimitMax.1
SVar:Z:Count$Valid Enchantment.YouCtrl/LimitMax.1
SVar:X:SVar$Y/Plus.Z
DeckHints:Type$Artifact|Enchantment
DeckHas:Ability$Token & Type$Samurai
Oracle:Destroy up to one target artifact, enchantment, or tapped creature. Then if you control an artifact and an enchantment, create a 2/2 white Samurai creature token with vigilance.

View File

@@ -0,0 +1,13 @@
Name:Euroakus
ManaCost:4 G G
Types:Legendary Creature Treefolk Wizard
PT:6/6
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a number of 1/1 blue Human Wizard creature tokens equal to the number of differently named lands you control.
SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ u_1_1_human_wizard | SpellDescription$ Create a number of 1/1 blue Human Wizard creature tokens equal to the number of differently named lands you control.
SVar:X:Count$DifferentCardNames_Land.YouCtrl+inZoneBattlefield
A:AB$ Draw | Cost$ 4 G U | NumCards$ Y | SubAbility$ PumpAll | SpellDescription$ Draw a card for each Wizard you control. They each get +1/+1 until end of turn for each card in your hand.
SVar:Y:Count$Valid Wizard.YouCtrl
SVar:PumpAll:DB$ PumpAll | ValidCards$ Wizard.YouCtrl | NumAtt$ Z | NumDef$ Z
SVar:Z:Count$CardsInYourHand
DeckHas:Ability$Token
Oracle:When Euroakus enters the battlefield, create a number of 1/1 blue Human Wizard creature tokens equal to the number of differently named lands you control.\n{4}{G}{U}: Draw a card for each Wizard you control. They each get +1/+1 until end of turn for each card in your hand.

View File

@@ -0,0 +1,9 @@
Name:Farewell
ManaCost:4 W W
Types:Sorcery
A:SP$ Charm | MinCharmNum$ 1 | CharmNum$ 4 | Choices$ ExileAllArtifacts,ExileAllCreatures,ExileAllEnchantments,ExileAllGraveyards
SVar:ExileAllArtifacts:DB$ ChangeZoneAll | ChangeType$ Artifact | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile all artifacts.
SVar:ExileAllCreatures:DB$ ChangeZoneAll | ChangeType$ Creature | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile all creatures.
SVar:ExileAllEnchantments:DB$ ChangeZoneAll | ChangeType$ Enchantment | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile all enchantments.
SVar:ExileAllGraveyards:DB$ ChangeZoneAll | ChangeType$ Card | Origin$ Graveyard | Destination$ Exile | SpellDescription$ Exile all graveyards.
Oracle:Choose one or more — \n• Exile all artifacts.\n• Exile all creatures.\n• Exile all enchantments.\n• Exile all graveyards.

View File

@@ -0,0 +1,10 @@
Name:Invoke Justice
ManaCost:1 W W W W
Types:Sorcery
A:SP$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | TgtPrompt$ Choose target permanent card in your graveyard | ValidTgts$ Permanent.YouCtrl | SubAbility$ DBPlayerTarget | SpellDescription$ Return target permanent card from your graveyard to the battlefield, then distribute four +1/+1 counters among any number of creatures and/or Vehicles target player controls. | StackDescription$ Return {c:Targeted} from your graveyard to the battlefield,
SVar:DBPlayerTarget:DB$ Pump | ValidTgts$ Player | TgtPrompt$ Select target player | RememberObjects$ ThisTargetedPlayer | SubAbility$ DBPutCounter | StackDescription$ then distribute four +1/+1 counters among any number of creatures and/or Vehicles {p:Targeted} controls.
SVar:DBPutCounter:DB$ PutCounter | Choices$ Creature.RememberedPlayerCtrl,Vehicle.RememberedPlayerCtrl | ChoiceTitle$ Choose any number of creatures and/or Vehicles target player controls to distribute counters to | ChoiceAmount$ 4 | MinChoiceAmount$ 1 | CounterType$ P1P1 | CounterNum$ 4 | DividedAsYouChoose$ 4 | StackDescription$ None | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
DeckHas:Ability$Graveyard|Counters
DeckHints:Type$Creature|Vehicle
Oracle:Return target permanent card from your graveyard to the battlefield, then distribute four +1/+1 counters among any number of creatures and/or Vehicles target player controls.

View File

@@ -0,0 +1,8 @@
Name:Jukai Trainee
ManaCost:1 G
Types:Creature Human Samurai
PT:2/2
T:Mode$ Blocks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked, it gets +1/+1 until end of turn.
T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigPump | Secondary$ True | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked, it gets +1/+1 until end of turn.
SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ 1 | NumDef$ 1
Oracle:Whenever Jukai Trainee blocks or becomes blocked, it gets +1/+1 until end of turn.

View File

@@ -0,0 +1,14 @@
Name:Kami of Transience
ManaCost:1 G
Types:Creature Spirit
PT:2/2
K:Trample
T:Mode$ SpellCast | ValidCard$ Enchantment | ValidActivatingPlayer$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast an enchantment spell, put a +1/+1 counter on CARDNAME.
SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1
T:Mode$ Phase | Phase$ End of Turn | CheckSVar$ X | SVarCompare$ GE1 | TriggerZones$ Graveyard | OptionalDecider$ You | Execute$ TrigReturn | TriggerDescription$ At the beginning of each end step, if an enchantment was put into your graveyard from the battlefield this turn, you may return CARDNAME from your graveyard to your hand.
SVar:TrigReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | Defined$ Self
SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Enchantment.YouOwn
SVar:BuffedBy:Enchantment
DeckHas:Ability$Counters
DeckNeeds:Type$Enchantment
Oracle:Trample\nWhenever you cast an enchantment spell, put a +1/+1 counter on Kami of Transience.\nAt the beginning of each end step, if an enchantment was put into your graveyard from the battlefield this turn, you may return Kami of Transience from your graveyard to your hand.

View File

@@ -0,0 +1,10 @@
Name:Mukotai Soulripper
ManaCost:1 B
Types:Artifact Vehicle
PT:4/3
K:Crew:2
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPutCounter | TriggerDescription$ Whenever CARDNAME attacks, you may sacrifice another creature or artifact. If you do, put a +1/+1 counter on CARDNAME and it gains menace until end of turn.
SVar:TrigPutCounter:AB$ PutCounter | Cost$ Sac<1/Creature.Other;Artifact.Other/another artifact or creature> | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBPump
SVar:DBPump:DB$ Pump | Defined$ Self | KW$ Menace
DeckHas:Ability$Sacrifice|Counters
Oracle:Whenever Mukotai Soulripper attacks, you may sacrifice another artifact or creature. If you do, put a +1/+1 counter on Mukotail Soulripper and it gains menace until end of turn.\nCrew 2

View File

@@ -0,0 +1,9 @@
Name:Nezumi Prowler
ManaCost:1 B
Types:Artifact Creature Rat Ninja
PT:3/1
K:Ninjutsu:1 B
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, target creature you control gains deathtouch and lifelink until end of turn.
SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | KW$ Deathtouch & Lifelink
DeckHas:Ability$LifeGain
Oracle:Ninjutsu {1}{B}\nWhen Nezumi Prowler enters the battlefield, target creature you control gains deathtouch and lifelink until end of turn.

View File

@@ -0,0 +1,9 @@
Name:Sunblade Samurai
ManaCost:4 W
Types:Enchantment Creature Human Samurai
PT:4/4
K:Vigilance
A:AB$ ChangeZone | PrecostDesc$ Channel — | Cost$ 2 Discard<1/CARDNAME> | ActivationZone$ Hand | Origin$ Library | Destination$ Hand | ChangeType$ Plains.Basic | ChangeNum$ 1 | ChangeTypeDesc$ basic Plains card | SubAbility$ DBGainLife | SpellDescription$ Search your library for a basic Plains card, reveal it, put it into your hand, then shuffle. You gain 2 life.
SVar:DBGainLife:DB$ GainLife | LifeAmount$ 2
DeckHas:Ability$Discard|LifeGain
Oracle:Vigilance\nChannel — {2}, Discard Sunblade Samurai: Search your library for a basic Plains card, reveal it, put it into your hand, then shuffle. You gain 2 life.