Card Contributions
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Card Contributions
by moomarc » 17 Apr 2012, 10:14
Added Vintara Elephant (check out the script for Ribbon Snake to see what the easiest solution was) and Vigorous Charge (needed to use an effect).
That's all for this batch except for Volley of Boulders. Script is fine but I just want to check with Sloth or the good friar if we're going to continue adding cards with this implementation of 'divided as you choose' (its technically wrong at the moment because of multi-targeting the same creature).
So you can post your next batch...
That's all for this batch except for Volley of Boulders. Script is fine but I just want to check with Sloth or the good friar if we're going to continue adding cards with this implementation of 'divided as you choose' (its technically wrong at the moment because of multi-targeting the same creature).
So you can post your next batch...

-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Card Contributions
by uhlersoth » 17 Apr 2012, 13:48
Altar of the Lost. This is NOT complete, because right now it lets you spend the two mana on anything. Is there a way to restrict mana expenditure, or would that require a Java change?

- Code: Select all
Name:Altar of the Lost
ManaCost:3
Types:Artifact
Text:no text
A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ 2 | SpellDescription$ Add two mana in any combination of colors to your mana pool. Spend this mana only to cast spells with flashback from a graveyard.
K:CARDNAME enters the battlefield tapped.
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
Oracle:Altar of the Lost enters the battlefield tapped.\n{T}: Add two mana in any combination of colors to your mana pool. Spend this mana only to cast spells with flashback from a graveyard.
End

Re: Card Contributions
by moomarc » 17 Apr 2012, 13:57
I'm afraid so. Cost still needs quite a bit of work before Forge can handle these. I think friarsol has the best grasp on cost, but he's been busy with real life (and Skyrim) so hasn't had the time necessary to tackle the issues lurking in there. You might consider posting your script to the Half-Implemented cards thread so that users can still grab it if they want (and limit the usage themselves).uhlersoth wrote:Altar of the Lost. This is NOT complete, because right now it lets you spend the two mana on anything. Is there a way to restrict mana expenditure, or would that require a Java change?
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Card Contributions
by friarsol » 17 Apr 2012, 14:08
No no. I finished Skyrim a few weeks ago. But Fez just came out! But alas, Cost Restrictions isn't even that high up on my list either. So it'll definitely be some time before I get to it.moomarc wrote: I think friarsol has the best grasp on cost, but he's been busy with real life (and Skyrim) so hasn't had the time necessary to tackle the issues lurking in there..
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Card Contributions
by uhlersoth » 17 Apr 2012, 16:16
Oops, sorry, didn't see the half finished thread, will post over there. Also, it looks like the SVN on cardforge googlecode com svn src only goes up to revision 10905, but 1.2.6 is rev 14987.... is there a newer SVN somewhere?
Re: Card Contributions
by Chris H. » 17 Apr 2012, 16:52
uhlersoth wrote:Also, it looks like the SVN on cardforge googlecode com svn src only goes up to revision 10905, but 1.2.6 is rev 14987.... is there a newer SVN somewhere?
Forge:How to Get Started Developing Forge
-
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
by squee1968 » 17 Apr 2012, 23:28
Did you get an official no to Volley of Boulders? I can wait to post the next batch until you hear something, one way or the other, so that VoB doesn't get lost in the shuffle.moomarc wrote:Added Vintara Elephant (check out the script for Ribbon Snake to see what the easiest solution was) and Vigorous Charge (needed to use an effect).
That's all for this batch except for Volley of Boulders. Script is fine but I just want to check with Sloth or the good friar if we're going to continue adding cards with this implementation of 'divided as you choose' (its technically wrong at the moment because of multi-targeting the same creature).
So you can post your next batch...
Re: Card Contributions
by moomarc » 18 Apr 2012, 11:42
No answer as yet, so I've just added it.squee1968 wrote:Did you get an official no to Volley of Boulders? I can wait to post the next batch until you hear something, one way or the other, so that VoB doesn't get lost in the shuffle.moomarc wrote:Added Vintara Elephant (check out the script for Ribbon Snake to see what the easiest solution was) and Vigorous Charge (needed to use an effect).
That's all for this batch except for Volley of Boulders. Script is fine but I just want to check with Sloth or the good friar if we're going to continue adding cards with this implementation of 'divided as you choose' (its technically wrong at the moment because of multi-targeting the same creature).
So you can post your next batch...
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Card Contributions
by squee1968 » 18 Apr 2012, 12:43
Thanks, marc. It can always be removed later, if someone doesn't think that it should've been added. So on to the next batch.
- Code: Select all
Name:Wild Evocation
ManaCost:5 R
Types:Enchantment
Text:no text
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigEvokeYou | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's upkeep, that player reveals a card at random from his or her hand. If it's a land card, the player puts it onto the battlefield. Otherwise, the player casts it without paying its mana cost if able.
SVar:TrigEvokeYou:DB$ Reveal | Random$ True | RememberRevealed$ True | Defined$ You | SubAbility$ DBLandYou
SVar:DBLandYou:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | ChangeType$ Remembered.Land+YouCtrl | ChangeNum$ 1 | DefinedPlayer$ You | Hidden$ True | Mandatory$ True | SubAbility$ DBPlayYou
SVar:DBPlayYou:DB$ Play | ValidZone$ Hand | Controller$ TriggeredPlayer | Valid$ Remembered | WithoutManaCost$ True | SubAbility$ DBWildCleanupYou
SVar:DBWildCleanupYou:DB$ Cleanup | ClearRemembered$ True
T:Mode$ Phase | Phase$ Draw | ValidPlayer$ Opponent | Execute$ TrigEvokeOpp | TriggerZones$ Battlefield | Secondary$ True | TriggerDescription$ At the beginning of each player's upkeep, that player reveals a card at random from his or her hand. If it's a land card, the player puts it onto the battlefield. Otherwise, the player casts it without paying its mana cost if able.
SVar:TrigEvokeOpp:DB$ Reveal | Random$ True | RememberRevealed$ True | Defined$ Opponent | SubAbility$ DBLandOpp
SVar:DBLandOpp:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | ChangeType$ Remembered.Land+YouDontCtrl | ChangeNum$ 1 | DefinedPlayer$ Opponent | Hidden$ True | Mandatory$ True | SubAbility$ DBPlayOpp
SVar:DBPlayOpp:DB$ Play | ValidZone$ Hand | Controller$ TriggeredPlayer | Valid$ Remembered | WithoutManaCost$ True | SubAbility$ DBWildCleanupOpp
SVar:DBWildCleanupOpp:DB$ Cleanup | ClearRemembered$ True
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/wild_evocation.jpg
End
- Code: Select all
Name:Wishmonger
ManaCost:3 W
Types:Creature Unicorn Monger
Text:no text
PT:3/3
A:AB$ Protection | Cost$ 2 | ValidTgts$ Creature | TgtPrompt$ Select target creature | Gains$ Choice | AnyPlayer$ True | Choices$ AnyColor | SpellDescription$ Target creature gains protection from the color of your choice until end of turn. Any player may activate this ability.
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/wishmonger.jpg
End
- Code: Select all
Name:Withdraw
ManaCost:U U
Types:Instant
Text:no text
A:SP$ ChangeZone | Cost$ U U | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Hand | Subability$ DBBounce | SpellDescription$ Return target creature to its owner's hand. Then return another target creature to its owner's hand unless its controller pays {1}.
SVar:DBBounce:AB$ ChangeZone | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Hand | UnlessCost$ 1 | UnlessPayer$ TargetedController
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/withdraw.jpg
End
- Code: Select all
Name:Withering Wisps
ManaCost:1 B B
Types:Enchantment
Text:no text
T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | IsPresent$ Creature | PresentCompare$ EQ0 | Execute$ TrigSac | TriggerDescription$ At the beginning of the end step, if no creatures are on the battlefield, sacrifice CARDNAME.
SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ Self
A:AB$ DamageAll | Cost$ B | NumDmg$ 1 | ValidCards$ Creature | ValidPlayers$ Each | ValidDescription$ each creature and each player. | ActivationLimit$ X | SpellDescription$ CARDNAME deals 1 damage to each creature and each player. Activate this ability no more times each turn than the number of snow Swamps you control.
SVar:X:Count$Valid Swamp.Snow+YouCtrl
SVar:NeedsToPlay:Creature
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/withering_wisps.jpg
End
- Code: Select all
Name:Woebringer Demon
ManaCost:3 B B
Types:Creature Demon
Text:no text
PT:4/4
K:Flying
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSacYou | TriggerDescription$ At the beginning of each player's upkeep, that player sacrifices a creature. If the player can't, sacrifice CARDNAME.
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Opponent | TriggerZones$ Battlefield | Execute$ TrigSacOpp | Secondary$ True | TriggerDescription$ At the beginning of each player's upkeep, that player sacrifices a creature. If the player can't, sacrifice CARDNAME.
SVar:TrigSacYou:AB$Sacrifice | Cost$ 0 | Defined$ You | SacValid$ Creature | SubAbility$ DBSacSelf | RememberSacrificed$ True
SVar:TrigSacOpp:DB$Sacrifice | Defined$ Opponent | SacValid$ Creature | SubAbility$ DBSacSelf | RememberSacrificed$ True
SVar:DBSacSelf:DB$ Sacrifice | Cost$ 0 | Defined$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:X:Remembered$Amount
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/woebringer_demon.jpg
End
- Code: Select all
Name:Wormfang Crab
ManaCost:3 U
Types:Creature Nightmare Crab
Text:no text
PT:3/6
K:Unblockable
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChoice | TriggerDescription$ When CARDNAME enters the battlefield, an opponent chooses a permanent you control other than CARDNAME and exiles it.
SVar:TrigChoice:DB$ ChooseCard | Defined$ Opponent | Amount$ 1 | Choices$ Permanent.YouCtrl+Other | RememberChosen$ True | SubAbility$ ExileChoice
SVar:ExileChoice:DB$ChangeZone | Cost$ 0 | IsCurse$ True | Defined$ Remembered | Origin$ Battlefield | Destination$ Exile
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigReturn | TriggerDescription$ When CARDNAME leaves the battlefield, return the exiled card to the battlefield under its owner's control.
SVar:TrigReturn:AB$ChangeZone | Cost$ 0 | Defined$ Remembered | Origin$ Exile | Destination$ Battlefield
SVar:PlayMain1:TRUE
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/wormfang_crab.jpg
End
- Code: Select all
Name:Xathrid Demon
ManaCost:3 B B B
Types:Creature Demon
Text:no text
PT:7/7
K:Flying
K:Trample
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of your upkeep, sacrifice a creature other than CARDNAME, then each opponent loses life equal to the sacrificed creature's power. If you can't sacrifice a creature, tap CARDNAME and you lose 7 life.
SVar:TrigSac:DB$Sacrifice | Defined$ You | SacValid$ Creature.Other | RememberSacrificed$ True | SubAbility$ DBLoseLifeOpp
SVar:DBLoseLifeOpp:DB$LoseLife | Defined$ Opponent | LifeAmount$ X | SubAbility$ DBLoseLifeYou
SVar:DBLoseLifeYou:DB$LoseLife | Defined$ You | LifeAmount$ 7 | ConditionCheckSVar$ Y | ConditionSVarCompare$ LT1 | SubAbility$ DBTap
SVar:DBTap:DB$Tap | Defined$ Self | ConditionCheckSVar$ Y | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup
SVar:X:Sacrificed$CardPower
SVar:Y:Remembered$Amount
SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True
SVar:NeedsToPlayVar:Z GE3
SVar:Z:Count$Valid Creature.YouCtrl
SVar:RemAIDeck:True
SVar:Rarity:Mythic
SVar:Picture:http://www.wizards.com/global/images/magic/general/xathrid_demon.jpg
End
- Code: Select all
Name:Yamabushi's Storm
ManaCost:1 R
Types:Sorcery
Text:no text
A:SP$ DamageAll | Cost$ 1 R | NumDmg$ 1 | ValidCards$ Creature | ValidDescription$ each creature. | SubAbility$ DBCurse | SpellDescription$ CARDNAME deals 1 damage to each creature. If a creature dealt damage this way would die this turn, exile it instead.
SVar:DBCurse:DB$Pump | KW$ HIDDEN If CARDNAME would be put into a graveyard, exile it instead. | Defined$ Creature
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/yamabushis_storm.jpg
End
- Code: Select all
Name:Zerapa Minotaur
ManaCost:2 R R
Types:Creature Minotaur
Text:no text
PT:3/3
K:First strike
A:AB$ Debuff | Cost$ 2 | Defined$ Self | AnyPlayer$ True | IsCurse$ True | SpellDescription$ CARDNAME loses first strike until end of turn. Any player may activate this ability.
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/zerapa_minotaur.jpg
End
- Code: Select all
Name:Zombie Boa
ManaCost:4 B
Types:Creature Zombie Snake
Text:no text
PT:3/3
A:AB$ ChooseColor | Cost$ 1 B | Defined$ You | AILogic$ MostProminentInHumanDeck | SorcerySpeed$ True | SubAbility$ DBEffect | SpellDescription$ Choose a color. Whenever CARDNAME becomes blocked by a creature of that color this turn, destroy that creature. Activate this ability only any time you could cast a sorcery.
SVar:DBEffect:DB$ Effect | Name$ Zombie Boa Effect | Triggers$ TrigBlocked | SVars$ ABDestroy | RememberObjects$ Self
SVar:TrigBlocked:Mode$ AttackerBlocked | ValidCard$ Creature.IsRemembered | ValidBlocker$ Creature.ChosenColor | Execute$ ABDestroy
SVar:ABDestroy:AB$ Destroy | Cost$ 0 | Defined$ TriggeredBlocker
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/zombie_boa.jpg
End
Re: Card Contributions
by moomarc » 18 Apr 2012, 16:55
.Zerapa Minotaur - Added
Zombie Boa - Added
Xathrid Demon - Added (just for future reference, the counting method Sacrificed$Value is for things sacrificed as a cost. Here you had to use Remembered$CardPower
Withdraw - You've come across what every scripter eventually finds. This card can't be done because Unless costs in subabilities don't work.
Zombie Boa - Added
Xathrid Demon - Added (just for future reference, the counting method Sacrificed$Value is for things sacrificed as a cost. Here you had to use Remembered$CardPower
Withdraw - You've come across what every scripter eventually finds. This card can't be done because Unless costs in subabilities don't work.
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Card Contributions
by jwallstone » 22 Apr 2012, 00:24
Here are a couple of contributions. This is my first time, so please double check!
Thanks!
Thanks!
- Code: Select all
Name:Pentarch Ward
ManaCost:2 W
Types:Enchantment Aura
Text:no text
K:Enchant creature
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color.
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card.
SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You | AILogic$ MostProminentInHumanDeck
A:SP$ Attach | Cost$ W | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Protection:Card.ChosenColor:Protection from ChosenColor | Description$ Enchanted creature has protection from the chosen color. This effect doesn't remove Pentarch Ward.
Oracle:Enchant creature\nAs Pentarch Ward enters the battlefield, choose a color.\nEnchanted creature has protection from the chosen color. This effect doesn't remove Pentarch Ward.\nWhen Pentarch Ward enters the battlefield, draw a card.
End
- Code: Select all
Name:Cho-Manno's Blessing
ManaCost:W W
Types:Enchantment Aura
Text:no text
K:Flash
K:Enchant creature
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color.
SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You | AILogic$ MostProminentInHumanDeck
A:SP$ Attach | Cost$ W | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Protection:Card.ChosenColor:Protection from ChosenColor | Description$ Enchanted creature has protection from the chosen color. This effect doesn't remove Cho-Manno's Blessing.
Oracle:Flash/nEnchant creature/nAs Cho-Manno's Blessing enters the battlefield, choose a color./nEnchanted creature has protection from the chosen color. This effect doesn't remove Cho-Manno's Blessing.
End
- jwallstone
- Posts: 66
- Joined: 02 Mar 2012, 06:16
- Has thanked: 0 time
- Been thanked: 0 time
Re: Card Contributions
by jwallstone » 22 Apr 2012, 00:30
Here's another one, but I don't know if the "can't be blocked part" is correct or not.
- Code: Select all
Name:Infiltrator's Magemark
ManaCost:2 U
Types:Enchantment Aura
Text:no text
K:Enchant creature
A:SP$ Attach | Cost$ 2 U | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ Continuous | Affected$ Creature.enchanted+YouCtrl | AddPower$ 1 | AddToughness$ 1 | CantBeBlockedBy Creature.withoutDefender | Description$ Creatures you control that are enchanted get +1/+1 and can't be blocked except by creatures with defender.
Oracle:Enchant creature\nCreatures you control that are enchanted get +1/+1 and can't be blocked except by creatures with defender.
End
- jwallstone
- Posts: 66
- Joined: 02 Mar 2012, 06:16
- Has thanked: 0 time
- Been thanked: 0 time
Re: Card Contributions
by moomarc » 22 Apr 2012, 18:11
Had some free time:
Woebringer Demon - Added
Wormfang Crab - Added
Infiltrator's Magemark - Added
Pentarch Ward - Added
Cho-Manno's Blessing - Added
Thanks guys!
Woebringer Demon - Added
Wormfang Crab - Added
Infiltrator's Magemark - Added
Pentarch Ward - Added
Cho-Manno's Blessing - Added
Thanks guys!
-Marc
-
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 39 guests