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 nivmizzet1 » 02 Apr 2015, 05:16
You need to change the filenames to match the the code. e.g. BLADEWINGS_THRALL_47224 should be renamed BLADEWINGS_THRALL_CW_47224. Find the filename to use on line 3 of each card --> <FILENAME text="BLADEWINGS_THRALL_CW_47224" />crypt wrote:Thanks sweetLu!
I generated the cards using TFM's generator but the code didn't work properly (not surprised these are hardly simple cards).
*edit*
Ok so I edited the xml's that I generated for these cards before, and replaced everything with the above code. I have them in "DATA_DLC_DECK_BUILDER_CUSTOM\DATA_ALL_PLATFORMS\CARDS" inside the root game folder. When I opened Riiak's deck builder I got the following errors;I don't know enough about coding to know what's wrong.
- Code: Select all
4/1/2015 8:31:22 PM: Low: Card (BLADEWINGS_THRALL_47224) in wad DATA_DLC_DECK_BUILDER_CUSTOM has a FILENAME tag that does not match which will cause problems in-game: BLADEWINGS_THRALL_CW_47224
4/1/2015 8:31:22 PM: Low: Card (BLADEWING_THE_RISEN_247401) in wad DATA_DLC_DECK_BUILDER_CUSTOM has a FILENAME tag that does not match which will cause problems in-game: BLADEWING_THE_RISEN_CW_247401
4/1/2015 8:31:22 PM: Low: Card (MALFEGOR_247179) in wad DATA_DLC_DECK_BUILDER_CUSTOM has a FILENAME tag that does not match which will cause problems in-game: MALFEGOR_CW_247179
Last edited by nivmizzet1 on 02 Apr 2015, 12:42, edited 1 time in total.
______________________________________
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: Formal Request Thread
by sweetLu » 02 Apr 2015, 09:10
Sorry should have edited my post last night. Those 3 cards should be in the CW now.
Re: Formal Request Thread
by lordmox21 » 02 Apr 2015, 14:01
Hi all!
I have a simple request: Concordant Crossroads. Legends, Enchant world, one green mana, all creatures have haste.
If any of you could create the card please, I have no idea how to code.
Thanks
I have a simple request: Concordant Crossroads. Legends, Enchant world, one green mana, all creatures have haste.
If any of you could create the card please, I have no idea how to code.
Thanks

Last edited by lordmox21 on 02 Apr 2015, 14:26, edited 1 time in total.
Re: Formal Request Thread
by Xander9009 » 02 Apr 2015, 14:03
Capitalize cards properly for the auto-highlighting to work: Concordant Crossroads.lordmox21 wrote:Hi all!
I have a simple request: Concordant crossroads. Legends, Enchant world, one green mana, all creatures have haste.
If any of you could create the card please, I have no idea how to code.
Thanks
EDIT: It's now in the CW, but it's untested.
- Concordant Crossroads - Untested | Open
- Code: Select all
<?xml version="1.0"?>
<CARD_V2 ExportVersion="1">
<FILENAME text="CONCORDANT_CROSSROADS_CW_201185" />
<CARDNAME text="CONCORDANT_CROSSROADS" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="201185" />
<ARTID value="CW201185" />
<ARTIST name="Amy Weber" />
<CASTING_COST cost="{G}" />
<SUPERTYPE metaname="World" />
<TYPE metaname="Enchantment" />
<EXPANSION value="ME3" />
<RARITY metaname="R" />
<STATIC_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<FILTER filter_id="1">
local filter = ClearFilter()
filter:Add(FE_TYPE, OP_IS, CARD_TYPE_CREATURE)
</FILTER>
<CONTINUOUS_ACTION layer="6" filter_id="1">
if FilteredCard() ~= nil then
FilteredCard():GetCurrentCharacteristics():Bool_Set(CHARACTERISTIC_HASTE, 1)
end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_14" body="MORE_INFO_BADGE_BODY_14" zone="ZONE_ANY" />
<AUTHOR><![CDATA[Xander9009]]></AUTHOR>
<EDITORS><![CDATA[Xander9009]]></EDITORS>
<DATE><![CDATA[02-04-15]]></DATE>
</CARD_V2>
_______________________________
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 lordmox21 » 02 Apr 2015, 14:28
Fixed.Xander9009 wrote:Capitalize cards properly for the auto-highlighting to work: Concordant Crossroads.lordmox21 wrote:Hi all!
I have a simple request: Concordant crossroads. Legends, Enchant world, one green mana, all creatures have haste.
If any of you could create the card please, I have no idea how to code.
Thanks
EDIT: It's now in the CW, but it's untested.
- Concordant Crossroads - Untested | Open
- Code: Select all
<?xml version="1.0"?>
<CARD_V2 ExportVersion="1">
<FILENAME text="CONCORDANT_CROSSROADS_CW_201185" />
<CARDNAME text="CONCORDANT_CROSSROADS" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Concordant Crossroads]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="201185" />
<ARTID value="CW201185" />
<ARTIST name="Amy Weber" />
<CASTING_COST cost="{G}" />
<SUPERTYPE metaname="World" />
<TYPE metaname="Enchantment" />
<EXPANSION value="ME3" />
<RARITY metaname="R" />
<STATIC_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[All creatures have haste.]]></LOCALISED_TEXT>
<FILTER filter_id="1">
local filter = ClearFilter()
filter:Add(FE_TYPE, OP_IS, CARD_TYPE_CREATURE)
</FILTER>
<CONTINUOUS_ACTION layer="6" filter_id="1">
if FilteredCard() ~= nil then
FilteredCard():GetCurrentCharacteristics():Bool_Set(CHARACTERISTIC_HASTE, 1)
end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_14" body="MORE_INFO_BADGE_BODY_14" zone="ZONE_ANY" />
<AUTHOR><![CDATA[Xander9009]]></AUTHOR>
<EDITORS><![CDATA[Xander9009]]></EDITORS>
<DATE><![CDATA[02-04-15]]></DATE>
</CARD_V2>
Thanks! Now... what do I do with all this gibberish?
Re: Formal Request Thread
by Xander9009 » 02 Apr 2015, 14:31
You either wait for the CW to update tonight and download the latest version, or you paste it into notepad and save as CONCORDANT_CROSSROADS_CW_201185.xml making sure to set the encoding on the save screen to utf-8. Then you move that to the CARDS folder within the subfolder created when you click Setup Custom Data Folder in Riiak's Deck Builder.
_______________________________
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 lordmox21 » 02 Apr 2015, 16:48
Thank you very much, it works great, even replace itself when you play the second one.Xander9009 wrote:You either wait for the CW to update tonight and download the latest version, or you paste it into notepad and save as CONCORDANT_CROSSROADS_CW_201185.xml making sure to set the encoding on the save screen to utf-8. Then you move that to the CARDS folder within the subfolder created when you click Setup Custom Data Folder in Riiak's Deck Builder.
I manage to win a match in the second round with it

Now for something more difficult, since we are in the enchant world topic: Nether Void.
Re: Formal Request Thread
by Hacker85 » 02 Apr 2015, 18:36
im working on adding the missing Innistrad cards to the CW.
but im stuck at the Morbid cards. I used the code from Reaper from the Abyss for morbid. It works but the game also checks at every endstep if a creature died and does the morbid ability again. Any help would be nice.
Festerhide Boar
but im stuck at the Morbid cards. I used the code from Reaper from the Abyss for morbid. It works but the game also checks at every endstep if a creature died and does the morbid ability again. Any help would be nice.
Festerhide Boar
- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="FESTERHIDE_BOAR_CW_380200" />
<CARDNAME text="FESTERHIDE_BOAR" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Festerhide Boar]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Festerhide Boar]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Festerhide Boar]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Festerhide Boar]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Festerhide Boar]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[ただれ皮の猪]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Festerhide Boar]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Festerhide Boar]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Festerhide Boar]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="168380200" />
<ARTID value="CW380200" />
<ARTIST name="Nils Hamm" />
<CASTING_COST cost="{3}{G}" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“Bury your dead deep. The boars are hungriest while the corpse is still warm.”
—Paulin, trapper of Somberwald]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[“Bury your dead deep. The boars are hungriest while the corpse is still warm.”
—Paulin, trapper of Somberwald]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“Bury your dead deep. The boars are hungriest while the corpse is still warm.”
—Paulin, trapper of Somberwald]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[“Bury your dead deep. The boars are hungriest while the corpse is still warm.”
—Paulin, trapper of Somberwald]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“Bury your dead deep. The boars are hungriest while the corpse is still warm.”
—Paulin, trapper of Somberwald]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[「死体は深くに埋めろ。死体が暖かい内は、猪は最も飢えている。」
――ソンバーワルドの罠師、パーリン]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“Bury your dead deep. The boars are hungriest while the corpse is still warm.”
—Paulin, trapper of Somberwald]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[“Bury your dead deep. The boars are hungriest while the corpse is still warm.”
—Paulin, trapper of Somberwald]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“Bury your dead deep. The boars are hungriest while the corpse is still warm.”
—Paulin, trapper of Somberwald]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<TYPE metaname="Creature" />
<SUB_TYPE metaname="Boar" />
<EXPANSION value="DDM" />
<RARITY metaname="C" />
<POWER value="3" />
<TOUGHNESS value="3" />
<STATIC_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Trample]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Piétinement]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Arrolla.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Verursacht Trampelschaden]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Travolgere]]></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[Atropelar]]></LOCALISED_TEXT>
<INTRINSIC characteristic="CHARACTERISTIC_TRAMPLE" />
</STATIC_ABILITY>
<TRIGGERED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Morbid — Festerhide Boar enters the battlefield with two +1/+1 counters on it if a creature died this turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Morbid — Festerhide Boar enters the battlefield with two +1/+1 counters on it if a creature died this turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Morbid — Festerhide Boar enters the battlefield with two +1/+1 counters on it if a creature died this turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Morbid — Festerhide Boar enters the battlefield with two +1/+1 counters on it if a creature died this turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Morboso — Il Cinghiale dalla Pelle Purulenta entra nel campo di battaglia con due segnalini +1/+1 se è morta una creatura in questo turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[陰鬱 ― このターンにクリーチャーが死亡していたなら、ただれ皮の猪は+1/+1カウンターが2個置かれた状態で戦場に出る。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Morbid — Festerhide Boar enters the battlefield with two +1/+1 counters on it if a creature died this turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Morbid — Festerhide Boar enters the battlefield with two +1/+1 counters on it if a creature died this turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Morbid — Festerhide Boar enters the battlefield with two +1/+1 counters on it if a creature died this turn.]]></LOCALISED_TEXT>
<SFX text="TARGET_PESTS_PLAY" />
<TRIGGER value="BEGINNING_OF_PLAYERS_STEP">
return MTG():GetStep() == STEP_END_OF_TURN
</TRIGGER>
<INTERVENING_IF ignore_resolution_check="1">
local interrogation = MTG():ClearInterrogationQuery()
interrogation:SetFromZone( ZONE_BATTLEFIELD )
interrogation:SetToZone( ZONE_GRAVEYARD )
interrogation:SetType( CARD_TYPE_CREATURE )
if interrogation:Test( INTERROGATE_CARDS_MOVED_ZONE, INTERROGATE_THIS_TURN ) then
return true
else
return false
end
</INTERVENING_IF>
<RESOLUTION_TIME_ACTION>
Object():AddCounters( MTG():PlusOnePlusOneCounters(), 2 )
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_1" body="MORE_INFO_BADGE_BODY_1" zone="ZONE_ANY" />
<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>
Re: Formal Request Thread
by MasterXploder7 » 02 Apr 2015, 18:50
" SFX text="TARGET_PESTS_PLAY" />
<TRIGGER value="BEGINNING_OF_PLAYERS_STEP">
return MTG():GetStep() == STEP_END_OF_TURN
</TRIGGER>
<INTERVENING_IF ignore_resolution_check="1">
local interrogation = MTG():ClearInterrogationQuery()
interrogation:SetFromZone( ZONE_BATTLEFIELD )
interrogation:SetToZone( ZONE_GRAVEYARD )
interrogation:SetType( CARD_TYPE_CREATURE )
if interrogation:Test( INTERROGATE_CARDS_MOVED_ZONE, INTERROGATE_THIS_TURN ) then "
I am not a modder, but this looks like the red flag to your issue.
EDIT: that is most likely not all of the code, i didnt include the beginning or end...
<TRIGGER value="BEGINNING_OF_PLAYERS_STEP">
return MTG():GetStep() == STEP_END_OF_TURN
</TRIGGER>
<INTERVENING_IF ignore_resolution_check="1">
local interrogation = MTG():ClearInterrogationQuery()
interrogation:SetFromZone( ZONE_BATTLEFIELD )
interrogation:SetToZone( ZONE_GRAVEYARD )
interrogation:SetType( CARD_TYPE_CREATURE )
if interrogation:Test( INTERROGATE_CARDS_MOVED_ZONE, INTERROGATE_THIS_TURN ) then "
I am not a modder, but this looks like the red flag to your issue.
EDIT: that is most likely not all of the code, i didnt include the beginning or end...
"Hate is an everlasting wellspring from which it is eternally sustained." - Nirkana Revenant
- MasterXploder7
- Posts: 293
- Joined: 18 Jan 2014, 10:55
- Has thanked: 28 times
- Been thanked: 11 times
Re: Formal Request Thread
by ShoGUN » 02 Apr 2015, 19:00
That one is supposed to trigger in the end step:
- Code: Select all
<TRIGGER value="BEGINNING_OF_PLAYERS_STEP">
return MTG():GetStep() == STEP_END_OF_TURN
</TRIGGER>
- Code: Select all
<TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
Re: Formal Request Thread
by CalT2410 » 05 Apr 2015, 21:06
Can someone code for me Goryo's Vengeance and Through the Breach without the Splice abilities? Ty in advanced!
- CalT2410
- Posts: 25
- Joined: 23 Sep 2014, 06:07
- Has thanked: 0 time
- Been thanked: 0 time
Re: Formal Request Thread
by sweetLu » 06 Apr 2015, 02:14
- Goryo's Vengeance | Open
- Code: Select all
<?xml version="1.0"?>
<CARD_V2 ExportVersion="1">
<FILENAME text="GORYOS_VENGEANCE_867074475" />
<CARDNAME text="GORYOS_VENGEANCE" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Goryo's Vengeance]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Vengeance selon Goryo]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Venganza de Goryo]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Goryos Rache]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Vendetta di Goryo]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[御霊の復讐]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Goryo's Vengeance]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Goryo's Vengeance]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Vingança de Goryo]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[怨灵复仇]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Goryo's Vengeance]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="867074475" />
<ARTID value="867074475" />
<ARTIST name="Ittoku" />
<CASTING_COST cost="{1}{B}" />
<TYPE metaname="Instant" />
<EXPANSION value="BOK" />
<RARITY metaname="R" />
<!--Removed arcane subtype and splice onto arcane -->
<SPELL_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Return target legendary creature card from your graveyard to the battlefield. That creature gains haste. Exile it at the beginning of the next end step.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Renvoyez en jeu la carte de créature légendaire ciblée de votre cimetière. Cette créature acquiert la célérité. Retirez-la de la partie à la fin du tour.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Regresa la carta de criatura legendaria objetivo de tu cementerio al juego. Esa criatura gana la habilidad de prisa. Remuévela del juego al final del turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Bringe eine legendäre Kreaturenkarte deiner Wahl aus deinem Friedhof ins Spiel zurück. Diese Kreatur erhält Eile. Entferne sie am Ende des Zuges ganz aus dem Spiel.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Rimetti in gioco dal tuo cimitero una carta creatura leggendaria bersaglio. Quella creatura guadagna rapidità. Rimuovila dal gioco alla fine del turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたの墓地にある伝説のクリーチャー・カード1枚を対象とし、それを場に出す。 そのクリーチャーは速攻を得る。 ターン終了時に、それをゲームから取り除く。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Return target legendary creature card from your graveyard to the battlefield. That creature gains haste. Exile it at the beginning of the next end step.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Return target legendary creature card from your graveyard to the battlefield. That creature gains haste. Exile it at the beginning of the next end step.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Devolve para o jogo o card alvo de criatura lendária de seu cemitério. Aquela criatura ganha ímpeto. Remova-a de jogo no final do turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[将目标传奇生物牌从你的坟墓场移回场上。 该生物获得敏捷异能。 在回合结束时将它移出对战。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Return target legendary creature card from your graveyard to the battlefield. That creature gains haste. Exile it at the beginning of the next end step.]]></LOCALISED_TEXT>
<TARGET tag="CARD_QUERY_CHOOSE_CREATURE_RETURN_TO_BATTLEFIELD" 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_SUPERTYPE, OP_IS, SUPERTYPE_LEGENDARY)
filter:SetZone( ZONE_GRAVEYARD, EffectController() )
</TARGET_DEFINITION>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
EffectDC():Get_Targets(0):Protect_CardPtr(0)
target:PutOntoBattlefield( EffectController() )
end
</RESOLUTION_TIME_ACTION>
<CONTINUOUS_ACTION layer="6">
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
local characteristics = target:GetCurrentCharacteristics()
characteristics:Bool_Set(CHARACTERISTIC_HASTE, 1)
end
</CONTINUOUS_ACTION>
<CONTINUOUS_ACTION layer="8">
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
local characteristics = target:GetCurrentCharacteristics()
characteristics:Badge_Set( BADGE_DIES_AT_END_OF_TURN )
characteristics:AI_SetWorthless()
end
</CONTINUOUS_ACTION>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
local delayDC = EffectDC():Make_Chest(1)
delayDC:Set_CardPtr(0, target)
MTG():CreateDelayedTrigger(2, delayDC)
end
</RESOLUTION_TIME_ACTION>
<DURATION>
return (EffectDC():Get_Targets(0):Get_CardPtr(0) == nil)
</DURATION>
</SPELL_ABILITY>
<TRIGGERED_ABILITY resource_id="2" priority="-1">
<CLEANUP fire_once="1" />
<TRIGGER value="BEGINNING_OF_PLAYERS_STEP">
return MTG():GetStep() == STEP_END_OF_TURN
</TRIGGER>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_CardPtr(0)
if target ~= nil then
target:Exile()
end
</RESOLUTION_TIME_ACTION>
<AUTO_SKIP>
return EffectDC():Get_CardPtr(0) == nil
</AUTO_SKIP>
</TRIGGERED_ABILITY>
<AI_AVAILABILITY window_step="main_1" window_turn="my_turn" type="window" />
</CARD_V2>
- Through the Breach | Open
- Code: Select all
<?xml version="1.0"?>
<CARD_V2 ExportVersion="1">
<FILENAME text="THROUGH_THE_BREACH_867080250" />
<CARDNAME text="THROUGH_THE_BREACH" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Through the Breach]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Dans la brèche]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Atravesando la brecha]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Durch den Durchbruch]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Fare Breccia]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[裂け目の突破]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Through the Breach]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Through the Breach]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Através da Brecha]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[穿越裂罅]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Through the Breach]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="867080250" />
<ARTID value="867080250" />
<ARTIST name="Hugh Jamieson" />
<CASTING_COST cost="{4}{R}" />
<TYPE metaname="Instant" />
<EXPANSION value="CHK" />
<RARITY metaname="R" />
<!--Removed arcane subtype and splice onto arcane -->
<SPELL_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[You may put a creature card from your hand onto the battlefield. That creature gains haste. Sacrifice that creature at the beginning of the next end step.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Mettez en jeu une carte de créature de votre main. Cette créature a la célérité. Sacrifiez cette créature à la fin du tour.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Pon en juego una carta de criatura de tu mano. Esa criatura tiene la habilidad de prisa. Sacrifícala al final del turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Bringe eine Kreaturenkarte aus deiner Hand ins Spiel. Diese Kreatur hat Eile. Opfere diese Kreatur am Ende des Zuges.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Metti in gioco una carta creatura dalla tua mano. Quella creatura ha rapidità. Sacrifica quella creatura alla fine del turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたの手札にあるクリーチャー・カードを1枚場に出す。そのクリーチャーは速攻を持つ。ターン終了時に、そのクリーチャーを生け贄に捧げる。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[You may put a creature card from your hand onto the battlefield. That creature gains haste. Sacrifice that creature at the beginning of the next end step.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[You may put a creature card from your hand onto the battlefield. That creature gains haste. Sacrifice that creature at the beginning of the next end step.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Coloque em jogo um card de criatura de sua mão. Essa criatura tem ímpeto. Sacrifique a criatura no final do turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[将一张生物牌从你的手上放置进场。该生物具有敏捷异能。在回合结束时牺牲该生物。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[You may put a creature card from your hand onto the battlefield. That creature gains haste. Sacrifice that creature at the beginning of the next end step.]]></LOCALISED_TEXT>
<TARGET tag="CARD_QUERY_CHOOSE_CREATURE_RETURN_TO_BATTLEFIELD" definition="0" compartment="0" count="1" not_targeted="1" />
<TARGET_DEFINITION id="0">
local filter = ClearFilter()
filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
filter:SetZone( ZONE_HAND, EffectController() )
</TARGET_DEFINITION>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
EffectDC():Get_Targets(0):Protect_CardPtr(0)
target:PutOntoBattlefield( EffectController() )
end
</RESOLUTION_TIME_ACTION>
<CONTINUOUS_ACTION layer="6">
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
local characteristics = target:GetCurrentCharacteristics()
characteristics:Bool_Set(CHARACTERISTIC_HASTE, 1)
end
</CONTINUOUS_ACTION>
<CONTINUOUS_ACTION layer="8">
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
local characteristics = target:GetCurrentCharacteristics()
characteristics:Badge_Set( BADGE_DIES_AT_END_OF_TURN )
characteristics:AI_SetWorthless()
end
</CONTINUOUS_ACTION>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
local delayDC = EffectDC():Make_Chest(1)
delayDC:Set_CardPtr(0, target)
MTG():CreateDelayedTrigger(2, delayDC)
end
</RESOLUTION_TIME_ACTION>
<DURATION>
return (EffectDC():Get_Targets(0):Get_CardPtr(0) == nil)
</DURATION>
</SPELL_ABILITY>
<TRIGGERED_ABILITY resource_id="2" priority="-1">
<CLEANUP fire_once="1" />
<TRIGGER value="BEGINNING_OF_PLAYERS_STEP">
return MTG():GetStep() == STEP_END_OF_TURN
</TRIGGER>
<RESOLUTION_TIME_ACTION>
player = EffectController()
local target = EffectDC():Get_CardPtr(0)
if player ~= nil and target ~= nil then
player:Sacrifice(target)
end
</RESOLUTION_TIME_ACTION>
<AUTO_SKIP>
return EffectDC():Get_CardPtr(0) == nil
</AUTO_SKIP>
</TRIGGERED_ABILITY>
<AI_AVAILABILITY window_step="main_1" window_turn="my_turn" type="window" />
</CARD_V2>
Who is online
Users browsing this forum: No registered users and 16 guests