It is currently 19 Jul 2025, 22:33
   
Text Size

Formal Request Thread

Moderator: CCGHQ Admins

Re: Formal Request Thread

Postby thefiremind » 05 Jan 2014, 09:35

NeoAnderson wrote:have you seen what i made with Titania's Song ?
If the only way to make it work with Equipments is to remove the Equipment sub-type, then that's the best solution available.

NeoAnderson wrote:Please let me know if you think my version of Reverse Polarity can be ok.
I haven't looked at the code very carefully, but I saw that you are saving the damage dealt by artifacts to each player in player chests, that's exactly how I would have done.

NeoAnderson wrote:I also coded the other requested card : Dominating Licid
I would just say this was the first time i coded a card who turns from a creature type to an enchantment aura, so it will be better to have also the opinion of my talented friends, i just want to be sure i haven't miss something or some interactions.
Better if you wait for the answer by someone who has tried to code a Licid before: I never coded one because the "You may pay ... to end this effect" isn't really an activated ability, but there's no other good way to make it.

nekrose wrote:Humbly requesting any of the following cards [if they are indeed able to be coded) for DOTP 2014
To anyone attempting to fill the request:
Stormtide Leviathan can't be coded because adding (or changing) land types isn't possible without screwing up mana abilities.
Geth, Lord of the Vault should be much easier now than in DotP2012 when I tried to code it: by using depends_on_X, the bond between {X} and the targets should be handled by the engine.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

Re: Formal Request Thread

Postby NeoAnderson » 05 Jan 2014, 10:00

thefiremind wrote:If the only way to make it work with Equipments is to remove the Equipment sub-type, then that's the best solution available.
Yeah is the only one i found that works.
thefiremind wrote:I haven't looked at the code very carefully, but I saw that you are saving the damage dealt by artifacts to each player in player chests, that's exactly how I would have done.
Yes i am using Players data chests to save the damage, the only problem i had is about the multiple store of the damage when you have more copies of the card into the deck, so i also check how many copies of the cards there are in all the zones then i divide the damage with this number.
thefiremind wrote:Better if you wait for the answer by someone who has tried to code a Licid before: I never coded one because the "You may pay ... to end this effect" isn't really an activated ability, but there's no other good way to make it.
I know there is also description about the fact that it cannot be countered so i have used forced_skip, i know it isn't exactly an activated ability but is the only good idea i had to simulate it.
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: Formal Request Thread

Postby AngelLestat » 05 Jan 2014, 15:21

NeoAnderson wrote:I coded some of these cards :
Iron Maiden
Ebony Owl Netsuke
Prosperity
About Evacuation you can find it into TFM mod.
Iron Maiden | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="IRON_MAIDEN_9705" />
  <CARDNAME text="IRON_MAIDEN" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Iron Maiden]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Vierge de fer]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Doncella de hierro]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Eiserne Jungfrau]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Vergine di Ferro]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Iron Maiden]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Iron Maiden]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Iron Maiden]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Donzela de Ferro]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="9705" />
  <ARTID value="9705" />
  <ARTIST name="Tom Wänerstrand" />
  <CASTING_COST cost="{3}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[The maiden is a jealous lover.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[The maiden is a jealous lover.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[The maiden is a jealous lover.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[The maiden is a jealous lover.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[The maiden is a jealous lover.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[The maiden is a jealous lover.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[The maiden is a jealous lover.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[The maiden is a jealous lover.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[The maiden is a jealous lover.]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Artifact" />
  <EXPANSION value="GU" />
  <RARITY metaname="R" />
  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[At the beginning of each opponent’s upkeep, Iron Maiden deals X damage to that player, where X is the number of cards in his or her hand minus 4.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[At the beginning of each opponent’s upkeep, Iron Maiden deals X damage to that player, where X is the number of cards in his or her hand minus 4.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[At the beginning of each opponent’s upkeep, Iron Maiden deals X damage to that player, where X is the number of cards in his or her hand minus 4.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Hat Dein Gegner während seiner Versorgungsphase mehr als vier Karten auf der Hand, fügt ihm die Eiserne Jungfrau für jede zusätzliche Karte 1 Schadenspunkt zu.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[All'inizio della fase di mantenimento di ogni avversario, la Vergine di Ferro infligge X danni a quel giocatore, dove X è pari la numero di carte che ha in mano meno 4.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[At the beginning of each opponent’s upkeep, Iron Maiden deals X damage to that player, where X is the number of cards in his or her hand minus 4.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[At the beginning of each opponent’s upkeep, Iron Maiden deals X damage to that player, where X is the number of cards in his or her hand minus 4.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[At the beginning of each opponent’s upkeep, Iron Maiden deals X damage to that player, where X is the number of cards in his or her hand minus 4.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[At the beginning of each opponent’s upkeep, Iron Maiden deals X damage to that player, where X is the number of cards in his or her hand minus 4.]]></LOCALISED_TEXT>
 <TRIGGER value="BEGINNING_OF_PLAYERS_STEP">
         if (MTG():GetStep() == STEP_UPKEEP) and (TriggerPlayer():GetTeam() ~= EffectController():GetTeam()) and (TriggerPlayer():Hand_Count() &gt; 4) then
            return  true
         else
            return false
         end
    </TRIGGER>
    <RESOLUTION_TIME_ACTION>
    if EffectSource() ~= nil then
       local player = TriggerPlayer()
     if player ~= nil then
       local damage = ( player:Hand_Count() - 4)
       EffectSourceLKI():DealDamageTo(damage, player)
     end 
    end
    </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
</CARD_V2>
IRON_MAIDEN_9705.rar
Ebony Owl Netsuke | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="EBONY_OWL_NETSUKE_88799" />
  <CARDNAME text="EBONY_OWL_NETSUKE" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Ebony Owl Netsuke]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Netsuke de hibou en ébène]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Netsuke de búho de ébano]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Eulen-Netsuke aus Ebenholz]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Netsuke Gufo d’Ebano]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[黒檀の梟の根付]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Ebony Owl Netsuke]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Ebony Owl Netsuke]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Netsuke de Coruja de Ébano]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="88799" />
  <ARTID value="88799" />
  <ARTIST name="Tim Hildebrandt" />
  <CASTING_COST cost="{2}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“Owls filled the skies during the Kami War, harbingers of darker times to come.”
—The History of Kamigawa]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« Pendant la Guerre des kami, les hiboux, oiseaux de mauvais augures, emplissèrent le ciel. »
—L’histoire de Kamigawa]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“Los búhos llenaron los cielos durante la guerra con los kami, heraldos de tiempos oscuros que vendrían.”
—La historia de Kamigawa]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„Eulen verdunkelten den Himmel während des Kami-Kriegs, Botschafter von dunklen Zeiten, die kommen würden.”
—Die Geschichte von Kamigawa]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“Durante la Guerra dei Kami i gufi popolavano i cieli, annunciando in questo modo l’arrivo di tempi oscuri.”
—La Storia di Kamigawa]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[神の乱の最中、梟が空を埋め、暗黒の時が来ることの先触れとなった。
――神河史書]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“Owls filled the skies during the Kami War, harbingers of darker times to come.”
—The History of Kamigawa]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[“Owls filled the skies during the Kami War, harbingers of darker times to come.”
—The History of Kamigawa]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“Durante a Guerra dos Kamis, as corujas enchiam os céus, qual arautos de tempos mais sombrios que virão.”
— A História de Kamigawa]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Artifact" />
  <EXPANSION value="SOK" />
  <RARITY metaname="U" />
  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[At the beginning of each opponent’s upkeep, if that player has seven or more cards in hand, Ebony Owl Netsuke deals 4 damage to him or her.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Au début de l’entretien de chaque adversaire, si ce joueur a au moins sept cartes en main, le Netsuke de hibou en ébène lui inflige 4 blessures.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Al comienzo del mantenimiento de cada oponente, si ese jugador tiene siete o más cartas en la mano, el Netsuke de búho de ébano le hace 4 puntos de daño.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Falls zu Beginn des Versorgungssegments eines deiner Gegner dieser Spieler sieben oder mehr Karten auf der Hand hat, fügt ihm der Eulen-Netsuke aus Ebenholz 4 Schadenspunkte zu.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[All’inizio del mantenimento di ogni avversario, se quel giocatore ha sette o più carte in mano, il Netsuke Gufo d’Ebano gli infligge 4 danni.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[各プレイヤーのアップキープの開始時に、そのプレイヤーの手札のカードが7枚以上である場合、黒檀の梟の根付はそのプレイヤーに4点のダメージを与える。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[At the beginning of each opponent’s upkeep, if that player has seven or more cards in hand, Ebony Owl Netsuke deals 4 damage to him or her.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[At the beginning of each opponent’s upkeep, if that player has seven or more cards in hand, Ebony Owl Netsuke deals 4 damage to him or her.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[No início da manutenção de cada oponente, se aquele jogador tem sete ou mais cards em sua mão, Netsuke de Coruja de Ébano causa 4 pontos de dano a ele.]]></LOCALISED_TEXT>
<TRIGGER value="BEGINNING_OF_PLAYERS_STEP">
         if (MTG():GetStep() == STEP_UPKEEP) and (TriggerPlayer():GetTeam() ~= EffectController():GetTeam()) and (TriggerPlayer():Hand_Count() &gt; 6) then
            return  true
         else
            return false
         end
    </TRIGGER>
    <RESOLUTION_TIME_ACTION>
    if EffectSource() ~= nil then
       local player = TriggerPlayer()
     if player ~= nil and (player:Hand_Count() &gt; 6) then
       EffectSourceLKI():DealDamageTo(4, player)
     end 
    end
    </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
</CARD_V2>
EBONY_OWL_NETSUKE_88799.zip
Prosperity | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="PROSPERITY_376460" />
  <CARDNAME text="PROSPERITY" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Prosperity]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Prospérité]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Prosperidad]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Gedeihen]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Prosperità]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[繁栄]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Prosperity]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Prosperity]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Prosperity]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="376460" />
  <ARTID value="376460" />
  <ARTIST name="Nic Klein" />
  <CASTING_COST cost="{X}{U}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“True riches are found in the mazes of the mind.”
Tamiyo, the Moon Sage]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« Les vraies richesses se cachent dans les méandres de l’esprit. »
—Tamiyo, le sage de la lune]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“La auténtica riqueza se encuentra en los laberintos de la mente”.—Tamiyo, la Sabia de la Luna]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„Wahre Reichtümer finden sich im Irrgarten des Geistes.”
—Tamiyo die Mondweise]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“Le vere ricchezze si trovano nei labirinti della mente.”
—Tamiyo, Saggia della Luna]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[「本当の富とは、心の迷路の奥深くで見つかるものなのです。」
――月の賢者タミヨウ]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“True riches are found in the mazes of the mind.”
Tamiyo, the Moon Sage]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[“True riches are found in the mazes of the mind.”
Tamiyo, the Moon Sage]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“True riches are found in the mazes of the mind.”
Tamiyo, the Moon Sage]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Sorcery" />
  <EXPANSION value="C13" />
  <RARITY metaname="U" />
  <SPELL_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Each player draws X cards.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Chaque joueur pioche X cartes.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cada jugador roba X cartas.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Jeder Spieler zieht X Karten.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogni giocatore pesca X carte.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[各プレイヤーはそれぞれカードをX枚引く。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Each player draws X cards.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Each player draws X cards.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Each player draws X cards.]]></LOCALISED_TEXT>
    <RESOLUTION_TIME_ACTION>
     local numPlayers = MTG():GetNumberOfPlayers()
     local NumCardsToDraw = GetEffectX()
     for i = 0, (numPlayers-1) do
        local player = MTG():GetNthPlayer( i )
        if player ~= nil then
          player:DrawCards( NumCardsToDraw )
        end
      end
    </RESOLUTION_TIME_ACTION>
   </SPELL_ABILITY>
</CARD_V2>
PROSPERITY_376460.zip
Update : Coded also
Overtaker | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="OVERTAKER_19666" />
  <CARDNAME text="OVERTAKER" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Overtaker]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Overtaker]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Overtaker]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Overtaker]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Overtaker]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Overtaker]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Overtaker]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Overtaker]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Overtaker]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="19666" />
  <ARTID value="19666" />
  <ARTIST name="Clyde Caldwell" />
  <CASTING_COST cost="{1}{U}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“It’s no challenge to master a Mercadian.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[“It’s no challenge to master a Mercadian.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“It’s no challenge to master a Mercadian.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[“It’s no challenge to master a Mercadian.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“It’s no challenge to master a Mercadian.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[“It’s no challenge to master a Mercadian.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“It’s no challenge to master a Mercadian.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[“It’s no challenge to master a Mercadian.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“It’s no challenge to master a Mercadian.”]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Merfolk" />
  <SUB_TYPE metaname="Spellshaper" />
  <EXPANSION value="MM" />
  <RARITY metaname="R" />
  <POWER value="1" />
  <TOUGHNESS value="1" />
  <ACTIVATED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{3}{U}, {T}, Discard a card: Untap target creature and gain control of it until end of turn. That creature gains haste until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{3}{U}, {T}, Discard a card: Untap target creature and gain control of it until end of turn. That creature gains haste until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{3}{U}, {T}, Discard a card: Untap target creature and gain control of it until end of turn. That creature gains haste until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{3}{U}, {T}, Discard a card: Untap target creature and gain control of it until end of turn. That creature gains haste until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{3}{U}, {T}, Scarta una carta: STAPpa una creatura bersaglio e guadagnane il controllo fino alla fine del turno. Quella creatura guadagna rapidità fino alla fine del turno.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{3}{U}, {T}, Discard a card: Untap target creature and gain control of it until end of turn. That creature gains haste until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{3}{U}, {T}, Discard a card: Untap target creature and gain control of it until end of turn. That creature gains haste until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{3}{U}, {T}, Discard a card: Untap target creature and gain control of it until end of turn. That creature gains haste until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{3}{U}, {T}, Discard a card: Untap target creature and gain control of it until end of turn. That creature gains haste until end of turn.]]></LOCALISED_TEXT>
    <COST mana_cost="{3}{U}" type="Mana" />
    <COST type="Discard" definition="0" compartment="0" query_tag="CARD_QUERY_CHOOSE_CARD_TO_DISCARD" item_count="1" />
    <COST type="TapSelf" />
    <TARGET tag="CARD_QUERY_CHOOSE_CREATURE_TO_GAIN_CONTROL" definition="1" compartment="1" count="1" />
    <COST_DEFINITION id="0">
    local filter = ClearFilter()
    filter:SetZone( ZONE_HAND, EffectController() )
    </COST_DEFINITION>
    <TARGET_DEFINITION id="1">
    local filter = ClearFilter()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
    </TARGET_DEFINITION>
      <CONTINUOUS_ACTION layer="2">
    local card = EffectDC():Get_Targets(1) and EffectDC():Get_Targets(1):Get_CardPtr(0)
    if card ~= nil then
       card:SetController(EffectController())
    end
    </CONTINUOUS_ACTION>
      <RESOLUTION_TIME_ACTION>
    local target = EffectDC():Get_Targets(1) and EffectDC():Get_Targets(1):Get_CardPtr(0)
    if target ~= nil then
        target:Untap()
    end
    </RESOLUTION_TIME_ACTION>
      <CONTINUOUS_ACTION layer="6">
    local target = EffectDC():Get_Targets(1) and EffectDC():Get_Targets(1):Get_CardPtr(0)
    if target ~= nil then
       local characteristics = target:GetCurrentCharacteristics()
       characteristics:Bool_Set( CHARACTERISTIC_HASTE, 1 )
    end
    </CONTINUOUS_ACTION>
      <CONTINUOUS_ACTION layer="8">
    local target = EffectDC():Get_Targets(1) and EffectDC():Get_Targets(1):Get_CardPtr(0)
    if target ~= nil then
       local characteristics = target:GetCurrentCharacteristics()
       characteristics:AI_SetWorthless()
    end
    </CONTINUOUS_ACTION>
      <DURATION simple_duration="UntilEOT" />
      <AI_SIMPLIFIED_TARGETING compartment="1" hint="HINT_ENEMY_ONLY" />
  </ACTIVATED_ABILITY>
  <SFX text="COMBAT_BLUNT_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
  <SFX text="COMBAT_BLUNT_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
</CARD_V2>
OVERTAKER_19666.zip
Barrin, Master Wizard | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="BARRIN_MASTER_WIZARD_9856" />
  <CARDNAME text="BARRIN_MASTER_WIZARD" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Barrin, Master Wizard]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Barrin, Master Wizard]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Barrin, Master Wizard]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Barrin, Master Wizard]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Barrin, Master Wizard]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Barrin, Master Wizard]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Barrin, Master Wizard]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Barrin, Master Wizard]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Barrin, Master Wizard]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="9856" />
  <ARTID value="9856" />
  <ARTIST name="Michael Sutfin" />
  <CASTING_COST cost="{1}{U}{U}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“Knowledge is no more expensive than ignorance, and at least as satisfying.”
