Page 60 of 141

Re: Card Development Questions

PostPosted: 03 Oct 2011, 11:56
by friarsol
jeffwadsworth wrote:It would be nice if "remembered" was extended to all the AB's.
Which AbilityFactory are you looking for? It's not as simple to do in some based on the underlying structure

Re: Card Development Questions

PostPosted: 03 Oct 2011, 14:07
by jeffwadsworth
friarsol wrote:
jeffwadsworth wrote:It would be nice if "remembered" was extended to all the AB's.
Which AbilityFactory are you looking for? It's not as simple to do in some based on the underlying structure
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.

Re: Card Development Questions

PostPosted: 03 Oct 2011, 14:59
by friarsol
jeffwadsworth wrote:
friarsol wrote:
jeffwadsworth wrote:It would be nice if "remembered" was extended to all the AB's.
Which AbilityFactory are you looking for? It's not as simple to do in some based on the underlying structure
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.
Well we should get that resolved so you can script away :)

Re: Card Development Questions

PostPosted: 03 Oct 2011, 20:05
by jeffwadsworth
friarsol wrote:
jeffwadsworth wrote:
friarsol wrote:Well we should get that resolved so you can script away :)
I finally got the bug to reinstall everything. Fixed. Now to add my long lost Revered Unicorn.

Re: Card Development Questions

PostPosted: 04 Oct 2011, 10:58
by Chris H.
jeffwadsworth wrote:I finally got the bug to reinstall everything. Fixed. Now to add my long lost Revered Unicorn.
`
Great news. :D

Your request to join the group "Developers – Forge" has been approved but it may take a few hours before you notice that you have commit status.

Re: Card Development Questions

PostPosted: 04 Oct 2011, 17:22
by jeffwadsworth
Revered Unicorn.

| Open
Name:Revered Unicorn
ManaCost:1 W
Types:Creature Unicorn
Text:no text
PT:2/3
K:Cumulative upkeep:1
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME leaves the battlefield, you gain life equal to the number of age counters on it.
SVar:TrigGainLife:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ X
SVar:X:Count$CardCounters.AGE
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/revered_unicorn.jpg
End


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?

Re: Card Development Questions

PostPosted: 04 Oct 2011, 18:11
by Sloth
jeffwadsworth wrote:Revered Unicorn.

| Open
Name:Revered Unicorn
ManaCost:1 W
Types:Creature Unicorn
Text:no text
PT:2/3
K:Cumulative upkeep:1
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME leaves the battlefield, you gain life equal to the number of age counters on it.
SVar:TrigGainLife:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ X
SVar:X:Count$CardCounters.AGE
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/revered_unicorn.jpg
End


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?
Did you try "SVar:X:TriggeredCard$CardCounters.AGE"? This should use the last known information of the card.

Re: Card Development Questions

PostPosted: 04 Oct 2011, 20:40
by jeffwadsworth
Sloth wrote:
jeffwadsworth wrote:Revered Unicorn.

| Open
Name:Revered Unicorn
ManaCost:1 W
Types:Creature Unicorn
Text:no text
PT:2/3
K:Cumulative upkeep:1
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME leaves the battlefield, you gain life equal to the number of age counters on it.
SVar:TrigGainLife:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ X
SVar:X:Count$CardCounters.AGE
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/revered_unicorn.jpg
End


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?
Did you try "SVar:X:TriggeredCard$CardCounters.AGE"? This should use the last known information of the card.
That's got to be it. I have been out of the loop. Thanks.

Re: Card Development Questions

PostPosted: 04 Oct 2011, 23:03
by jeffwadsworth
I did not notice a "comment" section on the SVN. Doesn't the recently added Teferi's Moat need "Affected$ Creature.withoutFlying+ChosenColor+YouDontCtrl"?

Re: Card Development Questions

PostPosted: 05 Oct 2011, 01:22
by Iran
Trying to script Sisters of the Stone Death.

I found some problems in script =>

1) The Third Ability don't return any creature exiled (remembered) with Sisters of the Stone Death to battlefied. How to do this? Remembered doesn't work with ValidTgts$ and TgtPrompt$ ?
3) Exists the First ability of this card, but I need a AF that target creature blocks CARDNAME (Sisters of the Stone Death) this turn if able.

Sisters of Stone Death | Open
Name:Sisters of Stone Death
ManaCost:4 B B G G
Types:Legendary Creature Gorgon
Text:no text
PT:7/5
A:AB$ ChangeZone | Cost$ B G | ValidTgts$ Creature.blockingSource,Creature.blockedBySource | TgtPrompt$ Choose target creature blocking or blocked by Sisters of the Stone Death. | Origin$ Battlefield | Destination$ Exile | RememberTargets$ True | SpellDescription$ Exile target creature blocking or blocked by CARDNAME.
A:AB$ ChangeZone | Cost$ 2 B | ValidTgts$ Remembered.Creature | TgtPrompt$ Choose target creature exiled with CARDNAME. | Origin$ Exile | Destination$ Battlefield | ChangeNum$ 1 | GainControl$ True | SpellDescription$ Put a creature card exiled with Sisters of Stone Death onto the battlefield under your control.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/sisters_of_the_stone_death.jpg
End


Edit: With suggestions of Slapshot5

Thanks

Re: Card Development Questions

PostPosted: 05 Oct 2011, 01:34
by slapshot5
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?
This should be able to be done with:

Code: Select all
Creature.blockingSource,Creature.blockedBySource
-slapshot5

Re: Card Development Questions

PostPosted: 05 Oct 2011, 02:08
by slapshot5
Does my math just suck this bad, or doesn't this work like I think it does?

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
Block Johtull Wurm with 3 creatures, it ends up as 8/4 (from 6/6). It should be 2/4.

-slapshto5

Re: Card Development Questions

PostPosted: 05 Oct 2011, 04:00
by jeffwadsworth
slapshot5 wrote:Does my math just suck this bad, or doesn't this work like I think it does?

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
Block Johtull Wurm with 3 creatures, it ends up as 8/4 (from 6/6). It should be 2/4.

-slapshto5
Can the code handle /Times.Z? I remember fooling with this guy a while back and never could get it to work.

Re: Card Development Questions

PostPosted: 05 Oct 2011, 04:03
by jeffwadsworth
Rakdos Riteknife
Archery Training

Is there a way to for a permanent to reference its enchantment or equipment? Just checking to see if any progress was made along these lines.

Re: Card Development Questions

PostPosted: 05 Oct 2011, 04:09
by slapshot5
jeffwadsworth wrote:Can the code handle /Times.Z? I remember fooling with this guy a while back and never could get it to work.
Yeah, that's somewhat recent. I used it in Shapeshifter and the Mana Batteries use it.

-slapshot5