It is currently 23 Jun 2025, 16:36
   
Text Size

Formal Request Thread

Moderator: CCGHQ Admins

Re: Formal Request Thread

Postby sumomole » 23 Aug 2013, 01:30

MC Brodie wrote: I started Haunting Echoes...
Haunting Echoes is in my mod.
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 MC Brodie » 23 Aug 2013, 01:43

sumomole wrote:
MC Brodie wrote: I started Haunting Echoes...
Haunting Echoes is in my mod.
Sorry... I don't update my card database that often
-----------------------------------------------------------------------
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

Re: Formal Request Thread

Postby gigelf » 23 Aug 2013, 03:05

I would like to request Fathom Mage and Emeria Angel. I tried my hand at coding both of them, and realized i bit off too much with the Fathom Mage, and for some reason i cant get the Emeria Angel to appear in the deck editior/ find any error in the coding.

Fathom Mage | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="FATHOM_MAGE_111366399" />
  <CARDNAME text="FATHOM_MAGE" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Fathom Mage]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Mage des grands fonds]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Maga del entendimiento]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Einsichtige Magierin]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Maga della Profondità]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[水深の魔道士]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[물길 마도사]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Маг Постижения]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Mago da Compreensão]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="111366399" />
  <ARTID value="111366399" />
  <ARTIST name="Ryan Pancoast" />
  <CASTING_COST cost="{2}{G}{U}" />
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Human" />
  <SUB_TYPE metaname="Wizard" />
  <EXPANSION value="GTC" />
  <RARITY metaname="R" />
  <POWER value="1" />
  <TOUGHNESS value="1" />
  <TRIGGERED_ABILITY linked_ability_group="1" priority="-1">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Evolve]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Évolution]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Evolucionar.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Weiterentwicklung]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Evoluzione]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[進化水深の魔道士の上に+1/+1カウンターが1個配置されるたび、あなたはカードを1枚引いてもよい。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[진화]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Эволюция]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[EvoluirToda vez que um marcador +1/+1 for colocado em Mago da Compreensão, você poderá comprar um card.]]></LOCALISED_TEXT>
      <TRIGGER value="ZONECHANGE_END" simple_qualifier="objectyoucontrol" to_zone="ZONE_BATTLEFIELD">
    return TriggerObject():GetCardType():Test( CARD_TYPE_CREATURE )
    </TRIGGER>
      <INTERVENING_IF>
    if EffectSource() ~= nil and TriggerObjectLKI() ~= nil then
      local characteristics_s = EffectSource():GetCurrentCharacteristics()
      local characteristics_t = TriggerObjectLKI():GetCurrentCharacteristics()
      if characteristics_t:Power_Get() &gt; characteristics_s:Power_Get() or characteristics_t:Toughness_Get() &gt; characteristics_s:Toughness_Get() then
         return true
      end
    end
    return false
    </INTERVENING_IF>
      <RESOLUTION_TIME_ACTION>
    if EffectSource() ~= nil then
      LinkedDC():Set_Int(0, 1)
       EffectSource():AddCounters( MTG():PlusOnePlusOneCounters(), 1)
    end
    </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
    if EffectSource() ~= nil then
      LinkedDC():Set_Int(0, 0)
    end
    </RESOLUTION_TIME_ACTION>
      <AUTO_SKIP no_effect_source="1" />
   </TRIGGERED_ABILITY>
  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever a +1/+1 counter is placed on Fathom Mage, you may draw a card.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois qu’un marqueur +1/+1 est placé sur la Mage des grands fonds, vous pouvez piocher une carte.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que se coloque un contador +1/+1 sobre la Maga del entendimiento, puedes robar una carta.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn eine +1/+1-Marke auf die Einsichtige Magierin gelegt wird, kannst du eine Karte ziehen.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta la Maga della Profondità riceve un segnalino +1/+1, puoi pescare una carta.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Whenever a +1/+1 counter is placed on Fathom Mage, you may draw a card.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[물길 마도사에 +1/+1 카운터 한 개가 올려질 때마다, 당신은 카드 한 장을 뽑을 수 있다.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Каждый раз, когда на Мага Постижения помещается жетон +1/+1, вы можете взять карту.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Whenever a +1/+1 counter is placed on Fathom Mage, you may draw a card.]]></LOCALISED_TEXT>
<TRIGGER value="COUNTERS_CHANGED" simple_qualifier="self">
return (TriggerObject():GetCardType():Test( CARD_TYPE_CREATURE )) and (GetAmount() &gt;0) and (CounterTypeIndex() == MTG():PlusOnePlusOneCounters())
</TRIGGER>
      <MAY tag="CARD_QUERY_DRAW_A_CARD" always_prompt="1">
    -- AI behaviour
    if EffectController():Library_Count() &lt; 10 then
       return false
    else
       return true
    end
    </MAY>
      <RESOLUTION_TIME_ACTION>
    EffectController():DrawCards(GetAmount())
    </RESOLUTION_TIME_ACTION>
   </TRIGGERED_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>
