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 » 17 Jun 2013, 10:41
Can I get some help with Court Hussar second ability? Where it must be sacrificed unless you paid
.

-
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 sumomole » 17 Jun 2013, 10:48
You can find Court Hussar in my mod.NEMESiS wrote:Can I get some help with Court Hussar second ability? Where it must be sacrificed unless you paid.
-
sumomole - Programmer
- Posts: 611
- Joined: 07 Jun 2011, 08:34
- Has thanked: 51 times
- Been thanked: 234 times
Re: Card Creation Request Thread
by Kieran » 17 Jun 2013, 13:15
Indeed sumomole. I'm such a noob. Thanks! Did anyone see a reason why Flagstones of Trokair randomly freezes? And was Disenchant coded correctly? Alsoe, is this this the enchant nonland code:
- | Open
- Code: Select all
<CONTINUOUS_ACTION>
local attach_filter = Object():AttachmentFilter_Get()
attach_filter:Clear()
attach_filter:AddCardType( CARD_TYPE_NONLAND )
</CONTINUOUS_ACTION>
Re: Card Creation Request Thread
by RiiakShiNal » 17 Jun 2013, 14:21
You posted code for Karakas instead of Flagstones of Trokair so no-one can comment on your Flagstones of Trokair code.
Disenchant looks fine to me, I use almost the exact same code for the effect for Nullmage Shepherd and it works fine (Granted the ignore_filter="1" is not needed since no filter is defined).
That is not enchant nonland code CARD_TYPE_NONLAND does not exist and will throw errors. The attachment filter should look like this:
Disenchant looks fine to me, I use almost the exact same code for the effect for Nullmage Shepherd and it works fine (Granted the ignore_filter="1" is not needed since no filter is defined).
That is not enchant nonland code CARD_TYPE_NONLAND does not exist and will throw errors. The attachment filter should look like this:
- Code: Select all
<CONTINUOUS_ACTION>
local attach_filter = Object():AttachmentFilter_Get()
attach_filter:Clear()
attach_filter:AddCardType( CARD_TYPE_LAND )
attach_filter:AddExtra( FILTER_EXTRA_FLIP_CARD_TYPES )
</CONTINUOUS_ACTION>
- Code: Select all
<SPELL_ABILITY attach_filter="1" filter_zone="ZONE_IN_PLAY">
<TARGET_DEFINITION id="0">
local filter = Object():GetFilter()
filter:Clear()
filter:AddCardType( CARD_TYPE_LAND )
filter:AddExtra( FILTER_EXTRA_FLIP_CARD_TYPES )
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, "<Some CARD_QUERY>", EffectDC():Make_Targets(0) )
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target_card = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target_card ~= nil then
Object():Enchant( target_card )
end
</RESOLUTION_TIME_ACTION>
</SPELL_ABILITY>
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: Card Creation Request Thread
by Kieran » 17 Jun 2013, 14:48
Okay, the Soul Tithe code you provided is giving me an error in this block and reads: EffectController():ChooseTarget( 0, "<Some CARD_QUERY>", EffectDC():Make_Targets(0) ) I think there should be something after QUERY. What should it be? And here is the Flagstones of Trokair code.
- | Open
- Code: Select all
<?xml version='1.0'?>
<CARD_V2>
<FILENAME text="FLAGSTONES_OF_TROKAIR_625010" />
<CARDNAME text="FLAGSTONES_OF_TROKAIR" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Flagstones of Trokair]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Flagstones of Trokair]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Flagstones of Trokair]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Flagstones of Trokair]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Flagstones of Trokair]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Flagstones of Trokair]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Flagstones of Trokair]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Flagstones of Trokair]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Flagstones of Trokair]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="625010" />
<ARTID value="625010" />
<ARTIST name="Rob Alexander" />
<CASTING_COST cost="" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Dust-spiked winds eroded the stones, but the ground where they had stood still holds power.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Dust-spiked winds eroded the stones, but the ground where they had stood still holds power.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Dust-spiked winds eroded the stones, but the ground where they had stood still holds power.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Dust-spiked winds eroded the stones, but the ground where they had stood still holds power.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Dust-spiked winds eroded the stones, but the ground where they had stood still holds power.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Dust-spiked winds eroded the stones, but the ground where they had stood still holds power.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Dust-spiked winds eroded the stones, but the ground where they had stood still holds power.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Dust-spiked winds eroded the stones, but the ground where they had stood still holds power.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Dust-spiked winds eroded the stones, but the ground where they had stood still holds power.]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<SUPERTYPE metaname="Legendary" />
<TYPE metaname="Land" />
<EXPANSION value="DPG" />
<RARITY metaname="R" />
<MANA_ABILITY filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{T}: Add {W} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{T}: Add {W} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{T}: Add {W} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{T}: Add {W} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{T}: Add {W} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{T}: Add {W} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{T}: Add {W} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{T}: Add {W} to your mana pool.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{T}: Add {W} to your mana pool.]]></LOCALISED_TEXT>
<COST type="TapSelf" />
<PRODUCES amount="{W}" />
</MANA_ABILITY>
<TRIGGERED_ABILITY auto_skip="1" filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Flagstones of Trokair is put into a graveyard from the battlefield, you may search your library for a Plains card and put it onto the battlefield tapped. If you do, shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[When Flagstones of Trokair is put into a graveyard from the battlefield, you may search your library for a Plains card and put it onto the battlefield tapped. If you do, shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[When Flagstones of Trokair is put into a graveyard from the battlefield, you may search your library for a Plains card and put it onto the battlefield tapped. If you do, shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[When Flagstones of Trokair is put into a graveyard from the battlefield, you may search your library for a Plains card and put it onto the battlefield tapped. If you do, shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[When Flagstones of Trokair is put into a graveyard from the battlefield, you may search your library for a Plains card and put it onto the battlefield tapped. If you do, shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[When Flagstones of Trokair is put into a graveyard from the battlefield, you may search your library for a Plains card and put it onto the battlefield tapped. If you do, shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[When Flagstones of Trokair is put into a graveyard from the battlefield, you may search your library for a Plains card and put it onto the battlefield tapped. If you do, shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[When Flagstones of Trokair is put into a graveyard from the battlefield, you may search your library for a Plains card and put it onto the battlefield tapped. If you do, shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[When Flagstones of Trokair is put into a graveyard from the battlefield, you may search your library for a Plains card and put it onto the battlefield tapped. If you do, shuffle your library.]]></LOCALISED_TEXT>
<TRIGGER value="ZONECHANGE_BEGIN" simple_qualifier="self" to_zone="ZONE_GRAVEYARD" from_zone="ZONE_IN_PLAY" />
<RESOLUTION_TIME_ACTION>
local filter = Object():GetFilter()
local effectController = EffectController()
effectController:MarkSearchedLibrary()
filter:Clear()
filter:NotTargetted()
filter:AddSubType(LAND_TYPE_PLAINS)
filter:AddCardType( CARD_TYPE_LAND )
filter:May()
filter:SetZone( ZONE_LIBRARY )
filter:SetPlayer( effectController )
effectController:ChooseTarget( NO_VALIDATION, "CARD_QUERY_CHOOSE_LAND_TO_PUT_ONTO_BATTLEFIELD", EffectDC():Make_Targets(0) )
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
target:PutIntoPlayTapped( EffectController() )
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
EffectController():ShuffleLibrary()
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
</CARD_V2>
Re: Card Creation Request Thread
by RiiakShiNal » 17 Jun 2013, 15:45
"<Some CARD_QUERY>" is meant to be replaced with a card query string, it is a string that references some entry in a TEXT_PERMANENT file. For example Guard Duty would use "CARD_QUERY_CHOOSE_CREATURE_TO_GAIN_DEFENDER", for Soul Tithe, you may need to make your own which would mean creating a TEXT_PERMANENT entry for it as well.
As for Flagstones of Trokair the only problem I'm seeing is that the Trigger should be ZONECHANGE_END instead of ZONECHANGE_BEGIN since it should activate once it goes to the graveyard instead of before it goes to the graveyard. This could be important if a card would change the target location such as having the card be exiled instead of going to the graveyard.
As for Flagstones of Trokair the only problem I'm seeing is that the Trigger should be ZONECHANGE_END instead of ZONECHANGE_BEGIN since it should activate once it goes to the graveyard instead of before it goes to the graveyard. This could be important if a card would change the target location such as having the card be exiled instead of going to the graveyard.
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: Card Creation Request Thread
by thefiremind » 17 Jun 2013, 16:20
I'd suggest to use CARD_QUERY_CHOOSE_PERMANENT_TO_ENCHANT, already used on Indestructibility. The fact that it must be nonland... well, the card says that, it should be enough.RiiakShiNal wrote:for Soul Tithe, you may need to make your own which would mean creating a TEXT_PERMANENT entry for it as well.

Actually, all "dies" triggers use ZONECHANGE_BEGIN, this allows them to check for the condition of the card before the zone change (very useful for undying, persist, modular, etc. which were much harder to code in DotP2012 without ZONECHANGE_BEGIN). As I have been able to experiment while coding other cards, the resolution of both kinds of triggers happens when the zone change has already ended. The substitutions of zone changes are made with ZONECHANGE_CONSIDERED triggers which, as the name suggests, are evaluated even before the ZONECHANGE_BEGIN, so no problems there.RiiakShiNal wrote:As for Flagstones of Trokair the only problem I'm seeing is that the Trigger should be ZONECHANGE_END instead of ZONECHANGE_BEGIN since it should activate once it goes to the graveyard instead of before it goes to the graveyard. This could be important if a card would change the target location such as having the card be exiled instead of going to the graveyard.
I can't see anything wrong on Flagstones of Trokair, but my guess is that the MANA_ABILITY somehow is the culprit. I can't remember having seen other lands with "dies" triggers coded in DotP2013, maybe the AI's evaluation sometimes gets stuck with this combination.
< 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 Kieran » 17 Jun 2013, 16:49
Okay, I'll start experimenting. As for the mana ability I'll just copy it from another card. The help I've receive from the different people here is amazing. I'm learning so much about modding DOTP.
Re: Card Creation Request Thread
by gorem2k » 17 Jun 2013, 17:06
May I request:
Nivix Cyclops
Wakestone Gargoyle
Artful Dodge
I could try Artful Dodge but I don't have a clue on how to give "can attack this turn as though it didn’t have defender." for the other two.
maybe Characteristic_Set( CHARACTERISTIC_DEFENDER, 0 )
I don't want to remove its Defender because this could potentially ensue problems with other card effects.
Nivix Cyclops
Wakestone Gargoyle
I could try Artful Dodge but I don't have a clue on how to give "can attack this turn as though it didn’t have defender." for the other two.
maybe Characteristic_Set( CHARACTERISTIC_DEFENDER, 0 )

I don't want to remove its Defender because this could potentially ensue problems with other card effects.
- Nivix Cyclops v1 | Open
- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2>
<FILENAME text="NIVIX_CYCLOPS_369093" />
<CARDNAME text="NIVIX_CYCLOPS" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Nivix Cyclops]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Cyclope de Nivix]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cíclope de Nívix]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Nivix-Zyklop]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ciclope di Nivix]]></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[Nivix Cyclops]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="369093" />
<ARTID value="A369093" />
<ARTIST name="Wayne Reynolds" />
<CASTING_COST cost="{1}{U}{R}" />
<TYPE metaname="Creature" />
<SUB_TYPE metaname="Cyclops" />
<EXPANSION value="DGM" />
<RARITY metaname="C" />
<POWER value="1" />
<TOUGHNESS value="4" />
<STATIC_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Defender]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Défenseur]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Defensor.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Verteidiger]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Difensore]]></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[Defensor]]></LOCALISED_TEXT>
<CONTINUOUS_ACTION>
local characteristics = Object():GetCurrentCharacteristics()
characteristics:Characteristic_Set( CHARACTERISTIC_DEFENDER, 1 )
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<TRIGGERED_ABILITY auto_skip="1" filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever you cast an instant or sorcery spell, Nivix Cyclops gets +3/+0 until end of turn and can attack this turn as though it didn’t have defender.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois que vous lancez un sort d’éphémère ou de rituel, le Cyclope de Nivix gagne +3/+0 jusqu’à la fin du tour et peut attaquer ce tour-ci comme s’il n’avait pas le défenseur.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que lances un hechizo de instantáneo o de conjuro, el Cíclope de Nívix obtiene +3/+0 hasta el final del turno y puede atacar este turno como si no tuviera la habilidad de defensor.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn du einen Spontanzauber oder eine Hexerei wirkst, erhält der Nivix-Zyklop +3/+0 bis zum Ende des Zuges und kann in diesem Zug angreifen, als ob er die Verteidigerfähigkeit nicht hätte.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta lanci una magia istantaneo o stregoneria, il Ciclope di Nivix prende +3/+0 fino alla fine del turno e può attaccare in questo turno come se non avesse difensore.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたがインスタント呪文かソーサリー呪文を1つ唱えるたび、ニヴィックスのサイクロプスはターン終了時まで+3/+0の修整を受けるとともに、このターン、防衛を持たないかのように攻撃できる。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[당신이 순간마법이나 집중마법을 발동할 때마다, 니빅스 키클롭스는 턴종료까지 +3/+0을 받으며 이 턴에 수비태세 능력이 없는 것처럼 공격할 수 있다.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Whenever you cast an instant or sorcery spell, Nivix Cyclops gets +3/+0 until end of turn and can attack this turn as though it didn’t have defender.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Whenever you cast an instant or sorcery spell, Nivix Cyclops gets +3/+0 until end of turn and can attack this turn as though it didn’t have defender.]]></LOCALISED_TEXT>
<TRIGGER value="SPELL_PLAYED" simple_qualifier="objectyoucontrol">
return TriggerObject():GetCardType():Test( CARD_TYPE_INSTANT ) ~= 0 or TriggerObject():GetCardType():Test( CARD_TYPE_SORCERY ) ~= 0
</TRIGGER>
<CONTINUOUS_ACTION layer="7C">
if EffectSource() ~= nil then
local characteristics = EffectSource():GetCurrentCharacteristics()
characteristics:Power_Add( 3 )
Object():GetCurrentCharacteristics():Characteristic_Set( CHARACTERISTIC_DEFENDER, 0 )
end
</CONTINUOUS_ACTION>
<DURATION simple_duration="UntilEOT" />
</TRIGGERED_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_6" body="MORE_INFO_BADGE_BODY_6" 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: Card Creation Request Thread
by Kieran » 17 Jun 2013, 19:19
Artful Dodge has already been created. It was in the Unblockable Vampires deck. Here is the XML. I'm having trouble finding a HD picture of the art. If you want custom art for it just let me know and I'll re-post.
- Attachments
-
Artful Dodge.zip
- (3 KiB) Downloaded 328 times
Re: Card Creation Request Thread
by RiiakShiNal » 17 Jun 2013, 20:53
Not "all" "dies" triggers use ZONECHANGE_BEGIN, for example: Bloodchief Ascension, Dread, Hostility, Purity, Serra Avatar, and Vulturous Zombie (all official cards, though they also say "from anywhere" not just "from the battlefield") all use ZONECHANGE_END for triggering on their move to the graveyard. So maybe there is a difference between the two triggers for some cases. Then again it could just be another example of WotC doing misleading things.thefiremind wrote:Actually, all "dies" triggers use ZONECHANGE_BEGIN, this allows them to check for the condition of the card before the zone change (very useful for undying, persist, modular, etc. which were much harder to code in DotP2012 without ZONECHANGE_BEGIN). As I have been able to experiment while coding other cards, the resolution of both kinds of triggers happens when the zone change has already ended. The substitutions of zone changes are made with ZONECHANGE_CONSIDERED triggers which, as the name suggests, are evaluated even before the ZONECHANGE_BEGIN, so no problems there.
Though I didn't know about the substitutions being done on ZONECHANGE_CONSIDERED (though it does make sense), probably because I haven't coded any instead abilities for zone changes (though that really isn't an excuse, I should have known better

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: Card Creation Request Thread
by thefiremind » 17 Jun 2013, 21:29
This is another example of how much complicated Magic has become: I really didn't think about those cards, but I read the Gatherer rulings for Purity and they say 
so "dies" (or "is put into a graveyard from the battlefield" for noncreature permanents) triggers from the battlefield, while "is put into a graveyard from anywhere" triggers from the graveyard. I just learned something.Although this ability triggers when the Incarnation is put into a graveyard from the battlefield, it doesn't *specifically* trigger on leaving the battlefield, so it doesn't behave like other leaves-the-battlefield abilities. The ability will trigger from the graveyard.

< 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 RiiakShiNal » 17 Jun 2013, 23:44
Apparently, same here, I did not realize that as well.
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: Card Creation Request Thread
by NEMESiS » 18 Jun 2013, 00:20
-
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 Kieran » 18 Jun 2013, 02:25
RiiakShiNal, thanks for providing the link to the deck the Crazyabdul requested. However, I'm missing two cards. These are the final cards I need to finish the deck:
Infinite Assault
Long-Term Plans
Spellshift
Infinite Combat
For the second deck I need the following cards:
Basal Thrull
Blood Pet
Oona's Prowler
Overeager Apprentice
Shriekmaw
Sins of the Past
If these can't be coded can some suggest some good replacements? Thanks in advance!
Also, can I request Darien, King of Kjeldor. Holy Justiciar, Kazandu Blademaster, Luminescent Rain, and especially Magus of the Disk / Magus of the Moat.
Infinite Assault
Long-Term Plans
Spellshift
Infinite Combat
For the second deck I need the following cards:
Basal Thrull
Blood Pet
Oona's Prowler
Overeager Apprentice
Shriekmaw
Sins of the Past
If these can't be coded can some suggest some good replacements? Thanks in advance!
Also, can I request Darien, King of Kjeldor. Holy Justiciar, Kazandu Blademaster, Luminescent Rain, and especially Magus of the Disk / Magus of the Moat.
Last edited by Kieran on 18 Jun 2013, 03:07, edited 2 times in total.
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 18 guests