Page 83 of 86

Re: Card Contributions

PostPosted: 25 Mar 2020, 23:40
by judotrente
AI corrections :

- Hadana's Climb : the AI is playing it during 2nd main phase, missing a counter during the combat phase
Fix : added "PlayMain1:TRUE"
Code: Select all
Name:Hadana's Climb
ManaCost:1 G U
Types:Legendary Enchantment
T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of combat on your turn, put a +1/+1 counter on target creature you control. Then if that creature has three or more +1/+1 counters on it, transform CARDNAME.
SVar:TrigPutCounter:DB$PutCounter | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBTransform
SVar:DBTransform:DB$ SetState | Defined$ Self | Mode$ Transform | ConditionDefined$ Targeted | ConditionPresent$ Creature.counters_GE3_P1P1 | ConditionCompare$ EQ1 | AILogic$ Always
AlternateMode:DoubleFaced
SVar:PlayMain1:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/hadanas_climb.jpg
Oracle:At the beginning of combat on your turn, put a +1/+1 counter on target creature you control. Then if that creature has three or more +1/+1 counters on it, transform Hadana's Climb.

ALTERNATE

Name:Winged Temple of Orazca
ManaCost:no cost
Types:Legendary Land
A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ 1 | SpellDescription$ Add one mana of any color.
A:AB$ Pump | Cost$ 1 G U T | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | NumAtt$ X | NumDef$ X | References$ X | KW$ Flying | SpellDescription$ Target creature you control gains flying and gets +X/+X until end of turn, where X is its power.
SVar:X:Targeted$CardPower
SVar:Picture:http://www.wizards.com/global/images/magic/general/winged_temple_of_orazca.jpg
Oracle:(Transforms from Hadana's Climb.)\n{T}: Add one mana of any color.\n{1}{G}{U}, {T}: Target creature you control gains flying and gets +X/+X until end of turn, where X is its power.
The AI doesn't seem to know how to use the ability of the alternate version (Winged Temple of Orazca). Miss-lethal illustrated on the following screenshot :
https://i.imgur.com/AT9lGs0.png
Unfortunately, I don't know how to fix that (I'm not even sure it can be done through scripting...)


- Herald of Secret Streams : also played during 2nd main phase, missing the opportunity to deal some damage without being blocked if (an)other creature(s) with a counter is/are on the battlefield
Fix : added "PlayMain1:TRUE"
Code: Select all
Name:Herald of Secret Streams
ManaCost:3 U
Types:Creature Merfolk Warrior
PT:2/3
S:Mode$ Continuous | Affected$ Creature.YouCtrl+counters_GE1_P1P1 | AddHiddenKeyword$ Unblockable | Description$ Creatures you control with +1/+1 counters on them can't be blocked.
SVar:PlayMain1:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/herald_of_secret_streams.jpg
Oracle:Creatures you control with +1/+1 counters on them can't be blocked.
(I may edit this post if I find other corrections of this kind)

Re: Card Contributions

PostPosted: 04 Apr 2020, 22:14
by squee1968
Code: Select all
Name:Fiend Artisan
ManaCost:BG BG
Types:Creature Nightmare
PT:1/1
S:Mode$ Continuous | Affected$ Card.Self | AddPower$ Y | AddToughness$ Y | Description$ CARDNAME gets +1/+1 for each creature card in your graveyard.
A:AB$ ChangeZone | Cost$ X BG T Sac<1/Creature.Other/another creature> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcLEX | ChangeNum$ 1 | SorcerySpeed$ True | StackDescription$ Search your library for a creature card with converted mana cost X or less, put it onto the battlefield, then shuffle your library. | References$ X | SpellDescription$ Search your library for a creature card with converted mana cost X or less, put it onto the battlefield, then shuffle your library.
SVar:X:Count$xPaid
SVar:Y:Count$TypeInYourYard.Creature
Oracle:Fiend Artisan gets +1/+1 for each creature card in your graveyard.\n{X}{B/G},{T}, Sacrifice another creature: Search your library for a creature card with converted mana cost X or less, put it onto the battlefield, then shuffle your library. Activate this ability only any time you could cast a sorcery.

Re: Card Contributions

PostPosted: 05 Apr 2020, 10:39
by squee1968
The token image will have to be changed.
Code: Select all
Name:Bastion of Remembrance
ManaCost:2 B
Types:Enchantment
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a 1/1 white Human Soldier creature token.
SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ w_1_1_human_soldier | TokenOwner$ You | LegacyImage$ w 1 1 human soldier thb
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever a creture you control dies, each opponent loses 1 life and you gain 1 life.
SVar:TrigLoseLife:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ 1 | SubAbility$ DBGainLife
SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 1
Oracle: When Bastion of Remembrance enters the battlefield, create a 1/1 white Human Soldier creature token.\nWhenever a creature you control dies, each opponent loses 1 life and you gain 1 life.

Re: Card Contributions

PostPosted: 07 Apr 2020, 13:18
by squee1968
Code: Select all
Name:Sanctuary Lockdown
ManaCost:2 W
Types:Enchantment
S:Mode$ Continuous | Affected$ Creature.Human+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Humans you control get +1/+1.
A:AB$ Tap | Cost$ 2 tapXType<2/Human> | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | SpellDescription$ Tap target creature an opponent controls.
SVar:PlayMain1:TRUE
Oracle:Humans you control get +1/+1.\n{2}, Tap two untapped Humans you control: Tap target creature an opponent controls.

Re: Card Contributions

PostPosted: 11 Apr 2020, 04:30
by guytrash
Code: Select all
Name:Kalamax, the Stormsire
ManaCost:1 U R G
Types:Legendary Creature Elemental Dinosaur
PT:4/4
T:Mode$ SpellCast | ValidCard$ Instant | ActivatorThisTurnCast$ EQ1 | NoResolvingCheck$ True | ValidActivatingPlayer$ You | Execute$ TrigCopy | TriggerZone$ Battlefield | IsPresent$ Card.Self+tapped | TriggerDescription$ Whenever you cast your first instant spell each turn, if CARDNAME is tapped, copy that spell. You may choose new targets for the copy.
SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility
T:Mode$ SpellCopy | ValidCard$ Instant | ValidActivatingPlayer$ You | Execute$ DBPutCounter | TriggerZone$ Battlefield | TriggerDescription$ Whenever you copy an instant spell, put a +1/+1 counter on CARDNAME.
SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1
SVar:BuffedBy:Instant
Oracle:Whenever you cast your first instant spell each turn, if Kalamax, the Stormsire is tapped, copy that spell. You may choose new targets for the copy.\nWhenever you copy an instant spell, put a +1/+1 counter on Kalamax.

Re: Card Contributions

PostPosted: 11 Apr 2020, 21:49
by guytrash
The upcoming free spell cycle for C20:
Code: Select all
Name:Flawless Maneuver
ManaCost:2 W
Types:Instant
S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | AddKeyword$ Alternative Cost:0 | IsPresent$ Card.IsCommander+YouCtrl | Description$ If you control a commander, you may cast this spell without paying its mana cost.
A:SP$ PumpAll | Cost$ 2 W | ValidCards$ Creature.YouCtrl | KW$ Indestructible | SpellDescription$ Creatures you control gain indestructible until end of turn.
Oracle:If you control a commander, you may cast this spell without paying its mana cost.\nCreatures you control gain indestructible until end of turn.
Code: Select all
Name:Fierce Guardianship
ManaCost:2 U
Types:Instant
S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | AddKeyword$ Alternative Cost:0 | IsPresent$ Card.IsCommander+YouCtrl | Description$ If you control a commander, you may cast this spell without paying its mana cost.
A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target nonCreature Spell | ValidTgts$ Card.nonCreature | SpellDescription$ Counter target noncreature spell.
Oracle:If you control a commander, you may cast this spell without paying its mana cost.\nCounter target noncreature spell.
Code: Select all
Name:Deadly Rollick
ManaCost:3 B
Types:Instant
S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | AddKeyword$ Alternative Cost:0 | IsPresent$ Card.IsCommander+YouCtrl | Description$ If you control a commander, you may cast this spell without paying its mana cost.
A:SP$ ChangeZone | Cost$ 3 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target creature.
Oracle:If you control a commander, you may cast this spell without paying its mana cost.\nExile target creature.
Code: Select all
Name:Deflecting Swat
ManaCost:2 R
Types:Instant
S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | AddKeyword$ Alternative Cost:0 | IsPresent$ Card.IsCommander+YouCtrl | Description$ If you control a commander, you may cast this spell without paying its mana cost.
A:SP$ ChangeTargets | Cost$ 2 R | TargetType$ Spell,Activated,Triggered | Optional$ True | ValidTgts$ Card | SpellDescription$ You may choose new targets for target spell or ability.
Oracle:If you control a commander, you may cast this spell without paying its mana cost.\nYou may choose new targets for target spell or ability.
Code: Select all
Name:Obscuring Haze
ManaCost:2 G
Types:Instant
S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | AddKeyword$ Alternative Cost:0 | IsPresent$ Card.IsCommander+YouCtrl | Description$ If you control a commander, you may cast this spell without paying its mana cost.
A:SP$ Effect | Cost$ 2 G | Name$ Obscuring Haze Effect | ReplacementEffects$ RPrevent | AILogic$ Fog | SpellDescription$ Prevent all damage that would be dealt this turn by creatures your opponents control.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ValidSource$ Creature.OppCtrl | ActiveZones$ Command | Description$ Prevent all damage that would be dealt this turn by creatures your opponents control.
Oracle:If you control a commander, you may cast this spell without paying its mana cost.\nPrevent all damage that would be dealt this turn by creatures your opponents control.

Re: Card Contributions

PostPosted: 01 May 2020, 16:21
by encoupejas
Thanks for the list

Re: Card Contributions

