It is currently 27 May 2020, 20:53
   
Text Size

Card Contributions

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, friarsol, Blacksmith, KrazyTheFox, Agetian, CCGHQ Admins

Re: Card Contributions

Postby judotrente » 25 Mar 2020, 23:40

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)
User avatar
judotrente
 
Posts: 468
Joined: 04 Nov 2019, 03:24
Has thanked: 7 times
Been thanked: 3 times

Re: Card Contributions

Postby squee1968 » 04 Apr 2020, 22:14

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.
squee1968
 
Posts: 205
Joined: 18 Nov 2011, 03:28
Has thanked: 107 times
Been thanked: 29 times

Re: Card Contributions

Postby squee1968 » 05 Apr 2020, 10:39

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.
squee1968
 
Posts: 205
Joined: 18 Nov 2011, 03:28
Has thanked: 107 times
Been thanked: 29 times

Re: Card Contributions

Postby squee1968 » 07 Apr 2020, 13:18

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.
squee1968
 
Posts: 205
Joined: 18 Nov 2011, 03:28
Has thanked: 107 times
Been thanked: 29 times

Re: Card Contributions

Postby guytrash » 11 Apr 2020, 04:30

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.
guytrash
 
Posts: 4
Joined: 01 Jun 2019, 05:28
Has thanked: 0 time
Been thanked: 1 time

Re: Card Contributions

Postby guytrash » 11 Apr 2020, 21:49

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.
guytrash
 
Posts: 4
Joined: 01 Jun 2019, 05:28
Has thanked: 0 time
Been thanked: 1 time

Re: Card Contributions

Postby encoupejas » 01 May 2020, 16:21

Thanks for the list
encoupejas
 
Posts: 3
Joined: 01 May 2020, 16:17
Has thanked: 0 time
Been thanked: 0 time

Previous

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 10 guests


Who is online

In total there are 10 users online :: 0 registered, 0 hidden and 10 guests (based on users active over the past 10 minutes)
Most users ever online was 1371 on 09 Feb 2020, 16:22

Users browsing this forum: No registered users and 10 guests

Login Form