Board index Programs with AI or Rules Enforcement Magic: The Gathering - Duels of the Planeswalkers Programming Talk
Blanket of Night problem.
Moderator: CCGHQ Admins
Blanket of Night problem.
by alexandreonly » 16 Aug 2012, 04:39
The lands my opponent control don't tap to generate mana, they simply generate mana without tap.
- Code: Select all
<?xml version='1.0'?>
<CARD_V2>
<FILENAME text="BLANKET_OF_NIGHT_3609" />
<CARDNAME text="BLANKET_OF_NIGHT" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Blanket of Night]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Blanket of Night]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Blanket of Night]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Blanket of Night]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Blanket of Night]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Blanket of Night]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Blanket of Night]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Blanket of Night]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Blanket of Night]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="3609" />
<ARTID value="3609" />
<ARTIST name="Cliff Nielsen" />
<CASTING_COST cost="{1}{B}{B}" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“Kaervek imprisoned Mangara out of jealousy, but he taints Jamuraa simply out of spite.”
—Asmira, Holy Avenger]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[“Kaervek imprisoned Mangara out of jealousy, but he taints Jamuraa simply out of spite.”
—Asmira, Holy Avenger]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“Kaervek imprisoned Mangara out of jealousy, but he taints Jamuraa simply out of spite.”
—Asmira, Holy Avenger]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[“Kaervek imprisoned Mangara out of jealousy, but he taints Jamuraa simply out of spite.”
—Asmira, Holy Avenger]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“Kaervek imprisoned Mangara out of jealousy, but he taints Jamuraa simply out of spite.”
—Asmira, Holy Avenger]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[“Kaervek imprisoned Mangara out of jealousy, but he taints Jamuraa simply out of spite.”
—Asmira, Holy Avenger]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“Kaervek imprisoned Mangara out of jealousy, but he taints Jamuraa simply out of spite.”
—Asmira, Holy Avenger]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[“Kaervek imprisoned Mangara out of jealousy, but he taints Jamuraa simply out of spite.”
—Asmira, Holy Avenger]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“Kaervek imprisoned Mangara out of jealousy, but he taints Jamuraa simply out of spite.”
—Asmira, Holy Avenger]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<TYPE metaname="Enchantment" />
<EXPANSION value="DPG" />
<RARITY metaname="U" />
<STATIC_ABILITY filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Each land is a Swamp in addition to its other land types.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Each land is a Swamp in addition to its other land types.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Each land is a Swamp in addition to its other land types.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Each land is a Swamp in addition to its other land types.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Each land is a Swamp in addition to its other land types.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Each land is a Swamp in addition to its other land types.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Each land is a Swamp in addition to its other land types.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Each land is a Swamp in addition to its other land types.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Each land is a Swamp in addition to its other land types.]]></LOCALISED_TEXT>
<FILTER>
return Lands() and InPlay()
</FILTER>
<CONTINUOUS_ACTION layer="6">
RSN_AddSubType( FilteredCard(), LAND_TYPE_SWAMP )
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
</CARD_V2>
- alexandreonly
- Posts: 145
- Joined: 04 Jul 2011, 17:27
- Has thanked: 0 time
- Been thanked: 8 times
Re: Blanket of Night problem.
by thefiremind » 16 Aug 2012, 08:26
This card can't be coded correctly because when you give a basic land another type, it starts to have 2 mana abilities at the same time, and the game can't handle this situation. On the other hand, when you give a basic land type to a nonbasic land, it doesn't gain the corresponding mana ability.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 721 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 24 guests