Page 45 of 141

Re: Card Development Questions

PostPosted: 07 Jul 2011, 04:02
by jeffwadsworth
Alliances is definitely a great set.

Does anyone see the issue here? This is a conversion to the new StaticAbility for the card Vibrating Sphere.

| Open
Name:Vibrating Sphere
ManaCost:4
Types:Artifact
Text:no text
S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddPower$ 2 | PlayerTurn$ True | Description$ As long as it's your turn, creatures you control get +2/+0.
S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddToughness$ -2 | PlayerTurn$ False | Description$ As long as it's not your turn, creatures you control get -0/-2.
SVar:RemRandomDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/vibrating_sphere.jpg
SetInfo:ICE|Rare|http://magiccards.info/scans/en/ia/320.jpg
End


A creature I control on my turn gets +2/-2 and +0/+0 on the AI's turn with this script.

Re: Card Development Questions

PostPosted: 07 Jul 2011, 04:15
by slapshot5
It's probably just checking params.containsKey("PlayerTurn") and taking that as true. Several things do that. Try OpponentTurn$ True.

Re: Card Development Questions

PostPosted: 07 Jul 2011, 04:31
by slapshot5
slapshot5 wrote:It's probably just checking params.containsKey("PlayerTurn") and taking that as true. Several things do that. Try OpponentTurn$ True.
Ok, now try the latest SVN. That OpponentTurn should work now.

-slapshot5

Re: Card Development Questions

PostPosted: 07 Jul 2011, 04:36
by jeffwadsworth
Excellent. Here is another one: Vedalken Orrery. Vernal Equinox is basically the same deal.

Did the original actually give cards not in play Flash? This one does once they are in play...is there a way to fix this?

| Open
Name:Vedalken Orrery
ManaCost:4
Types:Artifact
Text:no text
S:Mode$ Continuous | Affected$ Card.nonLand+YouCtrl | AddKeyword$ HIDDEN Flash | Description$ You may cast nonland cards as though they had flash.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/vedalken_orrery.jpg
SetInfo:5DN|Rare|http://magiccards.info/scans/en/5dn/163.jpg
End

Re: Card Development Questions

PostPosted: 07 Jul 2011, 04:52
by slapshot5
From what I remember, the original did as you ask. There was logic that "if I'm granting Flash, include the cards in hand, otherwise, just the cards on the battlefield".

This probably just needs an "AffectedZone" param.

-slapshot5

Re: Card Development Questions

PostPosted: 07 Jul 2011, 10:33
by Sloth
slapshot5 wrote:From what I remember, the original did as you ask. There was logic that "if I'm granting Flash, include the cards in hand, otherwise, just the cards on the battlefield".

This probably just needs an "AffectedZone" param.

-slapshot5
I will add just that. And next is "EffectZone" for Anger and friends.

Re: Card Development Questions

PostPosted: 07 Jul 2011, 15:30
by jeffwadsworth
Thanks. I assume conditionals will be in there eventually for stuff like:

| Open
Name:Vampire Nocturnus
ManaCost:1 B B B
Types:Creature Vampire
Text:no text
PT:3/3
K:Play with the top card of your library revealed.
K:stPumpSelf:Permanent:2/1/Flying:TopCardOfLibraryIsBlack:As long as the top card of your library is black, CARDNAME and other Vampire creatures you control get +2/+1 and have flying.
K:stPumpAll:Creature.Vampire+Other+YouCtrl:2/1/Flying:TopCardOfLibraryIsBlack:no text
SVar:PlayMain1:TRUE
SVar:RemRandomDeck:True
SVar:Rarity:Mythic
SVar:Picture:http://www.wizards.com/global/images/magic/general/vampire_nocturnus.jpg
SetInfo:M10|Mythic|http://magiccards.info/scans/en/m10/118.jpg
End

Re: Card Development Questions

PostPosted: 07 Jul 2011, 20:06
by jeffwadsworth
Cards like this may be trickier:

| Open
Name:Undergrowth
ManaCost:G
Types:Instant
Text:no text
A:SP$ Fog | Cost$ G | SpellDescription$ Prevent all combat damage that would be dealt this turn.
A:SP$ Effect | Cost$ G 2 R | Name$ Undergrowth Effect | Keywords$ KWPump | SpellDescription$ If its additional cost was paid, CARDNAME doesn't affect combat damage that would be dealt by red creatures.
SVar:KWPump:stPumpAll:Creature.nonRed:0/0/HIDDEN Prevent all combat damage that would be dealt by CARDNAME.:no Condition:Prevent all combat damage this turn except that from red creatures.
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/undergrowth.jpg
SetInfo:ALL|Common|http://magiccards.info/scans/en/ai/87.jpg|2
End

Re: Card Development Questions

PostPosted: 07 Jul 2011, 20:09
by friarsol
jeffwadsworth wrote:Cards like this may be trickier:
Undergrowth
Are you saying they are trickier because Effect can't handle having a Static Effect right now?

Re: Card Development Questions

PostPosted: 07 Jul 2011, 20:52
by jeffwadsworth
friarsol wrote:
jeffwadsworth wrote:Cards like this may be trickier:
Undergrowth
Are you saying they are trickier because Effect can't handle having a Static Effect right now?
I did not try it...maybe it can. Its placement within an SVar made me question it.