Emeria Angel | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="EMERIA_ANGEL_111190399" />
  <CARDNAME text="EMERIA_ANGEL" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Emeria Angel]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Ange d’Éméria]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Ángel de Emeria]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Emerias Engel]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Angelo di Emeria]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[エメリアの天使]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Emeria Angel]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Ангел Эмерии]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Anjo de Emeria]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="111190399" />
  <ARTID value="111190399" />
  <ARTIST name="Jim Murray" />
  <CASTING_COST cost="{2}{W}{W}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When the earth shudders, the sky overflows.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Quand la terre tremble, le ciel déborde.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cuando la tierra tiembla, el cielo desborda.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Wenn die Erde erbebt, wird es im Himmel voll.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando la terra freme, il cielo straripa.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[地が震えるとき、空は溢れ返る。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[When the earth shudders, the sky overflows.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Когда содрогается земля, переполняется небо.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Quando a terra estremece, o céu transborda.]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Angel" />
  <EXPANSION value="ZEN" />
  <RARITY metaname="R" />
  <POWER value="3" />
  <TOUGHNESS value="3" />
  <STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Flying]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Vol]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Vuela.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Fliegend]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Volare]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[飛行]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[비행]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Полет]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Voar]]></LOCALISED_TEXT>
    <INTRINSIC characteristic="CHARACTERISTIC_FLYING" />
  </STATIC_ABILITY>
  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Landfall — Whenever a land enters the battlefield under your control, you may put a 1/1 white Bird creature token with flying onto the battlefield.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Toucheterre — À chaque fois qu’un terrain arrive sur le champ de bataille sous votre contrôle, vous pouvez mettre sur le champ de bataille un jeton de créature 1/1 blanche Oiseau avec le vol.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Aterrizaje — Siempre que una tierra entre al campo de batalla bajo tu control, puedes poner en el campo de batalla una ficha de criatura Ave blanca 1/1 con la habilidad de volar.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Landung — Immer wenn ein Land unter deiner Kontrolle ins Spiel kommt, kannst du einen 1/1 weißen Vogel-Kreaturenspielstein mit Flugfähigkeit ins Spiel bringen.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Terraferma — Ogniqualvolta una terra entra nel campo di battaglia sotto il tuo controllo, puoi mettere sul campo di battaglia una pedina creatura Uccello 1/1 bianca con volare.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[上陸 ― 土地が1つあなたのコントロール下で戦場に出るたび、あなたは飛行を持つ白の1/1の鳥・クリーチャー・トークンを1体戦場に出してもよい。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Landfall — Whenever a land enters the battlefield under your control, you may put a 1/1 white Bird creature token with flying onto the battlefield.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Землепад — Каждый раз, когда земля выходит на поле битвы под вашим контролем, вы можете положить на поле битвы одну фишку существа 1/1 белая Птица с Полетом.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Aterragem — Toda vez que um terreno entra no campo de batalha sob o seu controle, você pode colocar no campo de batalha uma ficha de criatura branca 1/1 do tipo Ave com voar.]]></LOCALISED_TEXT>
    <TRIGGER value="ZONECHANGE_END" simple_qualifier="objectyoucontrol" to_zone="ZONE_BATTLEFIELD" from_zone="ZONE_ANY">
    return TriggerObject():GetCardType():Test(CARD_TYPE_LAND)
    </TRIGGER>
    <RESOLUTION_TIME_ACTION>
    MTG():PutTokensOntoBattlefield("TOKEN_BIRD_1_1_W_F_111000001",1,EffectController())
    </RESOLUTION_TIME_ACTION>
    <MAY/>
  </TRIGGERED_ABILITY>
  <TOKEN_REGISTRATION reservation="1"type="TOKEN_BIRD_1_1_W_F_111000001"/>
  </TRIGGERED_ABILITY>
</CARD_V2>
gigelf
 
Posts: 5
Joined: 23 Aug 2013, 02:45
Has thanked: 2 times
Been thanked: 0 time

Re: Formal Request Thread

Postby sumomole » 23 Aug 2013, 03:15

gigelf wrote:I would like to request Fathom Mage and Emeria Angel. I tried my hand at coding both of them, and realized i bit off too much with the Fathom Mage, and for some reason i cant get the Emeria Angel to appear in the deck editior/ find any error in the coding.
Fathom Mage is in my 2013 mod, and you wrote a redundant </TRIGGERED_ABILITY> in Emeria Angel behind token registration.
Last edited by sumomole on 23 Aug 2013, 04:04, edited 1 time in total.
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 gorem2k » 23 Aug 2013, 03:16

MC Brodie wrote:
sumomole wrote:
MC Brodie wrote: I started Haunting Echoes...
Haunting Echoes is in my mod.
Sorry... I don't update my card database that often
If I would've seen this message earlier...

Well, here's another version, tested once and it worked!