Barrin, master wizard]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[“Knowledge is no more expensive than ignorance, and at least as satisfying.”
Barrin, master wizard]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“Knowledge is no more expensive than ignorance, and at least as satisfying.”
Barrin, master wizard]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[“Knowledge is no more expensive than ignorance, and at least as satisfying.”
Barrin, master wizard]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“Knowledge is no more expensive than ignorance, and at least as satisfying.”
Barrin, master wizard]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[“Knowledge is no more expensive than ignorance, and at least as satisfying.”
Barrin, master wizard]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“Knowledge is no more expensive than ignorance, and at least as satisfying.”
Barrin, master wizard]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[“Knowledge is no more expensive than ignorance, and at least as satisfying.”
Barrin, master wizard]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“Knowledge is no more expensive than ignorance, and at least as satisfying.”
Barrin, master wizard]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <SUPERTYPE metaname="Legendary" />
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Human" />
  <SUB_TYPE metaname="Wizard" />
  <EXPANSION value="UZ" />
  <RARITY metaname="R" />
  <POWER value="1" />
  <TOUGHNESS value="1" />
  <ACTIVATED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{2}, Sacrifice a permanent: Return target creature to its owner’s hand.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{2}, Sacrifice a permanent: Return target creature to its owner’s hand.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{2}, Sacrifice a permanent: Return target creature to its owner’s hand.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{2}, Sacrifice a permanent: Return target creature to its owner’s hand.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{2}, Sacrifica un permanente: Il proprietario riprende in mano una creatura bersaglio.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{2}, Sacrifice a permanent: Return target creature to its owner’s hand.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{2}, Sacrifice a permanent: Return target creature to its owner’s hand.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{2}, Sacrifice a permanent: Return target creature to its owner’s hand.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{2}, Sacrifice a permanent: Return target creature to its owner’s hand.]]></LOCALISED_TEXT>
    <COST mana_cost="{2}" type="Mana" />
    <COST type="Sacrifice" definition="0" compartment="0" query_tag="CARD_QUERY_ANNILHILATOR_CHOOSE_A_PERMANENT_TO_SACRIFICE" item_count="1" />
    <COST_DEFINITION id="0">
     local filter = ClearFilter()
     filter:Add( FE_IS_PERMANENT, true)
    </COST_DEFINITION>
   <TARGET tag="CARD_QUERY_CHOOSE_CREATURE_TO_PUT_INTO_HAND" definition="1" compartment="1" count="1" />
   <TARGET_DEFINITION id="1">
    local filter = ClearFilter()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
    </TARGET_DEFINITION>
      <RESOLUTION_TIME_ACTION>
    local target = EffectDC():Get_Targets(1):Get_CardPtr(0)
    if  target ~= nil then
       target:PutInHand()
    end 
    </RESOLUTION_TIME_ACTION>
      <AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_ENEMY" />
  </ACTIVATED_ABILITY>
   <SEALED_HEURISTICS is_combat_trick="1" />
   <SEALED_HEURISTICS score_modifier="750" />
   <AI_AVAILABILITY type="in_response" response_source="1" />
   <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="main_1" window_turn="my_turn" type="window" />
   <AI_AVAILABILITY window_step="declare_blockers" type="window" />
   <AI_AVAILABILITY window_step="end_of_turn" type="window" />
   <AI_AVAILABILITY type="in_response" response_source="1" response_target="1" />
   <AI_BASE_SCORE score="600" zone="ZONE_HAND" />
  <SFX text="COMBAT_BLUNT_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
  <SFX text="COMBAT_BLUNT_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
</CARD_V2>
BARRIN_MASTER_WIZARD_9856.zip
Wow.. Thanks a lot NeoAnderson! You are the one! :)

I was hoped to find maybe one card coded of all my request.. This is not something that I expected. Thanks again.
About prosperety and evacuation or exploration, etc.. I dint request them, I just mention them, sorry if my text was confusing.

How can I help?
I see that many cards that are included here are not in the big mods.
Maybe if I learn to package all of them in one file (at least the ones that are not in other mods) mentioning all the people who made them.. Then it will be usefull for you guys?
AngelLestat
 
Posts: 68
Joined: 02 Sep 2012, 23:09
Has thanked: 1 time
Been thanked: 1 time

Re: Formal Request Thread

Postby NeoAnderson » 05 Jan 2014, 16:42

You are welcome, my friend.
I am glad to help when i can. I am not so skilled, other guys here are the Masters.
To pack the cards inside a wad file you can use Riiak Deck builder, to pack the files. There is also the manual tool gibbed.duels.pack.exe inside riiak builder directory. Try to read his topic to get more info.
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: Formal Request Thread

Postby RiiakShiNal » 05 Jan 2014, 18:18

For Golgothian Sylex the comprehensive rules state (700.6a is for City in a Bottle if you are interested):
700.6. Some cards refer to cards “originally printed” in a particular set.

...

700.6b One card (Golgothian Sylex) refers to permanents with the same name as a card originally printed in the Antiquities™ expansion. Those cards are Amulet of Kroog, Argivian Archaeologist, Argivian Blacksmith, Argothian Pixies, Argothian Treefolk, Armageddon Clock, Artifact Blast, Artifact Possession, Artifact Ward, Ashnod’s Altar, Ashnod’s Battle Gear, Ashnod’s Transmogrant, Atog, Battering Ram, Bronze Tablet, Candelabra of Tawnos, Circle of Protection: Artifacts, Citanul Druid, Clay Statue, Clockwork Avian, Colossus of Sardia, Coral Helm, Crumble, Cursed Rack, Damping Field, Detonate, Drafna’s Restoration, Dragon Engine, Dwarven Weaponsmith, Energy Flux, Feldon’s Cane, Gaea’s Avenger, Gate to Phyrexia, Goblin Artisans, Golgothian Sylex, Grapeshot Catapult, Haunting Wind, Hurkyl’s Recall, Ivory Tower, Jalum Tome, Martyrs of Korlis, Mightstone, Millstone, Mishra’s Factory, Mishra’s War Machine, Mishra’s Workshop, Obelisk of Undoing, Onulet, Orcish Mechanics, Ornithopter, Phyrexian Gremlins, Power Artifact, Powerleech, Priest of Yawgmoth, Primal Clay, The Rack, Rakalite, Reconstruction, Reverse Polarity, Rocket Launcher, Sage of Lat-Nam, Shapeshifter, Shatterstorm, Staff of Zegon, Strip Mine, Su-Chi, Tablet of Epityr, Tawnos’s Coffin, Tawnos’s Wand, Tawnos’s Weaponry, Tetravus, Titania’s Song, Transmute Artifact, Triskelion, Urza’s Avenger, Urza’s Chalice, Urza’s Mine, Urza’s Miter, Urza’s Power Plant, Urza’s Tower, Wall of Spears, Weakstone, Xenic Poltergeist, Yawgmoth Demon, and Yotian Soldier.
As such it doesn't matter what set they were made from and as stated by thefiremind DotP doesn't care about expansions (even though the tag is in the XML). Also when a card is generated from thefiremind's card generator or when most (if not all) modders create their files they only include the English card name (properly adjusted) in the CARDNAME tag (the FILENAME tag is where all the prefixing/post-fixing is done). For example from my Ashnod's Altar:
Code: Select all
   <FILENAME text="RSN_ASHNODS_ALTAR_202622" />
   <CARDNAME text="ASHNODS_ALTAR" />
