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)



Card Creation Request Thread
User-made mods in DLC (Downloadable Content) form.
Get MTG cards here for your DotP that aren't available anywhere else!
Get MTG cards here for your DotP that aren't available anywhere else!
Moderator: CCGHQ Admins
Re: Card Creation Request Thread
by NEMESiS » 06 Jun 2013, 02:48
Does anyone have Decree of Silence and Temporal Aperture?
-
NEMESiS - Posts: 460
- Joined: 03 Jan 2013, 04:02
- Location: Pools of Becoming
- Has thanked: 70 times
- Been thanked: 21 times
Re: Card Creation Request Thread
by BloodReyvyn » 06 Jun 2013, 05:28
Maybe possible for DotP2014, but we'll have to wait and see how they implement things. I guess technically they might be able to be done IF you could alter the game engine source code itself. (of course, then everything would be possible by simply creating new steps, functions, abilities, card types for planeswalkers, etc.)
I made Decree of Silence here: https://www.dropbox.com/s/ktlvd516afy2r ... _46430.zip
I made Decree of Silence here: https://www.dropbox.com/s/ktlvd516afy2r ... _46430.zip
"There's an experience worse than blindness - it's the certainty that your vision is perfect and the horror that there's no world around you to see."
-
BloodReyvyn - Posts: 421
- Joined: 19 May 2013, 13:29
- Has thanked: 53 times
- Been thanked: 40 times
Re: Card Creation Request Thread
by sumomole » 06 Jun 2013, 06:06
I don't know why when Decree of Silence is in play, AI doesn't play card even discard it, I'm looking for a way to cheat AI play card.NEMESiS wrote:Does anyone have Decree of Silence and Temporal Aperture?

- Attachments
-
Temporal Aperture.zip
- (120.02 KiB) Downloaded 336 times
-
sumomole - Programmer
- Posts: 611
- Joined: 07 Jun 2011, 08:34
- Has thanked: 51 times
- Been thanked: 234 times
Re: Card Creation Request Thread
by BloodReyvyn » 06 Jun 2013, 06:40
Yeah, I was trying to find a way to "convince" the AI to play a lot of low cost "expendable" spells to put counters on it quickly, but the AI seems to be just content discarding spells it could otherwise play to put counters on it. 
Never got it to work, hence why I never actually released my Hex Parasite + Decree of Silence combo deck.

Never got it to work, hence why I never actually released my Hex Parasite + Decree of Silence combo deck.
"There's an experience worse than blindness - it's the certainty that your vision is perfect and the horror that there's no world around you to see."
-
BloodReyvyn - Posts: 421
- Joined: 19 May 2013, 13:29
- Has thanked: 53 times
- Been thanked: 40 times
Re: Card Creation Request Thread
by gorem2k » 06 Jun 2013, 12:47
Need help with Fight to the Death. tried many things and am tired of relaunching the game every seconds!
My current non-working filtering:

My current non-working filtering:
- Code: Select all
<SPELL_ABILITY dangerous="1" filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Destroy all blocking creatures and all blocked creatures.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Détruisez toutes les créatures bloqueuses et toutes les créatures bloquées.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Destruye todas las criaturas bloqueadoras y todas las criaturas bloqueadas.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Zerstöre alle blockenden und alle geblockten Kreaturen.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Distruggi tutte le creature bloccanti e tutte le creature bloccate.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[すべてのブロックしているクリーチャーとすべてのブロックされているクリーチャーを破壊する。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Destroy all blocking creatures and all blocked creatures.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Уничтожьте все блокирующие и заблокированные существа.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Destrua todas as criaturas bloqueadoras e todas as criaturas bloqueadas.]]></LOCALISED_TEXT>
<FILTER>
return (FilteredCard() ~= nil and
FilteredCard():GetCardType():Test( CARD_TYPE_CREATURE ) ~= 0 and
FilteredCard():IsBlocking() ~= 0))
</FILTER>
<RESOLUTION_TIME_ACTION>
FilteredCard():Destroy()
</RESOLUTION_TIME_ACTION>
<SFX text="1138_MAELSTROM_PLAY" />
<SFX text="GLOBAL_WIND_PLAY" />
</SPELL_ABILITY>
Re: Card Creation Request Thread
by MC Brodie » 06 Jun 2013, 12:47
Thanks thefiremind. By the way, i tried the code you posted for capsize earlier in the thread and didn't have any problems. I could counter it too and it wouldn't return to hand
-----------------------------------------------------------------------
Song of the Day: 46 and 2 (cover)
Song of the Day: 46 and 2 (cover)
Re: Card Creation Request Thread
by thefiremind » 06 Jun 2013, 13:22
There's one ")" too much, that's why it doesn't work at all. Besides that, you are considering only blocking creatures. This should work:gorem2k wrote:Need help with Fight to the Death. tried many things and am tired of relaunching the game every seconds!
- Code: Select all
<FILTER>
return FilteredCard() ~= nil and
FilteredCard():GetCardType():Test( CARD_TYPE_CREATURE ) ~= 0 and
(FilteredCard():IsBlocking() ~= 0 or FilteredCard():IsBlocked() ~= 0)
</FILTER>
<RESOLUTION_TIME_ACTION>
if FilteredCard() ~= nil then
FilteredCard():Destroy()
end
</RESOLUTION_TIME_ACTION>
Buyback is weird... I get problems that other people don't get.MC Brodie wrote:By the way, i tried the code you posted for Capsize earlier in the thread and didn't have any problems. I could counter it too and it wouldn't return to hand


< 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: Card Creation Request Thread
by NEMESiS » 06 Jun 2013, 13:46
Thanks, I guess the AI figures that doing nothing is better then getting a spell countered but it seems that it does not take into account discarding into the equation.sumomole wrote:I don't know why when Decree of Silence is in play, AI doesn't play card even discard it, I'm looking for a way to cheat AI play card.NEMESiS wrote:Does anyone have Decree of Silence and Temporal Aperture?

EDIT:
Last card if anyone has it: Gamekeeper
-
NEMESiS - Posts: 460
- Joined: 03 Jan 2013, 04:02
- Location: Pools of Becoming
- Has thanked: 70 times
- Been thanked: 21 times
Re: Card Creation Request Thread
by nivmizzet1 » 06 Jun 2013, 14:21
I'm attempting to code the vow series (vow of courage, etc.) and need code for the ability "can't attack you". I got the can't attack/block code from pillory of the sleepless, but I don't know how to convert it to apply only to the owner of the enchantment. I was thinking that some kind of filter might do the job...
can someone help?
can someone help?
- Attachments
-
VOW_OF_WILDNESS_3848193.zip
- e.g. vow of wildness
- (2.47 KiB) Downloaded 314 times
______________________________________
my DOTP 2014 Main mod page - my DOTP 2014 OP Decks mod page - Community WAD
my DOTP 2014 Main mod page - my DOTP 2014 OP Decks mod page - Community WAD
- nivmizzet1
- Posts: 617
- Joined: 21 Mar 2013, 10:10
- Has thanked: 100 times
- Been thanked: 25 times
Re: Card Creation Request Thread
by sumomole » 06 Jun 2013, 15:14
NEMESiS wrote:Last card if anyone has it: Gamekeeper
Gamekeeper.zip
- (107.13 KiB) Downloaded 301 times
nivmizzet1 wrote:I'm attempting to code the vow series (vow of courage, etc.) and need code for the ability "can't attack you". I got the can't attack/block code from pillory of the sleepless, but I don't know how to convert it to apply only to the owner of the enchantment. I was thinking that some kind of filter might do the job...
can someone help?
- Vow of Wildness | Open
- Code: Select all
<STATIC_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Enchanted creature gets +3/+3, has trample, and can’t attack you or a planeswalker you control.]]></LOCALISED_TEXT>
<CONTINUOUS_ACTION layer="7C">
local parent = Object():GetParent()
if parent ~= nil then
parent:GetCurrentCharacteristics():Power_Add( 3 )
parent:GetCurrentCharacteristics():Toughness_Add( 3 )
end
</CONTINUOUS_ACTION>
<CONTINUOUS_ACTION layer="6">
local parent = Object():GetParent()
if parent ~= nil then
local characteristics = parent:GetCurrentCharacteristics()
characteristics:Characteristic_Set( CHARACTERISTIC_TRAMPLE, 1 )
characteristics:GrantAbility(2)
end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<TRIGGERED_ABILITY resource_id="2" internal="1" pre_trigger="1">
<TRIGGER value="CANT_ATTACK_PLAYER_TEST">
local j = 0
local filter = Object():GetFilter()
filter:Clear()
filter:AddCardType( CARD_TYPE_ENCHANTMENT )
filter:AddSubType( ENCHANTMENT_TYPE_AURA )
filter:AddCardName( "VOW_OF_WILDNESS" )
filter:SetZone( ZONE_IN_PLAY )
filter:SetParent( Object() )
filter:NotTargetted()
local total = filter:EvaluateObjects()
if total > 0 then
for i=0,total-1 do
local card = filter:GetNthEvaluatedObject(i)
if card ~= nil then
if TriggerPlayer() == card:GetController() then
j = 1
end
end
end
end
if j == 1 then
return TriggerObject() == Object()
end
return false
</TRIGGER>
</TRIGGERED_ABILITY>
-
sumomole - Programmer
- Posts: 611
- Joined: 07 Jun 2011, 08:34
- Has thanked: 51 times
- Been thanked: 234 times
Re: Card Creation Request Thread
by AriesKiki » 06 Jun 2013, 22:13
May I request Quest for the Nihil Stone? Thanks in advance!
Re: Card Creation Request Thread
by BloodReyvyn » 07 Jun 2013, 00:47
I am having issues with two cards actually, but since I made the other card from this card as a template, I imagine they are one in the same issue.
I am trying to code Scarblade Elite (the other card is Stronghold Assassin.)
I am trying to code Scarblade Elite (the other card is Stronghold Assassin.)
- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2>
<FILENAME text="SCARBLADE_ELITE_153278" />
<CARDNAME text="SCARBLADE_ELITE" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Scarblade Elite]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Élite estafilame]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Élite de hoja marcadora]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Vernarber-Elite]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Sfregiatore d’Elite]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[傷刃の精鋭]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Scarblade Elite]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Карающая Элита]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Estigmista de Elite]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="153278" />
<ARTID value="A153278" />
<ARTIST name="Greg Staples" />
<CASTING_COST cost="{B}{B}" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“Rejoice, eyeblight. In your last hours above the earth, those who bury you will finally make you beautiful.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« Réjouis-toi, dysmèle. Pour quelques heures, tes fossoyeurs feront au moins de toi une créature de beauté avant de t’ensevelir. »]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“Alégrate, desgracia. En tus últimas horas sobre la tierra, aquellos que te enterraron finalmente lograron embellecerte.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„Entspanne dich, Augenweh. Diejenigen, die dich begraben, werden dich in deinen letzten Stunden über der Erde wieder schön machen.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“Rallegratevi, mal’occhi. Nelle vostre ultime ore sulla terra, coloro che vi hanno seppellito vi renderanno meravigliosi.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[「喜べよ、目腐れ。 お前が地上で過ごす最後の時に、お前を埋めてくれる奴は、お前を美しくしてくれるんだからな。」]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“Rejoice, eyeblight. In your last hours above the earth, those who bury you will finally make you beautiful.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[«Возрадуйся, порчеглаз В твои последние часы на земле, те, кто тебя похоронят, наконец-то сделают тебя прекрасным».]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“Alegre-se, seca-olho. Em suas últimas horas sobre a terra, aqueles que o enterrarem lhe farão finalmente belo.”]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<TYPE metaname="Creature" />
<SUB_TYPE metaname="Elf" order_fr-FR="0" order_es-ES="1" order_de-DE="0" order_it-IT="1" order_jp-JA="0" order_ko-KR="0" order_ru-RU="0" order_pt-BR="0" />
<SUB_TYPE metaname="Assassin" order_fr-FR="1" order_es-ES="0" order_de-DE="1" order_it-IT="0" order_jp-JA="1" order_ko-KR="1" order_ru-RU="1" order_pt-BR="1" />
<EXPANSION value="MOR" />
<RARITY metaname="R" />
<POWER value="2" />
<TOUGHNESS value="2" />
<ACTIVATED_ABILITY filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{T}, Exile an Assassin card from your graveyard: Destroy target creature.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{T}, retirez de la partie une carte d’assassin de votre cimetière : Détruisez la créature ciblée.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{T}, remover del juego una carta de Asesino en tu cementerio: Destruye la criatura objetivo.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{T}, entferne eine Assassinenkarte aus deinem Friedhof ganz aus dem Spiel: Zerstöre eine Kreatur deiner Wahl.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{T}, Esilia una carta Assassino dal tuo cimitero: Distruggi una creatura bersaglio.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{T}, あなたの墓地にある暗殺者カードを1枚ゲームから取り除く:クリーチャー1体を対象とし、それを破壊する。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{T}, Exile an Assassin card from your graveyard: Destroy target creature.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{T}, Удалите из игры карту Убийцы, находящуюся на вашем кладбище: Уничтожьте целевое существо.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{T}, Remova do jogo um card do tipo Assassino que esteja em seu cemitério: Destrua a criatura alvo.]]></LOCALISED_TEXT>
<COST type="TapSelf"/>
<COST type="Remove_from_game">
<TARGET_DEFINITION id="6">
local filter = Object():GetFilter()
filter:Clear()
filter:AddCardType( CARD_TYPE_CREATURE )
filter:AddSubType( CREATURE_TYPE_ASSASSIN )
filter:SetPlayer( EffectController() )
filter:SetZone( ZONE_GRAVEYARD )
filter:SetHint( HINT_ENEMY, EffectController() )
filter:NotTargetted()
</TARGET_DEFINITION>
<TARGET_DETERMINATION>
return AtLeastOneTargetFromDefinition(6)
</TARGET_DETERMINATION>
<PLAYTIME>
EffectController():ChooseTarget( 6, "CARD_QUERY_CHOOSE_CREATURE_CARD_TO_EXILE", EffectDC():Make_Targets(0) )
</PLAYTIME>
</COST>
<TARGET_DEFINITION id="0">
local filter = Object():GetFilter()
filter:Clear()
filter:AddCardType( CARD_TYPE_CREATURE )
filter:SetZone( ZONE_IN_PLAY )
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_CREATURE_TO_DESTROY", EffectDC():Make_Targets(0) )
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
target:Destroy()
end
</RESOLUTION_TIME_ACTION>
</ACTIVATED_ABILITY>
<SFX text="COMBAT_BLUNT_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
<SFX text="COMBAT_BLUNT_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
</CARD_V2>
"There's an experience worse than blindness - it's the certainty that your vision is perfect and the horror that there's no world around you to see."
-
BloodReyvyn - Posts: 421
- Joined: 19 May 2013, 13:29
- Has thanked: 53 times
- Been thanked: 40 times
Re: Card Creation Request Thread
by BloodReyvyn » 07 Jun 2013, 01:19
I have one that I coded but never got around to adding it to my discard deck, and thus it's untested...AriesKiki wrote:May I request Quest for the Nihil Stone? Thanks in advance!

- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2>
<FILENAME text="QUEST_FOR_THE_NIHIL_STONE_198386" />
<CARDNAME text="QUEST_FOR_THE_NIHIL_STONE" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Quest for the Nihil Stone]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Quête de la Pierre de Nihil]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Búsqueda de la piedra nihil]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Suche nach dem Stein Nihil]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[In Cerca della Pietra Nichilista]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[虚石の探索]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Quest for the Nihil Stone]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Поиски Камня Нигиляции]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Busca pela Pedra Niilista]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="198386" />
<ARTID value="A198386" />
<ARTIST name="Mike Bierek" />
<CASTING_COST cost="{B}" />
<TYPE metaname="Enchantment" />
<EXPANSION value="WWK" />
<RARITY metaname="R" />
<TRIGGERED_ABILITY auto_skip="1" filter_zone="ZONE_IN_PLAY" >
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever an opponent discards a card, you may put a quest counter on Quest for the Nihil Stone.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois qu’un adversaire se défausse d’une carte, vous pouvez mettre un marqueur « quête » sur la Quête de la Pierre de Nihil.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que un oponente descarte una carta, puedes poner un contador de búsqueda sobre la Búsqueda de la piedra nihil.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn ein Gegner eine Karte aus der Hand abwirft, kannst du eine Quest-Marke auf die Suche nach dem Stein Nihil legen.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta un avversario scarta una carta, puoi mettere un segnalino ricerca su In Cerca della Pietra Nichilista.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[いずれかの対戦相手がカードを1枚捨てるたび、あなたは虚石の探索の上に探索カウンターを1個置いてもよい。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Whenever an opponent discards a card, you may put a quest counter on Quest for the Nihil Stone.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Каждый раз когда оппонент сбрасывает карту, вы можете положить жетон странствий на Поиски Камня Нигиляции.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Toda vez que um oponente descarta um card, você pode colocar um marcador de busca em Busca pela Pedra Niilista.]]></LOCALISED_TEXT>
<TRIGGER value="DISCARD">
return TriggerPlayer():GetTeam() ~= EffectController():GetTeam()
</TRIGGER>
<RESOLUTION_TIME_ACTION>
Object():AddCounters( MTG():GetCountersType("QUEST_COUNTER"), 1 )
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
<TRIGGERED_ABILITY filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[At the beginning of each opponent’s upkeep, if that player has no cards in hand and Quest for the Nihil Stone has two or more quest counters on it, you may have that player lose 5 life.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Au début de l’entretien de chaque adversaire, si ce joueur n’a pas de carte en main et que la Quête de la Pierre de Nihil a au moins deux marqueurs « quête » sur elle, vous pouvez faire que ce joueur perde 5 points de vie.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Al comienzo del mantenimiento de cada oponente, si ese jugador no tiene cartas en su mano y la Búsqueda de la piedra nihil tiene dos o más contadores de búsqueda sobre ella, puedes hacer que ese jugador pierda 5 vidas.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Falls zu Beginn des Versorgungssegments eines Gegners dieser Spieler keine Karten auf der Hand hat und auf der Suche nach dem Stein Nihil zwei oder mehr Quest-Marken liegen, kannst du diesen Spieler 5 Lebenspunkte verlieren lassen.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[All’inizio del mantenimento di ogni avversario, se quel giocatore non ha carte in mano e ci sono due o più segnalini ricerca su In Cerca della Pietra Nichilista, puoi far perdere 5 punti vita a quel giocatore.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[各対戦相手のアップキープの開始時に、そのプレイヤーの手札にカードが無く、虚石の探索の上に探索カウンターが2個以上置かれている場合、あなたは「そのプレイヤーは5点のライフを失う。」を選んでもよい。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[At the beginning of each opponent’s upkeep, if that player has no cards in hand and Quest for the Nihil Stone has two or more quest counters on it, you may have that player lose 5 life.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[В начале шага поддержки каждого оппонента, если у того игрока в руке нет карт, а на Поисках Камня Нигиляции есть не менее двух жетонов странствий, вы можете заставить того игрока потерять 5 жизней.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[No início da manutenção de cada oponente, se aquele jogador não tiver nenhum card na mão e Busca pela Pedra Niilista tiver dois ou mais marcadores de busca, você poderá fazer com que aquele jogador perca 5 pontos de vida.]]></LOCALISED_TEXT>
<TRIGGER value="BEGINNING_OF_STEP">
return RSN_OpponentStep( STEP_UPKEEP ) and (TriggerPlayer():Hand_Count() == 0)
</TRIGGER>
<RESOLUTION_TIME_ACTION>
if (TriggerPlayer():Hand_Count() == 0) and (Object():CountCounters(MTG():GetCountersType("QUEST_COUNTER")) > 1 ) then
TriggerPlayer():LoseLife(5)
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
</CARD_V2>
"There's an experience worse than blindness - it's the certainty that your vision is perfect and the horror that there's no world around you to see."
-
BloodReyvyn - Posts: 421
- Joined: 19 May 2013, 13:29
- Has thanked: 53 times
- Been thanked: 40 times
Re: Card Creation Request Thread
by sumomole » 07 Jun 2013, 01:38
You can't use Make_Targets(0) twice in one ability, change the second to 1, and also need change Get_Targets(0) to 1, because it's the creature you want to kill, not the exiled one.BloodReyvyn wrote:I am having issues with two cards actually, but since I made the other card from this card as a template, I imagine they are one in the same issue.
I am trying to code Scarblade Elite (the other card is Stronghold Assassin.)
I can exile an assassin card from my grave and target the other creature, but it doesn't get destroyed. Same with the Stronghold Assassin, I can sac a creature, but the target creature doesn't die.
-
sumomole - Programmer
- Posts: 611
- Joined: 07 Jun 2011, 08:34
- Has thanked: 51 times
- Been thanked: 234 times
Re: Card Creation Request Thread
by AriesKiki » 07 Jun 2013, 02:36
I tested your code of Quest for the Nihil Stone, BloodReyvyn, and the first trigger doesn't work (I played Hymn to Tourach but the quest counters were not added) :/
Return to New MTG Cards and Decks (2010, 2012, 2013, 2014, 2015, Magic Duels)
Who is online
Users browsing this forum: No registered users and 1 guest