It is currently 16 Apr 2024, 06:18
   
Text Size

Card Development Questions

Post MTG Forge Related Programming Questions Here

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

Re: Card Development Questions

Postby Flexy » 08 Mar 2021, 00:42

I was pretty close
Flexy
 
Posts: 37
Joined: 04 Oct 2019, 17:35
Has thanked: 5 times
Been thanked: 1 time

Re: Card Development Questions

Postby squee1968 » 02 Jul 2021, 15:29

I feel like I'm very close with this, but it's just not right.

Code: Select all
Name:Instrument of the Bards
ManaCost:G
Types:Legendary Artifact
A:AB$ ChangeZone | Cost$ 3 G T | Origin$ Library | Destination$ Hand | ChangeType$ Creature.cmcEQX | ChangeNum$ 1 | RememberChanged$ True | SubAbility$ TrigToken | StackDescription$ SpellDescription | SpellDescription$ Search your library for a creature card with mana value equal to the number of charge counters on CARDNAME, reveal it, and put it into your hand.
SVar:TrigToken:DB$ Token | TokenAmount$ 1 | ConditionDefined$ Remembered | ConditionPresent$ Creature.Legendary+IsRemembered | ForgetChanged$ True | TokenScript$ c_a_treasure_sac | TokenOwner$ You | LegacyImage$ c a treasure sac xln
DeckHas:Ability$Token
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a charge counter on CARDNAME.
SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ 1
SVar:X:Count$CardCounters.CHARGE
Oracle:At the beginning of your upkeep, you may put a charge counter on Instrument of the Bards.\n{3}{G}{T}: Search your library for a creature card with mana value equal to the number of harmony counters on Instrument of the Bards, reveal it, and put it into your hand. If that card is Legendary, create a Treasure token. Then shuffle your library.
Edited to get it a little closer
squee1968
 
Posts: 254
Joined: 18 Nov 2011, 03:28
Has thanked: 110 times
Been thanked: 45 times

Previous

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 48 guests


Who is online

In total there are 48 users online :: 0 registered, 0 hidden and 48 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 48 guests

Login Form