It is currently 07 Jul 2021, 23:42
   
Text Size

Card Contributions

Post MTG Forge Related Programming Questions Here

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

Re: Card Contributions

Postby Zirbert » 20 Feb 2011, 21:08

And here's Cabal Inquisitor. That was a whole lot easier than I thought it would be.

Code: Select all
Name:Cabal Inquisitor
ManaCost:1 B
Types:Creature Human Minion
Text:no text
PT:1/1
A:AB$ Discard | Cost$ 1 B T ExileFromGrave<2/Card> | ValidTgts$ Player | Threshold$ True | NumCards$ 1 | Mode$ TgtChoose | SorcerySpeed$ True | SpellDescription$ Target player discards a card. Activate this ability only any time you could cast a sorcery, and only if seven or more cards are in your graveyard. | PrecostDesc$ Threshold -
SVar:Picture:http://www.wizards.com/global/images/magic/general/cabal_inquisitor.jpg
SetInfo:ODY|Common|http://magiccards.info/scans/en/od/119.jpg
End
Zirbert
 
Posts: 511
Joined: 13 Oct 2010, 16:04
Has thanked: 104 times
Been thanked: 19 times

Re: Card Contributions

Postby Chris H. » 20 Feb 2011, 21:48

Zirbert wrote:Here's the Grave-Cost Gang, all tested and seem to be working fine. The AI uses most of them quite capably. It's especially aggressive with Bearscape. This pack contains these cards:

Bearscape
Cabal Patriarch
Cabal Surgeon
Cryptwailing
Organ Grinder
Salvage Titan
Scarred Vinebreeder
Screams of the Damned
Soul Shepherd
Woodwraith Strangler
`
I added the 10 cards and your submission takes us over 7000 total cards. Wow. Thank you. :D
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Card Contributions

Postby jhhh » 20 Feb 2011, 21:58

please any lists of cards to do
jhhh
 
Posts: 58
Joined: 15 Oct 2010, 23:40
Has thanked: 0 time
Been thanked: 0 time

Re: Card Contributions

Postby slapshot5 » 20 Feb 2011, 22:02

jhhh wrote:please any lists of cards to do
You can look through the Visions set in Gatherer. Should be a few to do there.

Things like Flooded Shoreline, etc.

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: Card Contributions

Postby Zirbert » 20 Feb 2011, 23:40

jhhh wrote:please any lists of cards to do
I think these ones from left from Antiquities might be scriptable. Emphasis on "might" - I haven't looked very closely at them. Parenthetical notes are mine, made when I first compiled the list. They're mostly ideas on what to look for to crib code from other cards. No doubt some, maybe even most or all, have problems I didn't realize on my superficial skim, but feel free to take a shot:

Code: Select all
Artifact Possession
Ashnod's Battle Gear
Clockwork Avian (check for other Clockworks)
Detonate
Drafna's Restoration
Goblin Artisans (check for other Flip A Coins)
Haunting Wind
Martyrs of Korlis (check for damage redirection)
Phyrexian Gremlins
Powerleech
Rocket Launcher (use restriction - not 1st turn - may be the problem)
Tawnos' Coffin (compare to Oubliette)
Tawnos' Weaponry
Tetravus ("any number" is the problem)
Urza's Miter ("if not sacrificed" is the problem)
Zirbert
 
Posts: 511
Joined: 13 Oct 2010, 16:04
Has thanked: 104 times
Been thanked: 19 times

Re: Card Contributions

Postby Chris H. » 21 Feb 2011, 01:12

Zirbert wrote:And here's Cabal Inquisitor. That was a whole lot easier than I thought it would be.
`
Thank you. :D
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Card Contributions

Postby ZzzzSleep » 21 Feb 2011, 03:02