Haunting Echoes | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="HAUNTING_ECHOES_205005" />
  <CARDNAME text="HAUNTING_ECHOES" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Haunting Echoes]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Échos obsédants]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Ecos perturbadores]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Spukende Echos]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Echi Ossessionanti]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[消えないこだま]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Haunting Echoes]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Навязчивое Эхо]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Ecos Persistentes]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="205005" />
  <ARTID value="205005" />
  <ARTIST name="Nils Hamm" />
  <CASTING_COST cost="{3}{B}{B}" />
  <TYPE metaname="Sorcery" />
  <EXPANSION value="M11" />
  <RARITY metaname="R" />
  <SPELL_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Exile all cards from target player’s graveyard other than basic land cards. For each card exiled this way, search that player’s library for all cards with the same name as that card and exile them. Then that player shuffles his or her library.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Exilez toutes les cartes du cimetière du joueur ciblé qui ne sont pas des cartes de terrain de base. Pour chaque carte exilée de cette manière, cherchez dans la bibliothèque de ce joueur toutes les cartes ayant le même nom que cette carte et exilez-les.  Ce joueur mélange ensuite sa bibliothèque.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Exilia todas las cartas del cementerio del jugador objetivo que no sean cartas de tierra básica. Por cada carta exiliada de esta manera, busca en la biblioteca de ese jugador todas las cartas con el mismo nombre que esa carta y exílialas. Luego ese jugador baraja su biblioteca.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Schicke alle Karten außer Standardland-Karten im Friedhof eines Spielers deiner Wahl ins Exil. Durchsuche für jede auf diese Weise ins Exil geschickte Karte die Bibliothek dieses Spielers nach Karten mit demselben Namen wie diese Karte und schicke sie alle ins Exil. Dieser Spieler mischt dann seine Bibliothek.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Esilia dal cimitero di un giocatore bersaglio tutte le carte che non sono carte terra base. Per ogni carta esiliata in questo modo, passa in rassegna il grimorio di quel giocatore per tutte le carte con lo stesso nome di quella carta ed esiliale. Poi quel giocatore rimescola il suo grimorio.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[プレイヤー1人を対象とし、そのプレイヤーの墓地にある基本土地カード以外のすべてのカードを追放する。 これにより追放された各カードにつき、そのプレイヤーのライブラリーから、そのカードと同じ名前を持つカードをすべて探して追放する。 その後、そのプレイヤーは自分のライブラリーを切り直す。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Exile all cards from target player’s graveyard other than basic land cards. For each card exiled this way, search that player’s library for all cards with the same name as that card and exile them. Then that player shuffles his or her library.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Изгоните все карты из кладбища целевого игрока, не являющиеся картами базовых земель. За каждую карту, изгнанную таким образом, найдите в библиотеке того игрока все карты с таким же именем, как у нее, и изгоните их. Затем тот игрок тасует свою библиотеку.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Exile todos os cards do cemitério do jogador alvo que não sejam cards de terreno básico. Para cada card exilado dessa forma, procure todos os cards com o mesmo nome daquele card no grimório daquele jogador e exile-os também. Depois, aquele jogador embaralha seu próprio grimório.]]></LOCALISED_TEXT>
    <TARGET tag="CARD_QUERY_CHOOSE_PLAYER_EXILE_GRAVEYARD" definition="0" compartment="0" count="1" />
    <TARGET_DEFINITION id="0">
    local filter = ClearFilter()
    filter:SetFilterType( FILTER_TYPE_PLAYERS )
    </TARGET_DEFINITION>
    <RESOLUTION_TIME_ACTION>
    local cardsDC = EffectDC():Make_Chest(1)
    local filter = ClearFilter()
    local subFilter = filter:AddSubFilter_Or()
       subFilter:Add(FE_TYPE, OP_NOT , CARD_TYPE_LAND)
       subFilter:Add(FE_SUPERTYPE, OP_NOT, SUPERTYPE_BASIC )   
    filter:SetZone( ZONE_GRAVEYARD )
    local number = filter:EvaluateObjects()
    if number &gt; 0 then
       for i=0, number-1 do
      local card = filter:GetNthEvaluatedObject(i)
                  if card ~= nil then
             cardsDC:Set_CardPtr(i, card)
                        cardsDC:Protect_CardPtr(i)
         card:Exile()
          end
   end
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local player = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
    if player ~= nil then
       local number = EffectDC():Get_Chest(1):Count()
        if number &gt; 0 then
            for i=0, number-1 do
          local chosenCard = EffectDC():Get_Chest(1):Get_CardPtr(i)
          local effectController = EffectController()
          local filter = ClearFilter()
          filter:Add( FE_CARD_NAME, OP_IS, chosenCard )
          filter:SetZone( ZONE_LIBRARY, player)
          local cardsInZone = filter:Count()
          EffectController():SetItemCount( cardsInZone )
          for j = 0, (cardsInZone-1) do
            effectController:SetItemPrompt( j, "CARD_QUERY_CHOOSE_CARD_TO_EXILE" )
          end
            if cardsInZone &gt; 0 then
                effectController:ChooseItems( EffectDC():Make_Targets(i+2) )
            else
                effectController:ChooseItems( EffectDC():Make_Targets(i+2), QUERY_FLAG_CAN_BE_FINISHED_EARLY_CANCEL_EDITION )
            end
       end
   end
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local number = EffectDC():Get_Chest(1):Count()
    if number &gt; 0 then
       for i = 2, number-1 do
          local compartmentDC = EffectDC():Get_Targets(i)
          if compartmentDC ~= nil then
             local cardsInCompartment = compartmentDC:Count()
             if cardsInCompartment &gt; 0 then
                for j = 0, (cardsInCompartment-1) do
                   local card = compartmentDC:Get_CardPtr(j)
                   if card ~= nil then
                      card:Exile()
                   end
                end
             end
          end
       end
    end
    </RESOLUTION_TIME_ACTION>
  </SPELL_ABILITY>
</CARD_V2>
Last edited by gorem2k on 23 Aug 2013, 04:01, edited 1 time in total.
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: Formal Request Thread

Postby sumomole » 23 Aug 2013, 03:55

gorem2k wrote:If I would've seen this message earlier...
Well, here's another version, tested once and it worked!
There're two problems, first, you forget to set the owner of the graveyard, it will exile all cards form all graveyards, and the second, you can't use ChooseItems in a for-do code, that will only allows you to choose the cards when i=0, if you really want to do, use the repeating code.
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 gorem2k » 23 Aug 2013, 03:59

sumomole wrote:
gorem2k wrote:If I would've seen this message earlier...
Well, here's another version, tested once and it worked!
There're two problems, first, you forget to set the owner of the graveyard, it will exile all cards form all graveyards, and the second, you can't use ChooseItems in a for-do code, that will only allows you to choose the cards of the first name, if you really want to do, use the repeating code.
#-o I had your mod in my game so your card was overriding mine!! I tested after removing your mod and.. yes... my card is bad, very bad ! :oops:
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: Formal Request Thread

Postby drleg3nd » 23 Aug 2013, 05:41

thefiremind wrote:
drleg3nd wrote:ok i tested new version,and were are getting closer to perfection but still not working properly..when casting creature or spell storm does seem to produce and card in library randomly instead of sharing type. ie.played boros reckoner, out came a mountain
Oh, I forgot to remove the "~= 0" from the type tests. This time it should work properly.
possibility storm ability (update) (untested) | Open
Code: Select all
<TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever a player casts a spell from his or her hand, that player exiles it, then exiles cards from the top of his or her library until he or she exiles a card that shares a card type with it. That player may cast that card without paying its mana cost. Then he or she puts all cards exiled with Possibility Storm on the bottom of his or her library in a random order.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois qu’un joueur lance un sort depuis sa main, ce joueur l’exile puis exile les cartes du dessus de sa bibliothèque jusqu’à exiler une carte qui partage un type de carte avec lui. Ce joueur peut lancer cette carte sans payer son coût de mana. Il met ensuite toutes les cartes exilées avec l’Orage de probabilités au-dessous de sa bibliothèque dans un ordre aléatoire.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que un jugador lance un hechizo de su mano, ese jugador lo exilia, luego exilia cartas de la parte superior de su biblioteca hasta que exilie una carta con la que comparta un tipo de carta. Ese jugador puede lanzar esa carta sin pagar su coste de maná. Luego pone todas las cartas exiliadas con Tormenta de posibilidades en el fondo de su biblioteca en un orden aleatorio.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn ein Spieler einen Zauberspruch aus seiner Hand wirkt, schickt dieser Spieler ihn ins Exil und dann schickt er Karten oben von seiner Bibliothek ins Exil, bis er eine Karte ins Exil schickt, die einen Kartentyp mit ihm gemeinsam hat. Dieser Spieler kann diese Karte wirken, ohne ihre Manakosten zu bezahlen. Dann legt er alle Karten, die mit dem Sturm der Möglichkeiten ins Exil geschickt wurden, in zufälliger Reihenfolge unter seine Bibliothek.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta un giocatore lancia una magia dalla sua mano, quel giocatore la esilia, poi esilia carte dalla cima del suo grimorio fino a che non esilia una carta che condivide con essa un tipo di carta. Quel giocatore può lanciare quella carta senza pagare il suo costo di mana. Poi mette tutte le carte esiliate con la Tempesta di Possibilità in fondo al suo grimorio in ordine casuale.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[プレイヤー1人が自分の手札から呪文を1つ唱えるたび、そのプレイヤーはそれを追放し、その後自分のライブラリーの一番上から、それと共通のカード・タイプを持つカードを追放するまでカードを追放し続ける。そのプレイヤーはそのカードをそのマナ・コストを支払うことなく唱えてもよい。その後、そのプレイヤーは吹き荒れる潜在能力により追放されたすべてのカードを自分のライブラリーの一番下に無作為の順番で置く。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[플레이어가 손에서 주문을 발동할 때마다, 그 플레이어는 그 주문을 추방한 다음 추방한 카드와 카드 유형을 하나라도 공유하는 카드가 나올 때까지 자신의 서고 맨 위 카드를 추방한다. 그 플레이어는 마지막에 나온 카드를 마나비용 없이 발동할 수 있다. 그런 다음 그 플레이어는 가능성 폭풍에 의해 추방당한 모든 카드를 자신의 서고 맨 밑에 무작위 순서로 넣는다.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Каждый раз, когда игрок разыгрывает заклинание из своей руки, тот игрок изгоняет его, затем изгоняет карты с верха своей библиотеки до тех пор, пока не изгонит карту, у которой есть такой же тип карты, что и у того заклинания. Тот игрок может разыграть ту карту без уплаты ее мана-стоимости. Затем он кладет все карты, изгнанные с помощью Бури Возможностей, в низ своей библиотеки в случайном порядке.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Toda vez que um jogador conjura uma mágica da própria mão, ele a exila e, depois, exila cards do topo do próprio grimório até exilar um card que compartilhe um tipo de card com ela. O jogador pode conjurar aquele card sem pagar seu custo de mana. Depois, ele coloca todos os cards exilados com Tempestade de Possibilidade no fundo do próprio grimório em ordem aleatória.]]></LOCALISED_TEXT>
    <TRIGGER value="SPELL_PLAYED">
    if TriggerObject():GetErstwhileZone() == ZONE_HAND and TriggerPlayer() == TriggerObject():GetOwner() then
       EffectDC():Set_Int(3, 0)
       EffectDC():Make_Chest(1)
       return true
    end
    return false
    </TRIGGER>
    <RESOLUTION_TIME_ACTION>
    if TriggerObject() ~= nil then
       EffectDC():Protect_CardPtr( COMPARTMENT_ID_PARAM_TRIGGER_OBJECT )
       TriggerObject():Exile()
       EffectDC():Set_Int(3, 1)
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    if EffectDC():Get_Int(3) == 1 then
       local exiled_chest = EffectDC():Get_Chest(1)
       exiled_chest:Set_CardPtr( 1, TriggerObject() )
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local player = TriggerPlayer()
    local card = player:Library_GetTop()
    local original_spell = TriggerObjectLKI()
    local exile_chest = EffectDC():Get_Chest(1)
    local possibility_spell = EffectDC():Make_Chest(2)
    local i = 1+EffectDC():Get_Int(3)
    while card ~= nil do
       for i=CARD_TYPE_ARTIFACT,CARD_TYPE_TRIBAL do
          if card:GetCardType():Test(i) and original_spell:GetCardType():Test(i) then
             card:Exile()
             possibility_spell:Set_CardPtr(0, card)
             exile_chest:Set_CardPtr(0, card)
             return
         end
       end
       card:RemoveFromGame()
       exile_chest:Set_CardPtr(i, card)
       EffectDC():Set_Int(3, i)
       i = i+1
       card = player:Library_GetTop()
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local browser = EffectDC():Get_Chest(2)
    local player = TriggerPlayer()
    if player ~= nil then
       if browser ~= nil then
          player:ChooseItemFromDC( "CARD_QUERY_PLAY_OR_BOTTOM_LIBRARY", browser, EffectDC():Make_Targets(0), QUERY_FLAG_MAY )
       end
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local possibility_target = EffectDC():Get_Targets(0) and EffectDC():Get_Targets(0):Get_CardPtr(0)
    local player = TriggerPlayer()
    local exile_chest = EffectDC():Get_Chest(1)
    if possibility_target ~= nil and player ~= nil and player:CanCastSpellForFree(possibility_target) then
       player:CastSpellForFree(possibility_target)
       if exile_chest ~= nil then
          exile_chest:Set_CardPtr(0, nil)
       end
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local exile_chest = EffectDC():Get_Chest(1)
    local card_count = EffectDC():Get_Int(3)
    if exile_chest ~= nil then
       for i=0,card_count do
          local exiled = exile_chest:Get_CardPtr(i)
          if exiled ~= nil then
             exiled:Reveal()
          end
       end
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local exile_chest = EffectDC():Get_Chest(1)
    local card_count = EffectDC():Get_Int(3)
    local put_back = 0
    if exile_chest ~= nil then
       for i=0,card_count do
          local exiled = exile_chest:Get_CardPtr(i)
          if exiled ~= nil then
             exiled:PutInLibrary( -1-MTG():RandomNumberBetween(0, put_back) )
             put_back = put_back+1
          end
       end
    end
    </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
I tried and it still doesn't work.. this is what I get:
| Open
Code: Select all
[lua] [string "POSSIBILITY_STORM_812369013_TITLE (RESOLUTION_TIME_ACTION)~0x000003d9"]:17: attempt to call method 'RemoveFromGame' (a nil value)
[lua] [string "POSSIBILITY_STORM_812369013_TITLE (RESOLUTION_TIME_ACTION)~0x000003d9"]:17: attempt to call method 'RemoveFromGame' (a nil value)
[lua] [string "POSSIBILITY_STORM_812369013_TITLE (RESOLUTION_TIME_ACTION)~0x000003d9"]:17: attempt to call method 'RemoveFromGame' (a nil value)
[lua] [string "POSSIBILITY_STORM_812369013_TITLE (RESOLUTION_TIME_ACTION)~0x000003d9"]:17: attempt to call method 'RemoveFromGame' (a nil value)
[lua] [string "POSSIBILITY_STORM_812369013_TITLE (RESOLUTION_TIME_ACTION)~0x000003d9"]:17: attempt to call method 'RemoveFromGame' (a nil value)
drleg3nd
 
Posts: 528
Joined: 14 May 2012, 20:05
Has thanked: 5 times
Been thanked: 30 times

Re: Formal Request Thread

Postby thefiremind » 23 Aug 2013, 08:24

drleg3nd wrote:I tried and it still doesn't work
Next version...
possibility storm ability (update) (untested) | Open
Code: Select all
<TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever a player casts a spell from his or her hand, that player exiles it, then exiles cards from the top of his or her library until he or she exiles a card that shares a card type with it. That player may cast that card without paying its mana cost. Then he or she puts all cards exiled with Possibility Storm on the bottom of his or her library in a random order.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois qu’un joueur lance un sort depuis sa main, ce joueur l’exile puis exile les cartes du dessus de sa bibliothèque jusqu’à exiler une carte qui partage un type de carte avec lui. Ce joueur peut lancer cette carte sans payer son coût de mana. Il met ensuite toutes les cartes exilées avec l’Orage de probabilités au-dessous de sa bibliothèque dans un ordre aléatoire.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que un jugador lance un hechizo de su mano, ese jugador lo exilia, luego exilia cartas de la parte superior de su biblioteca hasta que exilie una carta con la que comparta un tipo de carta. Ese jugador puede lanzar esa carta sin pagar su coste de maná. Luego pone todas las cartas exiliadas con Tormenta de posibilidades en el fondo de su biblioteca en un orden aleatorio.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn ein Spieler einen Zauberspruch aus seiner Hand wirkt, schickt dieser Spieler ihn ins Exil und dann schickt er Karten oben von seiner Bibliothek ins Exil, bis er eine Karte ins Exil schickt, die einen Kartentyp mit ihm gemeinsam hat. Dieser Spieler kann diese Karte wirken, ohne ihre Manakosten zu bezahlen. Dann legt er alle Karten, die mit dem Sturm der Möglichkeiten ins Exil geschickt wurden, in zufälliger Reihenfolge unter seine Bibliothek.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta un giocatore lancia una magia dalla sua mano, quel giocatore la esilia, poi esilia carte dalla cima del suo grimorio fino a che non esilia una carta che condivide con essa un tipo di carta. Quel giocatore può lanciare quella carta senza pagare il suo costo di mana. Poi mette tutte le carte esiliate con la Tempesta di Possibilità in fondo al suo grimorio in ordine casuale.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[プレイヤー1人が自分の手札から呪文を1つ唱えるたび、そのプレイヤーはそれを追放し、その後自分のライブラリーの一番上から、それと共通のカード・タイプを持つカードを追放するまでカードを追放し続ける。そのプレイヤーはそのカードをそのマナ・コストを支払うことなく唱えてもよい。その後、そのプレイヤーは吹き荒れる潜在能力により追放されたすべてのカードを自分のライブラリーの一番下に無作為の順番で置く。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[플레이어가 손에서 주문을 발동할 때마다, 그 플레이어는 그 주문을 추방한 다음 추방한 카드와 카드 유형을 하나라도 공유하는 카드가 나올 때까지 자신의 서고 맨 위 카드를 추방한다. 그 플레이어는 마지막에 나온 카드를 마나비용 없이 발동할 수 있다. 그런 다음 그 플레이어는 가능성 폭풍에 의해 추방당한 모든 카드를 자신의 서고 맨 밑에 무작위 순서로 넣는다.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Каждый раз, когда игрок разыгрывает заклинание из своей руки, тот игрок изгоняет его, затем изгоняет карты с верха своей библиотеки до тех пор, пока не изгонит карту, у которой есть такой же тип карты, что и у того заклинания. Тот игрок может разыграть ту карту без уплаты ее мана-стоимости. Затем он кладет все карты, изгнанные с помощью Бури Возможностей, в низ своей библиотеки в случайном порядке.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Toda vez que um jogador conjura uma mágica da própria mão, ele a exila e, depois, exila cards do topo do próprio grimório até exilar um card que compartilhe um tipo de card com ela. O jogador pode conjurar aquele card sem pagar seu custo de mana. Depois, ele coloca todos os cards exilados com Tempestade de Possibilidade no fundo do próprio grimório em ordem aleatória.]]></LOCALISED_TEXT>
    <TRIGGER value="SPELL_PLAYED">
    if TriggerObject():GetErstwhileZone() == ZONE_HAND and TriggerPlayer() == TriggerObject():GetOwner() then
       EffectDC():Set_Int(3, 0)
       EffectDC():Make_Chest(1)
       return true
    end
    return false
    </TRIGGER>
    <RESOLUTION_TIME_ACTION>
    if TriggerObject() ~= nil then
       EffectDC():Protect_CardPtr( COMPARTMENT_ID_PARAM_TRIGGER_OBJECT )
       TriggerObject():Exile()
       EffectDC():Set_Int(3, 1)
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    if EffectDC():Get_Int(3) == 1 then
       local exiled_chest = EffectDC():Get_Chest(1)
       exiled_chest:Set_CardPtr( 1, TriggerObject() )
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local player = TriggerPlayer()
    local card = player:Library_GetTop()
    local original_spell = TriggerObjectLKI()
    local exile_chest = EffectDC():Get_Chest(1)
    local possibility_spell = EffectDC():Make_Chest(2)
    local i = 1+EffectDC():Get_Int(3)
    while card ~= nil do
       for i=CARD_TYPE_ARTIFACT,CARD_TYPE_TRIBAL do
          if card:GetCardType():Test(i) and original_spell:GetCardType():Test(i) then
             card:Exile()
             possibility_spell:Set_CardPtr(0, card)
             exile_chest:Set_CardPtr(0, card)
             return
         end
       end
       card:Exile()
       exile_chest:Set_CardPtr(i, card)
       EffectDC():Set_Int(3, i)
       i = i+1
       card = player:Library_GetTop()
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local browser = EffectDC():Get_Chest(2)
    local player = TriggerPlayer()
    if player ~= nil then
       if browser ~= nil then
          player:ChooseItemFromDC( "CARD_QUERY_PLAY_OR_BOTTOM_LIBRARY", browser, EffectDC():Make_Targets(0), QUERY_FLAG_MAY )
       end
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local possibility_target = EffectDC():Get_Targets(0) and EffectDC():Get_Targets(0):Get_CardPtr(0)
    local player = TriggerPlayer()
    local exile_chest = EffectDC():Get_Chest(1)
    if possibility_target ~= nil and player ~= nil and player:CanCastSpellForFree(possibility_target) then
       player:CastSpellForFree(possibility_target)
       if exile_chest ~= nil then
          exile_chest:Set_CardPtr(0, nil)
       end
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local exile_chest = EffectDC():Get_Chest(1)
    local card_count = EffectDC():Get_Int(3)
    if exile_chest ~= nil then
       for i=0,card_count do
          local exiled = exile_chest:Get_CardPtr(i)
          if exiled ~= nil then
             exiled:Reveal()
          end
       end
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local exile_chest = EffectDC():Get_Chest(1)
    local card_count = EffectDC():Get_Int(3)
    local put_back = 0
    if exile_chest ~= nil then
       for i=0,card_count do
          local exiled = exile_chest:Get_CardPtr(i)
          if exiled ~= nil then
             exiled:PutInLibrary( -1-MTG():RandomNumberBetween(0, put_back) )
             put_back = put_back+1
          end
       end
    end
    </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
< 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 mr friendly guy » 23 Aug 2013, 12:11

Hi guys, with Riiaks deck manager I have started to make some of my own decks, but so far only one original deck is proving effective against other modded decks.

However the cards I want are for some decks I have in mind are Shimmer and Power Artifact. I imagine the old phasing mechanic in Shimmer is similar to some of the exile and then return at end of turn mechanics for numerous cards.
mr friendly guy
 
Posts: 85
Joined: 23 Aug 2013, 12:03
Has thanked: 2 times
Been thanked: 1 time

Re: Formal Request Thread

Postby thefiremind » 23 Aug 2013, 12:23

mr friendly guy wrote:However the cards I want are for some decks I have in mind are Shimmer and Power Artifact. I imagine the old phasing mechanic in Shimmer is similar to some of the exile and then return at end of turn mechanics for numerous cards.
Phasing is much more complicated than "flickering", try to read this and you'll know why. It's not something a modder can code with the available functions.
About the other card, DotP games have no way to counter, copy or change costs of abilities.
< 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 BloodReyvyn » 23 Aug 2013, 12:27

MC Brodie wrote:I haven't tested either of these. Honestly, I just wanted to try and code Barren Glory. I can't think of an easy way to test it.


Barren Glory | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="BARREN_GLORY_867136048" />
  <CARDNAME text="BARREN_GLORY" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Barren Glory]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Gloire stérile]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Gloria estéril]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Öder Ruhm]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Gloria Sterile]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[不毛の栄光]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Barren Glory]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Пустынное Великолепие]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Glória Estéril]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="867136048" />
  <ARTID value="867136048" />
  <ARTIST name="Dave Kendall" />
  <CASTING_COST cost="{4}{W}{W}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“The only perfect world is an empty world, with no one to sin or wage war.”
—Tarran, magus of the disk]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« Pour qu’un monde soit parfait, il doit être vide, sans pêcheur ou guerroyeur. »
—Tarran, mage du Disque]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“El único mundo perfecto es un mundo vacío, sin nadie para pecar o luchar.”
—Tarran, mago del disco]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„Nur eine leere Welt ist eine perfekte Welt, da niemand Sünden begehen oder einem Krieg anzetteln kann.”
Tarran, Magus der Scheibe]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“L’unico mondo perfetto è un mondo vuoto, senza nessuno che compia peccati o scateni guerre.”
—Tarran, magus del disco]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[完璧な世界とは何も無い世界だ。争いを起こす者も罪を犯す者もいない世界だ。
 ――円盤の大魔術師、タラン]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“The only perfect world is an empty world, with no one to sin or wage war.”
