Recurring Nightmare
I'm trying to use this code for Recurring Nightmare, but it won't return itself to the hand for the cost of its effect so you can do infinite graveyard combos for 0 mana.
Just wondering if there is a better way for it to bounce itself, or if I will have to make something similar to deprive or Nulltread Beast or w/e it's called and just add an additional cost for an enchantment or something.
Thanks in advance.
- Code: Select all
<?xml version='1.0'?>
<CARD_V2>
<FILENAME text="RECURRING_NIGHTMARE_623398" />
<CARDNAME text="RECURRING_NIGHTMARE" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Recurring Nightmare]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Recurring Nightmare]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Recurring Nightmare]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Recurring Nightmare]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Recurring Nightmare]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Recurring Nightmare]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Recurring Nightmare]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Recurring Nightmare]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Recurring Nightmare]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="623398" />
<ARTID value="623398" />
<ARTIST name="Jeff Laubenstein" />
<CASTING_COST cost="{2}{B}" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“I am confined by sleep and defined by nightmare.”
—Crovax]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[“I am confined by sleep and defined by nightmare.”
—Crovax]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“I am confined by sleep and defined by nightmare.”
—Crovax]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[“I am confined by sleep and defined by nightmare.”
—Crovax]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“I am confined by sleep and defined by nightmare.”
—Crovax]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[“I am confined by sleep and defined by nightmare.”
—Crovax]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“I am confined by sleep and defined by nightmare.”
—Crovax]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[“I am confined by sleep and defined by nightmare.”
—Crovax]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“I am confined by sleep and defined by nightmare.”
—Crovax]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<TYPE metaname="Enchantment" />
<EXPANSION value="DPG" />
<RARITY metaname="R" />
<ACTIVATED_ABILITY auto_skip="1" sorcery_time="1" filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Sacrifice a creature, Return Recurring Nightmare to owner's hand: Put target creature card from your graveyard into play. Play this ability as a sorcery.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Sacrifice a creature, Return Recurring Nightmare to owner's hand: Put target creature card from your graveyard into play. Play this ability as a sorcery.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Sacrifice a creature, Return Recurring Nightmare to owner's hand: Put target creature card from your graveyard into play. Play this ability as a sorcery.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Sacrifice a creature, Return Recurring Nightmare to owner's hand: Put target creature card from your graveyard into play. Play this ability as a sorcery.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Sacrifice a creature, Return Recurring Nightmare to owner's hand: Put target creature card from your graveyard into play. Play this ability as a sorcery.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Sacrifice a creature, Return Recurring Nightmare to owner's hand: Put target creature card from your graveyard into play. Play this ability as a sorcery.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Sacrifice a creature, Return Recurring Nightmare to owner's hand: Put target creature card from your graveyard into play. Play this ability as a sorcery.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Sacrifice a creature, Return Recurring Nightmare to owner's hand: Put target creature card from your graveyard into play. Play this ability as a sorcery.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Sacrifice a creature, Return Recurring Nightmare to owner's hand: Put target creature card from your graveyard into play. Play this ability as a sorcery.]]></LOCALISED_TEXT>
<COST type="ReturnSelf" />
<COST type="Sacrifice">
<TARGET_DEFINITION id="6">
local filter = Object():GetFilter()
filter:Clear()
filter:AddCardType( CARD_TYPE_CREATURE )
filter:SetPlayer( EffectController() )
filter:SetZone( ZONE_IN_PLAY )
filter:SetHint( HINT_ENEMY, EffectController() )
filter:NotTargetted()
</TARGET_DEFINITION>
<TARGET_DETERMINATION>
return AtLeastOneTargetFromDefinition(6)
</TARGET_DETERMINATION>
<PLAYTIME>
EffectController():ChooseTarget( 6, "CARD_QUERY_CHOOSE_CREATURE_TO_SACRIFICE", EffectDC():Make_Targets(0) )
</PLAYTIME></COST>
<TARGET_DEFINITION id="0">
local filter = Object():GetFilter()
filter:Clear()
filter:AddCardType( CARD_TYPE_CREATURE )
filter:SetPlayer( EffectController() )
filter:SetZone( ZONE_GRAVEYARD )
filter:SetHint( HINT_ALLIED, EffectController() )
</TARGET_DEFINITION>
<TARGET_DETERMINATION>
return AtLeastOneTargetFromDefinition(0)
</TARGET_DETERMINATION>
<PLAY_TIME_ACTION target_choosing="1">
EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_CREATURE_TO_PUT_ONTO_BATTLEFIELD", EffectDC():Make_Targets(1) )
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
if EffectDC() ~= nil then
local target = EffectDC():Get_Targets(1):Get_CardPtr(0)
if target ~= nil then
target:PutIntoPlay( EffectController() )
end
end
</RESOLUTION_TIME_ACTION>
</ACTIVATED_ABILITY>
<AI_BASE_SCORE score="900" zone="ZONE_IN_PLAY" />
</CARD_V2>
Just wondering if there is a better way for it to bounce itself, or if I will have to make something similar to deprive or Nulltread Beast or w/e it's called and just add an additional cost for an enchantment or something.
Thanks in advance.