As you can see the FILENAME has all the prefixing and adjustments to it, but the CARDNAME is just the English name of the card with punctuation removed, spaces changed to underscores, and all uppercase. FILENAME is used for TOKEN_REGISTRATION and putting tokens in play, but CARDNAME is used for filtering.
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Formal Request Thread

Postby NeoAnderson » 05 Jan 2014, 20:12

RiiakShiNal wrote:For Golgothian Sylex the comprehensive rules state (700.6a is for City in a Bottle if you are interested):
700.6. Some cards refer to cards “originally printed” in a particular set.

...

700.6b One card (Golgothian Sylex) refers to permanents with the same name as a card originally printed in the Antiquities™ expansion. Those cards are Amulet of Kroog, Argivian Archaeologist, Argivian Blacksmith, Argothian Pixies, Argothian Treefolk, Armageddon Clock, Artifact Blast, Artifact Possession, Artifact Ward, Ashnod’s Altar, Ashnod’s Battle Gear, Ashnod’s Transmogrant, Atog, Battering Ram, Bronze Tablet, Candelabra of Tawnos, Circle of Protection: Artifacts, Citanul Druid, Clay Statue, Clockwork Avian, Colossus of Sardia, Coral Helm, Crumble, Cursed Rack, Damping Field, Detonate, Drafna’s Restoration, Dragon Engine, Dwarven Weaponsmith, Energy Flux, Feldon’s Cane, Gaea’s Avenger, Gate to Phyrexia, Goblin Artisans, Golgothian Sylex, Grapeshot Catapult, Haunting Wind, Hurkyl’s Recall, Ivory Tower, Jalum Tome, Martyrs of Korlis, Mightstone, Millstone, Mishra’s Factory, Mishra’s War Machine, Mishra’s Workshop, Obelisk of Undoing, Onulet, Orcish Mechanics, Ornithopter, Phyrexian Gremlins, Power Artifact, Powerleech, Priest of Yawgmoth, Primal Clay, The Rack, Rakalite, Reconstruction, Reverse Polarity, Rocket Launcher, Sage of Lat-Nam, Shapeshifter, Shatterstorm, Staff of Zegon, Strip Mine, Su-Chi, Tablet of Epityr, Tawnos’s Coffin, Tawnos’s Wand, Tawnos’s Weaponry, Tetravus, Titania’s Song, Transmute Artifact, Triskelion, Urza’s Avenger, Urza’s Chalice, Urza’s Mine, Urza’s Miter, Urza’s Power Plant, Urza’s Tower, Wall of Spears, Weakstone, Xenic Poltergeist, Yawgmoth Demon, and Yotian Soldier.
As such it doesn't matter what set they were made from and as stated by thefiremind DotP doesn't care about expansions (even though the tag is in the XML). Also when a card is generated from thefiremind's card generator or when most (if not all) modders create their files they only include the English card name (properly adjusted) in the CARDNAME tag (the FILENAME tag is where all the prefixing/post-fixing is done). For example from my Ashnod's Altar:
Code: Select all
   <FILENAME text="RSN_ASHNODS_ALTAR_202622" />
   <CARDNAME text="ASHNODS_ALTAR" />
As you can see the FILENAME has all the prefixing and adjustments to it, but the CARDNAME is just the English name of the card with punctuation removed, spaces changed to underscores, and all uppercase. FILENAME is used for TOKEN_REGISTRATION and putting tokens in play, but CARDNAME is used for filtering.
Thanks a lot my friend, if i will find the Will, I'll make them, is just a copy and paste function after a little t text formatting.
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: Formal Request Thread

Postby nekrose » 05 Jan 2014, 21:54

thefiremind wrote:Stormtide Leviathan can't be coded because adding (or changing) land types isn't possible without screwing up mana abilities.
Geth, Lord of the Vault should be much easier now than in DotP2012 when I tried to code it: by using depends_on_X, the bond between {X} and the targets should be handled by the engine.
I remember there being a functional 'Urborg, Tomb of Yawgmoth ' in a mod deck for 2014, wouldn't its' effect work the exact same way as Stormtide Leviathan? Or does it work differently because it's a legendary land as opposed to a creature with such an effect? Pardon my ignorance on the subject if that is indeed the case.
User avatar
nekrose
 
Posts: 23
Joined: 27 Nov 2012, 09:20
Has thanked: 10 times
Been thanked: 0 time

Re: Formal Request Thread

Postby thefiremind » 05 Jan 2014, 22:03

nekrose wrote:I remember there being a functional Urborg, Tomb of Yawgmoth in a mod deck for 2014
I don't know who made it nor how well it works, but I really doubt it's fully functional.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

Re: Formal Request Thread

Postby Deadpoolmtg » 06 Jan 2014, 05:54

Hi guys, i need these two cards to make the deck Jund Depths, winner of SCG Open Legacy(1/5/2014) .

Thespian's Stage
Dark Depths (i'm realy surprised to not see this card in any WAD)
User avatar
Deadpoolmtg
 
Posts: 12
Joined: 02 Jul 2013, 17:25
Has thanked: 28 times
Been thanked: 0 time

Re: Formal Request Thread

Postby Orangewaggs » 06 Jan 2014, 19:58

I don't know if this was asked before but I did a search and didn't find anything so...
Is it possible to code cards Like Phyrexian Revoker and Pithing Needle?
If so I'd mostly want the Revoker, please.

Also Heritage Druid would be nice too
User avatar
Orangewaggs
 
Posts: 17
Joined: 18 Dec 2013, 23:39
Has thanked: 8 times
Been thanked: 0 time

Re: Formal Request Thread

Postby drleg3nd » 06 Jan 2014, 20:31

Orangewaggs wrote:I don't know if this was asked before but I did a search and didn't find anything so...
Is it possible to code cards Like Phyrexian Revoker and Pithing Needle?
If so I'd mostly want the Revoker, please.

Also Heritage Druid would be nice too
unfortunately Pithing Needle can't be coded as was previously tolded and i doubt Phyrexian Revoker can be coded since abilites cannot be manipulated easily or at all. Heritage druid was made but i dont recall who made it.
drleg3nd
 
Posts: 528
Joined: 14 May 2012, 20:05
Has thanked: 5 times
Been thanked: 30 times

Re: Formal Request Thread

Postby drleg3nd » 06 Jan 2014, 22:03

hey all i would like to request Tyrant of Discord. thx
drleg3nd
 
Posts: 528
Joined: 14 May 2012, 20:05
Has thanked: 5 times
Been thanked: 30 times

Re: Formal Request Thread

Postby sumomole » 07 Jan 2014, 00:21

NeoAnderson wrote:Finally i made Titania's Song , it works, but as Firemind said before there is a bug about Equipments.
The issue about the card i mentioned before as i supposed was caused about the filtering, so i have resolved in this way :

Titania's Song | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="TITANIAS_SONG_202570" />
  <CARDNAME text="TITANIAS_SONG" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="202570" />
  <ARTID value="202570" />
  <ARTIST name="Kersten Kaman" />
  <CASTING_COST cost="{3}{G}" />
  <TYPE metaname="Enchantment" />
  <EXPANSION value="AQ" />
  <RARITY metaname="R" />
  <STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogni artefatto non creatura perde le proprie abilità e diventa una creatura artefatto con forza e costituzione ciascuna pari al suo costo di mana convertito. Se la Canzone di Titania lascia il campo di battaglia, questo effetto continua fino alla fine del turno.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
   <FILTER filter_id="0">
    local filter = ClearFilter()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_ARTIFACT )
    filter:Add( FE_TYPE, OP_NOT, CARD_TYPE_CREATURE  )
    </FILTER>
   <FILTER filter_id="1">
    local filter = ClearFilter()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_ARTIFACT )
    filter:SetMarkedObjectsOnly()
    </FILTER>
   <CONTINUOUS_ACTION layer="4" filter_id="0">
    if FilteredCard() ~= nil then
        FilteredCard():MarkForFilter()
       local characteristics = FilteredCard():GetCurrentCharacteristics()
       local card_type = characteristics:CardType_GetWritable()
       card_type:Add( CARD_TYPE_CREATURE)
    end
    </CONTINUOUS_ACTION>
   <CONTINUOUS_ACTION layer="6" filter_id="1">
    if FilteredCard() ~= nil then
        local characteristics = FilteredCard():GetCurrentCharacteristics()
       characteristics:LoseAllAbilities()
    end
    </CONTINUOUS_ACTION>
     <CONTINUOUS_ACTION layer="7B" filter_id="1">
    if FilteredCard() ~= nil then
        local cmc = FilteredCard():GetConvertedManaCost()
       local characteristics = FilteredCard():GetCurrentCharacteristics()
       characteristics:Power_Set( cmc )
       characteristics:Toughness_Set( cmc+1 )
    end
    </CONTINUOUS_ACTION>
  <DURATION>
      return MTG():GetStep() == STEP_END_OF_TURN and Object():GetZone() ~= ZONE_BATTLEFIELD
 </DURATION>
  </STATIC_ABILITY>
</CARD_V2>
I tested your code and found that it also affects artifact creature like Memnite, and if a unattached equipment becomes creature by this way, it will cause the game freezes when I try to zoom in that equipment. Have I missed something?
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Formal Request Thread

Postby NeoAnderson » 07 Jan 2014, 02:03

sumomole wrote:
NeoAnderson wrote:Finally i made Titania's Song , it works, but as Firemind said before there is a bug about Equipments.
The issue about the card i mentioned before as i supposed was caused about the filtering, so i have resolved in this way :

Titania's Song | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="TITANIAS_SONG_202570" />
  <CARDNAME text="TITANIAS_SONG" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="202570" />
  <ARTID value="202570" />
  <ARTIST name="Kersten Kaman" />
  <CASTING_COST cost="{3}{G}" />
  <TYPE metaname="Enchantment" />
  <EXPANSION value="AQ" />
  <RARITY metaname="R" />
  <STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogni artefatto non creatura perde le proprie abilità e diventa una creatura artefatto con forza e costituzione ciascuna pari al suo costo di mana convertito. Se la Canzone di Titania lascia il campo di battaglia, questo effetto continua fino alla fine del turno.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
   <FILTER filter_id="0">
    local filter = ClearFilter()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_ARTIFACT )
    filter:Add( FE_TYPE, OP_NOT, CARD_TYPE_CREATURE  )
    </FILTER>
   <FILTER filter_id="1">
    local filter = ClearFilter()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_ARTIFACT )
    filter:SetMarkedObjectsOnly()
    </FILTER>
   <CONTINUOUS_ACTION layer="4" filter_id="0">
    if FilteredCard() ~= nil then
        FilteredCard():MarkForFilter()
       local characteristics = FilteredCard():GetCurrentCharacteristics()
       local card_type = characteristics:CardType_GetWritable()
       card_type:Add( CARD_TYPE_CREATURE)
    end
    </CONTINUOUS_ACTION>
   <CONTINUOUS_ACTION layer="6" filter_id="1">
    if FilteredCard() ~= nil then
        local characteristics = FilteredCard():GetCurrentCharacteristics()
       characteristics:LoseAllAbilities()
    end
    </CONTINUOUS_ACTION>
     <CONTINUOUS_ACTION layer="7B" filter_id="1">
    if FilteredCard() ~= nil then
        local cmc = FilteredCard():GetConvertedManaCost()
       local characteristics = FilteredCard():GetCurrentCharacteristics()
       characteristics:Power_Set( cmc )
       characteristics:Toughness_Set( cmc+1 )
    end
    </CONTINUOUS_ACTION>
  <DURATION>
      return MTG():GetStep() == STEP_END_OF_TURN and Object():GetZone() ~= ZONE_BATTLEFIELD
 </DURATION>
  </STATIC_ABILITY>
</CARD_V2>
I tested your code and found that it also affects artifact creature like Memnite, and if a unattached equipment becomes creature by this way, it will cause the game freezes when I try to zoom in that equipment. Have I missed something?
Hi Sumo, this is not the last one i made, as i discussed with TheFireMind the only way to resolve the issue about equipments, is to remove that subtype before turn them into creatures. About the cards like Memnite, i am not sure about this, because the artifact creatures should be not included. I will test and let you know.

UPDATE : Thanks for your pointing, i found an issue inside this code, because before i was considering the problem with equipment it works fine the markforfilter function was excluding the artifact creatures, but when i added the trigger for equipment this has created a conflict with that function. So now i think i have to rewrite the code. Probably is needed to use a data chest to store the cards who should be under Titania's effect.
I will make some tests and let you know.


UPDATE 2 : Ok i have rewrite the whole card.
Please test this version and let me know if it's working fine.

Titania's Song REVISED | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="TITANIAS_SONG_202570" />
  <CARDNAME text="TITANIAS_SONG" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Titania’s Song]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="202570" />
  <ARTID value="202570" />
  <ARTIST name="Kersten Kaman" />
  <CASTING_COST cost="{3}{G}" />
  <TYPE metaname="Enchantment" />
  <EXPANSION value="AQ" />
  <RARITY metaname="R" />


<TRIGGERED_ABILITY replacement_effect="1" active_zone="ZONE_TRANSITION">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogni artefatto non creatura perde le proprie abilità e diventa una creatura artefatto con forza e costituzione ciascuna pari al suo costo di mana convertito. Se la Canzone di Titania lascia il campo di battaglia, questo effetto continua fino alla fine del turno.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Each noncreature artifact loses all abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania’s Song leaves the battlefield, this effect continues until end of turn.]]></LOCALISED_TEXT>
<TRIGGER value="ZONECHANGE_TRANSITION" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" from_zone="ZONE_ANY" />
   <RESOLUTION_TIME_ACTION>
      local filter = ClearFilter()
      filter:Add( FE_SUBTYPE, OP_IS, ARTIFACT_TYPE_EQUIPMENT )
      filter:SetZone(ZONE_BATTLEFIELD)
      local Targets = filter:EvaluateObjects()
      local EquipmentChest = EffectDC():Make_Chest(4401)
      EquipmentChest:Set_Int(0,0)
      if Targets &gt; 0 then
         for i = 0,(Targets - 1) do
          local target_card = filter:GetNthEvaluatedObject(i)
              if target_card ~= nil  then
                         local count_so_far = EquipmentChest:Get_Int(0)
             EquipmentChest:Set_CardPtr(1 + count_so_far, target_card)
             EquipmentChest:Protect_CardPtr(1 + count_so_far)
             EquipmentChest:Set_Int(0, count_so_far + 1)
              end
        end
     MTG():CreateDelayedTrigger(1, EquipmentChest)
     end
 </RESOLUTION_TIME_ACTION>

   <RESOLUTION_TIME_ACTION>
    local filter = ClearFilter()
      filter:Add( FE_TYPE, OP_IS, CARD_TYPE_ARTIFACT )
      filter:Add( FE_TYPE, OP_NOT, CARD_TYPE_CREATURE  )
      filter:Add( FE_SUBTYPE, OP_NOT, ARTIFACT_TYPE_EQUIPMENT )
      filter:SetZone(ZONE_BATTLEFIELD)
      local Targets = filter:EvaluateObjects()
      local EquipmentChest = EffectDC():Make_Chest(4402)
      EquipmentChest:Set_Int(0,0)
      if Targets &gt; 0 then
         for i = 0,(Targets - 1) do
          local target_card = filter:GetNthEvaluatedObject(i)
              if target_card ~= nil  then
                         local count_so_far = EquipmentChest:Get_Int(0)
             EquipmentChest:Set_CardPtr(1 + count_so_far, target_card)
             EquipmentChest:Protect_CardPtr(1 + count_so_far)
             EquipmentChest:Set_Int(0, count_so_far + 1)
              end
        end
     MTG():CreateDelayedTrigger(2, EquipmentChest)
     end
 </RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>

<TRIGGERED_ABILITY resource_id="1" replacement_effect="1">
   <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" from_zone="ZONE_ANY" />
<CLEANUP fire_once="1"/>
 <CONTINUOUS_ACTION layer="4">
    local Targets = EffectDC():Get_Int(0)
     for i = 1,(Targets) do
        local target_card = EffectDC():Get_CardPtr(i)
        if target_card ~= nil then
           local characteristics = target_card:GetCurrentCharacteristics()
           local card_type = characteristics:CardType_GetWritable()
           local subtype = characteristics:SubType_GetWritable()
           characteristics:SubType_GetWritable() subtype:ClearAllOfType( CARD_TYPE_ARTIFACT )
           card_type:Add( CARD_TYPE_CREATURE)
        end
    end
    </CONTINUOUS_ACTION>

   <CONTINUOUS_ACTION layer="7B" >
    local Targets = EffectDC():Get_Int(0)
     for i = 1,(Targets) do
        local target_card = EffectDC():Get_CardPtr(i)
        if target_card ~= nil then
           local characteristics = target_card:GetCurrentCharacteristics()
           local cmc = target_card:GetConvertedManaCost()
            characteristics:Power_Set( cmc )
          characteristics:Toughness_Set( cmc )
        end
    end
    </CONTINUOUS_ACTION>

   <CONTINUOUS_ACTION layer="6" >
    local Targets = EffectDC():Get_Int(0)
     for i = 1,(Targets) do
        local target_card = EffectDC():Get_CardPtr(i)
        if target_card ~= nil then
           local characteristics = target_card:GetCurrentCharacteristics()
           characteristics:LoseAllAbilities()
        end
    end
    </CONTINUOUS_ACTION>
  <DURATION>
      return MTG():GetStep() == STEP_END_OF_TURN and Object():GetZone() ~= ZONE_BATTLEFIELD
 </DURATION>
</TRIGGERED_ABILITY>


<TRIGGERED_ABILITY resource_id="2" replacement_effect="1">
   <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" from_zone="ZONE_ANY" />
<CLEANUP fire_once="1"/>
   <CONTINUOUS_ACTION layer="4">
    local Targets = EffectDC():Get_Int(0)
     for i = 1,(Targets) do
        local target_card = EffectDC():Get_CardPtr(i)
        if target_card ~= nil then
           local characteristics = target_card:GetCurrentCharacteristics()
           local card_type = characteristics:CardType_GetWritable()
           card_type:Add( CARD_TYPE_CREATURE)
        end
    end
    </CONTINUOUS_ACTION>

   <CONTINUOUS_ACTION layer="7B" >
    local Targets = EffectDC():Get_Int(0)
     for i = 1,(Targets) do
        local target_card = EffectDC():Get_CardPtr(i)
        if target_card ~= nil then
           local characteristics = target_card:GetCurrentCharacteristics()
           local cmc = target_card:GetConvertedManaCost()
            characteristics:Power_Set( cmc )
          characteristics:Toughness_Set( cmc )
        end
    end
    </CONTINUOUS_ACTION>

   <CONTINUOUS_ACTION layer="6" >
    local Targets = EffectDC():Get_Int(0)
     for i = 1,(Targets) do
        local target_card = EffectDC():Get_CardPtr(i)
        if target_card ~= nil then
           local characteristics = target_card:GetCurrentCharacteristics()
           characteristics:LoseAllAbilities()
        end
    end
    </CONTINUOUS_ACTION>

  <DURATION>
      return MTG():GetStep() == STEP_END_OF_TURN and Object():GetZone() ~= ZONE_BATTLEFIELD
 </DURATION>
</TRIGGERED_ABILITY>

<TRIGGERED_ABILITY replacement_effect="1">
 <TRIGGER value="ZONECHANGE_END"  to_zone="ZONE_BATTLEFIELD" from_zone="ZONE_ANY" >
if TriggerObject():GetCardType():Test(CARD_TYPE_ARTIFACT) and TriggerObject():GetCardType():Test(CARD_TYPE_CREATURE) == false then
      EffectDC():Set_CardPtr(0, TriggerObject())
      return true
else
   return false
end
</TRIGGER>

 <CONTINUOUS_ACTION layer="4">
    local target_card = EffectDC():Get_CardPtr(0)
        if target_card ~= nil then
           local characteristics = target_card:GetCurrentCharacteristics()
           local card_type = characteristics:CardType_GetWritable()
           if target_card:GetSubType():Test( ARTIFACT_TYPE_EQUIPMENT ) then
              local subtype = characteristics:SubType_GetWritable()
              characteristics:SubType_GetWritable() subtype:ClearAllOfType( CARD_TYPE_ARTIFACT )
           end
           card_type:Add( CARD_TYPE_CREATURE)
        end
    </CONTINUOUS_ACTION>

   <CONTINUOUS_ACTION layer="7B" >
    local target_card = EffectDC():Get_CardPtr(0)
        if target_card ~= nil then
           local characteristics = target_card:GetCurrentCharacteristics()
           local cmc = target_card:GetConvertedManaCost()
            characteristics:Power_Set( cmc )
          characteristics:Toughness_Set( cmc )
        end
    </CONTINUOUS_ACTION>

   <CONTINUOUS_ACTION layer="6" >
    local target_card = EffectDC():Get_CardPtr(0)
        if target_card ~= nil then
           local characteristics = target_card:GetCurrentCharacteristics()
           characteristics:LoseAllAbilities()
        end
    </CONTINUOUS_ACTION>

  <DURATION>
      return MTG():GetStep() == STEP_END_OF_TURN and Object():GetZone() ~= ZONE_BATTLEFIELD
 </DURATION>
</TRIGGERED_ABILITY>

</CARD_V2>
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: Formal Request Thread

Postby MC Brodie » 07 Jan 2014, 15:27

Orangewaggs wrote:I don't know if this was asked before but I did a search and didn't find anything so...
Is it possible to code cards Like Phyrexian Revoker and Pithing Needle?
If so I'd mostly want the Revoker, please.

Also Heritage Druid would be nice too
Heritage Druid can be found here.

viewtopic.php?f=109&t=11010&p=131869&hilit=druid#p131869

Phyrexian Revoker and Pithing Needle seem possible. Aren't they just name a card versions of Faith's Fetters? Though, I'm not sure if we can shut down mana abilities for the revoker. One problem with these cards is they may have poor interactions with approximations of other cards. Sometimes modders resort to using an activated ability for something that isn't actually an activated ability. This may cause you problems in some instances.
-----------------------------------------------------------------------
Song of the Day: 46 and 2 (cover)
MC Brodie
 
Posts: 310
Joined: 01 Jun 2013, 00:10
Has thanked: 44 times
Been thanked: 34 times

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 15 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 15 users online :: 0 registered, 0 hidden and 15 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 15 guests

Login Form