Board index Programs with AI or Rules Enforcement Magic: The Gathering - Duels of the Planeswalkers Programming Talk
channel
Moderator: CCGHQ Admins
Re: channel
by RiiakShiNal » 06 Mar 2015, 01:34
I don't think anyone has really attempted Channel due to the complexities in trying to code it in the DotP engine. It can only be done using mana tokens (which pretty much means using Manual Mana if you are talking about coding it in DotP 2014). However, you then have to come up with some way to let the player use the ability, until end of turn, without keeping it in play (as keeping it in play would screw up other card abilities). Though you can't just grant it to the card in the graveyard or in exile because other card effects could then cause it to change zones and it would then lose the granted ability. Simply asking the player how much mana they want produce up front also wouldn't work because it isn't flexible enough (they may want to use some now, and then use some more in another step or phase, or something comes up and they decide not to generate as much as they otherwise would).
If we could grant abilities to the player then this card would be much easier to code.
If we could grant abilities to the player then this card would be much easier to code.
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2185
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: channel
by Xander9009 » 06 Mar 2015, 14:20
I was thinking about this and I think the easiest way to do it (thought this would still not necessarily work in every given situation) is to grant the ability to everything you control, including cards in hand and cards in the graveyard (and in the library and exile if possible). I say this because you'll be using the mana to do something with another card, and this way, that card, no matter where or what it is, will have the ability conveniently available for use.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Re: channel
by giacomo7 » 07 Mar 2015, 15:05
Thank you for your fast answer.
I realis it with a sorcery, it brings a token in play until end of turn.
mediafire
/download/a7g58a9v5ma0g2p/channel.7z
I cant post an external link... I upload it under mediafire.
Maybe not 100% perfect but it does what it shouldt
I realis it with a sorcery, it brings a token in play until end of turn.
mediafire
/download/a7g58a9v5ma0g2p/channel.7z
I cant post an external link... I upload it under mediafire.
Maybe not 100% perfect but it does what it shouldt
- giacomo7
- Posts: 4
- Joined: 07 Feb 2015, 13:39
- Has thanked: 0 time
- Been thanked: 0 time
Re: channel
by giacomo7 » 07 Mar 2015, 15:08
The code for the Sorcery:
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="CHANNEL_9703828821" />
<CARDNAME text="CHANNEL" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Channel]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="9703828821" />
<ARTID value="9703828821" />
<ARTIST name="Rebecca Guay" />
<CASTING_COST cost="{G}{G}" />
<TYPE metaname="Sorcery" />
<EXPANSION value="VMA" />
<RARITY metaname="M" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<SPELL_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<RESOLUTION_TIME_ACTION>
MTG():PutTokensOntoBattlefield( "TOKEN_CHANNEL_970394407", 1, EffectController() )
</RESOLUTION_TIME_ACTION>
<TOKEN_REGISTRATION reservation="1" type="TOKEN_CHANNEL_970394407" />
</SPELL_ABILITY>
<AI_BASE_SCORE score="1500" zone="ZONE_HAND" />
<AUTHOR><![CDATA[giacomo7]]></AUTHOR>
<EDITORS><![CDATA[giacomo7]]></EDITORS>
<DATE><![CDATA[06-3-15]]></DATE>
</CARD_V2>
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="CHANNEL_9703828821" />
<CARDNAME text="CHANNEL" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Channel]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="9703828821" />
<ARTID value="9703828821" />
<ARTIST name="Rebecca Guay" />
<CASTING_COST cost="{G}{G}" />
<TYPE metaname="Sorcery" />
<EXPANSION value="VMA" />
<RARITY metaname="M" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<SPELL_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add to your mana pool.]]></LOCALISED_TEXT>
<RESOLUTION_TIME_ACTION>
MTG():PutTokensOntoBattlefield( "TOKEN_CHANNEL_970394407", 1, EffectController() )
</RESOLUTION_TIME_ACTION>
<TOKEN_REGISTRATION reservation="1" type="TOKEN_CHANNEL_970394407" />
</SPELL_ABILITY>
<AI_BASE_SCORE score="1500" zone="ZONE_HAND" />
<AUTHOR><![CDATA[giacomo7]]></AUTHOR>
<EDITORS><![CDATA[giacomo7]]></EDITORS>
<DATE><![CDATA[06-3-15]]></DATE>
</CARD_V2>
- giacomo7
- Posts: 4
- Joined: 07 Feb 2015, 13:39
- Has thanked: 0 time
- Been thanked: 0 time
Re: channel
by giacomo7 » 07 Mar 2015, 15:13
the code for the token is to long... it is in the zip file.
- giacomo7
- Posts: 4
- Joined: 07 Feb 2015, 13:39
- Has thanked: 0 time
- Been thanked: 0 time
Re: channel
by RiiakShiNal » 07 Mar 2015, 19:03
A token is as I mentioned before is a bad way of going about this as no matter how you have coded the token it will have incorrect interactions with other cards if it is visible to the user (which it would need to be in order for the user to use an ability on the token).
Xander9009's idea is a much better idea, though there may be some issues in getting the granted ability to work properly in some instances (technical hurdles rather than user hurdles).
Xander9009's idea is a much better idea, though there may be some issues in getting the granted ability to work properly in some instances (technical hurdles rather than user hurdles).
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2185
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: channel
by Xander9009 » 07 Mar 2015, 19:20
When posting code, put it in a code block to retain tabbing to make it easier to read.
[code ] Put your code hear [/code ].
No spaces between the brackets, though. For long posts, use spoilers so people can scroll past it easily and it is more organized. A spoiler tag MUST have an equal sign to work.
[ spoiler=]Spoilered stuff goes here.[/spoiler ]
If you put something after the equal sign, it'll show up as the title of that spoiler block.
Finally, combine them by putting the code block inside the spoiler block.
[ spoiler=Channel][ code]Spoilered code here.[/code][/spoiler]
Also, token registrations go outside of abilities.
Objectively, this will have problems with anything that triggers upon an artifact entering the battlefield or that counts artifacts.It'll also trigger metalcraft. Rather than giving it hexproof, you should use protection from everything. This way, no one can target it with anything. Look at what Riiak does for his fake characteristics manager.
Here's the version which may or may not work which grants the ability to everything you control in every zone until end of turn.
[code ] Put your code hear [/code ].
No spaces between the brackets, though. For long posts, use spoilers so people can scroll past it easily and it is more organized. A spoiler tag MUST have an equal sign to work.
[ spoiler=]Spoilered stuff goes here.[/spoiler ]
If you put something after the equal sign, it'll show up as the title of that spoiler block.
Finally, combine them by putting the code block inside the spoiler block.
[ spoiler=Channel][ code]Spoilered code here.[/code][/spoiler]
- Channel | Open
- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="CHANNEL_9703828821" />
<CARDNAME text="CHANNEL" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Channel]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="9703828821" />
<ARTID value="9703828821" />
<ARTIST name="Rebecca Guay" />
<CASTING_COST cost="{G}{G}" />
<TYPE metaname="Sorcery" />
<EXPANSION value="VMA" />
<RARITY metaname="M" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<SPELL_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<RESOLUTION_TIME_ACTION>
MTG():PutTokensOntoBattlefield( "TOKEN_CHANNEL_970394407", 1, EffectController() )
</RESOLUTION_TIME_ACTION>
</SPELL_ABILITY>
<TOKEN_REGISTRATION reservation="1" type="TOKEN_CHANNEL_970394407" />
<AI_BASE_SCORE score="1500" zone="ZONE_HAND" />
<AUTHOR><![CDATA[giacomo7]]></AUTHOR>
<EDITORS><![CDATA[giacomo7]]></EDITORS>
<DATE><![CDATA[06-3-15]]></DATE>
</CARD_V2>
- Channel Token | Open
- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="TOKEN_CHANNEL_970394407" />
<CARDNAME text="CHANNEL" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[CHANNEL]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[CHANNEL]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[CHANNEL]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[CHANNEL]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[CHANNEL]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[CHANNEL]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[CHANNEL]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[CHANNEL]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[CHANNEL]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="970394407" />
<ARTID value="970394407" />
<ARTIST name="Rebecca Guay" />
<CASTING_COST cost="" />
<TYPE metaname="Artifact" />
<TYPE metaname="Token" />
<EXPANSION value="VMA" />
<RARITY metaname="M" />
<STATIC_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Hexproof]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Hexproof]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Hexproof]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Hexproof]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Hexproofo]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Hexproof]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Hexproof]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Hexproof]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Hexproof]]></LOCALISED_TEXT>
<INTRINSIC characteristic="CHARACTERISTIC_HEXPROOF" />
</STATIC_ABILITY>
<ACTIVATED_ABILITY forced_skip="1">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Until end of turn, pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Until end of turn, pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Until end of turn, pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Until end of turn, pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Until end of turn, pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Until end of turn, pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Until end of turn, pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Until end of turn, pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Until end of turn, pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<COST type="Life" amount="1" />
<PLAY_TIME_ACTION>
RSN_MarkManaAbilityStart()
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
RSN_ProduceNoTrigger( "{1}", 1, true )
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
RSN_EliminateExtraManaTokens()
S_DisplayManaPool(EffectController())
RSN_MarkManaAbilityEnd()
</RESOLUTION_TIME_ACTION>
<AI_AVAILABILITY window_step="upkeep" type="window" />
<AI_AVAILABILITY window_step="main_1" window_turn="my_turn" type="window" />
<AI_AVAILABILITY window_step="begin_combat" window_turn="their_turn" type="window" />
<AI_AVAILABILITY window_step="declare_attackers" window_turn="their_turn" type="window" />
<AI_AVAILABILITY window_step="declare_blockers" type="window" />
<AI_AVAILABILITY window_step="main_2" window_turn="my_turn" type="window" />
<AI_AVAILABILITY window_step="end_of_turn" type="window" />
<AI_AVAILABILITY window_step="end_of_turn" window_turn="their_turn" type="window" />
<AI_AVAILABILITY type="in_response" response_source="1" response_target="1" />
<AI_AVAILABILITY type="in_response" response_source="1" />
<AI_AVAILABILITY type="in_response" response_target="1" />
</ACTIVATED_ABILITY>
<TRIGGERED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[At the beginning of the end step, sacrifice Channel.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[At the beginning of the end step, sacrifice Channel.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[At the beginning of the end step, sacrifice Channel.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[At the beginning of the end step, sacrifice Channel.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[At the beginning of the end step, sacrifice Channel.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[At the beginning of the end step, sacrifice Channel.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[At the beginning of the end step, sacrifice Channel.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[At the beginning of the end step, sacrifice Channel.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[At the beginning of the end step, sacrifice Channel.]]></LOCALISED_TEXT>
<TRIGGER value="BEGINNING_OF_STEP">
return MTG():GetStep() == STEP_END_OF_TURN
</TRIGGER>
<RESOLUTION_TIME_ACTION>
if EffectSource() ~= nil then
EffectController():Sacrifice( EffectSource() )
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_1" body="MORE_INFO_BADGE_BODY_1" zone="ZONE_ANY" />
<HELP title="MORE_INFO_BADGE_TITLE_4" body="MORE_INFO_BADGE_BODY_4" zone="ZONE_ANY" />
<HELP title="MORE_INFO_BADGE_TITLE_14" body="MORE_INFO_BADGE_BODY_14" zone="ZONE_ANY" />
<AUTHOR><![CDATA[giacomo7]]></AUTHOR>
<EDITORS><![CDATA[giacomo7]]></EDITORS>
<DATE><![CDATA[06-3-15]]></DATE>
</CARD_V2>
Also, token registrations go outside of abilities.
Objectively, this will have problems with anything that triggers upon an artifact entering the battlefield or that counts artifacts.It'll also trigger metalcraft. Rather than giving it hexproof, you should use protection from everything. This way, no one can target it with anything. Look at what Riiak does for his fake characteristics manager.
- | Open
- Code: Select all
<!-- Shroud so it can't be targeted. -->
<STATIC_ABILITY>
<INTRINSIC characteristic="CHARACTERISTIC_SHROUD" />
</STATIC_ABILITY>
<!-- Indestructible so it can't be destroyed. -->
<STATIC_ABILITY>
<INTRINSIC characteristic="CHARACTERISTIC_INDESTRUCTIBLE" />
</STATIC_ABILITY>
<!-- Protection from everything to prevent unwanted removal. -->
<STATIC_ABILITY>
<CONTINUOUS_ACTION layer="0">
if (EffectSource() ~= nil) then
local oFilter = ClearFilter()
local oSubfilter = oFilter:AddSubFilter_Or()
oSubfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_ARTIFACT )
oSubfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
oSubfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_ENCHANTMENT )
oSubfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_INSTANT )
oSubfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_LAND )
oSubfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_PHENOMENON )
oSubfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_PLANE )
oSubfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_PLANESWALKER )
oSubfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_SCHEME )
oSubfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_SORCERY )
EffectSource():Protection()
end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
Here's the version which may or may not work which grants the ability to everything you control in every zone until end of turn.
- Channel - Untested | Open
- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="CHANNEL_9703828821" />
<CARDNAME text="CHANNEL" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Channel]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Channel]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="9703828821" />
<ARTID value="9703828821" />
<ARTIST name="Rebecca Guay" />
<CASTING_COST cost="{G}{G}" />
<TYPE metaname="Sorcery" />
<EXPANSION value="VMA" />
<RARITY metaname="M" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[To some mages, the meaning of life is less important than how much is left.]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<SPELL_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Until end of turn, any time you could activate a mana ability, you may pay 1 life. If you do, add {1} to your mana pool.]]></LOCALISED_TEXT>
<FILTER filter_id="0">
local filter = ClearFilter()
filter:Add( FE_CONTROLLER, OP_IS, EffectController() )
</FILTER>
<CONTINUOUS_ABILITY layer="6" filter_id="0">
if FilteredCard() ~= nil then
FilteredCard():GetCurrentCharacteristics():GrantAbility(1)
end
</CONTINUOUS_ABILITY>
<FILTER filter_id="1">
local filter = ClearFilter()
filter:SetZone(ZONE_GRAVEYARD)
</FILTER>
<CONTINUOUS_ABILITY layer="6" filter_id="1">
if FilteredCard() ~= nil then
FilteredCard():GetCurrentCharacteristics():GrantAbility(1)
end
</CONTINUOUS_ABILITY>
<FILTER filter_id="2">
local filter = ClearFilter()
filter:SetZone(ZONE_HAND)
</FILTER>
<CONTINUOUS_ABILITY layer="6" filter_id="2">
if FilteredCard() ~= nil then
FilteredCard():GetCurrentCharacteristics():GrantAbility(1)
end
</CONTINUOUS_ABILITY>
<FILTER filter_id="3">
local filter = ClearFilter()
filter:SetZone(ZONE_LIBRARY)
</FILTER>
<CONTINUOUS_ABILITY layer="6" filter_id="3">
if FilteredCard() ~= nil then
FilteredCard():GetCurrentCharacteristics():GrantAbility(1)
end
</CONTINUOUS_ABILITY>
<FILTER filter_id="4">
local filter = ClearFilter()
filter:SetZone(ZONE_EXILE)
</FILTER>
<CONTINUOUS_ABILITY layer="6" filter_id="4">
if FilteredCard() ~= nil then
FilteredCard():GetCurrentCharacteristics():GrantAbility(1)
end
</CONTINUOUS_ABILITY>
<DURATION simple_duration="UntilEOT" />
</SPELL_ABILITY>
<ACTIVATED_ABILITY resource_id="1" firebreathing="1" forced_skip="1">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Pay 1 life: add {1} to your mana pool.]]></LOCALISED_TEXT>
<COST type="Life" amount="1" />
<PLAY_TIME_ACTION>
RSN_MarkManaAbilityStart()
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
RSN_ProduceNoTrigger( "{1}", 1, true )
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
RSN_EliminateExtraManaTokens()
S_DisplayManaPool(EffectController())
RSN_MarkManaAbilityEnd()
</RESOLUTION_TIME_ACTION>
<AI_AVAILABILITY window_step="upkeep" type="window" />
<AI_AVAILABILITY window_step="main_1" window_turn="my_turn" type="window" />
<AI_AVAILABILITY window_step="begin_combat" window_turn="their_turn" type="window" />
<AI_AVAILABILITY window_step="declare_attackers" window_turn="their_turn" type="window" />
<AI_AVAILABILITY window_step="declare_blockers" type="window" />
<AI_AVAILABILITY window_step="main_2" window_turn="my_turn" type="window" />
<AI_AVAILABILITY window_step="end_of_turn" type="window" />
<AI_AVAILABILITY window_step="end_of_turn" window_turn="their_turn" type="window" />
<AI_AVAILABILITY type="in_response" response_source="1" response_target="1" />
<AI_AVAILABILITY type="in_response" response_source="1" />
<AI_AVAILABILITY type="in_response" response_target="1" />
</ACTIVATED_ABILITY>
<AI_BASE_SCORE score="1500" zone="ZONE_HAND" />
<AUTHOR><![CDATA[Xander9009]]></AUTHOR>
<EDITORS><![CDATA[Xander9009]]></EDITORS>
<DATE><![CDATA[07-03-15]]></DATE>
</CARD_V2>
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 31 guests