Avacyn Restored Spoilers
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Avacyn Restored Spoilers
by ArsenalNut » 19 Apr 2012, 13:09
Just when I thought I was out... they pull me back in.moomarc wrote:I was starting to wonder whether you'd be joining the fray on this set, but you have with a bang. Your proposal looks right. At the very least its what I'd imagined - I just didn't have the skill to add a new ability factory, so had to leave it. Thanks ArsenalNut!
Edit: You might consider adding PairedWithTarget to the Defined cards list for cards like Joint Assault.
I have been swamped with work and family stuff but Soulbond looked like an interesting puzzle to solve.
So many cards, so little time
-
ArsenalNut - Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Avacyn Restored Spoilers
by Sloth » 19 Apr 2012, 15:48
I think the Provoke keyword is a good example of keyword->trigger macro (Fading is not).ArsenalNut wrote:I have everything coded up without using a keyword macro. I'll look at how Fading is implemented and make the appropriate changes.friarsol wrote:I have similar thoughts to Sloth, we can just use K:Soulbond and have that convert into the the appropriate triggers. Just like how it works for Fading.
Using just a Card for Pairing should be fine as you can't be Paired with more than one creature/object (for now)
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Avacyn Restored Spoilers
by friarsol » 19 Apr 2012, 15:56
That's probably true. I was just trying to think of something that had a trigger, not specifically thinking about how we implemented them. Some of these older Keywords should probably be converted into a true Macro for the future, to conform with the Ability/Trigger/Static System that controls mostly everything.Sloth wrote:I think the Provoke keyword is a good example of keyword->trigger macro (Fading is not).
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Avacyn Restored Spoilers
by friarsol » 19 Apr 2012, 16:51
Easy there, it was spoiled what... 12 hours ago? We'll be scripting everything we can, there's no need for specific requests.Milod wrote:can some1 code terminus pleaze!
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Avacyn Restored Spoilers
by squee1968 » 19 Apr 2012, 17:14
Milod wrote:can some1 code terminus pleaze!
friarsol wrote:All,
Please don't request any cards for the upcoming Expansion (Avacyn Restored). Just like the last three sets that were released, we will attempt to script as many cards as we can. We have no way of knowing right now what features will be needed, or can be added to support new cards. But don't worry, they will be attempted. IIRC, we had 90+% of Dark Ascension scripted on the day of the Prerelease.
Forge knows how to rock new sets.
Re: Avacyn Restored Spoilers
by ArsenalNut » 21 Apr 2012, 01:07
As of r15234, Soulbond is ready for more widespread testing. I scripted all the cards in the mechanics examples and tested all the cases in the examples also. The logic for the AI is always activate the pairing trigger and pair with the first unpaired creature found. I figured the logic could be improved later.
- Joint Assault | Open
- Name:Joint Assault
ManaCost:G
Types:Instant
Text:no text
A:SP$ Pump | Cost$ G | Tgt$ TgtC | NumAtt$ 2 | NumDef$ 2 | SubAbility$ DBPumpAll | SpellDescription$ Target creature gets +2/+2 until end of turn. If it's paired with a creature, that creature also gets +2/+2 until end of turn.
SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Targeted.PairedWith | NumAtt$ 2 | NumDef$ 2
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/joint_assault.jpg
End
- Silverblade Paladin | Open
- Name:Silverblade Paladin
ManaCost:1 W W
Types:Creature Human Knight
Text:no text
PT:2/2
K:Soulbond
S:Mode$ Continuous | Affected$ Creature.PairedWith,Creature.Self+Paired | AddKeyword$ Double Strike | Description$ As long as CARDNAME is paired with another creature, both creature have double strike.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/silverblade_paladin.jpg
End
- Wingcrafter | Open
- Name:Wingcrafter
ManaCost:U
Types:Creature Human Wizard
Text:no text
PT:1/1
K:Soulbond
S:Mode$ Continuous | Affected$ Creature.PairedWith,Creature.Self+Paired | AddKeyword$ Flying | Description$ As long as CARDNAME is paired with another creature, both creature have flying.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/wingcrafter.jpg
End
So many cards, so little time
-
ArsenalNut - Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Avacyn Restored Spoilers
by Sloth » 21 Apr 2012, 09:03
Good work ArsenalNut! A quick test with Lightning Mauler showed no weakness.ArsenalNut wrote:As of r15234, Soulbond is ready for more widespread testing. I scripted all the cards in the mechanics examples and tested all the cases in the examples also. The logic for the AI is always activate the pairing trigger and pair with the first unpaired creature found. I figured the logic could be improved later.
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Avacyn Restored Spoilers
by jeffwadsworth » 21 Apr 2012, 14:16
Terminus is a changezoneall. Unless they reworded it.
http://www.magicspoiler.com/mtg-spoiler/terminus/
http://www.magicspoiler.com/mtg-spoiler/terminus/
- jeffwadsworth
- Super Tester Elite
- Posts: 1172
- Joined: 20 Oct 2010, 04:47
- Location: USA
- Has thanked: 287 times
- Been thanked: 70 times
Re: Avacyn Restored Spoilers
by Sloth » 21 Apr 2012, 14:40
Fixed! Thanks Jeff.jeffwadsworth wrote:Terminus is a changezoneall. Unless they reworded it.
http://www.magicspoiler.com/mtg-spoiler/terminus/
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Avacyn Restored Spoilers
by squee1968 » 21 Apr 2012, 16:01
Once again, thanks marc. Here's the next list of 10 that I'll take a shot at scripting.moomarc wrote:Sorry. No idea what the problem is. I'll just have to add your claimed cards to the list for you.squee1968 wrote:I don't have the permissions needed to edit that wiki page. I tried the Log In at the top right, but it tells me there is no user with my name.
~Sanctuary of the Seraphim
Alchemist's Refuge
~Willow Hill Gallows
~Tormentor's Trident
~Narstad Skirmisher
~Griselbrand's Scroll
~Angelic Armaments
~Wandering Wolf
~Protective Chant
~Nature's Blessing (or whetever this card's name will be, because obviously it isn't the card from Alliances)
EDIT: an "~" before a card's name mean's that the card's official english name is not yet known. Thanks, Sol.
Last edited by squee1968 on 21 Apr 2012, 17:14, edited 1 time in total.
Re: Avacyn Restored Spoilers
by friarsol » 21 Apr 2012, 16:18
If you guys plan on scripting some of the cards that don't have official English names yet, please make that quite clear since they won't be able to added until that is known.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Avacyn Restored Spoilers
by squee1968 » 22 Apr 2012, 20:11
I'm going to just keep claiming and doing 10 at a time. There's only a week to go, and there are plenty of cards to do (203/244), and not many people doing them. Plus, I think some users would like to use the cards before the prerelease. NOTE: The card pictures will NOT work, so don't even try. Also, ~ before the name means the card's official english name is not yet known. NOTE2: I renamed Nature's Blessing to Blessing of Nature in order to prevent confusion with the card from Alliances.
~Sanctuary of the Seraphim - Seraph Sanctuary
~Willow Hill Gallows - Gallows at Willow Hill
~Tormentor's Trident - Tormentor's Trident
~Scroll of Griselbrand - Scroll of Griselbrand
~Narstad Skirmisher - Narstad Scrapper
~Angelic Armaments - Angelic Armaments
~Wandering Wolf - Wandering Wolf
~Protective Chant - Sheltering Word
~Blessing of Nature - Blessing of Nature (thanks, marc. lucky guess)
- Code: Select all
Name:Seraph Sanctuary
ManaCost:no cost
Types:Land
Text:no text
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ HavenLife | TriggerDescription$ When CARDNAME enters the battlefield, you gain 1 life.
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Angel.YouCtrl | TriggerZones$ Battlefield | Execute$ HavenLife | TriggerDescription$ Whenever an Angel enters the battlefield under your control, you gain 1 life.
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
SVar:HavenLife:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ 1
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/seraph_sanctuary.jpg
End
- Code: Select all
Name:Alchemist's Refuge
ManaCost:no cost
Types:Land
Text:no text
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
A:AB$ Effect | Cost$ U G T | Name$ Refuge Effect | StaticAbilities$ QuickSpell | SpellDescription$ Until end of turn, you may cast nonland cards as though they had flash.
SVar:QuickSpell:Mode$ Continuous | Affected$ Card.nonLand+YouCtrl | AddHiddenKeyword$ HIDDEN Flash | AffectedZone$ Exile,Graveyard,Hand,Library
SVar:PlayMain1:TRUE
SVar:RemRandomDeck:True
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/alchemists_refuge.jpg
End
- Code: Select all
Name:Gallows at Willow Hill
ManaCost:3
Types:Artifact
Text:no text
A:AB$ Destroy | Cost$ 3 T tapXType<3/Human> | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ GhostToken | SpellDescription$ Destroy target creature. Its controller puts a 1/1 white Spirit creature token with flying onto the battlefield.
SVar:GhostToken:DB$Token | TokenAmount$ 1 | TokenName$ Spirit | TokenTypes$ Creature,Spirit | TokenOwner$ TargetedController | TokenColors$ White | TokenPower$ 1 | TokenToughness$ 1 | TokenKeywords$ Flying
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/gallows_at_willow_hill.jpg
End
- Code: Select all
Name:Tormentor's Trident
ManaCost:2
Types:Artifact Equipment
Text:no text
K:eqPump 3:+3/+0
S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ 3 | AddHiddenKeyword$ HIDDEN CARDNAME attacks each turn if able. | Description$ Equipped creature gets +3/+0 and attacks each turn if able.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/tormentors_trident.jpg
End
- Code: Select all
Name:Narstad Scrapper
ManaCost:5
Types:Artifact Creature Construct
Text:no text
PT:3/3
A:AB$ Pump | Cost$ 2 | NumAtt$ +1 | SpellDescription$ CARDNAME gets +1/+0 until end of turn.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/narstad_scrapper.jpg
End
- Code: Select all
Name:Scroll of Griselbrand
ManaCost:1
Types:Artifact
Text:no text
A:AB$ Discard | Cost$ 1 Sac<1/CARDNAME> | ValidTgts$ Player | TgtPrompt$ Choose a player | NumCards$ 1 | Mode$ TgtChoose | SubAbility$ DemonBlight | SpellDescription$ Target player discards a card. If you control a Demon, that player loses 3 life.
SVar:DemonBlight:DB$ LoseLife | Defined$ Targeted | ConditionPresent$ Demon.YouCtrl | ConditionCompare$ GE1 | LifeAmount$ 3 | ConditionDescription$ If you control a Demon,
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/scroll_of_griselbrand.jpg
End
- Code: Select all
Name:Angelic Armaments
ManaCost:3
Types:Artifact Equipment
Text:no text
K:eqPump 4:+2/+2/Flying
S:Mode$ Continuous | Affected$ Creature.AttachedBy | AddType$ Angel | Colors$ White | Description$ Equipped creature gets +2+2, has flying and is a white Angel in addition to its other colors and types.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/angelic_armaments.jpg
End
- Code: Select all
Name:Wandering Wolf
ManaCost:1 G
Types:Creature Wolf
Text:no text
PT:2/1
K:Creatures with power less than CARDNAME's power can't block it.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/wandering_wolf.jpg
End
- Code: Select all
Name:Sheltering Word
ManaCost:1 G
Types:Instant
Text:no text
A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | KW$ Hexproof | SubAbility$ LifeTough | SpellDescription$ Target creature you control gains hexproof until end of turn. You gain life equal to that creature's toughness.
SVar:LifeTough:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ X
SVar:X:Targeted$CardToughness
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/sheltering_word.jpg
End
- Code: Select all
Name:Blessing of Nature
ManaCost:4 G
Types:Sorcery
Text:no text
A:SP$PutCounter | Cost$ 4 G | ValidTgts$ Creature | TgtPrompt$ Select target creature (1) | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ SVar=PutCounter2 | SpellDescription$ Distribute four +1+1 counters among any number of target creatures.
SVar:PutCounter2:DB$PutCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature (2) | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ SVar=PutCounter3
SVar:PutCounter3:DB$PutCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature (3) | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ SVar=PutCounter4
SVar:PutCounter4:DB$PutCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature (4) | CounterType$ P1P1 | CounterNum$ 1
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/blessing_of_nature.jpg
End
~Sanctuary of the Seraphim - Seraph Sanctuary
~Willow Hill Gallows - Gallows at Willow Hill
~Tormentor's Trident - Tormentor's Trident
~Scroll of Griselbrand - Scroll of Griselbrand
~Narstad Skirmisher - Narstad Scrapper
~Angelic Armaments - Angelic Armaments
~Wandering Wolf - Wandering Wolf
~Protective Chant - Sheltering Word
~Blessing of Nature - Blessing of Nature (thanks, marc. lucky guess)
Last edited by squee1968 on 23 Apr 2012, 07:41, edited 1 time in total.
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Who is online
Users browsing this forum: No registered users and 33 guests