Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
New MTG Cards and Decks (2010, 2012, 2013, 2014, 2015, Magic Duels)
2014




Formal Request Thread
Moderator: CCGHQ Admins
Re: Formal Request Thread
by sumomole » 08 Jul 2013, 19:28
I haven't tried, but I think FE_TOUGHNESS should use OP_EQUALS rather than OP_IS.thefiremind wrote:You can't use Power_Get and Toughness_Get as parameter for the filters. What you need isand remove the filter for flying creatures, there's no such limitation on Pendelhaven.
- Code: Select all
filter:Add( FE_POWER, OP_IS, 1 )
filter:Add( FE_TOUGHNESS, OP_IS, 1 )

-
sumomole - Programmer
- Posts: 611
- Joined: 07 Jun 2011, 08:34
- Has thanked: 51 times
- Been thanked: 234 times
Re: Formal Request Thread
by thefiremind » 08 Jul 2013, 19:34
Yes, I had the doubt that OP_IS wasn't right, but couldn't find examples fast enough to convince me.sumomole wrote:I haven't tried, but I think FE_TOUGHNESS should use OP_EQUALS rather than OP_IS.

About Reliquary Tower, DotP2014 actually has a characteristic that should work for modifying hand sizes, but Reliquary Tower just needs the old good characteristic that totally removes the maximum hand size:
- Code: Select all
<STATIC_ABILITY>
-- Localised text omitted
<CONTINUOUS_ACTION layer="8">
EffectController():GetCurrentCharacteristics():Bool_Set( PLAYER_CHARACTERISTIC_NO_HAND_LIMIT, 1 )
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Formal Request Thread
by Xander9009 » 08 Jul 2013, 19:42
Is there a list of the usable characteristics? I only know of the the wiki pages for functions and layers.thefiremind wrote:DotP2014 actually has a characteristic that should work
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Re: Formal Request Thread
by thefiremind » 08 Jul 2013, 19:48
Yeah, someone should paste them on the Wiki... in the meanwhile, download the "cards2014.zip" from here:Xander9009 wrote:Is there a list of the usable characteristics? I only know of the the wiki pages for functions and layers.
viewtopic.php?f=62&t=10872
and look inside the .LUA files (not .LOL, those are compiled and unreadable) with Notepad.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Formal Request Thread
by Master Necro » 08 Jul 2013, 19:50
Just one request before I collapse on the bead, could anyone provide me with this code:
"lose 1 life for each counter on card"
Thank you in advance and good night!
"lose 1 life for each counter on card"
Thank you in advance and good night!

-
Master Necro - Posts: 259
- Joined: 24 Apr 2013, 18:25
- Has thanked: 83 times
- Been thanked: 21 times
Re: Formal Request Thread
by thefiremind » 08 Jul 2013, 20:35
Master Necro wrote:"lose 1 life for each counter on card"
- Code: Select all
player_who_loses_life:LoseLife( card:CountCounters(counter_type) )
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Formal Request Thread
by RiiakShiNal » 08 Jul 2013, 20:47
It doesn't conflict now.sumomole wrote:Really looking forward to, I need mana token to make Second Breakfast, your mana token is certainly not in conflict with the Parallel Lives right.![]()

Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2188
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: Formal Request Thread
by drleg3nd » 09 Jul 2013, 01:10
hey Vizkopa works perfectly now thx for that.. these two cards though still having trouble for me.. did I put code in wrong place or what ?
- Attachments
-
CARDS.zip
- tithe drinker/brave the elements
- (4.05 KiB) Downloaded 360 times
Re: Formal Request Thread
by Xander9009 » 09 Jul 2013, 03:02
In Brave the Elements, the filter id should be inside the filter declaration. By that I meandrleg3nd wrote:hey Vizkopa works perfectly now thx for that.. these two cards though still having trouble for me.. did I put code in wrong place or what ?
- Code: Select all
<FILTER>
filter_id="0"
- Code: Select all
<FILTER filter_id="0">
As for Tithe Drinker I don't see why it wouldn't work. Assuming the original code works, the card should work fine. If no one else has already figured it out by tomorrow for you, I'll tinker with it.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Re: Formal Request Thread
by drleg3nd » 09 Jul 2013, 04:35
Thx xander the brave to elements code is from kev mod but it doesn't work..tithe drinker works fine except for extort ability and keep getting script log after I close the game
Re: Formal Request Thread
by Master Necro » 09 Jul 2013, 04:59
Thanks!thefiremind wrote:Master Necro wrote:"lose 1 life for each counter on card"where counter_type can be MTG():PlusOnePlusOneCounters() or whatever according to the counters you need to count.
- Code: Select all
player_who_loses_life:LoseLife( card:CountCounters(counter_type) )

Updated posts with new cards.

And I have a question about 3 codes:
"destroy target creature with power 2 or less"
"look at the top three cards of target player's library, then put one back and the rest into that player's graveyard."
I am also trying to code Circu but the last code is giving me a headache, can anyone tell me how to code this:
"Your opponents can't cast nonland cards with the same name as a card exiled with Circu, Dimir Lobotomist."
Thanks in advance!

-
Master Necro - Posts: 259
- Joined: 24 Apr 2013, 18:25
- Has thanked: 83 times
- Been thanked: 21 times
Re: Formal Request Thread
by irie009 » 09 Jul 2013, 07:39
Can anyone create Thopter Foundry? I already have the base xml and my crop done, but it is my very first card and I am a little slow on the creation of the ability. Also the 313 in front of the id is just cause I used thefiremind's generator and set a prefix. I believe I will need to create a thopter token card also, and while I kindaaaa have faith that I could do that, if you could provide that also I would be extremely greatful.
I am still too new to post img links apparently, but the card does look great ingame
- Thopter Foundry | Open
- <?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="THOPTER_FOUNDRY_313183017" />
<CARDNAME text="THOPTER_FOUNDRY" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Thopter Foundry]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Fonderie mécanoptère]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Fundición de tópteros]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Thopter-Gießerei]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Fonderia di Totteri]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[飛行機械の鋳造所]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Thopter Foundry]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Топтероплавильня]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Fundição de Tóptero]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="313183017" />
<ARTID value="313183017" />
<ARTIST name="Ralph Horsley" />
<CASTING_COST cost="{W/B}{U}" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“Etherium is limited. Innovation is not.”
—Tezzeret]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« L’étherium est rare. L’innovation ne l’est pas. »
—Tezzeret]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“El eterium es limitado. La innovación no.”
—Tezzeret]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„Ätherium ist begrenzt vorhanden. Erfindungsgabe nicht.”
—Tezzeret]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“L’eterium è limitato. L’innovazione no.”
—Tezzeret]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[「エーテリウムは限られています。 技術の進歩はそうではありません。」
――テゼレット]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“Etherium is limited. Innovation is not.”
—Tezzeret]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[«Эфирий ограничен. Новаторство бесконечно».
— Теззерет]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“O etherium é limitado. A inovação não.”
— Tezzeret]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<TYPE metaname="Artifact" />
<EXPANSION value="ARB" />
<RARITY metaname="U" />
<ACTIVATED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{1}, Sacrifice a nontoken artifact: Put a 1/1 blue Thopter artifact creature token with flying onto the battlefield. You gain 1 life.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{T}, sacrifiez un artefact non-jeton : Mettez en jeu un jeton de créature 1/1 bleue Mécanoptère avec le vol. Vous gagnez 1 point de vie.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{1}, sacrificar un artefacto que no sea ficha: Pon en juego una ficha de criatura artefacto Tóptero azul 1/1 con la habilidad de volar. Ganas 1 vida.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{1}, opfere ein Artefakt, das kein Spielstein ist: Bringe einen 1/1 blauen Thopter-Artefaktkreaturenspielstein mit Flugfähigkeit ins Spiel. Du erhältst 1 Lebenspunkt dazu.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{1}, Sacrifica un artefatto non pedina: Metti sul campo di battaglia una pedina creatura artefatto Tottero 1/1 blu con volare. Guadagni 1 punto vita.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{1}, トークンでないアーティファクトを1つ生け贄に捧げる:飛行を持つ青の1/1の飛行機械・アーティファクト・クリーチャー・トークンを1体場に出す。 あなたは1点のライフを得る。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{1}, Sacrifice a nontoken artifact: Put a 1/1 blue Thopter artifact creature token with flying onto the battlefield. You gain 1 life.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{1}, пожертвуйте не являющийся фишкой артефакт: положите в игру одну фишку артефактного существа 1/1 синий Топтер с Полетом. Вы получаете 1 жизнь.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{1}, Sacrifique um artefato que não seja uma ficha: Coloque em jogo uma ficha de criatura artefato azul 1/1 do tipo Tóptero com voar. Você ganha 1 ponto de vida.]]></LOCALISED_TEXT>
</ACTIVATED_ABILITY>
</CARD_V2>
I am still too new to post img links apparently, but the card does look great ingame
Re: Formal Request Thread
by thefiremind » 09 Jul 2013, 08:14
I answered in your original topic.irie009 wrote:Can anyone create Thopter Foundry?
EDIT:
This should be quite easy, start from Murder and add the power restriction:Master Necro wrote:"destroy target creature with power 2 or less"
- code | Open
- Code: Select all
<TARGET tag="CARD_QUERY_CHOOSE_CREATURE_TO_DESTROY" definition="0" compartment="0" count="1" />
<TARGET_DEFINITION id="0">
local filter = ClearFilter()
filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
filter:Add( FE_POWER, OP_LESS_THAN_OR_EQUAL_TO, 2 )
</TARGET_DEFINITION>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
target:Destroy()
end
</RESOLUTION_TIME_ACTION>
<AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_ENEMY_ONLY" />
This should be quite easy as well, it's almost the same as Glimpse the Future, it just needs to target a player and leave the chosen card where it is:Master Necro wrote:"look at the top three cards of target player's library, then put one back and the rest into that player's graveyard."
- code | Open
- Code: Select all
<TARGET tag="CARD_QUERY_CHOOSE_PLAYER_TO_VESTIGE_ROT" definition="0" compartment="0" count="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)
if target_player ~= nil then
local answerDC = EffectDC():Make_Targets(1)
local queryDC = EffectDC():Make_Chest(2)
for i=0,2 do
local card = target_player:Library_GetNth(i)
if card ~= nil then
queryDC:Set_CardPtr(i, card)
else
break
end
end
if answerDC ~= nil and queryDC ~= nil then
EffectController():ChooseItemFromDC("CARD_QUERY_CHOOSE_CARD_TO_PUT_ONTO_LIBRARY", queryDC, answerDC)
end
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target_player = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
if target_player ~= nil then
local chosen_card = EffectDC():Get_Targets(1):Get_CardPtr(0)
if chosen_card ~= nil then
local queryDC = EffectDC():Get_Chest(2)
local num_cards = queryDC:Count()
for i=0,num_cards-1 do
local card = queryDC:Get_CardPtr(i)
if card ~= nil and card ~= chosen_card then
card:PutInGraveyard()
end
end
end
end
</RESOLUTION_TIME_ACTION>
<AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_ENEMY" />
This depends on how Circu's exiling is coded, you can't code it separately.Master Necro wrote:"Your opponents can't cast nonland cards with the same name as a card exiled with Circu, Dimir Lobotomist."
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Formal Request Thread
by Master Necro » 09 Jul 2013, 08:55
Thanks!thefiremind wrote:I answered in your original topic.irie009 wrote:Can anyone create Thopter Foundry?
EDIT:This should be quite easy, start from Murder and add the power restriction:Master Necro wrote:"destroy target creature with power 2 or less"
- code | Open
- Code: Select all
<TARGET tag="CARD_QUERY_CHOOSE_CREATURE_TO_DESTROY" definition="0" compartment="0" count="1" />
<TARGET_DEFINITION id="0">
local filter = ClearFilter()
filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
filter:Add( FE_POWER, OP_LESS_THAN_OR_EQUAL_TO, 2 )
</TARGET_DEFINITION>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
target:Destroy()
end
</RESOLUTION_TIME_ACTION>
<AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_ENEMY_ONLY" />This should be quite easy as well, it's almost the same as Glimpse the Future, it just needs to target a player and leave the chosen card where it is:Master Necro wrote:"look at the top three cards of target player's library, then put one back and the rest into that player's graveyard."
- code | Open
- Code: Select all
<TARGET tag="CARD_QUERY_CHOOSE_PLAYER_TO_VESTIGE_ROT" definition="0" compartment="0" count="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)
if target_player ~= nil then
local answerDC = EffectDC():Make_Targets(1)
local queryDC = EffectDC():Make_Chest(2)
for i=0,2 do
local card = target_player:Library_GetNth(i)
if card ~= nil then
queryDC:Set_CardPtr(i, card)
else
break
end
end
if answerDC ~= nil and queryDC ~= nil then
EffectController():ChooseItemFromDC("CARD_QUERY_CHOOSE_CARD_TO_PUT_ONTO_LIBRARY", queryDC, answerDC)
end
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target_player = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
if target_player ~= nil then
local chosen_card = EffectDC():Get_Targets(1):Get_CardPtr(0)
if chosen_card ~= nil then
local queryDC = EffectDC():Get_Chest(2)
local num_cards = queryDC:Count()
for i=0,num_cards-1 do
local card = queryDC:Get_CardPtr(i)
if card ~= nil and card ~= chosen_card then
card:PutInGraveyard()
end
end
end
end
</RESOLUTION_TIME_ACTION>
<AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_ENEMY" />This depends on how Circu's exiling is coded, you can't code it separately.Master Necro wrote:"Your opponents can't cast nonland cards with the same name as a card exiled with Circu, Dimir Lobotomist."

As for Circu, I thought I would code the first two as triggered abilities:
- Code: Select all
<TRIGGER value="SPELL_PLAYED" simple_qualifier="controller">
if ( TriggerObject():GetColour():Test( COLOUR_BLUE ) ) then
return true
end
</TRIGGER>
<TARGET tag="CARD_QUERY_CHOOSE_PLAYER_MILL_1_EXILE" definition="0" compartment="0" count="1" />
<TARGET_DEFINITION id="0">
local filter = ClearFilter()
filter:SetFilterType( FILTER_TYPE_PLAYERS )
</TARGET_DEFINITION>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
if target ~= nil then
target:MillCards( 1 )
target:Exile()
end
end
</RESOLUTION_TIME_ACTION>
<TRIGGER value="SPELL_PLAYED" simple_qualifier="controller">
if ( TriggerObject():GetColour():Test( COLOUR_BLACK ) ) then
return true
end
</TRIGGER>
<TARGET tag="CARD_QUERY_CHOOSE_PLAYER_MILL_1_EXILE" definition="0" compartment="0" count="1" />
<TARGET_DEFINITION id="0">
local filter = ClearFilter()
filter:SetFilterType( FILTER_TYPE_PLAYERS )
</TARGET_DEFINITION>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
if target ~= nil then
target:MillCards( 1 )
target:Exile()
end
end
</RESOLUTION_TIME_ACTION>
-
Master Necro - Posts: 259
- Joined: 24 Apr 2013, 18:25
- Has thanked: 83 times
- Been thanked: 21 times
Re: Formal Request Thread
by sumomole » 09 Jul 2013, 09:06
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>
-
sumomole - Programmer
- Posts: 611
- Joined: 07 Jun 2011, 08:34
- Has thanked: 51 times
- Been thanked: 234 times
Who is online
Users browsing this forum: No registered users and 10 guests