Re: Card Development Questions
Soulstorm and Marc,
Did anyone try SubCounter<All/P1P1> and CostCountersRemoved as the SVar?
Did anyone try SubCounter<All/P1P1> and CostCountersRemoved as the SVar?
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
No, didn't even know you could do that. I'll give it a shot and let you know how it goes.friarsol wrote:Soulstorm and Marc,
Did anyone try SubCounter<All/P1P1> and CostCountersRemoved as the SVar?
I see it in the code, not sure if it's copied over for the StackInstance. At least that's how it will be available if it doesn't quite work now.SoulStorm wrote:No, didn't even know you could do that. I'll give it a shot and let you know how it goes.friarsol wrote:Soulstorm and Marc,
Did anyone try SubCounter<All/P1P1> and CostCountersRemoved as the SVar?
The 'All' variable's a new one for me to. Unfortunately it doesn't seem to work yet. Tried all the variations I could think of:friarsol wrote:I see it in the code, not sure if it's copied over for the StackInstance. At least that's how it will be available if it doesn't quite work now.SoulStorm wrote:No, didn't even know you could do that. I'll give it a shot and let you know how it goes.friarsol wrote:Soulstorm and Marc,
Did anyone try SubCounter<All/P1P1> and CostCountersRemoved as the SVar?
SVar:X:CostCountersRemoved
SVar:X:CostCountersRemoved$Amount
SVar:X:Count$CostCountersRemoved
SVar:X:Number$CostCountersRemovedName:Vish Kal, Blood Arbiter
ManaCost:4 W B B
Types:Legendary Creature Vampire
Text:no text
PT:5/5
K:Flying
K:Lifelink
A:AB$PutCounter | Cost$ Sac<1/Creature> | Defined$ Self | CounterType$ P1P1 | CounterNum$ Y | SpellDescription$ Put X +1/+1 counters on Vish Kal, Blood Arbiter, where X is the sacrificed creature's power.
A:AB$ Pump | Cost$ SubCounter<All/P1P1> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | SpellDescription$ Remove all +1/+1 counters from Vish Kal: Target creature gets -1/-1 until end of turn for each +1/+1 counter removed this way.
SVar:Y:Sacrificed$CardPower
SVar:X:CostCountersRemoved
SVar:RemAIDeck:True
SVar:RemRandomDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/vish_kal_blood_arbiter.jpg
EndSVar:X:SVar$CostCountersRemoved
Works perfectly Hellfish, many thanks!Hellfish wrote:AFAICT, the CostRemoveCounter class puts the amount of counters removed in a new SVar called CostCountersRemoved as a simple Number$. So the correct way to access it would beor, for a more direct/less clear way(or just more direct
- Code: Select all
SVar:X:SVar$CostCountersRemoved), reference CostCountersRemoved directly in the abilities instead of X.
Does the trigger not fire or does it fire and nothing happens?jeffwadsworth wrote:Testing one of the ugliest cards in magic...Phantasmal Mount.
- | Open
This works fine if the targeted creature changes zones, but if the Phantasmal Mount changes zones, the trigger does not fire. Does someone spot the problem? It is Friday and my eyes are getting blurry.
SVar:TrigSacCreature:AB$ Destroy | Cost$ 0 | Defined$ Card.IsRemembered | Sacrifice$ True | SubAbility$ DBCleanupName:Surgespanner
ManaCost:2 U U
Types:Creature Merfolk Wizard
Text:no text
PT:2/2
T:Mode$ Taps | ValidCard$ Card.Self | OptionalDecider$ You | TriggerZones$ Battlefield | Execute$ TrigBounce | TriggerDescription$ Whenever Surgespanner becomes tapped, you may pay 1U. If you do, return target permanent to its owner’s hand.
SVar:TrigBounce:AB$ChangeZone | Cost$ 1 U | ValidTgts$ Permanent | TgtPrompt$ Select target permanent | Origin$ Battlefield | Destination$ Hand
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/surgespanner.jpg
SetInfo:LRW|Rare|http://magiccards.info/scans/en/lw/92.jpg
Oracle:Whenever Surgespanner becomes tapped, you may pay 1U. If you do, return target permanent to its owner's hand.
EndLooks fine. I've added it to the developer version. Thanks squee1968.squee1968 wrote:Hello, Devs.
I believe I have a card to contribute. Surgespanner. I've playtested it, and it seems like it's working ok, except the card picture doesn't show for some reason after downloading it.Feel free to fix and add to Forge.
- Code: Select all
Name:Surgespanner
ManaCost:2 U U
Types:Creature Merfolk Wizard
Text:no text
PT:2/2
T:Mode$ Taps | ValidCard$ Card.Self | OptionalDecider$ You | TriggerZones$ Battlefield | Execute$ TrigBounce | TriggerDescription$ Whenever Surgespanner becomes tapped, you may pay 1U. If you do, return target permanent to its owner’s hand.
SVar:TrigBounce:AB$ChangeZone | Cost$ 1 U | ValidTgts$ Permanent | TgtPrompt$ Select target permanent | Origin$ Battlefield | Destination$ Hand
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/surgespanner.jpg
SetInfo:LRW|Rare|http://magiccards.info/scans/en/lw/92.jpg
Oracle:Whenever Surgespanner becomes tapped, you may pay 1U. If you do, return target permanent to its owner's hand.
End
Name:Hunter Sliver
ManaCost:1 R
Types:Creature Sliver
Text:no text
PT:1/1
S:Mode$ Continuous | Affected$ Sliver | AddKeyword$ Provoke | Description$ All Slivers have provoke.
SVar:PlayMain1:TRUE
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/hunter_sliver.jpg
SetInfo:LGN|Common|http://magiccards.info/scans/en/le/102.jpg
Oracle:All Slivers have provoke. (When this attacks, you may have target creature defending player controls untap and block it if able.)
End