It is currently 09 Sep 2025, 11:41
   
Text Size

Spoiler Season for M14

Post MTG Forge Related Programming Questions Here

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

Spoiler Season for M14

Postby friarsol » 16 May 2013, 16:31

Looks like it's spoiler season, so I just cleared the wiki page:

http://www.slightlymagic.net/wiki/Forge_Upcoming

If someone can create a branch for the Scripts that would be great. I won't be able to do it until at earliest Saturday.

As usual, please log into the Wiki and claim the cards you want to do. If you have commit privileges, commit to the branch after it's created, if you don't post the full script here. Don't be greedy and make sure you actually test your scripts.

Thanks
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Spoiler Season for M14

Postby swordshine » 17 May 2013, 07:00

I created a branch for M14 cards, added some cards by sagephoenix and updated the wiki.
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Spoiler Season for M14

Postby sagephoenix » 17 May 2013, 14:24

Awaken the Ancient | Open
Code: Select all
Name:Awaken the Ancient
ManaCost:1 R R R
Types:Enchantment Aura
K:Enchant Mountain
A:SP$ Attach | Cost$ 1 R R R | ValidTgts$ Mountain | AILogic$ Animate
S:Mode$ Continuous | Affected$ Land.AttachedBy | AddType$ Creature & Giant | SetColor$ Red | SetPower$ 7 | SetToughness$ 7 | AddKeyword$ Haste | Description$ Enchanted Mountain is a 7/7 red Giant creature with haste. It's still a land.
SVar:Picture:http://www.wizards.com/global/images/magic/general/awaken_the_ancient.jpg
SetInfo:M14 Rare
sagephoenix
 
Posts: 177
Joined: 29 Aug 2011, 14:07
Has thanked: 57 times
Been thanked: 3 times

Re: Spoiler Season for M14

Postby sagephoenix » 18 May 2013, 03:51

Staff of the Mind Magus | Open
Code: Select all
Name:Staff of the Mind Magus
ManaCost:3
Types:Artifact
T:Mode$ SpellCast | ValidCard$ Card.Blue | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever you cast a blue spell or an Island enters the battlefield under your control, you gain 1 life.
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Island.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever you cast a blue spell or an Island enters the battlefield under your control, you gain 1 life.
SVar:TrigGainLife:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ 1
SVar:Picture: http://www.wizards.com/global/images/magic/general/staff_of_the_mind_magus.jpg
SetInfo:M14 Uncommon
Staff of the Flame Magus | Open
Code: Select all
Name:Staff of the Flame Magus
ManaCost:3
Types:Artifact
T:Mode$ SpellCast | ValidCard$ Card.Red | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever you cast a red spell or a Mountain enters the battlefield under your control, you gain 1 life.
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Mountain.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever you cast a red spell or a Mountain enters the battlefield under your control, you gain 1 life.
SVar:TrigGainLife:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ 1
SVar:Picture: http://www.wizards.com/global/images/magic/general/staff_of_the_flame_magus.jpg
SetInfo:M14 Uncommon
sagephoenix
 
Posts: 177
Joined: 29 Aug 2011, 14:07
Has thanked: 57 times
Been thanked: 3 times

Re: Spoiler Season for M14

Postby ZzzzSleep » 18 May 2013, 10:10

Sliver Sorcery time!
"Hive Stirrings" | Open
Code: Select all
Name:Hive Stirrings
ManaCost:2 W
Types:Sorcery
Text:no text
A:SP$ Token | Cost$ 2 W | TokenAmount$ 2 | TokenName$ Sliver | TokenTypes$ Creature,Sliver | TokenOwner$ You | TokenColors$ Colorless | TokenPower$ 1 | TokenToughness$ 1 | SpellDescription$ Put two 1/1 colorless Sliver creature tokens onto the battlefield.
SVar:Picture: http://www.wizards.com/global/images/magic/general/hive_stirrings.jpg
SetInfo:M14 Common
ZzzzSleep
 
Posts: 182
Joined: 29 Oct 2010, 02:19
Has thanked: 18 times
Been thanked: 18 times

Re: Spoiler Season for M14

Postby ZzzzSleep » 18 May 2013, 10:31

It's two Metallic Sliver s stuck together with construction glue!
"Sliver Construct" | Open
Code: Select all
Name:Sliver Construct
ManaCost:3
Types:Artifact Creature Sliver Construct
PT:2/2
SVar:Picture:http://www.wizards.com/global/images/magic/general/sliver_construct.jpg
SetInfo:M14 Common
Oracle:
End
ZzzzSleep
 
Posts: 182
Joined: 29 Oct 2010, 02:19
Has thanked: 18 times
Been thanked: 18 times

Re: Spoiler Season for M14

Postby sagephoenix » 18 May 2013, 15:24

Master of Diversion | Open
Code: Select all
Name:Master of Diversion
ManaCost:2 W
Types:Creature Human Scout
PT:2/2
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigTap | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, tap target creature defending player controls.
SVar:TrigTap:AB$Tap | Cost$ 0 | ValidTgts$ Creature.DefenderCtrl | TgtPrompt$ Select target creature defending player controls
SVar:Picture:http://www.wizards.com/global/images/magic/general/master_of_diversion.jpg
SetInfo:M14 Common
Staff of the Death Magus | Open
Code: Select all
Name:Staff of the Death Magus
ManaCost:3
Types:Artifact
T:Mode$ SpellCast | ValidCard$ Card.Black | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever you cast a black spell or a Swamp enters the battlefield under your control, you gain 1 life.
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Swamp.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever you cast a black spell or a Swamp enters the battlefield under your control, you gain 1 life.
SVar:TrigGainLife:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ 1
SVar:Picture: http://www.wizards.com/global/images/magic/general/staff_of_the_death_magus.jpg
SetInfo:M14 Uncommon
Predatory Sliver | Open
Code: Select all
Name:Predatory Sliver
ManaCost:1 G
Types:Creature Sliver
PT:1/1
S:Mode$ Continuous | Affected$ Creature.Sliver+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Sliver creatures you control get +1/+1.
SVar:PlayMain1:TRUE
SVar:Picture: http://www.wizards.com/global/images/magic/general/predatory_sliver.jpg
SetInfo:M14 Common
Bonescythe Sliver | Open
Code: Select all
Name:Bonescythe Sliver
ManaCost:3 W
Types:Creature Sliver
PT:2/2
S:Mode$ Continuous | Affected$ Creature.Sliver+YouCtrl | AddKeyword$ Double Strike | Description$ Sliver creatures you control have double strike.
SVar:PlayMain1:TRUE
SVar:Picture: http://www.wizards.com/global/images/magic/general/sentinel_sliver.jpg
SetInfo:M14 Rare
Charging Griffin | Open
Code: Select all
Name:Charging Grffin
ManaCost:3 W
Types:Creature Griffin
PT:2/2
K:Flying
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+1 until end of turn.
SVar:TrigPump:AB$Pump | Cost$ 0 | Defined$ Self | NumAtt$ 1 | NumDef$ 1
SVar:Picture:http://www.wizards.com/global/images/magic/general/charging_griffin.jpg
SetInfo:M14 Common
Seraph of the Sword | Open
Code: Select all
Name:Seraph of the Sword
ManaCost:3 W
Types:Creature Angel
PT:3/3
K:Flying
K:Prevent all combat damage that would be dealt to CARDNAME.
SVar:Picture:http://www.wizards.com/global/images/magic/general/seraph_of_the_sword.jpg
SetInfo:M14 Rare
Glimpse the Future | Open
Code: Select all
Name:Glimpse the Future
ManaCost:2 U
Types:Sorcery
A:SP$ Dig | Cost$ 2 U | DigNum$34 | DestinationZone2$ Graveyard | SpellDescription$ Look at the top three cards of your library. Put one of them into your hand and the rest into your graveyard.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/glimpse_the_future.jpg
SetInfo:M14 Uncommon
Rise of the Dark Realms | Open
Code: Select all
Name:Rise of the Dark Realms
ManaCost:7 B B
Types:Sorcery
A:SP$ ChangeZoneAll | Cost$ 7 B B | ChangeType$ Creature | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | SpellDescription$ Put all creature cards in all graveyards onto the battlefield under your control.
SVar:Picture: http://www.wizards.com/global/images/magic/general/rise_of_the_dark_realms.jpg
SetInfo:M14 Mythic
Ogre Battledriver | Open
Code: Select all
Name:Ogre Battledriver
ManaCost:2 R R
Types:Creature Ogre Warrior
PT:3/3
T:Mode$ ChangesZone | ValidCard$ Creature.Other+YouCtrl | Origin$ Any | Destination$ Battlefield | Execute$ TrigPump | TriggerZones$ Battlefield | TriggerDescription$ Whenever another creature enters the battlefield under your control, that creature gets +2/+0 and haste until end of turn.
SVar:TrigPump:AB$Pump | Cost$ 0 | Defined$ TriggeredCard | NumAtt$ +2 | NumDef$ +0 | KW$ Haste
SVar:Picture:http://www.wizards.com/global/images/magic/general/ogre_battledriver.jpg
SetInfo:M14 Rare
Young Pyromancer | Open
Code: Select all
Name:Young Pyromancer
ManaCost:1 R
Types: Creature Human Shaman
PT:1/1
T:Mode$ SpellCast | ValidCard$ Instant,Sorcery | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Whenever you cast an instant or sorcery spell, put a 1/1 red Elemental creature token onto the battlefield.
SVar:TrigToken:AB$Token | Cost$ 0 | TokenAmount$ 1 | TokenName$ Elemental | TokenTypes$ Creature,Elemental | TokenColors$ Red | TokenPower$ 1 | TokenToughness$ 1 | TokenOwner$ You
SVar:Picture:http://www.wizards.com/global/images/magic/general/young_pyromancer.jpg
SetInfo:M14 Uncommon
sagephoenix
 
