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 thefiremind » 30 May 2013, 23:46
For the opponents' restriction, you could try something like this:BloodReyvyn wrote:Well, I have this so far, but not really sure how to handle limiting your opponents to only playing during their main phase, as I am still working on another card at the moment.
- Code: Select all
<STATIC_ABILITY filter_zone="ZONE_HAND">
-- localised text here
<FILTER>
return FilteredCard() ~= nil and
FilteredCard():GetPlayer():GetTeam() ~= EffectController():GetTeam()
</FILTER>
<CONTINUOUS_ACTION layer="8">
if FilteredCard() ~= nil then
if FilteredCard():GetPlayer():SorceryTime() == 0 then
FilteredCard():GetCurrentCharacteristics():Characteristic_Set( CHARACTERISTIC_CANT_BE_PLAYED, 1 )
end
end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
If it works with ZONE_ANY, put ZONE_ANY on the other ability, too, but not inside the FILTER block: you should remove the zone restriction from the FILTER block and put it as a tag as I did in my piece of code.
< 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 BloodReyvyn » 31 May 2013, 00:44
Awesome, that works great.
I ended up using "ZONE_ANY" because the AI was in fact able to still play cards with flashback at instant speed.
Teferi, Mage of Zhalfir (w/ Art): https://www.dropbox.com/s/z3uew39gf61i9 ... ip?v=0rc-s

Teferi, Mage of Zhalfir (w/ Art): https://www.dropbox.com/s/z3uew39gf61i9 ... ip?v=0rc-s
"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 » 31 May 2013, 00:47
Guys, I'm looking for Wild Defiance.
The one I have is not working when I cast Act of Treason on Ink-Treader Nephilim.
Here's the xml code.
The one I have is not working when I cast Act of Treason on Ink-Treader Nephilim.
Here's the xml code.
- wild defiance | Open
- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2>
<FILENAME text="WILD_DEFIANCE_276199" />
<CARDNAME text="WILD_DEFIANCE" />
<ARTID value="WILD_DEFIANCE_276199" />
<ARTIST name="Slawomir Maniak" />
<TYPE metaname="Enchantment" />
<CASTING_COST cost="{2}{G}" />
<MULTIVERSEID value="276199" />
<EXPANSION value="DPE" />
<RARITY metaname="R" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Wild Defiance]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Wilder Widerstand]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Desafío salvaje]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Résistance sauvage]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Sfida Selvaggia]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[野生の抵抗]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[거친 반항]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Дикий Вызов]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Desafio Selvagem]]></LOCALISED_TEXT>
</TITLE>
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA["When civilization reaches out its greedy hand, take it off at the wrist."
—Garruk Wildspeaker]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„Wenn die Zivilisation ihre gierigen Hände ausstreckt, schlagt sie ihr am Gelenk ab."
—Garruk Wildsprecher]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA["Cuando la civilización alargue su codiciosa mano, córtala por la muñeca."
—Garruk Portavoz Salvaje]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« Quand la civilisation tend une main avide, taillez dans le vif et ne laissez qu'un moignon. »
—Garruk Languebestion]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA["Quando la civiltà allunga la sua mano ingorda, bisogna reciderle il polso."
—Garruk Lingua Selvaggia]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[「文明がその強欲な手を伸ばしてきたら、手首のあたりで切り落とせ。」
――野生語りのガラク]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA["문명이 탐욕스러운 손을 내밀거든 그 손목을 잘라버려라."
—개럭 와일드스피커]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[«Если цивилизация тянет к вам свою жадную руку, отрубите ее».
— Гаррук Дикоречивый]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA["Quando a civilização estender sua mão gananciosa, decepe na altura do pulso."
—Garruk Falabravo]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<TRIGGERED_ABILITY filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever a creature you control becomes the target of an instant or sorcery spell, that creature gets +3/+3 until end of turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn eine Kreatur, die du kontrollierst, Ziel eines Spontanzaubers oder einer Hexerei wird, erhält diese Kreatur +3/+3 bis zum Ende des Zuges.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que una criatura que controles sea objetivo de un hechizo instantáneo o conjuro, esa criatura obtiene +3/+3 hasta el final del turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois qu'une créature que vous contrôlez devient la cible d'un sort d'éphémère ou de rituel, cette créature gagne +3/+3 jusqu'à la fin du tour.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta una creatura che controlli diventa bersaglio di una magia istantaneo o stregoneria, quella creatura prende +3/+3 fino alla fine del turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたがコントロールするクリーチャーがインスタント呪文またはソーサリー呪文の対象になるたび、そのクリーチャーはターン終了時まで+3/+3の修整を受ける。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[당신이 조종하는 생물이 순간마법 또는 집중마법 주문의 목표가 될 때마다, 그 생물은 턴종료까지 +3/+3을 받는다.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Каждый раз, когда существо под вашим контролем становится целью мгновенного заклинания или заклинания волшебства, то существо получает +3/+3 до конца хода.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Toda vez que uma criatura que você controla se tornar alvo de uma mágica instantânea ou feitiço, aquela criatura receberá +3/+3 até o final do turno.]]></LOCALISED_TEXT>
<TRIGGER value="BECAME_TARGET" simple_qualifier="objectyoucontrol">
<![CDATA[
local target = TriggerObject()
local spell = SecondaryObject()
return (
target
and target:GetPlayer() == EffectController()
and target:GetCardType():Test(CARD_TYPE_CREATURE) ~= 0
and target:GetZone() == ZONE_IN_PLAY
and spell
and (spell:GetCardType():Test(CARD_TYPE_INSTANT) ~= 0
or spell:GetCardType():Test(CARD_TYPE_SORCERY) ~= 0)
)
]]>
</TRIGGER>
<CONTINUOUS_ACTION layer="7C">
<![CDATA[
WithCharacteristicsDo(TriggerObject(), function(characteristics)
characteristics:Power_Add(3)
characteristics:Toughness_Add(3)
end)
]]>
</CONTINUOUS_ACTION>
<DURATION simple_duration="UntilEOT" />
</TRIGGERED_ABILITY>
<AI_BASE_SCORE score="300" zone="ZONE_IN_PLAY" />
</CARD_V2>
Re: Card Creation Request Thread
by j6m6w6 » 31 May 2013, 00:49
would anyone be able to code legacy weapon?
Re: Card Creation Request Thread
by BloodReyvyn » 31 May 2013, 01:09
Legacy Weapon:j6m6w6 wrote:would anyone be able to code legacy weapon?
- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2>
<FILENAME text="LEGACY_WEAPON_135242" />
<CARDNAME text="LEGACY_WEAPON" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Legacy Weapon]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[L’Héritage]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Arma del Legado]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Waffe des Vermächtnisses]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Arma dell’Eredità]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[レガシーの兵器]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Legacy Weapon]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Завещанное Оружие]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Arma do Legado]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="135242" />
<ARTID value="A135242" />
<ARTIST name="Terese Nielsen" />
<CASTING_COST cost="{7}" />
<SUPERTYPE metaname="Legendary" />
<TYPE metaname="Artifact" />
<EXPANSION value="10E" />
<RARITY metaname="R" />
<ACTIVATED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{W}{U}{B}{R}{G}: Exile target permanent.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{W}{U}{B}{R}{G} : Retirez le permanent ciblé de la partie.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{W}{U}{B}{R}{G}: Remueve del juego el permanente objetivo.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{W}{U}{B}{R}{G}: Entferne eine bleibende Karte deiner Wahl ganz aus dem Spiel.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{W}{U}{B}{R}{G}: Esilia un permanente bersaglio.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{W}{U}{B}{R}{G}:パーマネント1つを対象とし、それをゲームから取り除く。 ]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{W}{U}{B}{R}{G}: Exile target permanent.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{W}{U}{B}{R}{G}: Удалите целевой перманент из игры.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{W}{U}{B}{R}{G}: Remova a permanente alvo do jogo.]]></LOCALISED_TEXT>
<COST type="Mana" cost="{W}{U}{B}{R}{G}" />
<TARGET_DEFINITION id="0">
local filter = Object():GetFilter()
filter:Clear()
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_PERMANENT_TO_EXILE", EffectDC():Make_Targets(0) )
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
target:RemoveFromGame()
end
</RESOLUTION_TIME_ACTION>
</ACTIVATED_ABILITY>
<TRIGGERED_ABILITY filter_zone="ZONE_IN_PLAY" active_zone="ZONE_GRAVEYARD">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[If Legacy Weapon would be put into a graveyard from anywhere, reveal Legacy Weapon and shuffle it into its owner’s library instead.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Si L’Héritage devait être mis dans un cimetière depuis n’importe où, révélez L’Héritage et mélangez-le dans la bibliothèque de son propriétaire à la place.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Si el Arma del Legado fuera a ir a un cementerio desde cualquier lugar, en vez de eso, muestra el Arma del Legado y barájala en la biblioteca de su propietario.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Falls die Waffe des Vermächtnisses egal von woher auf einen Friedhof gelegt würde, zeige die Waffe des Vermächtnisses offen vor und mische sie stattdessen in die Bibliothek ihres Besitzers.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Se l’Arma dell’Eredità sta per essere messa in un cimitero da una qualsiasi zona, rivela invece l’Arma dell’Eredità e rimescolala nel grimorio del suo proprietario.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[レガシーの兵器があらゆる領域からいずれかの墓地に置かれる場合、代わりにレガシーの兵器を公開し、オーナーのライブラリーに加えて切り直す。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[If Legacy Weapon would be put into a graveyard from anywhere, reveal Legacy Weapon and shuffle it into its owner’s library instead.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Если Завещанное Оружие должно попасть откуда-либо на кладбище, покажите Завещанное Оружие и втасуйте его в библиотеку его владельца вместо этого.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Se Arma do Legado fosse ser colocada no cemitério vinda de qualquer lugar, em vez disso, revele Arma do Legado e embaralhe-a no grimório de seu dono.]]></LOCALISED_TEXT>
<TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_GRAVEYARD" from_zone="ZONE_ANY" />
<RESOLUTION_TIME_ACTION>
local source = EffectSource()
if source ~= nil then
source:PutInLibrary( -1 )
source:GetOwner():ShuffleLibrary()
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 j6m6w6 » 31 May 2013, 01:38
what program is used to save these as .xml?
Re: Card Creation Request Thread
by BloodReyvyn » 31 May 2013, 01:44
You can use Notepad. Just "Save As..." Make sure the encoding at the bottom is set to UTF-8 and type ".xml" at the end of the file name.
I could have just made a zip with the artwork, but was in the middle of scripting a beast of a card and didn't want to get to side-tracked. Legacy weapon is a pretty straight-forward card. The only part I think I missed is the reveal part as I just copied that code from Purity, then copied and slightly modified Revoke Existence without filtering for Artifacts and Enchantments for the exile bit.
I could have just made a zip with the artwork, but was in the middle of scripting a beast of a card and didn't want to get to side-tracked. Legacy weapon is a pretty straight-forward card. The only part I think I missed is the reveal part as I just copied that code from Purity, then copied and slightly modified Revoke Existence without filtering for Artifacts and Enchantments for the exile bit.
"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 » 31 May 2013, 01:56
Legacy Weapon is different from Purity, you should use the code of Progenitus. the second ability of Purity is triggered ability, the other two are instead effect.BloodReyvyn wrote:You can use Notepad. Just "Save As..." Make sure the encoding at the bottom is set to UTF-8 and type ".xml" at the end of the file name.
I could have just made a zip with the artwork, but was in the middle of scripting a beast of a card and didn't want to get to side-tracked. Legacy weapon is a pretty straight-forward card. The only part I think I missed is the reveal part as I just copied that code from Purity, then copied and slightly modified Revoke Existence without filtering for Artifacts and Enchantments for the exile bit.
There is Yosei, the Morning Star, and BloodReyvyn has coded Teferi, Mage of Zhalfir.AriesKiki wrote:It is possible to create Yosei, the Morning Star and Teferi, Mage of Zhalfir? If possible, may I request them? Thanks in advance!
Yosei, the Morning Star.zip
- (115.91 KiB) Downloaded 431 times
MalevolentZero wrote:OH, can someone please make Worldspine Wurm for me?
Worldspine Wurm.zip
- (213.74 KiB) Downloaded 346 times
gorem2k wrote:Guys, I'm looking for Wild Defiance.
Wild Defiance.zip
- (120.35 KiB) Downloaded 307 times
Last edited by sumomole on 31 May 2013, 02:13, edited 2 times in total.
-
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 » 31 May 2013, 02:01
Oh wow, now that I read that, yeah you would want it this way:
- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2>
<FILENAME text="LEGACY_WEAPON_135242" />
<CARDNAME text="LEGACY_WEAPON" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Legacy Weapon]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[L’Héritage]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Arma del Legado]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Waffe des Vermächtnisses]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Arma dell’Eredità]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[レガシーの兵器]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Legacy Weapon]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Завещанное Оружие]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Arma do Legado]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="135242" />
<ARTID value="A135242" />
<ARTIST name="Terese Nielsen" />
<CASTING_COST cost="{7}" />
<SUPERTYPE metaname="Legendary" />
<TYPE metaname="Artifact" />
<EXPANSION value="10E" />
<RARITY metaname="R" />
<ACTIVATED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{W}{U}{B}{R}{G}: Exile target permanent.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{W}{U}{B}{R}{G} : Retirez le permanent ciblé de la partie.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{W}{U}{B}{R}{G}: Remueve del juego el permanente objetivo.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{W}{U}{B}{R}{G}: Entferne eine bleibende Karte deiner Wahl ganz aus dem Spiel.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{W}{U}{B}{R}{G}: Esilia un permanente bersaglio.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{W}{U}{B}{R}{G}:パーマネント1つを対象とし、それをゲームから取り除く。 ]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{W}{U}{B}{R}{G}: Exile target permanent.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{W}{U}{B}{R}{G}: Удалите целевой перманент из игры.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{W}{U}{B}{R}{G}: Remova a permanente alvo do jogo.]]></LOCALISED_TEXT>
<COST type="Mana" cost="{W}{U}{B}{R}{G}" />
<COST type="TapSelf" />
<TARGET_DEFINITION id="0">
local filter = Object():GetFilter()
filter:Clear()
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_PERMANENT_TO_EXILE", EffectDC():Make_Targets(0) )
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
target:RemoveFromGame()
end
</RESOLUTION_TIME_ACTION>
</ACTIVATED_ABILITY>
<TRIGGERED_ABILITY internal="1" pre_trigger="1" filter_zone="ZONE_IN_PLAY" active_zone="ZONE_ANY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[If Legacy Weapon would be put into a graveyard from anywhere, reveal Legacy Weapon and shuffle it into its owner’s library instead.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Si L’Héritage devait être mis dans un cimetière depuis n’importe où, révélez L’Héritage et mélangez-le dans la bibliothèque de son propriétaire à la place.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Si el Arma del Legado fuera a ir a un cementerio desde cualquier lugar, en vez de eso, muestra el Arma del Legado y barájala en la biblioteca de su propietario.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Falls die Waffe des Vermächtnisses egal von woher auf einen Friedhof gelegt würde, zeige die Waffe des Vermächtnisses offen vor und mische sie stattdessen in die Bibliothek ihres Besitzers.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Se l’Arma dell’Eredità sta per essere messa in un cimitero da una qualsiasi zona, rivela invece l’Arma dell’Eredità e rimescolala nel grimorio del suo proprietario.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[レガシーの兵器があらゆる領域からいずれかの墓地に置かれる場合、代わりにレガシーの兵器を公開し、オーナーのライブラリーに加えて切り直す。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[If Legacy Weapon would be put into a graveyard from anywhere, reveal Legacy Weapon and shuffle it into its owner’s library instead.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Если Завещанное Оружие должно попасть откуда-либо на кладбище, покажите Завещанное Оружие и втасуйте его в библиотеку его владельца вместо этого.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Se Arma do Legado fosse ser colocada no cemitério vinda de qualquer lugar, em vez disso, revele Arma do Legado e embaralhe-a no grimório de seu dono.]]></LOCALISED_TEXT>
<TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_GRAVEYARD" from_zone="ZONE_ANY" />
<TRIGGER value="ZONECHANGE_CONSIDERED" simple_qualifier="self" to_zone="ZONE_GRAVEYARD">
override = true
return true
</TRIGGER>
<RESOLUTION_TIME_ACTION>
Object():GuidedReveal( Object():GetErstwhileZone(), ZONE_LIBRARY )
Object():PutInLibrary( -1 )
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
Object():GetOwner():ShuffleLibrary()
</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 j6m6w6 » 31 May 2013, 02:21
Thanks! I found a pic and made the card, used the old image!
Re: Card Creation Request Thread
by NEMESiS » 31 May 2013, 02:41
This does not seem to work, it asks me the question but when I agree to pay the conditional cost nothing happens. Its the only card with echo in the deck.thefiremind wrote:The echo check is almost the same as checking summoning sickness, except for being checked at the upkeep rather than at the untap. So I would start from the code I invented here and do something like this:NEMESiS wrote:Does anyone know how to make echo? I want to make Firemaw Kavu.Of course it would need to be refined if ObjectDC register #1 is already needed for something else (maybe defining a constant COMPARTMENT_ID_ALREADY_ECHOED or similar) or if you plan on adding Thick-Skinned Goblin to the mix. In the latter case I would suggest to rewrite the query completely so that it has 3 answers:
- Code: Select all
<TRIGGERED_ABILITY internal="1">
<TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_IN_PLAY" />
<RESOLUTION_TIME_ACTION>
ObjectDC():Set_Int(1, 0)
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
<TRIGGERED_ABILITY internal="1">
<TRIGGER value="CONTROLLER_CHANGED" simple_qualifier="self" />
<RESOLUTION_TIME_ACTION>
ObjectDC():Set_Int(1, 0)
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
<TRIGGERED_ABILITY internal="1">
<TRIGGER value="BEGINNING_OF_STEP" simple_qualifier="controller">
return EffectController():MyTurn() ~= 0 and MTG():GetStep() == STEP_UPKEEP and ObjectDC():Get_Int(1) == 0
</TRIGGER>
<RESOLUTION_TIME_ACTION>
local controller = EffectController()
if controller ~= nil and controller:CanAfford("{5}{R}") == 1 then
controller:BeginNewMultipleChoice()
controller:AddMultipleChoiceAnswer( "CARD_QUERY_OPTION_YES" )
controller:AddMultipleChoiceAnswer( "CARD_QUERY_OPTION_NO" )
controller:AskMultipleChoiceQuestion( "CONDITIONAL_QUESTION_BODY" )
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local controller = EffectController()
if controller ~= nil then
if controller:CanAfford("{5}{R}") == 1 and Object():GetMultipleChoiceResult() == 0 then
ObjectDC():Set_Int(1, 1)
controller:TapLand("{5}{R}")
elseif EffectSource() ~= nil then
EffectSource():Sacrifice(controller)
end
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
- Pay
![]()
(or whatever other cost)
- Pay
(enabled only if you control a Thick-Skinned Goblin)
- Do nothing
-
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 » 31 May 2013, 02:51
Since this is the Request thread, I am going to request a card for a change: Sisters of Stone Death.
"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 » 31 May 2013, 04:04
gorem2k wrote:Guys, I'm looking for Wild Defiance.
Wild Defiance.zip
[/quote]Sumomole, your card did work for Ink-Treader Nephilim but other creatures I had in play didn't get +3/+3.
Also I have a rule question; if I have Juniper Order Ranger in play and I cast Act of Treason to steal a creature, does it get a +1/+1 from Juniper ? It's not exactly 'entering' but I'm just wondering.
Re: Card Creation Request Thread
by BloodReyvyn » 31 May 2013, 04:26
Sumomole, your card did work for Ink-Treader Nephilim but other creatures I had in play didn't get +3/+3.gorem2k wrote:gorem2k wrote:Guys, I'm looking for Wild Defiance.Wild Defiance.zip
Also I have a rule question; if I have Juniper Order Ranger in play and I cast Act of Treason to steal a creature, does it get a +1/+1 from Juniper ? It's not exactly 'entering' but I'm just wondering.[/quote]
Nope, only a creature actually entering the battlefield will trigger an ETB ability. Taking control of a creature doesn't make it leave or enter the battlefield.

"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 » 31 May 2013, 04:41
Perhaps become target doesn't work for copy spell that doesn't need to choose new target, you can download this Livewire Lash, use it in your deck and equip it on another creature, when a spell is copied by Ink-Treader Nephilim, check whether the triggered ability of Livewire Lash is active. This card is only used in the test, del it when you end the test.gorem2k wrote:Sumomole, your card did work for Ink-Treader Nephilim but other creatures I had in play didn't get +3/+3.
Also I have a rule question; if I have Juniper Order Ranger in play and I cast Act of Treason to steal a creature, does it get a +1/+1 from Juniper ? It's not exactly 'entering' but I'm just wondering.
Last edited by sumomole on 31 May 2013, 09:54, edited 1 time in total.
-
sumomole - Programmer
- Posts: 611
- Joined: 07 Jun 2011, 08:34
- Has thanked: 51 times
- Been thanked: 234 times
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 7 guests