Advertisement
Guest User

Untitled

a guest
Nov 18th, 2016
524
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 11.95 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <CARD_V2 ExportVersion="1">
  3.     <FILENAME text="FRANKENSTEINS_MONSTER_CW_1734" />
  4.     <CARDNAME text="FRANKENSTEINS_MONSTER" />
  5.     <TITLE>
  6.         <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Frankenstein’s Monster]]></LOCALISED_TEXT>
  7.         <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Frankenstein’s Monster]]></LOCALISED_TEXT>
  8.         <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Frankenstein’s Monster]]></LOCALISED_TEXT>
  9.         <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Frankenstein’s Monster]]></LOCALISED_TEXT>
  10.         <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Frankenstein’s Monster]]></LOCALISED_TEXT>
  11.         <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Frankenstein’s Monster]]></LOCALISED_TEXT>
  12.         <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Frankenstein’s Monster]]></LOCALISED_TEXT>
  13.         <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Frankenstein’s Monster]]></LOCALISED_TEXT>
  14.         <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Frankenstein’s Monster]]></LOCALISED_TEXT>
  15.         <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[Frankenstein’s Monster]]></LOCALISED_TEXT>
  16.         <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Frankenstein’s Monster]]></LOCALISED_TEXT>
  17.     </TITLE>
  18.     <MULTIVERSEID value="1734" />
  19.     <ARTID value="FRANKENSTEINS_MONSTER" />
  20.     <ARTIST name="Anson Maddocks" />
  21.     <CASTING_COST cost="{X}{B}{B}" />
  22.     <TYPE metaname="Creature" />
  23.     <SUB_TYPE metaname="Zombie" />
  24.     <EXPANSION value="DK" />
  25.     <RARITY metaname="R" />
  26.     <POWER value="0" />
  27.     <TOUGHNESS value="1" />
  28.     <TRIGGERED_ABILITY>
  29.         <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[As Frankenstein’s Monster enters the battlefield, exile X creature cards from your graveyard. If you can’t, put Frankenstein’s Monster into its owner’s graveyard instead of onto the battlefield. For each creature card exiled this way, Frankenstein’s Monster enters the battlefield with a +2/+0, +1/+1, or +0/+2 counter on it.]]></LOCALISED_TEXT>
  30.         <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[As Frankenstein’s Monster enters the battlefield, exile X creature cards from your graveyard. If you can’t, put Frankenstein’s Monster into its owner’s graveyard instead of onto the battlefield. For each creature card exiled this way, Frankenstein’s Monster enters the battlefield with a +2/+0, +1/+1, or +0/+2 counter on it.]]></LOCALISED_TEXT>
  31.         <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[As Frankenstein’s Monster enters the battlefield, exile X creature cards from your graveyard. If you can’t, put Frankenstein’s Monster into its owner’s graveyard instead of onto the battlefield. For each creature card exiled this way, Frankenstein’s Monster enters the battlefield with a +2/+0, +1/+1, or +0/+2 counter on it.]]></LOCALISED_TEXT>
  32.         <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[As Frankenstein’s Monster enters the battlefield, exile X creature cards from your graveyard. If you can’t, put Frankenstein’s Monster into its owner’s graveyard instead of onto the battlefield. For each creature card exiled this way, Frankenstein’s Monster enters the battlefield with a +2/+0, +1/+1, or +0/+2 counter on it.]]></LOCALISED_TEXT>
  33.         <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[As Frankenstein’s Monster enters the battlefield, exile X creature cards from your graveyard. If you can’t, put Frankenstein’s Monster into its owner’s graveyard instead of onto the battlefield. For each creature card exiled this way, Frankenstein’s Monster enters the battlefield with a +2/+0, +1/+1, or +0/+2 counter on it.]]></LOCALISED_TEXT>
  34.         <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[As Frankenstein’s Monster enters the battlefield, exile X creature cards from your graveyard. If you can’t, put Frankenstein’s Monster into its owner’s graveyard instead of onto the battlefield. For each creature card exiled this way, Frankenstein’s Monster enters the battlefield with a +2/+0, +1/+1, or +0/+2 counter on it.]]></LOCALISED_TEXT>
  35.         <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[As Frankenstein’s Monster enters the battlefield, exile X creature cards from your graveyard. If you can’t, put Frankenstein’s Monster into its owner’s graveyard instead of onto the battlefield. For each creature card exiled this way, Frankenstein’s Monster enters the battlefield with a +2/+0, +1/+1, or +0/+2 counter on it.]]></LOCALISED_TEXT>
  36.         <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[As Frankenstein’s Monster enters the battlefield, exile X creature cards from your graveyard. If you can’t, put Frankenstein’s Monster into its owner’s graveyard instead of onto the battlefield. For each creature card exiled this way, Frankenstein’s Monster enters the battlefield with a +2/+0, +1/+1, or +0/+2 counter on it.]]></LOCALISED_TEXT>
  37.         <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[As Frankenstein’s Monster enters the battlefield, exile X creature cards from your graveyard. If you can’t, put Frankenstein’s Monster into its owner’s graveyard instead of onto the battlefield. For each creature card exiled this way, Frankenstein’s Monster enters the battlefield with a +2/+0, +1/+1, or +0/+2 counter on it.]]></LOCALISED_TEXT>
  38.         <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[As Frankenstein’s Monster enters the battlefield, exile X creature cards from your graveyard. If you can’t, put Frankenstein’s Monster into its owner’s graveyard instead of onto the battlefield. For each creature card exiled this way, Frankenstein’s Monster enters the battlefield with a +2/+0, +1/+1, or +0/+2 counter on it.]]></LOCALISED_TEXT>
  39.         <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[As Frankenstein’s Monster enters the battlefield, exile X creature cards from your graveyard. If you can’t, put Frankenstein’s Monster into its owner’s graveyard instead of onto the battlefield. For each creature card exiled this way, Frankenstein’s Monster enters the battlefield with a +2/+0, +1/+1, or +0/+2 counter on it.]]></LOCALISED_TEXT>
  40.         <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" from_zone="ZONE_ANY" />
  41.         <RESOLUTION_TIME_ACTION>
  42.             local x_amount = GetPaidX()
  43.             if x_amount ~= 0 then
  44.                 EffectDC():Set_Int(88, x_amount)
  45.             else
  46.                 EffectDC():Set_Int(88, 0)
  47.             end
  48.             local graveyardDC = EffectDC():Make_Chest(1)
  49.             if EffectController() ~= nil then
  50.                 local filter = ClearFilter()
  51.                 filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
  52.                 filter:SetZone( ZONE_GRAVEYARD, EffectController() )
  53.                 local count = filter:Count()
  54.                 if count == 0 or count &lt; x_amount then
  55.                     EffectSource():PutInGraveyard()
  56.                 else
  57.                     local filter = ClearFilter()
  58.                     filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
  59.                     filter:SetZone( ZONE_GRAVEYARD, EffectController() )
  60.                     count = filter:EvaluateObjects()
  61.                     for i = 0, (count-1) do
  62.                         local card = filter:GetNthEvaluatedObject(i)
  63.                         graveyardDC:Set_CardPtr(i, card)
  64.                     end
  65.                 end
  66.             end
  67.         </RESOLUTION_TIME_ACTION>
  68.         <RESOLUTION_TIME_ACTION>
  69.             local graveyardDC = EffectDC():Get_Chest(1)
  70.             local creaturesDC = EffectDC():Make_Chest(2)
  71.             local x_amount = GetEffectX()
  72.             if x_amount == 0 or x_amount == nil then
  73.                 Debug("It's empty.")
  74.             end
  75.             if EffectController() ~= nil and EffectSource() ~= nil and graveyardDC ~= nil then
  76.                 EffectController():SetItemCount(x_amount)
  77.                 for i = 0, (x_amount - 1) do
  78.                     EffectController():SetItemPrompt(i, "SPL_CARD_QUERY_CHOOSE_CREATURE_TO_EXILE" )
  79.                 end
  80.                 EffectController():ChooseItemsFromDC( graveyardDC, creaturesDC )
  81.             end
  82.         </RESOLUTION_TIME_ACTION>
  83.         <RESOLUTION_TIME_ACTION>
  84.             local creaturesDC = EffectDC():Get_Chest(2)
  85.             local player = EffectController()
  86.             if creaturesDC ~= nil then
  87.                 local count = creaturesDC:Count()
  88.                 if count &gt; 0 then
  89.                     player:SetItemCount(count)
  90.                     for i=0,count-1 do
  91.                         player:SetItemPrompt(i, "SPL_CARD_QUERY_CHOOSE_CREATURE_TO_EXILE_FOR_PLUS2_ZERO_COUNTER")
  92.                     end
  93.                     player:ChooseItemsFromDC( creaturesDC, EffectDC():Make_Targets(2), QUERY_FLAG_UP_TO )
  94.                 end
  95.             end
  96.         </RESOLUTION_TIME_ACTION>
  97.         <RESOLUTION_TIME_ACTION>
  98.             local targets = EffectDC():Get_Targets(2)
  99.             if targets ~= nil then
  100.                 local count = targets:Count()
  101.                 local counter_count = 0
  102.                 if count &gt; 0 then
  103.                     for i=0,count-1 do
  104.                         local card = targets:Get_CardPtr(i)
  105.                         card:Exile()
  106.                         counter_count = counter_count + 1
  107.                     end
  108.                 end
  109.                 if counter_count ~= nil then
  110.                     local total = counter_count * 2 <!-- we have to multiply because we don't have counters specifically for +2/+0 -->
  111.                     EffectSource():AddCounters( MTG():PlusOnePlusZeroCounters(), total)
  112.                 end
  113.             end    
  114.         </RESOLUTION_TIME_ACTION>
  115.         <RESOLUTION_TIME_ACTION>
  116.             local creaturesDC = EffectDC():Get_Chest(2)
  117.             local player = EffectController()
  118.             if EffectSource() ~= nil then
  119.                 local filter = ClearFilter()
  120.                 filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
  121.                 filter:SetZone( ZONE_GRAVEYARD, EffectController() )
  122.                 count = filter:EvaluateObjects()
  123.                 player:SetItemCount( count )
  124.                 for i = 0, (count-1) do
  125.                     local card = filter:GetNthEvaluatedObject(i)
  126.                     EffectDC():Get_Chest(3):Set_CardPtr(i, card)
  127.                 end
  128.                 count = creaturesDC:Count()
  129.                 if count &gt; 0 then
  130.                     player:SetItemCount(count)
  131.                     for i=0,count-1 do
  132.                         player:SetItemPrompt(i, "SPL_CARD_QUERY_CHOOSE_CREATURE_TO_EXILE_FOR_PLUS1_PLUS1_COUNTER")
  133.                     end
  134.                     player:ChooseItemsFromDC( creaturesDC, EffectDC():Make_Targets(4), QUERY_FLAG_UP_TO )
  135.                 end
  136.             end
  137.         </RESOLUTION_TIME_ACTION>
  138.         <RESOLUTION_TIME_ACTION>
  139.             local targets = EffectDC():Get_Targets(4)
  140.             if targets ~= nil then
  141.                 local count = targets:Count()
  142.                 local counter_count = 0
  143.                 if count &gt; 0 then
  144.                     for i=0,count-1 do
  145.                         local card = targets:Get_CardPtr(i)
  146.                         card:Exile()
  147.                         counter_count = counter_count + 1
  148.                     end
  149.                 end
  150.                 if counter_count ~= nil then
  151.                     EffectSource():AddCounters( MTG():PlusOnePlusOneCounters(), counter_count)
  152.                 end
  153.             end    
  154.         </RESOLUTION_TIME_ACTION>
  155.         <RESOLUTION_TIME_ACTION>
  156.             local creaturesDC = EffectDC():Get_Chest(2)
  157.             local player = EffectController()
  158.             if EffectSource() ~= nil then
  159.                 local filter = ClearFilter()
  160.                 filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
  161.                 filter:SetZone( ZONE_GRAVEYARD, EffectController() )
  162.                 count = filter:EvaluateObjects()
  163.                 player:SetItemCount( count )
  164.                 for i = 0, (count-1) do
  165.                     local card = filter:GetNthEvaluatedObject(i)
  166.                     EffectDC():Get_Chest(5):Set_CardPtr(i, card)
  167.                 end
  168.                 count = creaturesDC:Count()
  169.                 if count &gt; 0 then
  170.                     player:SetItemCount(count)
  171.                     for i=0,count-1 do
  172.                         player:SetItemPrompt(i, "SPL_CARD_QUERY_CHOOSE_CREATURE_TO_EXILE_FOR_ZERO_PLUS2_COUNTER")
  173.                     end
  174.                     player:ChooseItemsFromDC( creaturesDC, EffectDC():Make_Targets(6), QUERY_FLAG_UP_TO )
  175.                 end
  176.             end
  177.         </RESOLUTION_TIME_ACTION>
  178.         <RESOLUTION_TIME_ACTION>
  179.             local targets = EffectDC():Get_Targets(6)
  180.             if targets ~= nil then
  181.                 local count = targets:Count()
  182.                 local counter_count = 0
  183.                 if count &gt; 0 then
  184.                     for i=0,count-1 do
  185.                         local card = targets:Get_CardPtr(i)
  186.                         card:Exile()
  187.                         counter_count = counter_count + 1
  188.                     end
  189.                 end
  190.                 if counter_count ~= nil then
  191.                     local total = counter_count * 2 <!-- we have to multiply because we don't have counters specifically for +2/+0 -->
  192.                     EffectSource():AddCounters( MTG():PlusZeroPlusOneCounters(), total)
  193.                 end
  194.             end    
  195.         </RESOLUTION_TIME_ACTION>
  196.     </TRIGGERED_ABILITY>
  197.     <SFX text="COMBAT_BLUNT_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
  198.     <SFX text="COMBAT_BLUNT_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
  199.     <!--RULINGS
  200.         10/4/2004 X can be any number and it does not have to match the total contents of your graveyard.
  201.         4/1/2008 A “creature card” is any card with the type creature, even if it has other types such as artifact, enchantment, or land. Older cards of type summon are also creature cards.-->
  202.     <AUTHOR><![CDATA[Splinterverse]]></AUTHOR>
  203.     <EDITORS><![CDATA[Splinterverse]]></EDITORS>
  204.     <DATE><![CDATA[14-11-16]]></DATE>
  205. </CARD_V2>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement