Advertisement
Guest User

Untitled

a guest
Sep 16th, 2016
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.86 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <CARD_V2 ExportVersion="1">
  3.   <FILENAME text="ALLIANCE_OF_ARMS_CW_228218" />
  4.   <CARDNAME text="ALLIANCE_OF_ARMS" />
  5.   <TITLE>
  6.     <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Alliance of Arms]]></LOCALISED_TEXT>
  7.     <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Alliance des armes]]></LOCALISED_TEXT>
  8.     <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Alianza de armas]]></LOCALISED_TEXT>
  9.     <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Waffenbrüderschaft]]></LOCALISED_TEXT>
  10.     <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Alleanza delle Armi]]></LOCALISED_TEXT>
  11.     <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[戦いの同盟]]></LOCALISED_TEXT>
  12.     <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Alliance of Arms]]></LOCALISED_TEXT>
  13.     <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Alliance of Arms]]></LOCALISED_TEXT>
  14.     <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Alliance of Arms]]></LOCALISED_TEXT>
  15.     <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[Alliance of Arms]]></LOCALISED_TEXT>
  16.     <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Alliance of Arms]]></LOCALISED_TEXT>
  17.   </TITLE>
  18.   <MULTIVERSEID value="228218" />
  19.   <ARTID value="ALLIANCE_OF_ARMS" />
  20.   <ARTIST name="Johann Bodin" />
  21.   <CASTING_COST cost="{W}" />
  22.   <TYPE metaname="Sorcery" />
  23.   <EXPANSION value="CMD" />
  24.   <RARITY metaname="R" />
  25.   <SPELL_ABILITY>
  26.     <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Join forces — Starting with you, each player may pay any amount of mana. Each player puts X 1/1 white Soldier creature tokens onto the battlefield, where X is the total amount of mana paid this way.]]></LOCALISED_TEXT>
  27.     <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Union des forces — En commençant par vous, chaque joueur peut payer n’importe quelle quantité de mana. Chaque joueur met X jetons de créature 1/1 blanche Soldat sur le champ de bataille, X étant la quantité totale de mana payée de cette manière.]]></LOCALISED_TEXT>
  28.     <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Unir fuerzas — Comenzando contigo, cada jugador puede pagar cualquier cantidad de maná. Cada jugador pone en el campo de batalla X fichas de criatura Soldado blancas 1/1, donde X es el la cantidad total de maná pagado de esta manera.]]></LOCALISED_TEXT>
  29.     <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Zusammenarbeiten — Beginnend mit dir kann jeder Spieler eine beliebige Menge Mana bezahlen. Jeder Spieler bringt X 1/1 weiße Soldat-Kreaturenspielsteine ins Spiel, wobei X gleich der Gesamtmenge des auf diese Weise bezahlten Manas ist.]]></LOCALISED_TEXT>
  30.     <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Unire le forze — A partire da te, ogni giocatore può pagare un qualsiasi ammontare di mana. Ogni giocatore mette sul campo di battaglia X pedine creatura Soldato 1/1 bianche, dove X è l’ammontare totale di mana pagato in questo modo.]]></LOCALISED_TEXT>
  31.     <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[同調 ― あなたから始めて、各プレイヤーは好きな点数のマナを支払ってもよい。 各プレイヤーは白の1/1の兵士・クリーチャー・トークンをX体戦場に出す。Xはこれにより支払われたマナの点数の合計に等しい。]]></LOCALISED_TEXT>
  32.     <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Join forces — Starting with you, each player may pay any amount of mana. Each player puts X 1/1 white Soldier creature tokens onto the battlefield, where X is the total amount of mana paid this way.]]></LOCALISED_TEXT>
  33.     <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Join forces — Starting with you, each player may pay any amount of mana. Each player puts X 1/1 white Soldier creature tokens onto the battlefield, where X is the total amount of mana paid this way.]]></LOCALISED_TEXT>
  34.     <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Join forces — Starting with you, each player may pay any amount of mana. Each player puts X 1/1 white Soldier creature tokens onto the battlefield, where X is the total amount of mana paid this way.]]></LOCALISED_TEXT>
  35.     <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[Join forces — Starting with you, each player may pay any amount of mana. Each player puts X 1/1 white Soldier creature tokens onto the battlefield, where X is the total amount of mana paid this way.]]></LOCALISED_TEXT>
  36.     <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Join forces — Starting with you, each player may pay any amount of mana. Each player puts X 1/1 white Soldier creature tokens onto the battlefield, where X is the total amount of mana paid this way.]]></LOCALISED_TEXT>
  37.     <RESOLUTION_TIME_ACTION>
  38.         local player = EffectController()
  39.         local mana = player:GetTotalMana()
  40.         if mana &gt; 0 then
  41.             player:BeginNewNumericalChoice()
  42.             player:AddNumericalChoiceAnswer(mana)
  43.             player:AskNumericalChoiceQuestion("CARD_QUERY_MCR_CHOOSE_AMOUNT_0")
  44.         end
  45.     </RESOLUTION_TIME_ACTION>
  46.     <RESOLUTION_TIME_ACTION>
  47.         local player = EffectController()
  48.         local result = player:GetNumericalChoiceResult()
  49.         local mana_string = "{0}"
  50.         for i=1,result do
  51.             mana_string = "{1}"..mana_string
  52.         end
  53.         if player:CanPayManaCost(mana_string) then
  54.             player:PayManaCost(mana_string)
  55.             EffectDC():Set_Int( 10, result )
  56.         end
  57.     </RESOLUTION_TIME_ACTION>
  58.     <RESOLUTION_TIME_ACTION repeating="1">
  59.         local n = MTG():GetActionRepCount()
  60.         local parity = n%2
  61.         local index = n/2
  62.         local currentTotal = EffectDC():Get_Int(10)
  63.         if index &lt; MTG():GetNumberOfStartingPlayers() then
  64.             local player = MTG():GetNthStartingPlayer(index)
  65.             if player ~= nil and player ~= EffectController() then
  66.                 if parity == 0 then
  67.                     local mana = player:GetTotalMana()
  68.                     if mana &gt; 0 then
  69.                         player:BeginNewNumericalChoice()
  70.                         player:AddNumericalChoiceAnswer(mana)
  71.                         player:AskNumericalChoiceQuestion("CARD_QUERY_MCR_CHOOSE_AMOUNT_"..currentTotal)
  72.                     end
  73.                 else
  74.                     local result = player:GetNumericalChoiceResult()
  75.                     if result ~= nil then
  76.                         local mana_string = "{0}"
  77.                         for i=1,result do
  78.                             mana_string = "{1}"..mana_string
  79.                         end
  80.                         if player:CanPayManaCost(mana_string) then
  81.                             player:PayManaCost(mana_string)
  82.                             EffectDC():Set_Int( 10, result + currentTotal )
  83.                         end
  84.                     end
  85.                 end
  86.             end
  87.             return true
  88.         end
  89.         return false
  90.     </RESOLUTION_TIME_ACTION>
  91.     <RESOLUTION_TIME_ACTION>
  92.         local total = EffectDC():Get_Int(10)
  93.         if total ~= nil and total ~= 0 then
  94.             for i=0,MTG():GetNumberOfPlayers()-1 do
  95.                 local player = MTG():GetNthPlayer(i)
  96.                 for n = 0, total - 1 do
  97.                     MTG():PutTokensOntoBattlefield( "TOKEN_SOLDIER_C_1_1_W_CW_1", total, player)
  98.                 end
  99.             end
  100.         end
  101.     </RESOLUTION_TIME_ACTION>
  102.     <TOKEN_REGISTRATION reservation="1" type="TOKEN_SOLDIER_C_1_1_W_CW_1" />
  103.   </SPELL_ABILITY>
  104.   <AI_BASE_SCORE score="300" zone="ZONE_HAND" />
  105.   <AUTHOR><![CDATA[Splinterverse]]></AUTHOR>
  106.   <EDITORS><![CDATA[Splinterverse]]></EDITORS>
  107.   <DATE><![CDATA[16-09-16]]></DATE>
  108. </CARD_V2>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement