Re: Card Development Questions
Which AbilityFactory are you looking for? It's not as simple to do in some based on the underlying structurejeffwadsworth wrote:It would be nice if "remembered" was extended to all the AB's.
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
Which AbilityFactory are you looking for? It's not as simple to do in some based on the underlying structurejeffwadsworth wrote:It would be nice if "remembered" was extended to all the AB's.
None in particular. I couldn't use it anyway as I can't get Forge to compile...otherwise your scripting card posts would all be done.friarsol wrote:Which AbilityFactory are you looking for? It's not as simple to do in some based on the underlying structurejeffwadsworth wrote:It would be nice if "remembered" was extended to all the AB's.
Well we should get that resolved so you can script awayjeffwadsworth wrote:None in particular. I couldn't use it anyway as I can't get Forge to compile...otherwise your scripting card posts would all be done.friarsol wrote:Which AbilityFactory are you looking for? It's not as simple to do in some based on the underlying structurejeffwadsworth wrote:It would be nice if "remembered" was extended to all the AB's.
I finally got the bug to reinstall everything. Fixed. Now to add my long lost Revered Unicorn.friarsol wrote:jeffwadsworth wrote:friarsol wrote:Well we should get that resolved so you can script away
`jeffwadsworth wrote:I finally got the bug to reinstall everything. Fixed. Now to add my long lost Revered Unicorn.
Did you try "SVar:X:TriggeredCard$CardCounters.AGE"? This should use the last known information of the card.jeffwadsworth wrote:Revered Unicorn.
- | Open
I do not pay the cumulative upkeep cost. The trigger fires, but no life is gained. Apparently the sacrifice spoils the show. Does anyone know of a workaround?
That's got to be it. I have been out of the loop. Thanks.Sloth wrote:Did you try "SVar:X:TriggeredCard$CardCounters.AGE"? This should use the last known information of the card.jeffwadsworth wrote:Revered Unicorn.
- | Open
I do not pay the cumulative upkeep cost. The trigger fires, but no life is gained. Apparently the sacrifice spoils the show. Does anyone know of a workaround?
This should be able to be done with:Iran wrote:Trying to script Sisters of the Stone Death.
I found some problems in script =>
1) The Second Ability target any creature blocking or blocked by any card, how to do with this ability for it target only creature blocking or blocked by Sisters of the Stone Death?
Creature.blockingSource,Creature.blockedBySourceName:Johtull Wurm
ManaCost:5 G
Types:Creature Wurm
Text:no text
PT:6/6
T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME becomes blocked, it gets -2/-1 until end of turn for each creature blocking it beyond the first.
SVar:TrigPump:AB$Pump | Cost$ 0 | Defined$ Self | NumAtt$ -X | NumDef$ -Y
SVar:X:Number$2/Times.Z
SVar:Z:TriggerCount$NumBlockers/Minus.1
SVar:Y:TriggerCount$NumBlockers/Minus.1
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/johtull_wurm.jpg
End
Can the code handle /Times.Z? I remember fooling with this guy a while back and never could get it to work.slapshot5 wrote:Does my math just suck this bad, or doesn't this work like I think it does?Block Johtull Wurm with 3 creatures, it ends up as 8/4 (from 6/6). It should be 2/4.
- Code: Select all
Name:Johtull Wurm
ManaCost:5 G
Types:Creature Wurm
Text:no text
PT:6/6
T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME becomes blocked, it gets -2/-1 until end of turn for each creature blocking it beyond the first.
SVar:TrigPump:AB$Pump | Cost$ 0 | Defined$ Self | NumAtt$ -X | NumDef$ -Y
SVar:X:Number$2/Times.Z
SVar:Z:TriggerCount$NumBlockers/Minus.1
SVar:Y:TriggerCount$NumBlockers/Minus.1
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/johtull_wurm.jpg
End
-slapshto5
Yeah, that's somewhat recent. I used it in Shapeshifter and the Mana Batteries use it.jeffwadsworth wrote:Can the code handle /Times.Z? I remember fooling with this guy a while back and never could get it to work.