Re: Card Development Questions
What information is it possible to return from an imprinted card? For instance, is there an Imprinted$CardTypes (for Semblance Anvil)? Imprinted$Colors (for Chrome Mox)? Imprinted$CardName (for Strata Scythe)?
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=52&t=3760
It's the same as anything else. Basically on things that are expressed as a number (power/toughness/cmc).Starcrash wrote:What information is it possible to return from an imprinted card? For instance, is there an Imprinted$CardTypes (for Semblance Anvil)? Imprinted$Colors (for Chrome Mox)? Imprinted$CardName (for Strata Scythe)?
Name:Sylvok Lifestaff
ManaCost:1
Types:Artifact Equipment
Text:no text
K:eqPump 1:+1/+0
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.AttachedBy | Execute$ TrigGainLife | TriggerDescription$ Whenever equipped creature is put into a graveyard, you gain 3 life.
SVar:TrigGainLife:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ 3
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/sylvok_lifestaff.jpg
SetInfo:SOM|Common|http://magiccards.info/scans/en/som/209.jpg
EndOf course they should! Fixed! Thanks Jaedayr.Jaedayr wrote:Should all effects/etc of a card show up in the text box when you mouse over it?
Name:Apathy
ManaCost:U
Types:Enchantment Aura
Text:no text
K:Enchant creature
K:enPumpCurse:HIDDEN CARDNAME doesn't untap during your untap step.:Enchanted creature doesn't untap during its controller's untap step.
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ EnchantedController | TriggerZones$ Battlefield | OptionalDecider$ EnchantedController | Execute$ TrigDiscard | TriggerDescription$ At the beginning of the upkeep of enchanted creature's controller, that player may discard a card at random. If he or she does, untap that creature.
SVar:TrigDiscard:AB$Discard | Cost$ 0 | Defined$ EnchantedController | Mode$ Random | SubAbility$ SVar=DBUntap
SVar:DBUntap:DB$Untap | Defined$ Enchanted | SpellDescription$ Untap enchanted creature.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/apathy.jpg
EndName:Planar Guide
ManaCost:W
Types:Creature Human Cleric
Text:no text
PT:1/1
A:AB$ ChangeZoneAll | Cost$ 3 W Exile<1/CARDNAME> | ChangeType$ Creature | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | ForgetOtherRemembered$ True | SubAbility$ SVar=DBDelTrig | SpellDescription$ Exile all creatures. At the beginning of the next end step, return those cards to the battlefield under their owners' control.
SVar:DBDelTrig:DB$DelayedTrigger | Mode$ Phase | Phase$ End of Turn | Execute$ TrigReturn | TriggerDescription$ Return all creatures to owner's control.
SVar:TrigReturn:AB$ChangeZoneAll | Cost$ 0 | Defined$ Remembered | Origin$ Exile | Destination$ Battlefield
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/planar_guide.jpg
EndName:Draining Whelk
ManaCost:4 U U
Types:Creature Illusion
Text:no text
PT:1/1
K:Flash
K:Flying
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigCounter | TriggerDescription$ When CARDNAME enters the battlefield, counter target spell. Put X +1/+1 counters on Draining Whelk, where X is that spell's converted mana cost.
SVar:TrigCounter:AB$Counter | Cost$ 0 | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | SubAbility$ SVar=DBPutCounter
SVar:DBPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | SpellDescription$ Put X +1/+1 counters on CARDNAME.
SVar:X:Targeted$CardManaCost
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/draining_whelk.jpg
EndTechnically speaking, the counter ability targets a spellability on the stack and not a card. The expresssion "Targeted$CardManaCost" does not work because of this. If it would just link to the card it would still be problematic, since a spell on the stack has a different cmc than the printed card (for example X costs).jeffwadsworth wrote:Here is a script for Draining WhelkThe counters are not put onto the Draining Whelk. Does anyone see an issue here?
- Code: Select all
Name:Draining Whelk
ManaCost:4 U U
Types:Creature Illusion
Text:no text
PT:1/1
K:Flash
K:Flying
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigCounter | TriggerDescription$ When CARDNAME enters the battlefield, counter target spell. Put X +1/+1 counters on Draining Whelk, where X is that spell's converted mana cost.
SVar:TrigCounter:AB$Counter | Cost$ 0 | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | SubAbility$ SVar=DBPutCounter
SVar:DBPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | SpellDescription$ Put X +1/+1 counters on CARDNAME.
SVar:X:Targeted$CardManaCost
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/draining_whelk.jpg
End
Input runtime = new Input() {
private static final long serialVersionUID = -2212149199333372008L;
@Override
public void showMessage() {
AllZone.Display.showMessage(cardName+" - Select a land on the battlefield");
ButtonUtil.enableOnlyCancel();
}
@Override
public void selectButtonCancel() {
copyTarget[0] = null;
stop();
}
@Override
public void selectCard(Card c, PlayerZone z) {
if( z.is(Constant.Zone.Battlefield) && c.isLand()) {
copyTarget[0] = c;
stopSetNext(new Input_PayManaCost(copy, true));
}
}
};
For now, yes.jeffwadsworth wrote:Is UnlessCost$ limited to mana only?
Name:Zirilan of the Claw
ManaCost:3 R R
Types:Legendary Creature Viashino Shaman
Text:no text
PT:3/4
A:AB$ ChangeZone | Cost$ 1 R R T | Origin$ Library | Destination$ Battlefield | ChangeType$ Dragon | ChangeNum$ 1 | Shuffle$ True | SubAbility$ DBPump | RememberChanged$ True | ForgetOtherRemembered$ True | SpellDescription$ Search your library for a Dragon permanent card and put that card onto the battlefield. Then shuffle your library. That Dragon gains haste until end of turn. Exile it at the beginning of the next end step.
SVar:DBPump:DB$Pump | Defined$ Remembered | KW$ Haste | SubAbility$ DBDelTrig
SVar:DBDelTrig:DB$DelayedTrigger | Mode$ Phase | Phase$ End of Turn | Execute$ TrigExile
SVar:TrigExile:AB$ChangeZone | Cost$ 0 | Defined$ Remembered | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile dragon.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/zirilan_of_the_claw.jpg
End