Page 97 of 141

Re: Card Development Questions

PostPosted: 17 Feb 2012, 19:11
by friarsol
Yep, using Hidden$ True is how you "convert" a Known Information Zone that would require targeting to use the Hidden Information logic with a ChangeType that happens on Resolution.

Re: Card Development Questions

PostPosted: 18 Feb 2012, 00:34
by jeffwadsworth
Hehe. I have been pulling my hair out testing Gaze of the Gorgon, when it dawned on me that the Regeneration effect was probably why it wasn't icing the blockers, etc. So, the "takes it out of combat" is why the blocks now longer count? If so, Gaze of the Gorgon is more like Gaze of the UN.

Re: Card Development Questions

PostPosted: 18 Feb 2012, 02:22
by jeffwadsworth
I take it that the following ETB script for the Epochrasite would not suffice? Just checking if not.

| Open
T:Mode$ ChangesZone | ValidCard$ Card.wasNotCastFromHand+Self | Destination$ Battlefield | Execute$ TrigPutCounters | Static$ True | TriggerDescription$ CARDNAME enters the battlefield with three +1/+1 counters on it if you didn't cast it from your hand.
SVar:TrigPutCounters:AB$ PutCounter | Cost$ 0 | CounterType$ P1P1 | CounterNum$ 3

Re: Card Development Questions

PostPosted: 18 Feb 2012, 07:47
by Sloth
jeffwadsworth wrote:Hehe. I have been pulling my hair out testing Gaze of the Gorgon, when it dawned on me that the Regeneration effect was probably why it wasn't icing the blockers, etc. So, the "takes it out of combat" is why the blocks now longer count? If so, Gaze of the Gorgon is more like Gaze of the UN.
Regeneration does not remove from combat. If you would post your script, i could guess what's wrong.

jeffwadsworth wrote:I take it that the following ETB script for the Epochrasite would not suffice? Just checking if not.

| Open
T:Mode$ ChangesZone | ValidCard$ Card.wasNotCastFromHand+Self | Destination$ Battlefield | Execute$ TrigPutCounters | Static$ True | TriggerDescription$ CARDNAME enters the battlefield with three +1/+1 counters on it if you didn't cast it from your hand.
SVar:TrigPutCounters:AB$ PutCounter | Cost$ 0 | CounterType$ P1P1 | CounterNum$ 3
It should suffice.

Re: Card Development Questions

PostPosted: 18 Feb 2012, 13:08
by friarsol
Sloth wrote:
jeffwadsworth wrote:Hehe. I have been pulling my hair out testing Gaze of the Gorgon, when it dawned on me that the Regeneration effect was probably why it wasn't icing the blockers, etc. So, the "takes it out of combat" is why the blocks now longer count? If so, Gaze of the Gorgon is more like Gaze of the UN.
Regeneration does not remove from combat. If you would post your script, i could guess what's wrong.
Regenerating does remove combat (once you use up a regeneration shield).

http://wiki.mtgsalvation.com/article/Regeneration

“The next time [permanent] would be destroyed this turn, instead remove all damage marked on it and tap it. If it’s an attacking or blocking creature, remove it from combat.”

Re: Card Development Questions

PostPosted: 19 Feb 2012, 21:37
by jeffwadsworth
Does anyone see the issue with this card? The granted trigger does not fire when the card dies. Tried ValidCard$ Card.Self, Self, Defined$ Card.Self, Self, and just left it blank.

| Open
Name:Saffi Eriksdotter
ManaCost:G W
Types:Legendary Creature Human Scout
Text:no text
PT:2/2
A:AB$ Animate | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | Triggers$ TrigChangesZone | sVars$ TrigBounceMe | SpellDescription$ When target creature is put into your graveyard from the battlefield this turn, return that card to the battlefield.
SVar:TrigChangesZone:Mode$ ChangesZone | Defined$ Self | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigBounceMe | TriggerDescription$ When CARDNAME is put into your graveyard from the battlefield this turn, return it to the battlefield.
SVar:TrigBounceMe:AB$ ChangeZone | Cost$ 0 | Defined$ TriggeredCard | Origin$ Graveyard | Destination$ Battlefield
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/saffi_eriksdotter.jpg
End

Re: Card Development Questions

PostPosted: 19 Feb 2012, 21:49
by friarsol
Capitalization looks wrong on SVars in the Animate?

Re: Card Development Questions

PostPosted: 19 Feb 2012, 21:56
by jeffwadsworth
friarsol wrote:Capitalization looks wrong on SVars in the Animate?
That looks weird, but it is indeed "sVars" for AB Animate. Heck, the creature displays the trigger description, etc, but it refuses to trigger.

final ArrayList<String> sVars = new ArrayList<String>();
if (params.containsKey("sVars")) {
sVars.addAll(Arrays.asList(params.get("sVars").split(",")));
}

Re: Card Development Questions

PostPosted: 19 Feb 2012, 22:03
by friarsol
Oh I guess Adarkar Valkyrie uses an Effect. Did you try using an effect?

Re: Card Development Questions

PostPosted: 19 Feb 2012, 22:12
by jeffwadsworth
friarsol wrote:Oh I guess Adarkar Valkyrie uses an Effect. Did you try using an effect?
I saw that, but the card should work as is. I will just Effect it and move on. Thanks.

