Advertisement
splinterverse

Untitled

Oct 5th, 2016
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.36 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <CARD_V2 ExportVersion="1">
  3.     <FILENAME text="TRIASSIC_EGG_CW_202469" />
  4.     <CARDNAME text="TRIASSIC_EGG" />
  5.     <TITLE>
  6.         <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Triassic Egg]]></LOCALISED_TEXT>
  7.         <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Triassic Egg]]></LOCALISED_TEXT>
  8.         <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Triassic Egg]]></LOCALISED_TEXT>
  9.         <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Triassic Egg]]></LOCALISED_TEXT>
  10.         <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Triassic Egg]]></LOCALISED_TEXT>
  11.         <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Triassic Egg]]></LOCALISED_TEXT>
  12.         <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Triassic Egg]]></LOCALISED_TEXT>
  13.         <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Triassic Egg]]></LOCALISED_TEXT>
  14.         <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Triassic Egg]]></LOCALISED_TEXT>
  15.         <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[Triassic Egg]]></LOCALISED_TEXT>
  16.         <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Triassic Egg]]></LOCALISED_TEXT>
  17.     </TITLE>
  18.     <MULTIVERSEID value="202469" />
  19.     <ARTID value="TRIASSIC_EGG" />
  20.     <ARTIST name="Dan Frazier" />
  21.     <CASTING_COST cost="{4}" />
  22.     <TYPE metaname="Artifact" />
  23.     <EXPANSION value="ME4" />
  24.     <RARITY metaname="R" />
  25.     <ACTIVATED_ABILITY>
  26.         <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{3}, {T}: Put a hatchling counter on Triassic Egg.]]></LOCALISED_TEXT>
  27.         <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{3}, {T}: Put a hatchling counter on Triassic Egg.]]></LOCALISED_TEXT>
  28.         <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{3}, {T}: Put a hatchling counter on Triassic Egg.]]></LOCALISED_TEXT>
  29.         <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{3}, {T}: Put a hatchling counter on Triassic Egg.]]></LOCALISED_TEXT>
  30.         <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{3}, {T}: Put a hatchling counter on Triassic Egg.]]></LOCALISED_TEXT>
  31.         <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{3}, {T}: Put a hatchling counter on Triassic Egg.]]></LOCALISED_TEXT>
  32.         <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{3}, {T}: Put a hatchling counter on Triassic Egg.]]></LOCALISED_TEXT>
  33.         <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{3}, {T}: Put a hatchling counter on Triassic Egg.]]></LOCALISED_TEXT>
  34.         <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{3}, {T}: Put a hatchling counter on Triassic Egg.]]></LOCALISED_TEXT>
  35.         <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[{3}, {T}: Put a hatchling counter on Triassic Egg.]]></LOCALISED_TEXT>
  36.         <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[{3}, {T}: Put a hatchling counter on Triassic Egg.]]></LOCALISED_TEXT>
  37.         <COST mana_cost="{3}" type="Mana" />
  38.         <COST type="TapSelf" />
  39.         <COUNTER_REGISTRATION name="Hatchling" proliferate="11" />
  40.         <RESOLUTION_TIME_ACTION>
  41.             local oSource = EffectSource()
  42.             if oSource ~= nil then
  43.                 oSource:AddCounters(MTG():GetCountersType("Hatchling"), 1)
  44.             end
  45.         </RESOLUTION_TIME_ACTION>
  46.     </ACTIVATED_ABILITY>
  47.     <ACTIVATED_ABILITY active_zone="ZONE_BATTLEFIELD">
  48.         <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Sacrifice Triassic Egg: Choose one — You may put a creature card from your hand onto the battlefield; or return target creature card from your graveyard to the battlefield. Activate this ability only if two or more hatchling counters are on Triassic Egg.]]></LOCALISED_TEXT>
  49.         <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Sacrifice Triassic Egg: Choose one — You may put a creature card from your hand onto the battlefield; or return target creature card from your graveyard to the battlefield. Activate this ability only if two or more hatchling counters are on Triassic Egg.]]></LOCALISED_TEXT>
  50.         <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Sacrifice Triassic Egg: Choose one — You may put a creature card from your hand onto the battlefield; or return target creature card from your graveyard to the battlefield. Activate this ability only if two or more hatchling counters are on Triassic Egg.]]></LOCALISED_TEXT>
  51.         <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Sacrifice Triassic Egg: Choose one — You may put a creature card from your hand onto the battlefield; or return target creature card from your graveyard to the battlefield. Activate this ability only if two or more hatchling counters are on Triassic Egg.]]></LOCALISED_TEXT>
  52.         <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Sacrifice Triassic Egg: Choose one — You may put a creature card from your hand onto the battlefield; or return target creature card from your graveyard to the battlefield. Activate this ability only if two or more hatchling counters are on Triassic Egg.]]></LOCALISED_TEXT>
  53.         <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Sacrifice Triassic Egg: Choose one — You may put a creature card from your hand onto the battlefield; or return target creature card from your graveyard to the battlefield. Activate this ability only if two or more hatchling counters are on Triassic Egg.]]></LOCALISED_TEXT>
  54.         <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Sacrifice Triassic Egg: Choose one — You may put a creature card from your hand onto the battlefield; or return target creature card from your graveyard to the battlefield. Activate this ability only if two or more hatchling counters are on Triassic Egg.]]></LOCALISED_TEXT>
  55.         <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Sacrifice Triassic Egg: Choose one — You may put a creature card from your hand onto the battlefield; or return target creature card from your graveyard to the battlefield. Activate this ability only if two or more hatchling counters are on Triassic Egg.]]></LOCALISED_TEXT>
  56.         <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Sacrifice Triassic Egg: Choose one — You may put a creature card from your hand onto the battlefield; or return target creature card from your graveyard to the battlefield. Activate this ability only if two or more hatchling counters are on Triassic Egg.]]></LOCALISED_TEXT>
  57.         <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[Sacrifice Triassic Egg: Choose one — You may put a creature card from your hand onto the battlefield; or return target creature card from your graveyard to the battlefield. Activate this ability only if two or more hatchling counters are on Triassic Egg.]]></LOCALISED_TEXT>
  58.         <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Sacrifice Triassic Egg: Choose one — You may put a creature card from your hand onto the battlefield; or return target creature card from your graveyard to the battlefield. Activate this ability only if two or more hatchling counters are on Triassic Egg.]]></LOCALISED_TEXT>
  59.         <COST type="SacrificeSelf" />
  60.         <AVAILABILITY>
  61.             return EffectSource():CountCounters( MTG():GetCountersType("Hatchling") ) &gt; 1
  62.         </AVAILABILITY>
  63.         <RESOLUTION_TIME_ACTION>
  64.             if EffectController() ~= nil then  
  65.                 EffectController():BeginNewMultipleChoice()
  66.                     EffectController():AddMultipleChoiceAnswer( "CARD_QUERY__PLAY_CREATURE_FROM_HAND" )
  67.                     EffectController():AddMultipleChoiceAnswer( "CARD_QUERY__RETURN_CREATURE_FROM_GRAVEYARD" )
  68.                 EffectController():AskMultipleChoiceQuestion( "CARD_QUERY_TRIASSIC_EGG" )
  69.             end
  70.         </RESOLUTION_TIME_ACTION>
  71.         <RESOLUTION_TIME_ACTION>
  72.             local effectController = EffectController()
  73.             if effectController ~= nil and effectController:GetMultipleChoiceResult() == 1 then
  74.                 local filter = ClearFilter()
  75.                 filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
  76.                 filter:SetZone( ZONE_GRAVEYARD, effectController )
  77.                 effectController:SetItemCount( 1 )
  78.                 for i = 0, (1-1) do
  79.                     effectController:SetItemPrompt(i, "CARD_QUERY_CHOOSE_CREATURE" )
  80.                 end
  81.                 effectController:ChooseItems( EffectDC():Make_Targets(0), QUERY_FLAG_MAY )             
  82.             elseif effectController ~= nil and effectController:GetMultipleChoiceResult() == 0 then
  83.                 local filter = ClearFilter()
  84.                 filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
  85.                 filter:SetZone( ZONE_HAND, effectController )
  86.                 effectController:SetItemCount( 1 )
  87.                 for i = 0, (1-1) do
  88.                     effectController:SetItemPrompt(i, "CARD_QUERY_CHOOSE_CREATURE" )
  89.                 end
  90.                 effectController:ChooseItems( EffectDC():Make_Targets(0), QUERY_FLAG_MAY )
  91.             end
  92.         </RESOLUTION_TIME_ACTION>
  93.         <RESOLUTION_TIME_ACTION>
  94.             local card = EffectDC():Get_Targets(0):Get_CardPtr(0)
  95.             if card ~= nil then
  96.                 card:PutOntoBattlefield( EffectController() )
  97.             end
  98.         </RESOLUTION_TIME_ACTION>
  99.     </ACTIVATED_ABILITY>
  100.     <AUTHOR><![CDATA[Splinterverse]]></AUTHOR>
  101.     <EDITORS><![CDATA[Splinterverse]]></EDITORS>
  102.     <DATE><![CDATA[29-09-16]]></DATE>
  103. </CARD_V2>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement