Re: Formal Request Thread
by Master Necro
Yeah! It would be the most OP card:sumomole wrote:NO~! target is a player, but you want to exile it?Master Necro wrote:As for Circu, I thought I would code the first two as triggered abilities:![]()
- Circu, Dimir Lobotomist | Open
- Code: Select all
<?xml version="1.0"?>
<CARD_V2 ExportVersion="1">
<FILENAME text="CIRCU_DIMIR_LOBOTOMIST_627046" />
<CARDNAME text="CIRCU_DIMIR_LOBOTOMIST" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Circu, Dimir Lobotomist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Circu, Dimir Lobotomist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Circu, Dimir Lobotomist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Circu, Dimir Lobotomist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Circu, Dimir Lobotomist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Circu, Dimir Lobotomist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Circu, Dimir Lobotomist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Circu, Dimir Lobotomist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Circu, Dimir Lobotomist]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="627046" />
<ARTID value="627046" />
<ARTIST name="Cyril Van Der Haegen" />
<CASTING_COST cost="{2}{U}{B}" />
<SUPERTYPE metaname="Legendary" />
<TYPE metaname="Creature" />
<SUB_TYPE metaname="Human" />
<SUB_TYPE metaname="Wizard" />
<EXPANSION value="DPI" />
<RARITY metaname="R" />
<POWER value="2" />
<TOUGHNESS value="3" />
<TRIGGERED_ABILITY linked_ability_group="1">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever you cast a blue spell, exile the top card of target library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Whenever you cast a blue spell, exile the top card of target library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Whenever you cast a blue spell, exile the top card of target library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Whenever you cast a blue spell, exile the top card of target library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Whenever you cast a blue spell, exile the top card of target library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Whenever you cast a blue spell, exile the top card of target library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Whenever you cast a blue spell, exile the top card of target library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Whenever you cast a blue spell, exile the top card of target library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Whenever you cast a blue spell, exile the top card of target library.]]></LOCALISED_TEXT>
<TRIGGER value="SPELL_PLAYED" simple_qualifier="objectyoucontrol">
return TriggerObject():GetColour():Test( COLOUR_BLUE )
</TRIGGER>
<TRIGGER value="SPELL_PLAYED" simple_qualifier="objectyoucontrol">
return TriggerObject():GetColour():Test( COLOUR_BLACK )
</TRIGGER>
<TARGET tag="CARD_QUERY_CHOOSE_LIBRARY" definition="0" compartment="0" count="1" not_targeted="1" />
<TARGET_DEFINITION id="0">
local filter = ClearFilter()
filter:SetFilterType( FILTER_TYPE_PLAYERS )
</TARGET_DEFINITION>
<RESOLUTION_TIME_ACTION>
local target_player = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
local source = EffectSource()
if target_player ~= nil then
local card = target_player:Library_GetTop()
if card ~= nil then
if source ~= nil then
local count_so_far = LinkedDC():Get_Int(0)
LinkedDC():Set_CardPtr(1 + count_so_far, card)
LinkedDC():Protect_CardPtr(1 + count_so_far)
LinkedDC():Set_Int(0, count_so_far + 1)
end
card:GuidedReveal( card:GetZone() , ZONE_EXILE )
card:Exile()
end
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
<STATIC_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever you cast a black spell, exile the top card of target library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Whenever you cast a black spell, exile the top card of target library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Whenever you cast a black spell, exile the top card of target library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Whenever you cast a black spell, exile the top card of target library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Whenever you cast a black spell, exile the top card of target library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Whenever you cast a black spell, exile the top card of target library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Whenever you cast a black spell, exile the top card of target library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Whenever you cast a black spell, exile the top card of target library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Whenever you cast a black spell, exile the top card of target library.]]></LOCALISED_TEXT>
</STATIC_ABILITY>
<STATIC_ABILITY linked_ability_group="1">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Your opponents can’t cast nonland cards with the same name as a card exiled with Circu, Dimir Lobotomist.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Your opponents can’t cast nonland cards with the same name as a card exiled with Circu, Dimir Lobotomist.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Your opponents can’t cast nonland cards with the same name as a card exiled with Circu, Dimir Lobotomist.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Your opponents can’t cast nonland cards with the same name as a card exiled with Circu, Dimir Lobotomist.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Your opponents can’t cast nonland cards with the same name as a card exiled with Circu, Dimir Lobotomist.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Your opponents can’t cast nonland cards with the same name as a card exiled with Circu, Dimir Lobotomist.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Your opponents can’t cast nonland cards with the same name as a card exiled with Circu, Dimir Lobotomist.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Your opponents can’t cast nonland cards with the same name as a card exiled with Circu, Dimir Lobotomist.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Your opponents can’t cast nonland cards with the same name as a card exiled with Circu, Dimir Lobotomist.]]></LOCALISED_TEXT>
<FILTER filter_id="0">
local filter = ClearFilter()
filter:SetZone( ZONE_ANYWHERE )
filter:Add( FE_TYPE, OP_NOT, CARD_TYPE_LAND )
filter:Add( FE_TEAM, OP_NOT, EffectController():GetTeam() )
filter:Add( FE_LUA_CONDITION, 1, EffectController(), EffectDC())
</FILTER>
<FILTER_CONDITION id="1">
if FilteredCard() ~= nil then
local count_so_far = LinkedDC():Get_Int(0)
for i=0,count_so_far do
if LinkedDC():Get_CardPtr(i) ~= nil and FilteredCard():GetCardName() == LinkedDC():Get_CardPtr(i):GetCardName() then
return true
end
end
end
return false
</FILTER_CONDITION>
<CONTINUOUS_ACTION layer="8" filter_id="0">
if FilteredCard() ~= nil then
local characteristics = FilteredCard():GetCurrentCharacteristics()
characteristics:Bool_Set( CHARACTERISTIC_CANT_BE_PLAYED, 1 )
end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<TRIGGERED_ABILITY replacement_effect="1" linked_ability_group="1">
<TRIGGER value="ZONECHANGE_BEGIN" simple_qualifier="self" to_zone="ZONE_ANY" from_zone="ZONE_BATTLEFIELD" />
<RESOLUTION_TIME_ACTION>
LinkedDC():Clear()
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
<SFX text="COMBAT_PLASMA_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
<SFX text="COMBAT_PLASMA_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
<AI_BASE_SCORE score="900" zone="ZONE_BATTLEFIELD" />
</CARD_V2>
"I have a card that will exile all your creatures"
"Well I have a creature that will exile YOU!"
But seriously, I thought that it would just continue from MILL action and exile it from the graveyard. Thanks for helping me.