When is a swamp not a swamp?
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
6 posts
• Page 1 of 1
When is a swamp not a swamp?
by Jaedayr » 10 Oct 2011, 21:01
This may not be a problem, but something does not feel right about it. When my Cyclopean Giant was put into the graveyard it targeted the AI Razorverge Thicket. The giant got exiled, the thicket says it is a Swamp and can now be tapped for G, W or B mana. Then in the same game I played Evil Presence on AI Plains and it is a Swamp but can only be tapped for B. Are both of these correct? One says "becomes a Swamp" the other says "is a Swamp". Is there a difference between Land and Basic Land?
Re: When is a swamp not a swamp?
by friarsol » 10 Oct 2011, 21:18
Most likely the Cyclopean Giant is missing the OverrideTypes variable that would make the original issue interact correctly.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: When is a swamp not a swamp?
by Jaedayr » 11 Oct 2011, 02:45
Here is the card text. So the affected land should lose the ability to generate anything but B mana?friarsol wrote:Most likely the Cyclopean Giant is missing the OverrideTypes variable that would make the original issue interact correctly.
- Code: Select all
Name:Cyclopean Giant
ManaCost:2 B B
Types:Creature Zombie Giant
Text:no text
PT:4/2
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigAnimate | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, target land becomes a Swamp. Exile CARDNAME.
SVar:TrigAnimate:AB$ Animate | Cost$ 0 | ValidTgts$ Land | TgtPrompt$ Select target land | Types$ Swamp | OverwriteTypes$ True | KeepSupertypes$ True | KeepCardTypes$ True | Permanent$ True | SubAbility$ DBExile | SpellDescription$ Target land becomes a Swamp.
SVar:DBExile:DB$ChangeZone | Defined$ Self | Origin$ Graveyard | Destination$ Exile
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/cyclopean_giant.jpg
SetInfo:TSP|Common|http://magiccards.info/scans/en/ts/100.jpg
Oracle:When Cyclopean Giant dies, target land becomes a Swamp. Exile Cyclopean Giant.
End
Re: When is a swamp not a swamp?
by slapshot5 » 11 Oct 2011, 03:26
Hmm. That looks right to me. I'll take a look.
-slapshot5
-slapshot5
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: When is a swamp not a swamp?
by slapshot5 » 11 Oct 2011, 03:31
Ahh. I get it. The Abilities are actually written on Razorverge Thicket. Cyclopean Giant probably needs "RemoveAllAbilities$ True".
-slapshot5
-slapshot5
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: When is a swamp not a swamp?
by silly freak » 11 Oct 2011, 07:08
Basically "is/becomes a <<basic land>>" removes both land types and printed abilities; "... in addition ..." doesn't. Good to know, I didn't think so before...CR 305.7 wrote:If an effect sets a land's subtype to one or more of the basic land types, the land no longer has its old land type. It loses all abilities generated from its rules text and its old land types, and it gains the appropriate mana ability for each new basic land type. Note that this doesn't remove any abilities that were granted to the land by other effects. Setting a land's subtype doesn't add or remove any card types (such as creature) or supertypes (such as basic, legendary, and snow) the land may have. If a land gains one or more land types in addition to its own, it keeps its land types and rules text, and it gains the new land types and mana abilities.
___
where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
- silly freak
- DEVELOPER
- Posts: 598
- Joined: 26 Mar 2009, 07:18
- Location: Vienna, Austria
- Has thanked: 93 times
- Been thanked: 25 times
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: Bing [Bot] and 42 guests