Re: Card Development Questions

PostPosted: 08 Jul 2011, 00:01
by jeffwadsworth
We will need Types$ handled...

| Open
Name:Stormtide Leviathan
ManaCost:5 U U U
Types:Creature Leviathan
Text:no text
PT:8/8
K:Islandwalk
K:stPumpAll:Land:0/0/Types=Island:No Condition:All lands are Islands in addition to their other types.
K:stPumpAll:Creature.withoutFlying+withoutIslandwalk:0/0/HIDDEN CARDNAME can't attack.:No Condition:Creatures without flying or islandwalk can't attack.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/stormtide_leviathan.jpg
SetInfo:M11|Rare|http://magiccards.info/scans/en/m11/74.jpg
End

Re: Card Development Questions

PostPosted: 08 Jul 2011, 04:06
by jeffwadsworth
Any ideas on how this can be handled?

| Open
Name:Root Sliver
ManaCost:3 G
Types:Creature Sliver
Text:no text
PT:2/2
K:CARDNAME can't be countered.
S:Mode$ Continuous | Affected$ Card.Sliver | AddKeyword$ HIDDEN CARDNAME can't be countered. | AffectedZone$ Stack | Description$ Sliver spells can't be countered by spells or abilities.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/root_sliver.jpg
SetInfo:LGN|Uncommon|http://magiccards.info/scans/en/le/137.jpg
End


Doesn't work as is.

Re: Card Development Questions

PostPosted: 08 Jul 2011, 07:18
by Sloth
jeffwadsworth wrote:Cards like this may be trickier:

| Open
Name:Undergrowth
ManaCost:G
Types:Instant
Text:no text
A:SP$ Fog | Cost$ G | SpellDescription$ Prevent all combat damage that would be dealt this turn.
A:SP$ Effect | Cost$ G 2 R | Name$ Undergrowth Effect | Keywords$ KWPump | SpellDescription$ If its additional cost was paid, CARDNAME doesn't affect combat damage that would be dealt by red creatures.
SVar:KWPump:stPumpAll:Creature.nonRed:0/0/HIDDEN Prevent all combat damage that would be dealt by CARDNAME.:no Condition:Prevent all combat damage this turn except that from red creatures.
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/undergrowth.jpg
SetInfo:ALL|Common|http://magiccards.info/scans/en/ai/87.jpg|2
End
I implemented this restriction more generally. Mul Daya Channelers can also be converted now.

jeffwadsworth wrote:We will need Types$ handled...

| Open
Name:Stormtide Leviathan
ManaCost:5 U U U
Types:Creature Leviathan
Text:no text
PT:8/8
K:Islandwalk
K:stPumpAll:Land:0/0/Types=Island:No Condition:All lands are Islands in addition to their other types.
K:stPumpAll:Creature.withoutFlying+withoutIslandwalk:0/0/HIDDEN CARDNAME can't attack.:No Condition:Creatures without flying or islandwalk can't attack.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/stormtide_leviathan.jpg
SetInfo:M11|Rare|http://magiccards.info/scans/en/m11/74.jpg
End
This is next on my list.

Re: Card Development Questions

PostPosted: 08 Jul 2011, 16:25
by jeffwadsworth
This script will put multiple "descriptions" on the affected cards as more come into play...

| Open
Name:Mephidross Vampire
ManaCost:4 B B
Types:Creature Vampire
Text:no text
PT:3/4
K:Flying
S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddType$ Vampire | AddTrigger$ TrigPutCounter | AddSVar$ PutCounter | Description$ Each creature you control is a Vampire in addition to its other types and has "Whenever this creature deals damage to a creature, put a +1/+1 counter on this creature."
SVar:TrigPutCounter:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Creature | Execute$ PutCounter | TriggerDescription$ Whenever this creature deals damage to a creature, put a +1/+1 counter on this creature.
SVar:PutCounter:AB$PutCounter | Cost$ 0 | Defined$ TriggeredSource | CounterType$ P1P1 | CounterNum$ 1
SVar:PlayMain1:TRUE
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/mephidross_vampire.jpg
SetInfo:5DN|Rare|http://magiccards.info/scans/en/5dn/53.jpg
End


Ideas?

Re: Card Development Questions

PostPosted: 08 Jul 2011, 17:12
by Sloth
jeffwadsworth wrote:This script will put multiple "descriptions" on the affected cards as more come into play...

| Open
Name:Mephidross Vampire
ManaCost:4 B B
Types:Creature Vampire
Text:no text
PT:3/4
K:Flying
S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddType$ Vampire | AddTrigger$ TrigPutCounter | AddSVar$ PutCounter | Description$ Each creature you control is a Vampire in addition to its other types and has "Whenever this creature deals damage to a creature, put a +1/+1 counter on this creature."
SVar:TrigPutCounter:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Creature | Execute$ PutCounter | TriggerDescription$ Whenever this creature deals damage to a creature, put a +1/+1 counter on this creature.
SVar:PutCounter:AB$PutCounter | Cost$ 0 | Defined$ TriggeredSource | CounterType$ P1P1 | CounterNum$ 1
SVar:PlayMain1:TRUE
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/mephidross_vampire.jpg
SetInfo:5DN|Rare|http://magiccards.info/scans/en/5dn/53.jpg
End


Ideas?
Fixed!