Guest User

Untitled

a guest
Nov 19th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.56 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <CARD_V2 ExportVersion="1">
  3.     <FILENAME text="CULLING_SCALES_CW_47445" />
  4.     <CARDNAME text="CULLING_SCALES" />
  5.     <TITLE>
  6.         <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Culling Scales]]></LOCALISED_TEXT>
  7.         <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Balance du sacrifice]]></LOCALISED_TEXT>
  8.         <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Balanza selectiva]]></LOCALISED_TEXT>
  9.         <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Waage des Aussortierens]]></LOCALISED_TEXT>
  10.         <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Bilancia della Selezione]]></LOCALISED_TEXT>
  11.         <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[選別の秤]]></LOCALISED_TEXT>
  12.         <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Culling Scales]]></LOCALISED_TEXT>
  13.         <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Culling Scales]]></LOCALISED_TEXT>
  14.         <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Balanças Seletoras]]></LOCALISED_TEXT>
  15.         <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[Culling Scales]]></LOCALISED_TEXT>
  16.         <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Culling Scales]]></LOCALISED_TEXT>
  17.     </TITLE>
  18.     <MULTIVERSEID value="47445" />
  19.     <ARTID value="CULLING_SCALES" />
  20.     <ARTIST name="Daren Bader" />
  21.     <CASTING_COST cost="{3}" />
  22.     <TYPE metaname="Artifact" />
  23.     <EXPANSION value="MRD" />
  24.     <RARITY metaname="R" />
  25.     <TRIGGERED_ABILITY>
  26.         <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[At the beginning of your upkeep, destroy target nonland permanent with the lowest converted mana cost.]]></LOCALISED_TEXT>
  27.         <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Au début de votre entretien, détruisez le permanent non-terrain ciblé ayant le coût converti de mana le plus faible parmi les permanents non-terrain en jeu.]]></LOCALISED_TEXT>
  28.         <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Al comienzo de tu mantenimiento, destruye el permanente objetivo que no sea tierra con el menor coste de maná convertido entre los permanentes en juego que no sean tierra.]]></LOCALISED_TEXT>
  29.         <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Zerstöre zu Beginn deines Versorgungssegments eine bleibende Karte deiner Wahl, die kein Land ist und unter den bleibenden Karten im Spiel, die keine Länder sind, die niedrigsten umgewandelten Manakosten hat.]]></LOCALISED_TEXT>
  30.         <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[All’inizio del tuo mantenimento, distruggi un permanente non terra bersaglio con il più basso costo di mana convertito tra i permanenti non terra in gioco.]]></LOCALISED_TEXT>
  31.         <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたのアップキープの開始時に、場に出ているすべての土地でないパーマネントの中で、点数でみたマナ・コストが最も小さい土地でないパーマネント1つを対象とし、それを破壊する。]]></LOCALISED_TEXT>
  32.         <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[At the beginning of your upkeep, destroy target nonland permanent with the lowest converted mana cost.]]></LOCALISED_TEXT>
  33.         <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[At the beginning of your upkeep, destroy target nonland permanent with the lowest converted mana cost.]]></LOCALISED_TEXT>
  34.         <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[No início de sua manutenção, destrói a permanente alvo que não seja um terreno com o menor custo de mana convertido dentre as permanentes em jogo que não forem terrenos.]]></LOCALISED_TEXT>
  35.         <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[At the beginning of your upkeep, destroy target nonland permanent with the lowest converted mana cost.]]></LOCALISED_TEXT>
  36.         <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[At the beginning of your upkeep, destroy target nonland permanent with the lowest converted mana cost.]]></LOCALISED_TEXT>
  37.         <TRIGGER value="BEGINNING_OF_PLAYERS_STEP" simple_qualifier="controller">
  38.             return MTG():GetStep() == STEP_UPKEEP
  39.         </TRIGGER>
  40.         <TARGET tag="SPL_CARD_QUERY_CHOOSE_PERMANENT_WITH_LOWEST_CMC" definition="0" compartment="0" count="1" />
  41.         <TARGET_DEFINITION id="0">
  42.             local filter = ClearFilter()
  43.             local subfilter = filter:AddSubFilter_Or()
  44.             subfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
  45.             subfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_ARTIFACT )
  46.             CW_Filter_AddEnchantments(subfilter)
  47.             CW_Filter_AddPlaneswalkers(subfilter)
  48.             filter:Add( FE_LUA_CONDITION, 1, EffectController(), EffectDC() )
  49.         </TARGET_DEFINITION>
  50.         <FILTER_CONDITION id="1">
  51.             local permanent = FilteredCard()
  52.             local lowest = 9999
  53.             local nufilter = ClearFilter()
  54.             nufilter:SetZone( ZONE_BATTLEFIELD )
  55.             local subfilter = nufilter:AddSubFilter_Or()
  56.             subfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
  57.             subfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_ARTIFACT )
  58.             CW_Filter_AddEnchantments(subfilter)
  59.             CW_Filter_AddPlaneswalkers(subfilter)
  60.             local numPermanents = nufilter:EvaluateObjects()
  61.             for i=0,(numPermanents-1) do
  62.                 local cmc = nufilter:GetNthEvaluatedObject(i):GetConvertedManaCost()
  63.                 if cmc &lt; lowest then
  64.                     lowest = cmc
  65.                 end
  66.             end
  67.             if permanent ~= nil then
  68.                 if permanent:GetConvertedManaCost() &lt;= lowest then
  69.                     return true
  70.                 else
  71.                     return false
  72.                 end
  73.             else
  74.                 return false
  75.             end
  76.         </FILTER_CONDITION>
  77.         <RESOLUTION_TIME_ACTION>
  78.             local target = EffectDC():Get_Targets(0) and EffectDC():Get_Targets(0):Get_CardPtr(0)
  79.             if target ~= nil then
  80.                 local lowest = 0
  81.                 local filter = ClearFilter()
  82.                 filter:SetZone( ZONE_BATTLEFIELD )
  83.                 CW_Filter_AddPermanents(filter)
  84.                 local numPermanents = filter:EvaluateObjects()
  85.                 for i=0,(numPermanents-1) do
  86.                     local cmc = filter:GetNthEvaluatedObject(i):GetConvertedManaCost()
  87.                     if cmc &lt; lowest then
  88.                         lowest = cmc
  89.                     end
  90.                 end
  91.                 if target:GetConvertedManaCost() &lt;= lowest then
  92.                     target:Destroy()
  93.                 end
  94.             end
  95.         </RESOLUTION_TIME_ACTION>
  96.         <AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_ENEMY" />
  97.     </TRIGGERED_ABILITY>
  98.     <!--RULINGS
  99.         12/1/2004 You choose the target. If there’s more than one nonland permanent tied for lowest converted mana cost, you choose which one to target.
  100.         12/1/2004 If the targeted permanent doesn’t have the lowest converted mana cost when the ability resolves, the ability is countered and the permanent isn’t destroyed.
  101.         12/1/2004 Most tokens have a converted mana cost of 0. A token that’s a copy of another permanent or card has a converted mana cost equal to that permanent or card’s converted mana cost.
  102.         12/1/2004 If the lowest converted mana cost is 3, Culling Scales can destroy itself.-->
  103.     <AUTHOR><![CDATA[Splinterverse]]></AUTHOR>
  104.     <EDITORS><![CDATA[Splinterverse]]></EDITORS>
  105.     <DATE><![CDATA[19-11-16]]></DATE>
  106. </CARD_V2>
Add Comment
Please, Sign In to add comment