Agadeem Ocultist. CPU players don't use the ability.
I just don't know why. Here is the code:
- Code: Select all
<?xml version='1.0'?>
<CARD_V2>
<FILENAME text="AGADEEM_OCCULTIST_198402" />
<CARDNAME text="AGADEEM_OCCULTIST" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Agadeem Occultist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Agadeem Occultist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Agadeem Occultist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Agadeem Occultist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Agadeem Occultist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Agadeem Occultist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Agadeem Occultist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Agadeem Occultist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Agadeem Occultist]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="198402" />
<ARTID value="198402" />
<ARTIST name="Vance Kovacs" />
<CASTING_COST cost="{2}{B}" />
<TYPE metaname="Creature" />
<SUB_TYPE metaname="Human" order_de-DE="0" order_es-ES="2" order_fr-FR="0" order_it-IT="2" order_jp-JA="0" order_ko-KR="0" order_pt-BR="0" order_ru-RU="0" />
<SUB_TYPE metaname="Shaman" order_de-DE="1" order_es-ES="1" order_fr-FR="1" order_it-IT="1" order_jp-JA="1" order_ko-KR="1" order_pt-BR="1" order_ru-RU="1" />
<SUB_TYPE metaname="Ally" order_de-DE="2" order_es-ES="0" order_fr-FR="2" order_it-IT="0" order_jp-JA="2" order_ko-KR="2" order_pt-BR="2" order_ru-RU="2" />
<EXPANSION value="DPG" />
<RARITY metaname="R" />
<POWER value="0" />
<TOUGHNESS value="2" />
<ACTIVATED_ABILITY filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{T}: Put target creature card from an opponent’s graveyard onto the battlefield under your control if its converted mana cost is less than or equal to the number of Allies you control.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{T}: Put target creature card from an opponent’s graveyard onto the battlefield under your control if its converted mana cost is less than or equal to the number of Allies you control.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{T}: Put target creature card from an opponent’s graveyard onto the battlefield under your control if its converted mana cost is less than or equal to the number of Allies you control.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{T}: Put target creature card from an opponent’s graveyard onto the battlefield under your control if its converted mana cost is less than or equal to the number of Allies you control.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{T}: Put target creature card from an opponent’s graveyard onto the battlefield under your control if its converted mana cost is less than or equal to the number of Allies you control.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{T}: Put target creature card from an opponent’s graveyard onto the battlefield under your control if its converted mana cost is less than or equal to the number of Allies you control.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{T}: Put target creature card from an opponent’s graveyard onto the battlefield under your control if its converted mana cost is less than or equal to the number of Allies you control.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{T}: Put target creature card from an opponent’s graveyard onto the battlefield under your control if its converted mana cost is less than or equal to the number of Allies you control.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{T}: Put target creature card from an opponent’s graveyard onto the battlefield under your control if its converted mana cost is less than or equal to the number of Allies you control.]]></LOCALISED_TEXT>
<COST type="TapSelf" />
<TARGET_DEFINITION id="0">
local max_afford = 0
local filter = Object():GetFilter()
filter:Clear()
filter:SetZone( ZONE_IN_PLAY )
filter:AddSubType( CREATURE_TYPE_ALLY )
filter:SetController( EffectController() )
filter:NotTargetted()
max_afford = (filter:Count())
filter:Clear()
filter:AddCardType( CARD_TYPE_CREATURE )
filter:SetConvertedCostMax( max_afford )
filter:SetZone( ZONE_GRAVEYARD )
filter:SetControllersTeam( EffectController():GetTeam() )
filter:AddExtra( FILTER_EXTRA_FLIP_TEAM )
filter:SetHint( HINT_ENEMY_ONLY, EffectController() )
</TARGET_DEFINITION>
<TARGET_DETERMINATION>
return AtLeastOneTargetFromDefinition(0)
</TARGET_DETERMINATION>
<PLAY_TIME_ACTION target_choosing="1">
EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_CARD_TO_PUT_ONTO_BATTLEFIELD", EffectDC():Make_Targets(0) )
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil and target:GetZone() == ZONE_GRAVEYARD then
EffectDC():Set_PlayerPtr( 0, target:GetOwner() )
target:PutIntoPlay( EffectController() )
end
</RESOLUTION_TIME_ACTION>
</ACTIVATED_ABILITY>
<SFX text="COMBAT_PESTS_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
<SFX text="COMBAT_PESTS_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
</CARD_V2>