Various card scripts (CLU, PIP), minor fixes (#4713)

This commit is contained in:
Renato Filipe Vidal Santos
2024-02-22 21:06:50 +00:00
committed by GitHub
parent b0991e3a6a
commit 6961de8e6b
13 changed files with 81 additions and 6 deletions

View File

@@ -2,6 +2,6 @@ Name:Crag Puca
ManaCost:UR UR UR
Types:Creature Shapeshifter
PT:2/4
A:AB$ Pump | Cost$ UR | Defined$ Self | | AILogic$ SwitchPT | KW$ HIDDEN CARDNAME's power and toughness are switched | SpellDescription$ Switch CARDNAME's power and toughness until end of turn.
A:AB$ Pump | Cost$ UR | Defined$ Self | AILogic$ SwitchPT | KW$ HIDDEN CARDNAME's power and toughness are switched | SpellDescription$ Switch CARDNAME's power and toughness until end of turn.
AI:RemoveDeck:All
Oracle:{U/R}: Switch Crag Puca's power and toughness until end of turn.

View File

@@ -2,6 +2,6 @@ Name:Graveyard Shovel
ManaCost:2
Types:Artifact
A:AB$ ChangeZone | Cost$ 2 T | ValidTgts$ Player | DefinedPlayer$ Targeted | TgtPrompt$ Select target player | Origin$ Graveyard | Destination$ Exile | ChangeType$ Card | ChangeNum$ 1 | Hidden$ True | Chooser$ Targeted | Mandatory$ True | SubAbility$ DBGainLife | ForgetOtherTargets$ True | RememberChanged$ True | IsCurse$ True | StackDescription$ Target player exiles a card from their graveyard. If it's a creature card, you gain 2 life. | SpellDescription$ Target player exiles a card from their graveyard. If it's a creature card, you gain 2 life.
SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 2 | ConditionDefined$ Remembered | ConditionnPresent$ Creature | SubAbility$ DBCleanup
SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 2 | ConditionDefined$ Remembered | ConditionPresent$ Creature | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
Oracle:{2}, {T}: Target player exiles a card from their graveyard. If it's a creature card, you gain 2 life.

View File

@@ -2,5 +2,5 @@ Name:Hatchet Bully
ManaCost:3 R
Types:Creature Goblin Warrior
PT:3/3
A:AB$ DealDamage | Cost$ 2 R T AddCounter<1/M1M1/Creature.YouCtrl/a creature you control> | | ValidTgts$ Any | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to any target.
A:AB$ DealDamage | Cost$ 2 R T AddCounter<1/M1M1/Creature.YouCtrl/a creature you control> | ValidTgts$ Any | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to any target.
Oracle:{2}{R}, {T}, Put a -1/-1 counter on a creature you control: Hatchet Bully deals 2 damage to any target.

View File

@@ -2,6 +2,6 @@ Name:Myr Quadropod
ManaCost:4
Types:Artifact Creature Myr
PT:1/4
A:AB$ Pump | Cost$ 3 | Defined$ Self | | AILogic$ SwitchPT | KW$ HIDDEN CARDNAME's power and toughness are switched | SpellDescription$ Switch CARDNAME's power and toughness until end of turn.
A:AB$ Pump | Cost$ 3 | Defined$ Self | AILogic$ SwitchPT | KW$ HIDDEN CARDNAME's power and toughness are switched | SpellDescription$ Switch CARDNAME's power and toughness until end of turn.
AI:RemoveDeck:All
Oracle:{3}: Switch Myr Quadropod's power and toughness until end of turn.

View File

@@ -15,4 +15,4 @@ SVar:TrigPump:DB$ Pump | ValidTgts$ Card.IsRemembered | TgtPrompt$ Select target
K:Crew:3
SVar:HasAttackEffect:TRUE
DeckHas:Ability$LifeGain
Oracle:Menace,Deathtouch,Lifelink\nWhenever Smogbelcher Chariot attacks, target creature that crewed it this turn perpetually gains your choice of menace, deathtouch, or lifelink.\nCrew 3
Oracle:Menace, deathtouch, lifelink\nWhenever Smogbelcher Chariot attacks, target creature that crewed it this turn perpetually gains your choice of menace, deathtouch, or lifelink.\nCrew 3

View File

@@ -0,0 +1,13 @@
Name:Agent Frank Horrigan
ManaCost:5 B G
Types:Legendary Creature Mutant Warrior
PT:8/6
K:Trample
S:Mode$ Continuous | Affected$ Card.Self+attackedThisTurn | AddKeyword$ Indestructible | Description$ CARDNAME has indestructible as long as it attacked this turn.
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigProliferate | TriggerDescription$ Whenever CARDNAME enters the battlefield or attacks, proliferate twice. (To proliferate, choose any number of permanents and/or players, then give each another counter of each kind already there.)
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigProliferate | TriggerZones$ Battlefield | Secondary$ True | TriggerDescription$ Whenever CARDNAME enters the battlefield or attacks, proliferate twice. (To proliferate, choose any number of permanents and/or players, then give each another counter of each kind already there.)
SVar:TrigProliferate:DB$ Proliferate | Amount$ 2
SVar:HasAttackEffect:TRUE
DeckHas:Ability$Proliferate|Counters
DeckNeeds:Ability$Counters
Oracle:Trample\nAgent Frank Horrigan has indestructible as long as it attacked this turn.\nWhenever Agent Frank Horrigan enters the battlefield or attacks, proliferate twice. (To proliferate, choose any number of permanents and/or players, then give each another counter of each kind already there.)

View File

@@ -0,0 +1,12 @@
Name:Herald of Ilharg
ManaCost:2 R G
Types:Creature Boar Beast
PT:3/3
K:Trample
T:Mode$ SpellCast | ValidCard$ Creature | ValidActivatingPlayer$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a creature spell, put two +1/+1 counters on CARDNAME. If that spell has mana value 5 or greater, CARDNAME deals damage equal to the number of counters on it to each opponent.
SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 2 | SubAbility$ DBDealDamage
SVar:DBDealDamage:DB$ DealDamage | ConditionCheckSVar$ TriggeredStackInstance$CardManaCostLKI | ConditionSVarCompare$ GE5 | Defined$ Player.Opponent | NumDmg$ X
SVar:X:Count$CardCounters.ALL
DeckNeeds:Type$Creature
DeckHas:Ability$Counters
Oracle:Trample\nWhenever you cast a creature spell, put two +1/+1 counters on Herald of Ilharg. If that spell has mana value 5 or greater, Herald of Ilharg deals damage equal to the number of counters on it to each opponent.

View File

@@ -0,0 +1,9 @@
Name:Incriminating Impetus
ManaCost:2 BR
Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | ValidTgts$ Creature | AILogic$ Pump
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSuspect | TriggerDescription$ When CARDNAME enters the battlefield, suspect enchanted creature. (It has menace and can't block.)
SVar:TrigSuspect:DB$ AlterAttribute | Defined$ Enchanted | Attributes$ Suspected
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ 2 | AddToughness$ 2 | Goad$ True | Description$ Enchanted creature gets +2/+2 and is goaded. (It attacks each combat if able and attacks a player other than you if able.)
Oracle:Enchant creature\nWhen Incriminating Impetus enters the battlefield, suspect enchanted creature. (It has menace and cant block.)\nEnchanted creature gets +2/+2 and is goaded. (It attacks each combat if able and attacks a player other than you if able.)

View File

@@ -0,0 +1,10 @@
Name:Portal Manipulator
ManaCost:2 WU WU
Types:Creature Human Wizard
PT:3/2
K:Flash
T:Mode$ ChangesZone | Phase$ Declare Attackers | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChoosePlayer | TriggerDescription$ When CARDNAME enters the battlefield during the declare attackers step, choose target player and any number of target attacking creatures their opponents control. Those creatures are now attacking that player.
SVar:TrigChoosePlayer:DB$ Pump | ValidTgts$ Player | SubAbility$ DBChooseAttackers
SVar:DBChooseAttackers:DB$ ChangeCombatants | ValidTgts$ Creature.attacking | TargetsWithDefinedController$ Player.OpponentOf ParentTarget | TargetMin$ 0 | TargetMax$ MaxTargets | TgtPrompt$ Select any number of target attacking creatures controlled by target player's opponents | Attacking$ TargetedPlayer
SVar:MaxTargets:Count$Valid Creature.attacking+ControlledBy Player.OpponentOf ParentTarget
Oracle:Flash\nWhen Portal Manipulator enters the battlefield during the declare attackers step, choose target player and any number of target attacking creatures their opponents control. Those creatures are now attacking that player.

View File

@@ -0,0 +1,11 @@
Name:Preston Garvey, Minuteman
ManaCost:2 R G W
Types:Legendary Creature Human Soldier
PT:4/4
T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of combat on your turn, create a green Aura enchantment token named Settlement attached to up to one target land you control. It has enchant land and "Enchanted land has '{T}: Add one mana of any color.'"
SVar:TrigToken:DB$ Token | TokenScript$ settlement | TokenAmount$ 1 | TokenOwner$ You | TargetMin$ 0 | TargetMax$ 1 | AttachedTo$ Targeted | ValidTgts$ Land.YouCtrl | TgtPrompt$ Select up to one target land you control
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigUntapAll | TriggerDescription$ Whenever CARDNAME attacks, untap each enchanted permanent you control.
SVar:TrigUntapAll:DB$ UntapAll | ValidCards$ Permanent.enchanted+YouCtrl
DeckHas:Ability$Token
SVar:BuffedBy:Permanent.enchanted
Oracle:At the beginning of combat on your turn, create a green Aura enchantment token named Settlement attached to up to one target land you control. It has enchant land and "Enchanted land has '{T}: Add one mana of any color.'"\nWhenever Preston Garvey, Minuteman attacks, untap each enchanted permanent you control.

View File

@@ -0,0 +1,11 @@
Name:Scuttling Sentinel
ManaCost:1 GU GU
Types:Creature Crab Elf
PT:3/2
K:Flash
K:Vigilance
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPut | TriggerDescription$ When CARDNAME enters the battlefield, put a +1/+1 counter on another target creature you control. Until end of turn, that creature becomes a blue Crab in addition to its other types and gains hexproof. (It can't be the target of spells or abilities your opponents control.)
SVar:TrigPut:DB$ PutCounter | ValidTgts$ Creature.Other+YouCtrl | TgtPrompt$ Select another target creature you control | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBAnimate
SVar:DBAnimate:DB$ Animate | Defined$ Targeted | Types$ Crab | Colors$ Blue | OverwriteColors$ True | Keywords$ Hexproof
DeckHas:Ability$Counters & Type$Crab
Oracle:Flash\nVigilance\nWhen Scuttling Sentinel enters the battlefield, put a +1/+1 counter on another target creature you control. Until end of turn, that creature becomes a blue Crab in addition to its other types and gains hexproof. (It can't be the target of spells or abilities your opponents control.)

View File

@@ -6,7 +6,7 @@ K:Affinity:Planeswalker
K:Flying
K:Vigilance
T:Mode$ AttackersDeclared | AttackingPlayer$ Player.Opponent | CheckSVar$ X | SVarCompare$ GE2 | Execute$ TrigDrain | TriggerZones$ Battlefield | TriggerDescription$ Whenever an opponent attacks with creatures, if two or more of those creatures are attacking you and/or planeswalkers you control, that opponent loses 3 life and you draw a card.
SVar:TrigDrain:DB$ LoseLife | Defined$ Defined$ TriggeredAttackingPlayer | LifeAmount$ 3 | SubAbility$ DBDraw
SVar:TrigDrain:DB$ LoseLife | Defined$ TriggeredAttackingPlayer | LifeAmount$ 3 | SubAbility$ DBDraw
SVar:DBDraw:DB$ Draw | NumCards$ 1 | Defined$ You
SVar:X:Count$ValidAll Creature.attackingYouOrYourPWLKI
DeckHas:Type$Planeswalker

View File

@@ -0,0 +1,9 @@
Name:Settlement
ManaCost:no cost
Types:Enchantment Aura
Colors:green
K:Enchant land
A:SP$ Attach | Cost$ 0 | ValidTgts$ Land | AILogic$ Pump
S:Mode$ Continuous | Affected$ Card.EnchantedBy | AddAbility$ SettlementTap | Description$ Enchanted land has "{T}: Add one mana of any color."
SVar:SettlementTap:AB$ Mana | Cost$ T | Produced$ Any | SpellDescription$ Add one mana of any color.
Oracle:Enchant land\nEnchanted land has "{T}: Add one mana of any color."