Posts: 177
Joined: 29 Aug 2011, 14:07
Has thanked: 57 times
Been thanked: 3 times

Re: Spoiler Season for M14

Postby swordshine » 08 Jul 2013, 03:06

For Strionic Resonator, how to copy a triggered ability?
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Spoiler Season for M14

Postby swordshine » 08 Jul 2013, 14:23

Here's a script for Artificer's Hex. I think we need an attachai improvement to prevent ai activating the Equip ability of the enchanted equipment(a new Svar?).
Artificer's Hex | Open
Code: Select all
Name:Artificer's Hex
ManaCost:B
Types:Enchantment Aura
K:Enchant Equipment
A:SP$ Attach | Cost$ B | ValidTgts$ Equipment | AILogic$ Curse
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.EnchantedBy+AttachedTo Creature | TriggerZones$ Battlefield | Execute$ TrigDestroy | TriggerDescription$ At the beginning of your upkeep, if enchanted Equipment is attached to a creature, destroy that creature.
SVar:TrigDestroy:AB$ Destroy | Cost$ 0 | Defined$ Valid Card.EquippedByEnchanted
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/artificers_hex.jpg
Here are the remaining cards:
Strionic Resonator (I have no idea how to copy a triggered ability) possible script :
| Open
Code: Select all
Name:Strionic Resonator
ManaCost:2
Types:Artifact
A:AB$ CopySpellAbility | Cost$ 2 T | TargetType$ Triggered | ValidTgts$ Card.YouCtrl | SpellDescription$ Copy target triggered ability you control. You may choose new targets for the copy.
SVar:RemAIDeck:True
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/strionic_resonator.jpg
Colossal Whale and Banisher Priest (exile until host leaves play)
Savage Summoning (a little complicated, an effect grants Flash like Quicken, then fires another effect)
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Spoiler Season for M14

Postby friarsol » 09 Jul 2013, 02:28

swordshine wrote:Strionic Resonator (I have no idea how to copy a triggered ability) possible script :
Script looks right to me, I guess WrappedAbility doesn't know how to get cloned in public CardFactory.copySpellAbilityAndSrcCard() since it's spitting out a java.lang.CloneNotSupportedException: forge.card.ability.AbilityApiBased

Not sure what the deal with that is with that.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Spoiler Season for M14

Postby swordshine » 09 Jul 2013, 11:29