Re: Card Development Questions

PostPosted: 21 Feb 2012, 22:40
by jeffwadsworth
On the subject of regeneration, I was testing The Wretched and came across this in the rulings:

Any blocking creatures that regenerated during combat will have been removed from combat. Since such creatures are no longer in combat, they cannot be blocking The Wretched, which means you won't be able to gain control of them.

This is what I had seen long ago but couldn't find it until now. This explains the Gaze of the Gorgon deal.

http://gatherer.wizards.com/Pages/Card/ ... eid=201168

It appears that regeneration being activated is not clearing out the "attackedThisTurn" property...unless I am interpeting the following incorrectly.

| Open
306.2. A creature is removed from combat if it stops being a creature (as a result of leaving play by any means, such as by being destroyed or removed from the game), if it regenerates (see rule 419.6b), or if its controller changes. "Removed from combat" means the creature stops being an attacking, blocking, blocked, and/or unblocked creature. Once a creature has been declared as an attacking or blocking creature, spells or abilities that would have kept that creature from attacking or blocking don’t remove the creature from combat. Tapping or untapping a creature that’s already been declared as an attacker or blocker doesn’t remove it from combat and doesn’t prevent its combat damage.

Re: Card Development Questions

PostPosted: 22 Feb 2012, 01:32
by friarsol
The verbs of the combat is what you are missing here.

The Wretched states "blocking" as is still currently blocking, survived combat and all that. Gaze of the Gorgon says "blocked" or "were blocked by" which just means at some point during this turn if I blocked you. Once it regenerates you would stop actively blocking, but you still blocked at some point.

Re: Card Development Questions

PostPosted: 22 Feb 2012, 03:53
by jeffwadsworth
friarsol wrote:The verbs of the combat is what you are missing here.

The Wretched states "blocking" as is still currently blocking, survived combat and all that. Gaze of the Gorgon says "blocked" or "were blocked by" which just means at some point during this turn if I blocked you. Once it regenerates you would stop actively blocking, but you still blocked at some point.
I gotcha. Thanks.

Re: Card Development Questions

PostPosted: 22 Feb 2012, 05:25
by jeffwadsworth
Perhaps someone knows the way to fix the "spelldescription" of this script for Orim's Chant. It works fine, but a 3rd "Kicker W W" shows up on the choice screen. If I leave the spelldescription off, the kicker enabled effect refuses to target a player. Weird.

| Open
Name:Orim's Chant
ManaCost:W
Types:Instant
Text:no text
K:Kicker:W
A:SP$ Effect | Cost$ W | Name$ Orim's Chant Effect | IsCurse$ True | StaticAbilities$ CantBeCast | ValidTgts$ Player | RememberObjects$ Targeted | AILogic$ BeginningOfOppTurn | SpellDescription$ Target player can't cast spells this turn. If CARDNAME was kicked, creatures can't attack this turn.
SVar:CantBeCast:Mode$ CantBeCast | ValidCard$ Card | Caster$ Player.IsRemembered | Description$ Target player can't cast spells this turn.
A:SP$ Effect | Cost$ W W | Name$ Orim's Chant Effect | IsCurse$ True | StaticAbilities$ CantBeCast,CantAttack | ValidTgts$ Player | RememberObjects$ Targeted | AILogic$ BeginningOfOppTurn | SpellDescription$ Kicker W W (You may pay an additional W W as you cast this spell.)
SVar:CantAttack:Mode$ Continuous | Affected$ Creature | AddHiddenKeyword$ HIDDEN CARDNAME can't attack. | Description$ Creatures can't attack this turn.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/orims_chant.jpg
End

Re: Card Development Questions

PostPosted: 22 Feb 2012, 08:15
by Sloth
jeffwadsworth wrote:Perhaps someone knows the way to fix the "spelldescription" of this script for Orim's Chant. It works fine, but a 3rd "Kicker W W" shows up on the choice screen. If I leave the spelldescription off, the kicker enabled effect refuses to target a player. Weird.

| Open
Name:Orim's Chant
ManaCost:W
Types:Instant
Text:no text
K:Kicker:W
A:SP$ Effect | Cost$ W | Name$ Orim's Chant Effect | IsCurse$ True | StaticAbilities$ CantBeCast | ValidTgts$ Player | RememberObjects$ Targeted | AILogic$ BeginningOfOppTurn | SpellDescription$ Target player can't cast spells this turn. If CARDNAME was kicked, creatures can't attack this turn.
SVar:CantBeCast:Mode$ CantBeCast | ValidCard$ Card | Caster$ Player.IsRemembered | Description$ Target player can't cast spells this turn.
A:SP$ Effect | Cost$ W W | Name$ Orim's Chant Effect | IsCurse$ True | StaticAbilities$ CantBeCast,CantAttack | ValidTgts$ Player | RememberObjects$ Targeted | AILogic$ BeginningOfOppTurn | SpellDescription$ Kicker W W (You may pay an additional W W as you cast this spell.)
SVar:CantAttack:Mode$ Continuous | Affected$ Creature | AddHiddenKeyword$ HIDDEN CARDNAME can't attack. | Description$ Creatures can't attack this turn.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/orims_chant.jpg
End
You can delete "K:Kicker:W". This reminds me that we should add a Kicker flag to these spells (or really implement additional costs one day).