Just one today.
Name:Eater of the Dead
ManaCost:4 B
Types:Creature Horror
Text:no text
PT:3/4
A:AB$ChangeZone | Cost$ 0 Untap | Origin$ Graveyard | Destination$ Exile | TgtPrompt$ Choose target creature in a graveyard | ValidTgts$ Card.Creature | SpellDescription$ Exile target creature from a graveyard.
SVar:Rarity:Uncommon
End
ZzzzSleep
 
Posts: 182
Joined: 29 Oct 2010, 02:19
Has thanked: 18 times
Been thanked: 18 times



Re: Card Contributions

Postby friarsol » 21 Feb 2011, 04:09

Exodus

Code: Select all
Cinder Crawler
Cunning (? not sure if At the beginning of the next cleanup step, sacrifice CARDNAME exists)
Grollub
Mana Breach
Monstrous Hound
Pit Spawn
Rootwater Mystic (not sure if Rearrange works this way?)
Skyshroud War Beast
Zealots en-Dal
friarsol
Global Moderator
 
Posts: 7575
Joined: 15 May 2010, 04:20
Has thanked: 242 times
Been thanked: 956 times


Re: Card Contributions

Postby jhhh » 21 Feb 2011, 13:06

Code: Select all
Name:Meditate
ManaCost:2 U
Types:Instant
Text:no text
A:SP$AddTurn | Cost$ 2 U | Defined$ Opponent  | NumTurns$ 1 | SpellDescription$ Draw four cards. You skip your next turn. | SubAbility$ SVar=DBDraw
SVar:DBDraw:DB$Draw | NumCards$ 4 | Defined$ You
SVar:Rarity:Rare
SVar:Picture:http://magiccards.info/scans/en/tp/76.jpg
End

Name:Flooded Shoreline
ManaCost:U U
Types:Enchantment
Text:no text
A:AB$ChangeZone | Cost$ U U Return<2/Island> | ValidTgts$ Creature | TgtPrompt$ Select target creauture | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return target creature to its owner's hand.
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://magiccards.info/scans/en/vi/32.jpg
End
Name:Pallimud
ManaCost:2 R
Types:Creature  Beast
Text:As Pallimud enters the battlefield, choose an opponent.
PT:*/3
K:stSetPT:Count$Valid Land.tapped+YouDontCtrl:3:Pallimud's power is equal to the number of tapped lands the chosen player controls.
SVar:Rarity:Common
SVar:Picture:http://magiccards.info/scans/en/tp/195.jpg
End
Name:Worthy Cause
ManaCost:W
Types:Instant
Text:no text
A:SP$GainLife | Cost$ W Sac<1/Creature> | LifeAmount$ X | SpellDescription$ You gain life equal to the sacrificed creature's toughness.
SVar:X:Sacrificed$CardToughness
SVar:Buyback:2
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://magiccards.info/scans/en/tp/265.jpg
End
Name:Detonate
ManaCost:X R
Types:Sorcery
Text:no text
A:SP$Destroy | Cost$ X R | ValidTgts$ Artifact | TgtPrompt$ Select target artifact| ValidTgts$ Artifact | SubAbility$ DamageTgtCtrlr/X | NoRegen$ True | SpellDescription$ Destroy target artifact with converted mana cost X. It can't be regenerated. CARDNAME deals X damage to that artifact's controller.
SVar:X:Targeted$CardManaCost
SVar:Rarity:Uncommon
SVar:Picture:http://magiccards.info/scans/en/mi/88.jpg
End
Name:Sarcomancy
ManaCost:B
Types:Enchantment
Text:no text
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ At the beginning of your upkeep, if there are no Zombies on the battlefield, Sarcomancy deals 1 damage to you.
SVar:TrigToken:AB$Token | Cost$ 0 | TokenAmount$ 1 | TokenName$ Zombie | TokenTypes$ Creature,Zombie | TokenOwner$ Controller | TokenColors$ Black | TokenPower$ 2 | TokenToughness$ 2
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Zombie | PresentCompare$ LE0 |TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of your upkeep, if there are no Zombies on the battlefield, Sarcomancy deals 1 damage to you.
SVar:TrigDamage:AB$DealDamage | Cost$ R |  Defined$ You | NumDmg$ 1
SVar:Rarity:Common
SVar:Picture:http://magiccards.info/scans/en/tp/48.jpg
End
Name:Telethopter
ManaCost:4
Types:Artifact Creature  Thopter
Text:no text
PT:3/1
A:AB$Pump | Cost$ Cost$ tapXType<1/Creature> | KW$ Flying | SpellDescription$ CARDNAME gains flying until end of turn.
SVar:Rarity:Common
SVar:Picture:http://magiccards.info/scans/en/tp/301.jpg
End
Last edited by jhhh on 21 Feb 2011, 16:29, edited 4 times in total.
jhhh
 
Posts: 58
Joined: 15 Oct 2010, 23:40
Has thanked: 0 time
Been thanked: 0 time

Re: Card Contributions

Postby lazylockie » 21 Feb 2011, 14:10

Nice jhhh with Meditate! I think Solidarity deck is almost done (just missing Cunning Wish)

I'll keep with Mercadian Masques stuff.
lazylockie
 
Posts: 508
Joined: 13 Jul 2010, 22:44
Has thanked: 74 times
Been thanked: 15 times

Re: Card Contributions

Postby jhhh » 21 Feb 2011, 14:18

Code: Select all
Name:Forced March
ManaCost:X B B B
Types:Sorcery
Text:no text
A:AB$DestroyAll | Cost$ X B B B | ValidCards$ Creature.cmcLEX | SpellDescription$ Destroy all creatures with converted mana cost X or less.
SVar:X:Count$xPaid
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://magiccards.info/scans/en/mm/136.jpg
End
Name:Thalakos Mistfolk
ManaCost:2 U
Types:Creature  Thalakos Illusion
Text:no text
PT:2/1
K:Shadow
A:AB$ChangeZone | Cost$ U | Defined$ Self | Origin$ Battlefield | Destination $ Library | LibraryPosition$ 0 | SpellDescription$ Put CARDNAME on top of its owner's library.
SVar:Rarity:Common
SVar:Picture:http://magiccards.info/scans/en/tp/93.jpg
End
Name:Tooth and Claw
ManaCost:3 R
Types:Enchantment
Text:no text
A:AB$Token | Cost$ Sac<2/Creature>| TokenAmount$ 1 | TokenName$ Carnivore | TokenTypes$ Creature,Beast | TokenOwner$ Controller | TokenColors$ Red | TokenPower$ 3 | TokenToughness$ 1 | SpellDescription$ Put a 3/1 red Beast creature token named Carnivore onto the battlefield.
SVar:Rarity:Rare
SVar:Picture:http://magiccards.info/scans/en/tp/210.jpg
End
jhhh
 
Posts: 58
Joined: 15 Oct 2010, 23:40
Has thanked: 0 time
Been thanked: 0 time

Re: Card Contributions

Postby friarsol » 21 Feb 2011, 15:47

Instead of putting Nemesis up on the Forum i'm going to put it on the Wiki. This way people can "claim" certain cards, and repeats will be less likely to occur. That way we'll also know what cards people tried to script but weren't able to do:

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

Before you start a new block, just edit the wiki saying you are going to do a section, or if that section isn't there yet just add it on. Once the card is submitted you can remove it from the wiki. If the card was posted to the forums, but not submitted please note that on the wiki as well.
friarsol
Global Moderator
 
Posts: 7575
Joined: 15 May 2010, 04:20
Has thanked: 242 times
Been thanked: 956 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 8 guests


Who is online

In total there are 8 users online :: 0 registered, 0 hidden and 8 guests (based on users active over the past 10 minutes)
Most users ever online was 1922 on 07 Jun 2021, 06:01

Users browsing this forum: No registered users and 8 guests

Login Form