PostPosted: 06 Jun 2020, 11:46
by squee1968
Code: Select all
Name:Gadrak, the Crown-Scourge
ManaCost:2 R
Types:Legendary Creature Dragon
PT:5/4
K:Flying
S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ CARDNAME can't attack. | CheckSVar$ X | SVarCompare$ LE3 | Description$ CARDNAME can't attack unless you control four or more artifacts.
SVar:X:Count$Valid Artifact.YouCtrl
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ DBTreasureToken | TriggerDescription$ At the beginning of your end step, create a Treasure token for each nontoken creature that died this turn.
SVar:DBTreasureToken:DB$ Token | TokenAmount$ Y | References$ Y | TokenScript$ c_a_treasure_sac | TokenOwner$ You | LegacyImage$ c a treasure sac xln
SVar:Y:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature.nonToken
DeckHas:Ability$Token
DeckHints:Type$Artifact
SVar:BuffedBy:Artifact
Oracle:Flying\nGadrak, the Crown-Scourge can't attack unless you control four or more artifacts.\nAt the beginning of your end step, create a Treasure token for each nontoken creature that died this turn.(It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.)

Re: Card Contributions

PostPosted: 08 Sep 2020, 01:48
by squee1968
Code: Select all
Name:Skyclave Relic
ManaCost:3
Types:Artifact
K:Kicker:3
K:Indestructible
T:Mode$ ChangesZone | ValidCard$ Card.Self+kicked | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self+kicked | Execute$ TrigCopyPermanent | TriggerDescription$ When CARDNAME enters the battlefield, if it was kicked, create two tapped tokens that are copies of CARDNAME.
SVar:TrigCopyPermanent:DB$ CopyPermanent | Defined$ TriggeredCard | NumCopies$ 2 | TokenTapped$ True
A:AB$ Mana | Cost$ T | Produced$ Any | SpellDescription$ Add one mana of any color.
Oracle:Kicker {3} (You may pay an additional {3} as you cast this spell.)\nIndestructible\nWhen Skyclave Relic enters the battlefield, if it was kicked, create two tapped tokens that are copies of Skyclave Relic.\n{T}: Add one mana of any color.

Re: Card Contributions

PostPosted: 09 Sep 2020, 18:02
by squee1968
There's probably a cleaner way of doing this, but it works.
Code: Select all
Name:Relic Amulet
ManaCost:2
Types:Artifact
T:Mode$ SpellCast | ValidCard$ Instant,Sorcery,Wizard | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigCounter | TriggerDescription$ Whenever you cast an instant, sorcery, or Wizard spell, put a charge counter on CARDNAME.
SVar:TrigCounter:DB$ PutCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ 1
A:AB$ RemoveCounter | Cost$ 2 T | CounterType$ CHARGE | CounterNum$ All |  RememberRemoved$ True | SubAbility$ DBDmg
SVar:DBDmg:DB$ DealDamage | NumDmg$ X | References$ X | ValidTgts$ Creature |  TgtPrompt$ Select target creature | SpellDescription$ Remove all charge counters  from CARDNAME: It deals that much damage to target creature.
SVar:X:Count$RememberedSize
Oracle:Whenever you cast an instant, sorcery, or Wizard spell, put a charge  counter on Relic Amulet.\n{2}, {T}, Remove all charge counters from Relic Amulet: It deals that much damage to target creature.

Re: Card Contributions

PostPosted: 09 Sep 2020, 19:41
by Northmoc1344
Jar of Eyeballs had some good solutions for this cost.

Re: Card Contributions

PostPosted: 09 Sep 2020, 21:03
by Northmoc1344
Great job with both of these, squee1968. They're in today's ZNR merge request.

Re: Card Contributions

PostPosted: 10 Sep 2020, 02:21
by squee1968
I tried it that way, but got error messages when trying to add it. However, I see now what I did wrong. In my original script, I neglected to put the close bracket in the cost. Here's the updated script.
Code: Select all
Name:Relic Amulet
ManaCost:2
Types:Artifact
T:Mode$ SpellCast | ValidCard$ Instant,Sorcery,Wizard | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigCounter | TriggerDescription$ Whenever you cast an instant, sorcery, or Wizard spell, put a charge counter on CARDNAME.
SVar:TrigCounter:DB$ PutCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ 1
A:AB$ DealDamage | Cost$ 2 T SubCounter<All/CHARGE> | NumDmg$ X | References$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Remove all charge counters from CARDNAME: It deals that much damage to target creature.
SVar:X:SVar$CostCountersRemoved
Oracle:Whenever you cast an instant, sorcery, or Wizard spell, put a charge counter on Relic Amulet.\n{2}, {T}, Remove all charge counters from Relic Amulet: It deals that much damage to target creature.

Re: Card Contributions

PostPosted: 10 Sep 2020, 12:33
by Northmoc1344
SubCounter All cost and X:SVar$CostCountersRemoved do throw a lot of warnings, but I guess they're not errors. Cards like Jar of Eyeballs throw the same warnings. I was told it's OK :)

Re: Card Contributions

PostPosted: 18 Sep 2020, 15:00
by squee1968
this should work, but it's producing mana when it shouldn't.
Code: Select all
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
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.