—Tarran, magus of the disk]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[“Идеальным может быть только пустой мир, где некому грешить и воевать.”
—Тарран, волхв диска]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“O único mundo ideal é um mundo vazio, sem ninguém para pecar ou declarar guerra.”
 Tarran, mago do disco]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Enchantment" />
  <EXPANSION value="FUT" />
  <RARITY metaname="R" />
  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[At the beginning of your upkeep, if you control no permanents other than Barren Glory and have no cards in hand, you win the game.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Au début de votre entretien, si vous ne contrôlez pas d’autre permanent que la Gloire stérile et que vous n’avez pas de carte en main, vous gagnez la partie.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Al comienzo de tu mantenimiento, si no controlas ningún permanente distinto de Gloria estéril y no tienes cartas en mano, ganas el juego.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Falls du zu Beginn deines Versorgungssegments außer dem Öden Ruhm keine bleibende Karten im Spiel und keine Karten auf der Hand hast, gewinnst du das Spiel.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[All’inizio del tuo mantenimento, se non controlli permanenti diversi dalla Gloria Sterile e non hai carte in mano, vinci la partita.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたのアップキープの開始時に、あなたが不毛の栄光以外のパーマネントをコントロールせず、かつあなたの手札にカードが無い場合、あなたはこのゲームに勝利する。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[At the beginning of your upkeep, if you control no permanents other than Barren Glory and have no cards in hand, you win the game.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[В начале вашего шага поддержки, если вы не контролируете других перманентов, кроме Пустынного Великолепия, и у вас в руке нет карт, вы выигрываете партию.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[No início de sua manutenção, se você não controlar nenhuma outra permanente que não Glória Estéril, e se não tiver cards em sua mão, você vencerá o jogo.]]></LOCALISED_TEXT>
   <TRIGGER value="BEGINNING_OF_PLAYERS_STEP" simple_qualifier="controller">
      return MTG():GetStep() == STEP_UPKEEP
    </TRIGGER>
   <INTERVENING_IF>
      local filter = ClearFilter()
      local subfilter = filter:AddSubFilter_Or()
         subfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_ARTIFACT )
         subfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
         subfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_ENCHANTMENT )
         subfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_LAND )
         subfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_PLANESWALKER )
        filter:Add( FE_CARD_INSTANCE, OP_NOT, EffectSource() )
        filter:Add( FE_CONTROLLER, OP_IS, EffectController())
      local other_permanents = filter:Count()
      local hand_size = EffectController():Hand_Count()
      if other_permanents == 0 and hand_size == 0 and EffectSource ~= nil then
         return true
      else
         return false
      end
    </INTERVENING_IF>
   <RESOLUTION_TIME_ACTION>
      EffectController():WinGame()
    </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
</CARD_V2>
Beacon of Immortality | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="BEACON_OF_IMMORTALITY_867130553" />
  <CARDNAME text="BEACON_OF_IMMORTALITY" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Beacon of Immortality]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Flambeau de l’Immortalité]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Faro de inmortalidad]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Leitstern der Unsterblichkeit]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Faro dell’Immortalità]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[不死の標]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Beacon of Immortality]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Маяк Бессмертия]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Guia da Imortalidade]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="867130553" />
  <ARTID value="867130553" />
  <ARTIST name="Rob Alexander" />
  <CASTING_COST cost="{5}{W}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[The cave floods with light. A thousand rays shine forth and meld into one.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[La caverne est baignée de lumière.  Mille rayons convergent pour n’en plus former qu’un.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[La cueva está inundada de luz. Miles de rayos brillan de ella y se funden en uno.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Die Höhle füllt sich mit Licht. Tausend Strahlen leuchten hinein und verschmelzen miteinander.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[La caverna è inondata di luce. Migliaia di raggi balenano nel buio e si fondono in un unico sprazzo.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[洞穴は光に満ちている。 幾千もの光が注ぎだし、そして一つにと溶け合うのだ。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[The cave floods with light. A thousand rays shine forth and meld into one.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Свет наполняет пещеру. Тысяча лучей, вспыхивая, сливается в один.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[A caverna se inunda de luz. Milhares de raios reluzem e se combinam em um.]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Instant" />
  <EXPANSION value="10E" />
  <RARITY metaname="R" />
  <SPELL_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Double target player’s life total. Shuffle Beacon of Immortality into its owner’s library.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Doublez le total de points de vie du joueur ciblé.  Mélangez le Flambeau de l’Immortalité dans la bibliothèque de son propriétaire.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Duplica el total de vidas del jugador objetivo. Baraja el Faro de inmortalidad en la biblioteca de su propietario.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Verdopple die Lebenspunkte eines Spielers deiner Wahl. Mische den Leitstern der Unsterblichkeit in die Bibliothek seines Besitzers.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Raddoppia i punti vita di un giocatore bersaglio. Rimescola il Faro dell’Immortalità nel grimorio del suo proprietario.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[プレイヤー1人を対象とし、そのプレイヤーのライフの総量を2倍にする。 不死の標をオーナーのライブラリーに加えて切り直す。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Double target player’s life total. Shuffle Beacon of Immortality into its owner’s library.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Удвойте количество жизни целевого игрока. Втасуйте Маяк Бессмертия в библиотеку его владельца.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Duplique o total de pontos de vida do jogador alvo. Embaralhe Guia da Imortalidade no grimório de seu dono.]]></LOCALISED_TEXT>
   <SFX text="CASTER_BUFF_PLAY" />
   <TARGET_DEFINITION id="0">
      local filter = ClearFilter()
      filter:SetFilterType( FILTER_TYPE_PLAYERS )
    </TARGET_DEFINITION>
   <TARGET tag="CARD_QUERY_CHOOSE_PLAYER_FOR_LIFE_TO_DOUBLE" definition="0" compartment="0" count="1" />
   <RESOLUTION_TIME_ACTION>
    local player = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
    if player ~= nil then
       local life = player:GetLifeTotal()
       player:SetLifeTotal( life*2)
    end
    </RESOLUTION_TIME_ACTION>
   <RESOLUTION_TIME_ACTION>
      if EffectSource() ~= nil then
         EffectSource():PutOnTopOfLibrary()
         EffectController():ShuffleLibrary()
      end
    </RESOLUTION_TIME_ACTION>
   <AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_ALLIED" />
  </SPELL_ABILITY>
  <AI_AVAILABILITY type="in_response" response_source="1" />
  <AI_AVAILABILITY window_step="declare_blockers" type="window" />
  <AI_AVAILABILITY window_step="end_of_turn" window_turn="their_turn" type="window" />
  <AI_AVAILABILITY type="in_response" response_source="1" />
  <AI_BASE_SCORE score="600" zone="ZONE_HAND" />
</CARD_V2>
You could try to use this just to test it:

Apocalypse | Open
Image
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="APOCALYPSE_4802" />
  <CARDNAME text="APOCALYPSE" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Apocalypse]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Apocalypse]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Apocalypse]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Apocalypse]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Apocalypse]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Apocalypse]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Apocalypse]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Apocalypse]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Apocalypse]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="4802" />
  <ARTID value="4802" />
  <ARTIST name="L. A. Williams" />
  <CASTING_COST cost="{2}{R}{R}{R}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“There is a future in which I can see only mist and a single shadow.”
Oracle en-Vec]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[“There is a future in which I can see only mist and a single shadow.”
Oracle en-Vec]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“There is a future in which I can see only mist and a single shadow.”
Oracle en-Vec]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[“There is a future in which I can see only mist and a single shadow.”
Oracle en-Vec]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“There is a future in which I can see only mist and a single shadow.”
Oracle en-Vec]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[“There is a future in which I can see only mist and a single shadow.”
Oracle en-Vec]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“There is a future in which I can see only mist and a single shadow.”
Oracle en-Vec]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[“There is a future in which I can see only mist and a single shadow.”
Oracle en-Vec]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“There is a future in which I can see only mist and a single shadow.”
Oracle en-Vec]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Sorcery" />
  <EXPANSION value="TE" />
  <RARITY metaname="R" />
  <SPELL_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Exile all permanents. You discard your hand.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Exile all permanents. You discard your hand.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Exile all permanents. You discard your hand.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Exile all permanents. You discard your hand.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Esilia tutti i permanenti. Scarta la tua mano.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Exile all permanents. You discard your hand.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Exile all permanents. You discard your hand.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Exile all permanents. You discard your hand.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Exile all permanents. You discard your hand.]]></LOCALISED_TEXT>
    <SFX text="GLOBAL_JUDGEMENT_PLAY" />
    <SFX text="GLOBAL_LAVA_PLAY" />
    <FILTER filter_id="0">
      local filter = ClearFilter()
      filter:Add( FE_IS_PERMANENT, true )
    </FILTER>
    <RESOLUTION_TIME_ACTION filter_id="0">
      local perm = FilteredCard()
      if perm ~= nil then
        perm:Exile()
      end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
      if EffectController() ~= nil then
        EffectController():DiscardHand()
      end
    </RESOLUTION_TIME_ACTION>
  </SPELL_ABILITY>
</CARD_V2>
Use Oblivion Ring to Exile Barren Glory first then drop Apocalypse, then just survive one turn without losing your enchantment.
"There's an experience worse than blindness - it's the certainty that your vision is perfect and the horror that there's no world around you to see."
User avatar
BloodReyvyn
 
Posts: 421
Joined: 19 May 2013, 13:29
Has thanked: 53 times
Been thanked: 40 times

Re: Formal Request Thread

Postby Parabolic » 23 Aug 2013, 14:45

I don't have a specific card, but I'm not sure where else to ask this: How do some of you cut down on the size of your .tdx files?

For example, I'm looking through thefiremind's mod, and the .tdx files are mostly 126KB. Same deal with sumomole's mod. And the art of both look great in game.

Then I look at my own art I've converted to .tdx and the average is around 1,500KB, with the highest being 2,624KB.

I've tried using a .png file compressor and then converting to .tdx and that had no effect.
Parabolic
 
Posts: 74
Joined: 12 Jul 2013, 19:22
Has thanked: 10 times
Been thanked: 10 times

Re: Formal Request Thread

Postby mr friendly guy » 23 Aug 2013, 15:06

thefiremind wrote:Phasing is much more complicated than "flickering", this and you'll know why. It's not something a modder can code with the available functions.
About the other card, DotP games have no way to counter, copy or change costs of abilities.
Thanks for letting me know. I was actually looking for a card which will exile lands and then return them, just like how a lot of cards exile other permanents and then return them at end of turn. Basically I wanted to create a mill deck utilising Hedron Crab, and pair that deck with another milling deck in two headed giant play.
mr friendly guy
 
Posts: 85
Joined: 23 Aug 2013, 12:03
Has thanked: 2 times
Been thanked: 1 time

Re: Formal Request Thread

Postby thefiremind » 23 Aug 2013, 15:34

Parabolic wrote:How do some of you cut down on the size of your .tdx files?
By using RiiakShiNal's version of Gibbed Tools and by sticking to DotP standard size which is 512x376 (356x512 for tokens).
< 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

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 11 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 11 users online :: 0 registered, 0 hidden and 11 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 11 guests

Login Form