Eldritch Moon Spoiler Season
Post MTG Forge Related Programming Questions Here
	Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
Re: Eldritch Moon Spoiler Season
 by Marek14 » 05 Jul 2016, 17:54
by Marek14 » 05 Jul 2016, 17:54 
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.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.)
Re: Eldritch Moon Spoiler Season
 by Marek14 » 05 Jul 2016, 17:59
by 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:
Re: Eldritch Moon Spoiler Season
 by Marek14 » 05 Jul 2016, 19:04
by 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.
Re: Eldritch Moon Spoiler Season
 by Hanmac » 06 Jul 2016, 12:19
by 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.
Re: Eldritch Moon Spoiler Season
 by Marek14 » 06 Jul 2016, 12:22
by Marek14 » 06 Jul 2016, 12:22 
Oh, so this works correctly for targeting by both controller and opponent?
			
		Re: Eldritch Moon Spoiler Season
 by Hanmac » 06 Jul 2016, 12:45
by Hanmac » 06 Jul 2016, 12:45 
i tested it, a boost from me does boost all my creatures,Marek14 wrote:Oh, so this works correctly for targeting by both controller and opponent?
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.
Re: Eldritch Moon Spoiler Season
 by friarsol » 06 Jul 2016, 12:59
by 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
 by Hanmac » 06 Jul 2016, 13:10
by 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:
			
		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.
Re: Eldritch Moon Spoiler Season
 by Marek14 » 06 Jul 2016, 21:28
by 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.
- 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.
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.
Re: Eldritch Moon Spoiler Season
 by KrazyTheFox » 07 Jul 2016, 04:49
by 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."
- 
				 
 KrazyTheFox
- Programmer
- Posts: 725
- Joined: 18 Mar 2014, 23:51
- Has thanked: 66 times
- Been thanked: 226 times
Re: Eldritch Moon Spoiler Season
 by Hanmac » 07 Jul 2016, 05:12
by 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.
			
		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.
Re: Eldritch Moon Spoiler Season
 by KrazyTheFox » 07 Jul 2016, 05:15
by KrazyTheFox » 07 Jul 2016, 05:15 
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!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.
- 
				 
 KrazyTheFox
- Programmer
- Posts: 725
- Joined: 18 Mar 2014, 23:51
- Has thanked: 66 times
- Been thanked: 226 times
Re: Eldritch Moon Spoiler Season
 by Marek14 » 07 Jul 2016, 06:08
by 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.
Re: Eldritch Moon Spoiler Season
 by Hanmac » 07 Jul 2016, 06:14
by 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.
 against a Zombie player or with the Help of a Zombie ally)
 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.
					
				
			
		Re: Eldritch Moon Spoiler Season
 by Marek14 » 07 Jul 2016, 15:07
by 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.
- 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.
Who is online
Users browsing this forum: No registered users and 32 guests