Any idea about Colossal Whale and Banisher Priest? It looks like a "UntilHostLeavesPlay" command. Can we use static trigger to implement the script?
Colossal Whale | Open
Code: Select all
Name:Colossal Whale
ManaCost:5 U U
Types:Creature Whale
PT:5/5
K:Islandwalk
T:Mode$ Attacks | ValidCard$ Card.Self | OptionalDecider$ You | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, you may exile target creature defending player controls until CARDNAME leaves the battlefield.
SVar:TrigExile:AB$ ChangeZone | Cost$ 0 | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | ValidTgts$ Creature.DefenderCtrl | TgtPrompt$ Select target creature defending player control | ConditionPresent$ Card.Self
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigReturn | TriggerController$ TriggeredCardController | Static$ True
SVar:TrigReturn:AB$ ChangeZoneAll | Cost$ 0 | Origin$ Exile | Destination$ Battlefield | ChangeType$ Card.IsRemembered | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:PlayMain1:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/colossal_whale.jpg
Banisher Priest | Open
Code: Select all
Name:Banisher Priest
ManaCost:1 W W
Types:Creature Human Cleric
PT:2/2
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, exile target creature an opponent controls until CARDNAME leaves the battlefield.
SVar:TrigExile:AB$ ChangeZone | Cost$ 0 | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | ConditionPresent$ Card.Self
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigReturn | TriggerController$ TriggeredCardController | Static$ True
SVar:TrigReturn:AB$ ChangeZoneAll | Cost$ 0 | Origin$ Exile | Destination$ Battlefield | ChangeType$ Card.IsRemembered | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:PlayMain1:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/banisher_priest.jpg
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Spoiler Season for M14

Postby Sloth » 09 Jul 2013, 13:23

swordshine wrote:Any idea about Colossal Whale and Banisher Priest? It looks like a "UntilHostLeavesPlay" command. Can we use static trigger to implement the script?
Colossal Whale | Open
Code: Select all
Name:Colossal Whale
ManaCost:5 U U
Types:Creature Whale
PT:5/5
K:Islandwalk
T:Mode$ Attacks | ValidCard$ Card.Self | OptionalDecider$ You | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, you may exile target creature defending player controls until CARDNAME leaves the battlefield.
SVar:TrigExile:AB$ ChangeZone | Cost$ 0 | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | ValidTgts$ Creature.DefenderCtrl | TgtPrompt$ Select target creature defending player control | ConditionPresent$ Card.Self
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigReturn | TriggerController$ TriggeredCardController | Static$ True
SVar:TrigReturn:AB$ ChangeZoneAll | Cost$ 0 | Origin$ Exile | Destination$ Battlefield | ChangeType$ Card.IsRemembered | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:PlayMain1:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/colossal_whale.jpg
Banisher Priest | Open
Code: Select all
Name:Banisher Priest
ManaCost:1 W W
Types:Creature Human Cleric
PT:2/2
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, exile target creature an opponent controls until CARDNAME leaves the battlefield.
SVar:TrigExile:AB$ ChangeZone | Cost$ 0 | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | ConditionPresent$ Card.Self
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigReturn | TriggerController$ TriggeredCardController | Static$ True
SVar:TrigReturn:AB$ ChangeZoneAll | Cost$ 0 | Origin$ Exile | Destination$ Battlefield | ChangeType$ Card.IsRemembered | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:PlayMain1:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/banisher_priest.jpg
EDIT: What if Humility hits play? The card wouldn't be returned.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Spoiler Season for M14

Postby swordshine » 09 Jul 2013, 14:18

Sloth wrote:EDIT: What if Humility hits play? The card wouldn't be returned.
OK, it seems a LeavesPlayCommand is needed.
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Spoiler Season for M14

Postby Sloth » 09 Jul 2013, 15:43

Is it time for rintegrating the branch? Should the next beta (friday?) contain the M14 cards?

I would say yes.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Spoiler Season for M14

Postby Max mtg » 09 Jul 2013, 17:40

I think it's the best time to reintegrate.

Do you need any assistance producing the "Magic 2014.txt" set description file?
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Next

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 29 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 29 users online :: 0 registered, 0 hidden and 29 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 29 guests

Login Form