Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2019
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 16.84 KB | None | 0 0
  1. <!-- ATTEMPT 1-->
  2.     <TRIGGERED_ABILITY>
  3.         <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  4.         <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Quand vous vous transplanez vers Le Maelstrom ou au début de votre entretien, vous pouvez révéler la carte du dessus de votre bibliothèque. Si c’est une carte de permanent, vous pouvez la mettre sur le champ de bataille. Sinon, mettez cette carte au-dessous de votre bibliothèque.]]></LOCALISED_TEXT>
  5.         <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cuando camines por los planos hacia El Remolino o al comienzo de tu mantenimiento, puedes mostrar la primera carta de tu biblioteca. Si es una carta de permanente, puedes ponerla en el campo de batalla. De lo contrario, pon esa carta en el fondo de tu biblioteca.]]></LOCALISED_TEXT>
  6.         <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Wenn du zum Mahlstrom weltenwanderst oder zu Beginn deines Versorgungssegments kannst du die oberste Karte deiner Bibliothek offen vorzeigen. Falls es eine bleibende Karte ist, kannst du sie ins Spiel bringen. Lege die Karte sonst unter deine Bibliothek.]]></LOCALISED_TEXT>
  7.         <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando viaggi tra i piani fino al Maelstrom o all’inizio del tuo mantenimento, puoi rivelare la prima carta del tuo grimorio. Se è una carta permanente, puoi metterla sul campo di battaglia. Altrimenti, mettila in fondo al tuo grimorio.]]></LOCALISED_TEXT>
  8.         <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたが大渦へプレインズウォークしたときかあなたのアップキープの開始時に、あなたはあなたのライブラリーの一番上のカードを公開してもよい。 それがパーマネント・カードである場合、あなたはそれを戦場に出してもよい。 そうでない場合、そのカードをあなたのライブラリーの一番下に置く。]]></LOCALISED_TEXT>
  9.         <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  10.         <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  11.         <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  12.         <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  13.         <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  14.         <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
  15.         <TRIGGER value="BEGINNING_OF_PLAYERS_STEP">
  16.             return MTG():GetStep() == STEP_UPKEEP and TriggerPlayer() ~= EffectController()
  17.         </TRIGGER>
  18.         <RESOLUTION_TIME_ACTION>
  19.             local player = CW_Planechase_GetCurrentPlayer()
  20.             if player ~= nil and player:GetAlwaysUseOptionalAbilitiesSetting() == false then
  21.                 player:BeginNewMultipleChoice()
  22.                     player:AddMultipleChoiceAnswer( "UI_CONDITIONAL_QUESTION_YES" )
  23.                     player:AddMultipleChoiceAnswer( "UI_CONDITIONAL_QUESTION_NO" )
  24.                 player:AskMultipleChoiceQuestion( "SPL_CARD_QUERY_DO_YOU_WANT_TO_REVEAL_THE_TOP_CARD_OF_YOUR_LIBRARY" )
  25.             end
  26.         </RESOLUTION_TIME_ACTION>
  27.         <RESOLUTION_TIME_ACTION>
  28.             EffectDC():Set_Int(77, 0)
  29.             local player = CW_Planechase_GetCurrentPlayer()
  30.             if player ~= nil then
  31.                 if player:GetMultipleChoiceResult() ~= nil then
  32.                     EffectDC():Set_Int(77, player:GetMultipleChoiceResult())
  33.                 end
  34.                 if player:GetAlwaysUseOptionalAbilitiesSetting() == true then
  35.                     EffectDC():Set_Int(77, 0)
  36.                 end
  37.             end
  38.         </RESOLUTION_TIME_ACTION>
  39.         <RESOLUTION_TIME_ACTION>
  40.             local player = CW_Planechase_GetCurrentPlayer()
  41.             if EffectDC():Get_Int(77) == 0 then
  42.                 local card = player:Library_GetTop()
  43.                 if card ~= nil then
  44.                     card:GuidedReveal(ZONE_LIBRARY, ZONE_HAND)
  45.                     card:GuidedReveal(ZONE_HAND, ZONE_LIBRARY)
  46.                     EffectDC():Set_CardPtr(66, card)
  47.                 end
  48.             end
  49.         </RESOLUTION_TIME_ACTION>
  50.         <RESOLUTION_TIME_ACTION>
  51.             local card = EffectDC():Get_CardPtr(66)
  52.             local player = CW_Planechase_GetCurrentPlayer()
  53.             if player ~= nil and card ~= nil then
  54.                 if CW_General_IsPermanent(card) == true then
  55.                     card:PutOntoBattlefield(player)
  56.                 else
  57.                     card:PutOnBottomOfLibrary()
  58.                 end
  59.             end
  60.         </RESOLUTION_TIME_ACTION>
  61.     </TRIGGERED_ABILITY>
  62.  
  63. <!--ATTEMPT 2-->
  64.     <TRIGGERED_ABILITY>
  65.         <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  66.         <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Quand vous vous transplanez vers Le Maelstrom ou au début de votre entretien, vous pouvez révéler la carte du dessus de votre bibliothèque. Si c’est une carte de permanent, vous pouvez la mettre sur le champ de bataille. Sinon, mettez cette carte au-dessous de votre bibliothèque.]]></LOCALISED_TEXT>
  67.         <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cuando camines por los planos hacia El Remolino o al comienzo de tu mantenimiento, puedes mostrar la primera carta de tu biblioteca. Si es una carta de permanente, puedes ponerla en el campo de batalla. De lo contrario, pon esa carta en el fondo de tu biblioteca.]]></LOCALISED_TEXT>
  68.         <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Wenn du zum Mahlstrom weltenwanderst oder zu Beginn deines Versorgungssegments kannst du die oberste Karte deiner Bibliothek offen vorzeigen. Falls es eine bleibende Karte ist, kannst du sie ins Spiel bringen. Lege die Karte sonst unter deine Bibliothek.]]></LOCALISED_TEXT>
  69.         <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando viaggi tra i piani fino al Maelstrom o all’inizio del tuo mantenimento, puoi rivelare la prima carta del tuo grimorio. Se è una carta permanente, puoi metterla sul campo di battaglia. Altrimenti, mettila in fondo al tuo grimorio.]]></LOCALISED_TEXT>
  70.         <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたが大渦へプレインズウォークしたときかあなたのアップキープの開始時に、あなたはあなたのライブラリーの一番上のカードを公開してもよい。 それがパーマネント・カードである場合、あなたはそれを戦場に出してもよい。 そうでない場合、そのカードをあなたのライブラリーの一番下に置く。]]></LOCALISED_TEXT>
  71.         <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  72.         <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  73.         <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  74.         <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  75.         <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  76.         <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
  77.         <TRIGGER value="BEGINNING_OF_PLAYERS_STEP">
  78.             return MTG():GetStep() == STEP_UPKEEP and TriggerPlayer() ~= EffectController()
  79.         </TRIGGER>
  80.         <RESOLUTION_TIME_ACTION>
  81.             local player = CW_Planechase_GetCurrentPlayer()
  82.             if player ~= nil and player:GetAlwaysUseOptionalAbilitiesSetting() == false then
  83.                 player:BeginNewMultipleChoice()
  84.                     player:AddMultipleChoiceAnswer( "UI_CONDITIONAL_QUESTION_YES" )
  85.                     player:AddMultipleChoiceAnswer( "UI_CONDITIONAL_QUESTION_NO" )
  86.                 player:AskMultipleChoiceQuestion( "SPL_CARD_QUERY_DO_YOU_WANT_TO_REVEAL_THE_TOP_CARD_OF_YOUR_LIBRARY" )
  87.             end
  88.         </RESOLUTION_TIME_ACTION>
  89.         <RESOLUTION_TIME_ACTION>
  90.             EffectDC():Set_Int(77, 0)
  91.             local player = CW_Planechase_GetCurrentPlayer()
  92.             if player ~= nil then
  93.                 if player:GetMultipleChoiceResult() ~= nil then
  94.                     EffectDC():Set_Int(77, player:GetMultipleChoiceResult())
  95.                 end
  96.                 if player:GetAlwaysUseOptionalAbilitiesSetting() == true then
  97.                     EffectDC():Set_Int(77, 0)
  98.                 end
  99.             end
  100.         </RESOLUTION_TIME_ACTION>
  101.         <RESOLUTION_TIME_ACTION>
  102.             local player = CW_Planechase_GetCurrentPlayer()
  103.             if EffectDC():Get_Int(77) == 0 then
  104.                 local card = player:Library_GetTop()
  105.                 if card ~= nil then
  106.                     card:GuidedReveal(ZONE_LIBRARY, ZONE_HAND)
  107.                     card:GuidedReveal(ZONE_HAND, ZONE_LIBRARY)
  108.                     EffectDC():Set_CardPtr(66, card)
  109.                 end
  110.             end
  111.         </RESOLUTION_TIME_ACTION>
  112.         <RESOLUTION_TIME_ACTION>
  113.             local card = EffectDC():Get_CardPtr(66)
  114.             local player = CW_Planechase_GetCurrentPlayer()
  115.             if player ~= nil and card ~= nil then
  116.                 if CW_General_IsPermanent(card) == true then
  117.                     card:PutOntoBattlefield(player)
  118.                 else
  119.                     card:PutOnBottomOfLibrary()
  120.                 end
  121.             end
  122.         </RESOLUTION_TIME_ACTION>
  123.     </TRIGGERED_ABILITY>
  124.  
  125. <!--ATTEMPT 3-->
  126.     <TRIGGERED_ABILITY>
  127.         <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  128.         <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Quand vous vous transplanez vers Le Maelstrom ou au début de votre entretien, vous pouvez révéler la carte du dessus de votre bibliothèque. Si c’est une carte de permanent, vous pouvez la mettre sur le champ de bataille. Sinon, mettez cette carte au-dessous de votre bibliothèque.]]></LOCALISED_TEXT>
  129.         <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cuando camines por los planos hacia El Remolino o al comienzo de tu mantenimiento, puedes mostrar la primera carta de tu biblioteca. Si es una carta de permanente, puedes ponerla en el campo de batalla. De lo contrario, pon esa carta en el fondo de tu biblioteca.]]></LOCALISED_TEXT>
  130.         <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Wenn du zum Mahlstrom weltenwanderst oder zu Beginn deines Versorgungssegments kannst du die oberste Karte deiner Bibliothek offen vorzeigen. Falls es eine bleibende Karte ist, kannst du sie ins Spiel bringen. Lege die Karte sonst unter deine Bibliothek.]]></LOCALISED_TEXT>
  131.         <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando viaggi tra i piani fino al Maelstrom o all’inizio del tuo mantenimento, puoi rivelare la prima carta del tuo grimorio. Se è una carta permanente, puoi metterla sul campo di battaglia. Altrimenti, mettila in fondo al tuo grimorio.]]></LOCALISED_TEXT>
  132.         <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたが大渦へプレインズウォークしたときかあなたのアップキープの開始時に、あなたはあなたのライブラリーの一番上のカードを公開してもよい。 それがパーマネント・カードである場合、あなたはそれを戦場に出してもよい。 そうでない場合、そのカードをあなたのライブラリーの一番下に置く。]]></LOCALISED_TEXT>
  133.         <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  134.         <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  135.         <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  136.         <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  137.         <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[When you planeswalk to The Maelstrom or at the beginning of your upkeep, you may reveal the top card of your library. If it’s a permanent card, you may put it onto the battlefield. If you revealed a card but didn’t put it onto the battlefield, put it on the bottom of your library.]]></LOCALISED_TEXT>
  138.         <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
  139.         <TRIGGER value="BEGINNING_OF_PLAYERS_STEP">
  140.             return MTG():GetStep() == STEP_UPKEEP and TriggerPlayer() ~= EffectController()
  141.         </TRIGGER>
  142.         <MAY />
  143.         <RESOLUTION_TIME_ACTION>
  144.             local player = CW_Planechase_GetCurrentPlayer()
  145.             if player ~= nil then
  146.                 local card = player:Library_GetTop()
  147.                 if card ~= nil then
  148.                     card:GuidedReveal(ZONE_LIBRARY, ZONE_HAND)
  149.                     EffectDC():Set_CardPtr(66, card)
  150.                 end
  151.             end
  152.         </RESOLUTION_TIME_ACTION>
  153.         <RESOLUTION_TIME_ACTION>
  154.             local player = CW_Planechase_GetCurrentPlayer()
  155.             local card = EffectDC():Get_CardPtr(66)
  156.             if player ~= nil and card ~= nil then
  157.                 if CW_General_IsPermanent(card) then
  158.                     EffectDC():Set_Int(77, 1)
  159.                     player:BeginNewMultipleChoice()
  160.                         player:AddMultipleChoiceAnswer( "UI_CONDITIONAL_QUESTION_YES" )
  161.                         player:AddMultipleChoiceAnswer( "UI_CONDITIONAL_QUESTION_NO" )
  162.                     player:AskMultipleChoiceQuestion( "SPL_CARD_QUERY_DO_YOU_WANT_TO_PUT_THIS_CARD_ONTO_THE_BATTLEFIELD", card )
  163.                 else
  164.                     EffectDC():Set_Int(77, 0)
  165.                 end
  166.             end
  167.         </RESOLUTION_TIME_ACTION>
  168.         <RESOLUTION_TIME_ACTION>
  169.             local player = CW_Planechase_GetCurrentPlayer()
  170.             local card = EffectDC():Get_CardPtr(66)
  171.             if player ~= nil and card ~= nil then
  172.                 if EffectDC():Get_Int(77) == 1 then
  173.                     if player:GetMultipleChoiceResult() == 0 then
  174.                         card:PutOntoBattlefield(player)
  175.                     end
  176.                 else
  177.                     card:PutOnBottomOfLibrary()
  178.                 end
  179.             end
  180.         </RESOLUTION_TIME_ACTION>
  181.     </TRIGGERED_ABILITY>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement