It is currently 29 Oct 2025, 14:12
   
Text Size

Eldritch Moon Spoiler Season

Post MTG Forge Related Programming Questions Here

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

Re: Eldritch Moon Spoiler Season

Postby Marek14 » 05 Jul 2016, 17:54

Hanmac wrote:@Marek14: for Grim Flayer where does the Hexproof comes from? XD

Hm I will look out how Mirrorwing Dragon might be done. (There is also that copy plane missing, maybe I can do that too.)
Thanks, edited. That came from Dragonlord Ojutai; I used it as a template because it has a bit similar digging ability on hitting a player.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Eldritch Moon Spoiler Season

Postby Marek14 » 05 Jul 2016, 17:59

Code: Select all
Name:Falkenrath Reaver
ManaCost:1 R
Types:Creature Vampire
PT:2/2
SVar:Picture:http://www.wizards.com/global/images/magic/general/falkenrath_reaver.jpg
Oracle:
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Eldritch Moon Spoiler Season

Postby Marek14 » 05 Jul 2016, 19:04

Code: Select all
Name:Permeating Mass
ManaCost:G
Types:Creature Spirit
PT:1/3
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Creature | CombatDamage$ True | TriggerZones$ Battlefield | Execute$ TrigCopy | TriggerDescription$ Whenever CARDNAME deals combat damage to a creature, that creature becomes a copy of Permeating Mass.
SVar:TrigCopy:AB$Clone | Cost$ 0 | Defined$ Self | CloneTarget$ TriggeredTarget
SVar:Picture:http://www.wizards.com/global/images/magic/general/permeating_mass.jpg
Oracle:Whenever Permeating Mass deals combat damage to a creature, that creature becomes a copy of Permeating Mass.
Is this correct?
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Eldritch Moon Spoiler Season

Postby Hanmac » 06 Jul 2016, 12:19

Code: Select all
Name:Mirrorwing Dragon
ManaCost:3 R R
Types:Creature Dragon
PT:4/5
K:Flying
T:Mode$ SpellCast | ValidCard$ Instant,Sorcery | IsSingleTarget$ True | TargetsValid$ Card.Self | Execute$ TrigCopy | TriggerZones$ Battlefield | TriggerDescription$ Whenever a player casts an instant or sorcery spell that targets only CARDNAME, that player copies that spell for each other creature he or she controls that the spell could target. Each copy targets a different one of those creatures.
SVar:TrigCopy:AB$ CopySpellAbility | Cost$ 0 | Defined$ TriggeredSpellAbility | Controller$ TriggeredActivator | CopyForEachCanTarget$ Creature.YouCtrl
SVar:Picture:http://www.wizards.com/global/images/magic/general/mirrorwing_dragon.jpg
Oracle:Flying\nWhenever a player casts an instant or sorcery spell that targets only Mirrorwing Dragon, that player copies that spell for each other creature he or she controls that the spell could target. Each copy targets a different one of those creatures.
first i wanted to do something like Creature.TriggeredActivatorCtrl but after implementing it, i noticed that it was not needed, because it did set ActivatingPlayer in the copy effect.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Eldritch Moon Spoiler Season

Postby Marek14 » 06 Jul 2016, 12:22

Oh, so this works correctly for targeting by both controller and opponent?
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Eldritch Moon Spoiler Season

Postby Hanmac » 06 Jul 2016, 12:45

Marek14 wrote:Oh, so this works correctly for targeting by both controller and opponent?
i tested it, a boost from me does boost all my creatures,
a destroy from the opponent does destroy all his creatures.

(hm currently no extra AI that it should target creatures like Zada, Hedron Grinder or this dragon with boost spells if possible)

i might try that missing plane Glimmervoid Basin, but i try that later.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Eldritch Moon Spoiler Season

Postby friarsol » 06 Jul 2016, 12:59

Hanmac, are you able to commit to the Eldritch Moon branch for the cards you script/test?
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Eldritch Moon Spoiler Season

Postby Hanmac » 06 Jul 2016, 13:10

firasol, hm yeah i might be able to commit them to the EMN branch, but i have some other stuff/fixes i want to commit first in the main/trunk one.

so if someone else does want to commit stuff like that dragon, feel free to do it. (like swordshine does commit stuff to EMN)

Edit:

Code: Select all
Name:Tree of Perdition
ManaCost:3 B
Types:Creature Plant
PT:0/13
K:Defender
A:AB$ StoreSVar | Cost$ T | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SVar$ OldToughness | Type$ Count | Expression$ CardToughness | SubAbility$ TreeRedemption | ConditionPresent$ Card.StrictlySelf | StackDescription$ SpellDescription | SpellDescription$ Exchange target opponent's life total with CARDNAME's toughness.
SVar:TreeRedemption:DB$ Animate | Toughness$ X | References$ X | Permanent$ True | SubAbility$ SetLife | ConditionPresent$ Card.StrictlySelf
SVar:SetLife:DB$ SetLife | Defined$ ParentTarget | LifeAmount$ OldToughness | References$ OldToughness | ConditionPresent$ Card.StrictlySelf
SVar:OldToughness:Number$13
SVar:X:TargetedPlayer$LifeTotal
SVar:Picture:http://www.wizards.com/global/images/magic/general/tree_of_perdition.jpg
Oracle:Defender\n{T}: Exchange target opponent's life total with Tree of Perdition's toughness.
tested it with Tainted Remedy. only need more AI logic like the other Tree.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Eldritch Moon Spoiler Season

Postby Marek14 » 06 Jul 2016, 21:28

Code: Select all
Name:Campaign of Vengeance
ManaCost:3 W B
Types:Enchantment
T:Mode$ Attacks | ValidCard$ Creature.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever a creature you control attacks, defending player loses 1 life and you gain 1 life.
SVar:TrigLoseLife:AB$ LoseLife | Cost$ 0 | Defined$ TriggeredDefendingPlayer | LifeAmount$ 1 | SubAbility$ DBGainLife
SVar:DBGainLife:DB$ GainLife | LifeAmount$ 1
SVar:PlayMain1:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/campaign_of_vengeance.jpg
Oracle:Whenever a creature you control attacks, defending player loses 1 life and you gain 1 life.
(Noticed I have PlayMain1 in code for Spirit of the Hunt -- that shouldn't have it since it has flash.

Code: Select all
Name:Noose Constrictor
ManaCost:1 G
Types:Creature Snake
PT:2/2
K:Reach
A:AB$ Pump | Cost$ Discard<1/Card> | Defined$ Self | NumAtt$ +1 | NumDef$ +1 | SpellDescription$ CARDNAME gets +1/+1 until end of turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/noose_constrictor.jpg
Oracle:Reach\nDiscard a card: Noose Constrictor. gets +1/+1 until end of turn.
Code: Select all
Name:Selfless Spirit
ManaCost:1 W
Types:Creature Spirit Cleric
PT:2/1
A:AB$ PumpAll | Cost$ Sac<1/CARDNAME> | ValidCards$ Creature.YouCtrl | KW$ Indestructible | SpellDescription$ Creatures you control gain indestructible until end of turn.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/selless_spirit.jpg
Oracle:Flying\nSacrifice Selfless Spirit: Creatures you control gain Indestructible until the end of turn.
Lots of hard cards today.
Spell Queller -- I think I'll leave it to Hanmac, since he worked with exile a lot.
Nahiri's Wrath -- not sure how to do, perhaps I'm too tired today. Firestorm+Naya Soulbeast?
Dark Salvation -- Not sure how to write "number of Zombies controlled by the parent target".
Fortune's Favor -- works like Fact or Fiction, but the cards are not revealed and one pile is face down, so the controller doesn't know what cards are there.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Eldritch Moon Spoiler Season

Postby KrazyTheFox » 07 Jul 2016, 04:49

I think I did this right. Here's Tamiyo:
Code: Select all
Name:Tamiyo, Field Researcher
ManaCost:1 W G U
Types:Planeswalker Tamiyo
Loyalty:4
A:AB$ Effect | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ 2 | TgtPrompt$ Select target creature | Triggers$ TrigDamage | SVars$ TrigDrawCard | References$ TrigDrawCard | RememberObjects$ Targeted | SpellDescription$ Choose up to two target creatures. Until your next turn, whenever either of those creatures deals combat damage, you draw a card.
SVar:TrigDamage:Mode$ DamageDone | CombatDamage$ True | ValidSource$ Creature.IsRemembered | Execute$ TrigDrawCard | TriggerDescription$ Whenever a targeted creature of Tamiyo, Field Researcher deals combat damage, you draw a card.
SVar:TrigDrawCard:AB$ Draw | Cost$ 0 |  NumCards$ 1 | Defined$ You
A:AB$ Tap | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | ValidTgts$ Permanent.nonLand | TargetMin$ 0 | TargetMax$ 2 | TgtPrompt$ Select target nonland permanent | SubAbility$ DBPump | SpellDescription$ Tap up to two target nonland permanents. They don’t untap during their controller's next untap step.
SVar:DBPump:DB$ Pump | Defined$ Targeted | Permanent$ True | KW$ HIDDEN This card doesn't untap during your next untap step.
A:AB$ Effect | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Tamiyo, Field Researcher emblem | Image$ tamiyo_field_researcher_emblem | StaticAbilities$ Omniscience | Stackable$ False | Duration$ Permanent | AILogic$ Always | SubAbility$ DBDraw | SpellDescription$ Draw three cards. You get an emblem with "You may cast nonland cards from your hand without paying their mana costs."
SVar:Omniscience:Mode$ Continuous | EffectZone$ Command | Affected$ Card.nonLand+YouOwn | AddHiddenKeyword$ May be played without paying its mana cost | AffectedZone$ Hand | Description$ You may cast nonland cards from your hand without paying their mana costs.
SVar:DBDraw:DB$Draw | NumCards$ 3
SVar:Picture:http://www.wizards.com/global/images/magic/general/tamiyo_field_researcher.jpg
Oracle:[+1] Choose up to two target creatures. Until your next turn, whenever either of those creatures deals combat damage, you draw a card.\n[-2] Tap up to two target nonland permanents. They don't untap during their controller's next untap step.\n[-7] Draw three cards. You get an emblem with "You may cast nonland cards from your hand without paying their mana costs."
Edit: The +1 seems to work on my own creatures, but not on my opponent's. I based this off of Vraska the Unseen and Spiritualize. Any thoughts?
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Eldritch Moon Spoiler Season

Postby Hanmac » 07 Jul 2016, 05:12

@KrazyTheFox:
For the first ability two things:
1) it currently does end your turn, it does need to have the right Duration Option.
2) the Effect should forget the object if it does leave the battlefield.

Can't look at the source now.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Eldritch Moon Spoiler Season

Postby KrazyTheFox » 07 Jul 2016, 05:15

Hanmac wrote:@KrazyTheFox:
For the first ability two things:
1) it currently does end your turn, it does need to have the right Duration Option.
2) the Effect should forget the object if it does leave the battlefield.

Can't look at the source now.
I have been looking into the duration thing, but I had forgot about the leaving the battlefield. Thanks! I'll take another crack at it tomorrow. For now, bed!
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Eldritch Moon Spoiler Season

Postby Marek14 » 07 Jul 2016, 06:08

Code: Select all
Name:Wolfkin Bond
ManaCost:4 G
Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | Cost$ 4 G | ValidTgts$ Creature | AILogic$ Pump
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, put a 2/2 green Wolf creature token onto the battlefield.
SVar:TrigToken:AB$ Token | Cost$ 0 | TokenName$ Wolf | TokenColors$ Green | TokenTypes$ Creature,Wolf | TokenPower$ 2 | TokenToughness$ 2 | TokenImage$ g 2 2 wolf soi | TokenOwner$ You | TokenAmount$ 1
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ 2 | AddToughness$ 2 | Description$ Enchanted creature gets +2/+2.
SVar:Picture:http://www.wizards.com/global/images/magic/general/wolfkin_bond.jpg
Oracle:Enchant creature\nWhen Wolfkin Bond enters the battlefield, put a 2/2 green Wolf creature token onto the battlefield.\nEnchanted creature gets +2/+2.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Eldritch Moon Spoiler Season

Postby Hanmac » 07 Jul 2016, 06:14

Code: Select all
Name:Dark Salvation
ManaCost:X X B
Types:Sorcery
A:SP$ Token | Cost$ X X B | ValidTgts$ Player | TgtPrompt$ Select target player. | TokenAmount$ X | References$ X | TokenName$ Zombie | TokenTypes$ Creature,Zombie | TokenOwner$ TargetedPlayer | TokenPower$ 2 | TokenToughness$ 2 | TokenColors$ Black | TokenImage$ b 2 2 zombie EMN | TokenAltImages$ b_2_2_zombie2_EMN,b_2_2_zombie3_EMN | SubAbility$ DBPump | StackDescription$ SpellDescription | SpellDescription$ Target player puts X 2/2 black Zombie creature tokens onto the battlefield, then up to one target creature gets -1/-1 until end of turn for each Zombie that player controls.
SVar:DBPump:DB$ Pump | Cost$ 0 | NumAtt$ -Y | NumDef$ -Y | References$ Y | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target creature. | IsCurse$ True
SVar:X:Count$xPaid
SVar:Y:Count$Valid Zombie.TargetedPlayerCtrl
SVar:PlayMain1:TRUE
SVar:BuffedBy:Zombie
SVar:AntiBuffedBy:Zombie
SVar:Picture:http://www.wizards.com/global/images/magic/general/dark_salvation.jpg
Oracle:Target player puts X 2/2 black Zombie creature tokens onto the battlefield, then up to one target creature gets -1/-1 until end of turn for each Zombie that player controls.
Should work like that with TargetedPlayerCtrl, hm but i might want to add more AI logic into that. (so AI can use it as a kill spell for only {B} against a Zombie player or with the Help of a Zombie ally)

Edit: updated the TokenImage code
Last edited by Hanmac on 08 Jul 2016, 12:14, edited 1 time in total.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Eldritch Moon Spoiler Season

Postby Marek14 » 07 Jul 2016, 15:07

Code: Select all
Name:Imprisoned in the Moon
ManaCost:2 U
Types:Enchantment Aura
K:Enchant creature, land, or planeswalker
A:SP$ Attach | Cost$ 2 U | ValidTgts$ Creature,Land,Planeswalker | AILogic$ Curse
S:Mode$ Continuous | Affected$ Card.EnchantedBy | SetColor$ Colorless | AddType$ Land | RemoveCardTypes$ True | RemoveSubTypes$ True | RemoveAllAbilities$ True | AddAbility$ ABMana | Description$ Enchanted permanent is a colorless land with "{T}: Add {C} to your mana pool" and loses all other card types and abilities.
SVar:ABMana:AB$Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C} to your mana pool.
SVar:NonStackingAttachEffect:True
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/imprisoned_in_the_moon.jpg
Oracle:Enchant creature, land, or planeswalker\nEnchanted permanent is a colorless land with "{T}: Add {C} to your mana pool" and loses all other card types and abilities.
There was AI targeting hint in Song of the Dryads, but I took it out here since AI could never use it against a land then. Not sure what's best. And the Enchant keyword might be wrong or might need some support -- this is first instance of this particular line.

Code: Select all
Name:Bedlam Reveler
ManaCost:6 R R
Types:Creature Devil Horror
PT:3/4
S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each instant and sorcery card in your graveyard.
K:Prowess
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, discard your hand, then draw three cards.
SVar:TrigDiscard:AB$ Discard | Cost$ 0 | Mode$ Hand | SubAbility$ DBDraw
SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 3
SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn
SVar:Picture:http://www.wizards.com/global/images/magic/general/bedlam_reveler.jpg
Oracle:Bedlam Reveler costs {1} less to cast for each instant and sorcery card in your graveyard.\nProwess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.)\nWhen Bedlam Reveler enters the battlefield, discard your hand, then draw three cards.
Code: Select all
Name:Heron's Grace Champion
ManaCost:2 G W
Types:Creature Human Knight
PT:3/3
K:Flash
K:Lifelink
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, other Humans you control get +1/+1 and gain lifelink until end of turn.
SVar:TrigPump:AB$ PumpAll | Cost$ 0 | ValidCards$ Creature.Human+Other+YouCtrl | NumAtt$ +1 | NumDef$ +1 | KW$ Lifelink
SVar:Picture:http://www.wizards.com/global/images/magic/general/herons_grace_champion.jpg
Oracle:Flash\nLifelink\nWhen Heron's Grace Champion enters the battlefield, other Humans you control get +1/+1 and gain lifelink until end of turn.
Code: Select all
Name:Courageous Outrider
ManaCost:3 W
Types:Creature Human Scout
PT:3/4
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigDig | TriggerDescription$ When CARDNAME enters the battlefield, look at the top four cards of your library. You may reveal a Human card from among them and put it into your hand. Put the rest on the bottom of your library in any order.
SVar:TrigDig:AB$Dig | Cost$ 0 | DigNum$ 4 | ChangeNum$ 1 | Optional$ True | ChangeValid$ Card.Human
SVar:Picture:http://www.wizards.com/global/images/magic/general/courageous_outrider.jpg
Oracle:When Courageous Outrider enters the battlefield, look at the top four cards of your library. You may reveal a Human card from among them and put it into your hand. Put the rest on the bottom of your library in any order.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 19 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 19 users online :: 0 registered, 0 hidden and 19 guests (based on users active over the past 10 minutes)
Most users ever online was 9298 on 10 Oct 2025, 12:54

Users browsing this forum: No registered users and 19 guests

Login Form