Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0"?>
- <CARD_V2 ExportVersion="1">
- <FILENAME text="EYE_OF_YAWGMOTH_CW_21392" />
- <CARDNAME text="EYE_OF_YAWGMOTH" />
- <TITLE>
- <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Eye of Yawgmoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Eye of Yawgmoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Eye of Yawgmoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Eye of Yawgmoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Eye of Yawgmoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Eye of Yawgmoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Eye of Yawgmoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Eye of Yawgmoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Eye of Yawgmoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[Eye of Yawgmoth]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Eye of Yawgmoth]]></LOCALISED_TEXT>
- </TITLE>
- <MULTIVERSEID value="21392" />
- <ARTID value="EYE_OF_YAWGMOTH" />
- <ARTIST name="DiTerlizzi" />
- <CASTING_COST cost="{3}" />
- <TYPE metaname="Artifact" />
- <EXPANSION value="NE" />
- <RARITY metaname="R" />
- <ACTIVATED_ABILITY>
- <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{3}, {T}, Sacrifice a creature: Reveal a number of cards from the top of your library equal to the sacrificed creature’s power. Put one into your hand and exile the rest.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{3}, {T}, Sacrifice a creature: Reveal a number of cards from the top of your library equal to the sacrificed creature’s power. Put one into your hand and exile the rest.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{3}, {T}, Sacrifice a creature: Reveal a number of cards from the top of your library equal to the sacrificed creature’s power. Put one into your hand and exile the rest.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{3}, {T}, Sacrifice a creature: Reveal a number of cards from the top of your library equal to the sacrificed creature’s power. Put one into your hand and exile the rest.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{3}, {T}, Sacrifice a creature: Reveal a number of cards from the top of your library equal to the sacrificed creature’s power. Put one into your hand and exile the rest.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{3}, {T}, Sacrifice a creature: Reveal a number of cards from the top of your library equal to the sacrificed creature’s power. Put one into your hand and exile the rest.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{3}, {T}, Sacrifice a creature: Reveal a number of cards from the top of your library equal to the sacrificed creature’s power. Put one into your hand and exile the rest.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{3}, {T}, Sacrifice a creature: Reveal a number of cards from the top of your library equal to the sacrificed creature’s power. Put one into your hand and exile the rest.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{3}, {T}, Sacrifice a creature: Reveal a number of cards from the top of your library equal to the sacrificed creature’s power. Put one into your hand and exile the rest.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[{3}, {T}, Sacrifice a creature: Reveal a number of cards from the top of your library equal to the sacrificed creature’s power. Put one into your hand and exile the rest.]]></LOCALISED_TEXT>
- <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[{3}, {T}, Sacrifice a creature: Reveal a number of cards from the top of your library equal to the sacrificed creature’s power. Put one into your hand and exile the rest.]]></LOCALISED_TEXT>
- <COST mana_cost="{3}" type="Mana" />
- <COST type="TapSelf" />
- <COST type="Generic">
- <PREREQUISITE>
- local filter = ClearFilter()
- filter:Add( FE_CONTROLLER, OP_IS, EffectController() )
- filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
- if filter:CountStopAt(1) == 1 then
- return true
- else
- return false
- end
- </PREREQUISITE>
- <RESOLUTION_TIME_ACTION>
- local filter = ClearFilter()
- filter:Add( FE_CONTROLLER, OP_IS, EffectController() )
- filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
- EffectController():ChooseItem( "SPL_CARD_QUERY_CHOOSE_CREATURE_TO_SACRIFICE", EffectDC():Make_Targets(1))
- </RESOLUTION_TIME_ACTION>
- <RESOLUTION_TIME_ACTION>
- local sacrifice = EffectDC():Get_Targets(1) and EffectDC():Get_Targets(1):Get_CardPtr(0)
- if sacrifice ~= nil then
- local power = sacrifice:GetCurrentPower()
- EffectDC():Set_Int(33, power)
- EffectController():Sacrifice(sacrifice)
- end
- </RESOLUTION_TIME_ACTION>
- </COST>
- <COST_DEFINITION id="1">
- local oFilter = ClearFilter()
- oFilter:Add(FE_TYPE, OP_IS, CARD_TYPE_CREATURE)
- </COST_DEFINITION>
- <RESOLUTION_TIME_ACTION>
- local power = EffectDC():Get_Int(33)
- local reveal_chest = EffectDC():Make_Chest(2)
- for i=0, power-1 do
- local card = EffectController():Library_GetNth(i)
- if card ~= nil then
- reveal_chest:Set_CardPtr(i, card)
- end
- end
- </RESOLUTION_TIME_ACTION>
- <RESOLUTION_TIME_ACTION>
- local choiceDC = EffectDC():Get_Chest(2)
- EffectController():ChooseItemFromDC( "SPL_CARD_QUERY_CHOOSE_CARD_TO_PUT_IN_HAND", choiceDC, EffectDC():Make_Targets(2))
- </RESOLUTION_TIME_ACTION> -->
- <RESOLUTION_TIME_ACTION>
- local revealDC = EffectDC():Get_Chest(2)
- local chosen_card = EffectDC():Get_Targets(2) and EffectDC():Get_Targets(2):Get_CardPtr(0)
- local count = revealDC:Count()
- for i=0, count-1 do
- local card = revealDC:Get_CardPtr(i)
- if card ~= nil then
- if card == chosen_card then
- card:PutInHand()
- else
- card:Exile()
- end
- end
- end
- </RESOLUTION_TIME_ACTION>
- </ACTIVATED_ABILITY>
- <AUTHOR><![CDATA[Splinterverse]]></AUTHOR>
- <EDITORS><![CDATA[Splinterverse]]></EDITORS>
- <DATE><![CDATA[19-11-16]]></DATE>
- </CARD_V2>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement