It is currently 15 Aug 2018, 01:52
   
Text Size

Card Creation Request Thread

User-made mods in DLC (Downloadable Content) form.
Get MTG cards here for your DotP that aren't available anywhere else!

Moderators: Xander9009, CCGHQ Admins

Re: Card Creation Request Thread

Postby killkong1211 » 24 Jul 2015, 16:50

Xander9009 wrote:If you capitalize the cards properly, it auto highlights them.

AEther Vial is in Sumomole's mod and in the CW.

| Open
Code: Select all
<?xml version="1.0"?>
<CARD_V2 ExportVersion="1">
   <FILENAME text="AETHER_VIAL_CW_48146" />
   <CARDNAME text="AETHER_VIAL" />
   <TITLE>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Æther Vial]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Fiole d'Æther]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Frasco de éter]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Ätherphiole]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Fiala Eterea]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[霊気の薬瓶]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Æther Vial]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Æther Vial]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Frasco do Éter]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[乙太精瓶]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[乙太精瓶]]></LOCALISED_TEXT>
   </TITLE>
   <MULTIVERSEID value="48146" />
   <ARTID value="CW48146" />
   <ARTIST name="Karl Kopinski" />
   <CASTING_COST cost="{1}" />
   <TYPE metaname="Artifact" />
   <EXPANSION value="DPI" />
   <RARITY metaname="R" />
   <TRIGGERED_ABILITY priority="-1">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[At the beginning of your upkeep, you may put a charge counter on Æther Vial.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Au début de votre entretien, vous pouvez mettre un marqueur « charge » sur la Fiole d'Æther.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Al comienzo de tu mantenimiento, puedes poner un contador de carga sobre el Frasco de éter.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Du kannst zu Beginn deines Versorgungssegments eine Ladungsmarke auf die Ätherphiole legen.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[All'inizio del tuo mantenimento, puoi mettere un segnalino carica sulla Fiala Eterea.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたのアップキープの開始時に、あなたは霊気の薬瓶の上に蓄積カウンターを1個置いてもよい。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[At the beginning of your upkeep, you may put a charge counter on Æther Vial.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[At the beginning of your upkeep, you may put a charge counter on Æther Vial.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[No início de sua manutenção, você pode colocar um marcador de carga em Frasco do Éter.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[在你的维持开始时,你可以在乙太精瓶上放置一个充电指示物。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[在你的維持開始時,你可以在乙太精瓶上放置一個充電指示物。]]></LOCALISED_TEXT>
      <COUNTER_REGISTRATION name="Charge" proliferate="11" />
      <TRIGGER value="BEGINNING_OF_PLAYERS_STEP" simple_qualifier="controller">
         return MTG():GetStep() == STEP_UPKEEP
      </TRIGGER>
      <MAY always_prompt="1" />
      <RESOLUTION_TIME_ACTION>
         if EffectSource() ~= nil then
            EffectSource():AddCounters( MTG():GetCountersType("Charge"), 1 )
         end
      </RESOLUTION_TIME_ACTION>
      <AUTO_SKIP no_effect_source="1" />
   </TRIGGERED_ABILITY>
   <ACTIVATED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{T}: You may put a creature card with converted mana cost equal to the number of charge counters on Æther Vial from your hand onto the battlefield.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{T} : Vous pouvez mettre en jeu, depuis votre main, une carte de créature dont le coût converti de mana est égal au nombre de marqueurs « charge » sur la Fiole d'Æther.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{T}: puedes poner en juego de tu mano una criatura con coste de maná convertido igual al número de contadores de carga sobre el Frasco de éter.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{T}: Du kannst eine Kreaturenkarte mit umgewandelten Manakosten in Höhe der Anzahl der Ladungsmarken auf der Ätherphiole aus deiner Hand ins Spiel bringen.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{T}: Puoi mettere in gioco dalla tua mano una carta creatura con costo di mana convertito pari al numero di segnalini carica presenti sulla Fiala Eterea.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{T}:あなたの手札から、霊気の薬瓶の上に置かれている蓄積カウンターと点数で見たマナ・コストが等しいクリーチャー・カードを1枚場に出してよい。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{T}: You may put a creature card with converted mana cost equal to the number of charge counters on Æther Vial from your hand onto the battlefield.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{T}: You may put a creature card with converted mana cost equal to the number of charge counters on Æther Vial from your hand onto the battlefield.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{T}: Você pode colocar em jogo, de sua mão, um card de criatura com custo de mana convertido igual ao número de marcadores de carga em Frasco do Éter.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[{T}:你可以将一张生物牌从你手上放进战场,其总法术力费用须与乙太精瓶上的充电指示物数量相同。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[{T}:你可以將一張生物牌從你手上放進戰場,其總魔法力費用須與乙太精瓶上的充電指示物數量相同。]]></LOCALISED_TEXT>
      <COST type="TapSelf" />
      <RESOLUTION_TIME_ACTION>
         local filter = ClearFilter()
         filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
         filter:SetZone( ZONE_HAND, EffectController() )
         filter:Add( FE_CMC, OP_EQUALS, EffectSourceLKI():CountCounters(MTG():GetCountersType("Charge")) )
         EffectController():ChooseItem( "CARD_QUERY_CHOOSE_CREATURE_TO_PUT_ONTO_BATTLEFIELD", EffectDC():Make_Targets(0), QUERY_FLAG_MAY )
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
         if target ~= nil then
            target:PutOntoBattlefield( EffectController() )
         end
      </RESOLUTION_TIME_ACTION>
      <AI_AVAILABILITY window_step="declare_blockers" type="window" />
      <AI_AVAILABILITY type="in_response" response_source="1" />
      <AI_AVAILABILITY window_step="end_of_turn" window_turn="their_turn" type="window" />
      <AI_AVAILABILITY window_step="declare_attackers" window_turn="their_turn" type="window" />
      <AI_AVAILABILITY window_step="main_2" window_turn="my_turn" type="window" />
      <AI_AVAILABILITY window_step="main_1" window_turn="my_turn" type="window" />
   </ACTIVATED_ABILITY>
   <AI_BASE_SCORE score="750" zone="ZONE_BATTLEFIELD" />
   <AUTHOR><![CDATA[sumomole]]></AUTHOR>
   <EDITORS><![CDATA[sumomole]]></EDITORS>
   <DATE><![CDATA[25-09-14]]></DATE>
</CARD_V2>
Awesome, I noticed it the firstfirst time I did it but wasn't sure how ot picked up card names. Good to know :P
Again much appreciated.
killkong1211
 
Posts: 38
Joined: 24 Jul 2015, 16:06
Has thanked: 0 time
Been thanked: 0 time

Re: Card Creation Request Thread

Postby NEMESiS » 22 Jun 2017, 00:05

Wow, been a year since someone posted here. :lol: Anyways, so I was again modding for 2012 (because I love archenemy) and was trying to make Prognostic Sphinx. I have 90% of the card working including the scry except for one single issue where i do not know how to give my creature hexproof. Here is my code:

| Open
Code: Select all
  <ACTIVATED_ABILITY simple_filter="Self" layer="6">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Discard a card: Prognostic Sphinx gains hexproof until end of turn. Tap it.]]></LOCALISED_TEXT>
    <COST type="DISCARD" number="1">
    <TARGET_DETERMINATION>
      local filter = Object():GetFilter()
      filter:Clear()
      filter:SetZone( ZONE_HAND )
      filter:SetPlayer( Object():GetPlayer() )
      return TargetBadF()
    </TARGET_DETERMINATION>
    <PLAYTIME>
      ChooseTarget( "CARD_QUERY_CHOOSE_CARD_TO_DISCARD" )
    </PLAYTIME></COST>
     <CONTINUOUS_ACTION>
       local characteristics = Object():GetCurrentCharacteristics()
       characteristics:Badge_Set( BADGE_HEXPROOF )
     </CONTINUOUS_ACTION>

    <TRIGGERED_ABILITY internal="1" pre_trigger="1">
     <TRIGGER value="CARD_CONSIDERED_FOR_TARGETTING" simple_qualifier="self">
       return ( SecondaryObject():GetPlayer():GetTeam() ~= Object():GetPlayer():GetTeam() )
     </TRIGGER>
    </TRIGGERED_ABILITY>

    <RESOLUTION_TIME_ACTION>
       Object():Tap()
    </RESOLUTION_TIME_ACTION>
    <DURATION>
       return (MTG():GetStep() == STEP_CLEANUP)
    </DURATION>
    <AI_BASE_SCORE score="150" zone="in_play" />
  </ACTIVATED_ABILITY>
Now the whole activate, select card, discard and give hexproof badge until the end of the turn works but aside from showing that it has the hexproof icon it will not grant it. The middle section below is how hexproof gets granted but I am not sure how to add that to the activated ability itself. Any pointers?
| Open
Code: Select all
    <TRIGGERED_ABILITY internal="1" pre_trigger="1">
     <TRIGGER value="CARD_CONSIDERED_FOR_TARGETTING" simple_qualifier="self">
       return ( SecondaryObject():GetPlayer():GetTeam() ~= Object():GetPlayer():GetTeam() )
     </TRIGGER>
    </TRIGGERED_ABILITY>
Unfortunately the "BADGE_HEXPROOF" only seems to grant the icon not the ability. Closest thing I can do is:
Code: Select all
       characteristics:Badge_Set( BADGE_HEXPROOF )
       characteristics:Bool_Set( CHARACTERISTIC_SHROUD, 1 )
That basically gives it shrould which is close but no cigar.
User avatar
NEMESiS
 
Posts: 455
Joined: 03 Jan 2013, 04:02
Location: Pools of Becoming
Has thanked: 68 times
Been thanked: 21 times

Re: Card Creation Request Thread

Postby Xander9009 » 22 Jun 2017, 05:33

Silhana Ledgewalker is in 2012, so this is the code for that card, how it was officially handled.

Code: Select all
  <TRIGGERED_ABILITY internal="1" pre_trigger="1">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Hexproof]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Défense talismanique]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Fluchsicher]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Antimaleficio.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Anti-malocchio]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[呪禁]]></LOCALISED_TEXT>
    <TRIGGER value="CARD_CONSIDERED_FOR_TARGETTING" simple_qualifier="self">
    return ( SecondaryObject():GetPlayer():GetTeam() ~= Object():GetPlayer():GetTeam() )
    </TRIGGER>
  </TRIGGERED_ABILITY>
  <STATIC_ABILITY>
    <CONTINUOUS_ACTION>
    Object():GetCurrentCharacteristics():Badge_Set( BADGE_HEXPROOF )
    </CONTINUOUS_ACTION>
  </STATIC_ABILITY>
It essentially just overrides any invalid targeting being done to it.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2818
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 101 times
Been thanked: 420 times

Re: Card Creation Request Thread

Postby Xander9009 » 25 Jun 2017, 06:17

Did you get your Prognostic Sphinx working?
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2818
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 101 times
Been thanked: 420 times

Re: Card Creation Request Thread

Postby NEMESiS » 26 Jun 2017, 13:16

Xander9009 wrote:Did you get your Prognostic Sphinx working?
No unfortunately, my coding skills are not very good,
I sort just "Frankenstein" things together. :lol: This one I couldn't do.
User avatar
NEMESiS
 
Posts: 455
Joined: 03 Jan 2013, 04:02
Location: Pools of Becoming
Has thanked: 68 times
Been thanked: 21 times

Previous

Return to New MTG Cards and Decks

Who is online

Users browsing this forum: No registered users and 2 guests


Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 2 guests

Login Form