Guest User

Untitled

a guest
Nov 20th, 2016
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.59 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <CARD_V2 ExportVersion="1">
  3.     <FILENAME text="COFFIN_QUEEN_CW_397562" />
  4.     <CARDNAME text="COFFIN_QUEEN" />
  5.     <TITLE>
  6.         <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Coffin Queen]]></LOCALISED_TEXT>
  7.         <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Coffin Queen]]></LOCALISED_TEXT>
  8.         <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Coffin Queen]]></LOCALISED_TEXT>
  9.         <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Coffin Queen]]></LOCALISED_TEXT>
  10.         <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Coffin Queen]]></LOCALISED_TEXT>
  11.         <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Coffin Queen]]></LOCALISED_TEXT>
  12.         <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Coffin Queen]]></LOCALISED_TEXT>
  13.         <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Coffin Queen]]></LOCALISED_TEXT>
  14.         <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Coffin Queen]]></LOCALISED_TEXT>
  15.         <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[Coffin Queen]]></LOCALISED_TEXT>
  16.         <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Coffin Queen]]></LOCALISED_TEXT>
  17.     </TITLE>
  18.     <MULTIVERSEID value="397562" />
  19.     <ARTID value="COFFIN_QUEEN" />
  20.     <ARTIST name="Kaja Foglio" />
  21.     <CASTING_COST cost="{2}{B}" />
  22.     <TYPE metaname="Creature" />
  23.     <SUB_TYPE metaname="Zombie" />
  24.     <SUB_TYPE metaname="Wizard" />
  25.     <EXPANSION value="TPR" />
  26.     <RARITY metaname="R" />
  27.     <POWER value="1" />
  28.     <TOUGHNESS value="1" />
  29.     <TRIGGERED_ABILITY replacement_query="1" linked_ability_group="1">
  30.         <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[You may choose not to untap Coffin Queen during your untap step.]]></LOCALISED_TEXT>
  31.         <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[You may choose not to untap Coffin Queen during your untap step.]]></LOCALISED_TEXT>
  32.         <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[You may choose not to untap Coffin Queen during your untap step.]]></LOCALISED_TEXT>
  33.         <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[You may choose not to untap Coffin Queen during your untap step.]]></LOCALISED_TEXT>
  34.         <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[You may choose not to untap Coffin Queen during your untap step.]]></LOCALISED_TEXT>
  35.         <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[You may choose not to untap Coffin Queen during your untap step.]]></LOCALISED_TEXT>
  36.         <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[You may choose not to untap Coffin Queen during your untap step.]]></LOCALISED_TEXT>
  37.         <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[You may choose not to untap Coffin Queen during your untap step.]]></LOCALISED_TEXT>
  38.         <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[You may choose not to untap Coffin Queen during your untap step.]]></LOCALISED_TEXT>
  39.         <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[You may choose not to untap Coffin Queen during your untap step.]]></LOCALISED_TEXT>
  40.         <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[You may choose not to untap Coffin Queen during your untap step.]]></LOCALISED_TEXT>
  41.         <TRIGGER value="BECAME_UNTAPPED" simple_qualifier="self" pre_trigger="1">
  42.             if ( EffectController():MyTurn() ) and ( MTG():GetStep() == STEP_UNTAP ) and ( LinkedDC():Get_Int(2) ~= 1 ) then
  43.                 LinkedDC():Set_Int(2, 1)
  44.                 MTG():OverrideEvent()
  45.                 return true
  46.             end
  47.             return false
  48.         </TRIGGER>
  49.         <RESOLUTION_TIME_ACTION>
  50.             local card = EffectSource()
  51.             local player = EffectController()
  52.             if EffectSource() ~= nil and card ~= nil then
  53.                 player:BeginNewMultipleChoice()
  54.                    player:AddMultipleChoiceAnswer( "CW_CARD_QUERY_OPTION_KEEP_THIS_CARD_TAPPED" )
  55.                    player:AddMultipleChoiceAnswer( "CW_CARD_QUERY_OPTION_UNTAP_THIS_CARD" )
  56.                 player:AskMultipleChoiceQuestion( "CARD_QUERY_COFFIN_QUEEN", EffectSource() )
  57.             end
  58.         </RESOLUTION_TIME_ACTION>
  59.         <RESOLUTION_TIME_ACTION>
  60.             if EffectSource() ~= nil then
  61.                 local result = EffectController():GetMultipleChoiceResult()
  62.                 if result == 1 then
  63.                    EffectSource():Untap()
  64.                 end
  65.             end
  66.         </RESOLUTION_TIME_ACTION>
  67.         <RESOLUTION_TIME_ACTION>
  68.             if EffectSource() ~= nil then
  69.                 if EffectSource():IsTapped() then
  70.                    LinkedDC():Set_Int(2, 0)
  71.                 else
  72.                    LinkedDC():Clear()
  73.                 end
  74.             end
  75.         </RESOLUTION_TIME_ACTION>
  76.     </TRIGGERED_ABILITY>
  77.     <ACTIVATED_ABILITY>
  78.         <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{2}{B}, {T}: Put target creature card from a graveyard onto the battlefield under your control. When Coffin Queen becomes untapped or you lose control of Coffin Queen, exile that creature.]]></LOCALISED_TEXT>
  79.         <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{2}{B}, {T}: Put target creature card from a graveyard onto the battlefield under your control. When Coffin Queen becomes untapped or you lose control of Coffin Queen, exile that creature.]]></LOCALISED_TEXT>
  80.         <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{2}{B}, {T}: Put target creature card from a graveyard onto the battlefield under your control. When Coffin Queen becomes untapped or you lose control of Coffin Queen, exile that creature.]]></LOCALISED_TEXT>
  81.         <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{2}{B}, {T}: Put target creature card from a graveyard onto the battlefield under your control. When Coffin Queen becomes untapped or you lose control of Coffin Queen, exile that creature.]]></LOCALISED_TEXT>
  82.         <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{2}{B}, {T}: Put target creature card from a graveyard onto the battlefield under your control. When Coffin Queen becomes untapped or you lose control of Coffin Queen, exile that creature.]]></LOCALISED_TEXT>
  83.         <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{2}{B}, {T}: Put target creature card from a graveyard onto the battlefield under your control. When Coffin Queen becomes untapped or you lose control of Coffin Queen, exile that creature.]]></LOCALISED_TEXT>
  84.         <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{2}{B}, {T}: Put target creature card from a graveyard onto the battlefield under your control. When Coffin Queen becomes untapped or you lose control of Coffin Queen, exile that creature.]]></LOCALISED_TEXT>
  85.         <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{2}{B}, {T}: Put target creature card from a graveyard onto the battlefield under your control. When Coffin Queen becomes untapped or you lose control of Coffin Queen, exile that creature.]]></LOCALISED_TEXT>
  86.         <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{2}{B}, {T}: Put target creature card from a graveyard onto the battlefield under your control. When Coffin Queen becomes untapped or you lose control of Coffin Queen, exile that creature.]]></LOCALISED_TEXT>
  87.         <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[{2}{B}, {T}: Put target creature card from a graveyard onto the battlefield under your control. When Coffin Queen becomes untapped or you lose control of Coffin Queen, exile that creature.]]></LOCALISED_TEXT>
  88.         <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[{2}{B}, {T}: Put target creature card from a graveyard onto the battlefield under your control. When Coffin Queen becomes untapped or you lose control of Coffin Queen, exile that creature.]]></LOCALISED_TEXT>
  89.         <COST mana_cost="{2}{B}" type="Mana" />
  90.         <COST type="TapSelf" />
  91.         <TARGET tag="SPL_CARD_QUERY_CHOOSE_CREATURE_TO_PUT_ONTO_BATTLEFIELD" definition="0" compartment="0" count="1" />
  92.         <TARGET_DEFINITION id="0">
  93.             local filter = ClearFilter()
  94.             filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
  95.             filter:SetZone( ZONE_GRAVEYARD )
  96.         </TARGET_DEFINITION>
  97.         <RESOLUTION_TIME_ACTION>
  98.             local target_card = EffectDC():Get_Targets(0):Get_CardPtr(0)
  99.             local delayDC = EffectDC():Make_Chest(1)
  100.             if target_card ~= nil then
  101.                 delayDC:Set_CardPtr(0, target_card)
  102.                 delayDC:Set_CardPtr(1, EffectSource())
  103.                 delayDC:Protect_CardPtr(0)
  104.                 delayDC:Protect_CardPtr(1)
  105.                 MTG():CreateDelayedTrigger(5, delayDC)
  106.                 target_card:PutOntoBattlefield( EffectController() )
  107.             end
  108.         </RESOLUTION_TIME_ACTION>
  109.         <AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_NEUTRAL" />
  110.     </ACTIVATED_ABILITY>
  111.     <TRIGGERED_ABILITY resource_id="5">
  112.         <TRIGGER value="BECAME_UNTAPPED" >
  113.             return TriggerObject() == EffectDC():Get_CardPtr(1)
  114.         </TRIGGER>
  115.         <TRIGGER value="CONTROLLER_CHANGED" simple_qualifier="objectyoucontrol" >
  116.             return TriggerObject() == EffectSource() <!-- EffectDC():Get_CardPtr(1) -->
  117.         </TRIGGER>
  118.         <RESOLUTION_TIME_ACTION>
  119.             local creature = EffectDC():Get_CardPtr(0)
  120.             if creature ~= nil then
  121.                 creature:Exile()
  122.             end
  123.         </RESOLUTION_TIME_ACTION>
  124.         <CLEANUP fire_once="1" />
  125.     </TRIGGERED_ABILITY>
  126.     <SFX text="COMBAT_BLUNT_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
  127.     <SFX text="COMBAT_BLUNT_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
  128.     <AUTHOR><![CDATA[Splinterverse]]></AUTHOR>
  129.     <EDITORS><![CDATA[Splinterverse]]></EDITORS>
  130.     <DATE><![CDATA[20-11-16]]></DATE>
  131. </CARD_V2>
Advertisement
Add Comment
Please, Sign In to add comment