It is currently 21 Jun 2025, 18:32
   
Text Size

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!

Moderator: CCGHQ Admins

Re: Card Creation Request Thread

Postby RiiakShiNal » 21 Dec 2012, 02:28

loookaz wrote:ok, i've found this in the script log:
Code: Select all
[lua] [string "MOMENT_OF_HEROISM_277046_TITLE (CONTINUOUS_ACTION) [1630]"]:2: attempt to index a nil value
[lua] [string "MOMENT_OF_HEROISM_277046_TITLE (CONTINUOUS_ACTION) [1629]"]:2: attempt to index a nil value
[lua]
but i do not have Moment of heroism in my deck. what gives?
i am starting to think that the crashing error might be somewhat connected to Crop Rotation, but i am still not certain:(
It is possible that Moment of Heroism is in your opponent's deck (all cards in the game are processed and any card regardless of which player is using it). It is also possible that Moment of Heroism is showing up from previous games and you are just now noticing it.

Of course it is always possible that what is causing the crash is not showing up in the script log because sometimes the first time the error occurs it is enough to crash the game (thus no entry in the script log because the game crashed before the log was written).

Unfortunately when tracking down crashes it is usually best to reduce the number of variables for example try any suspected cards by themselves in a deck that uses only pre-built or simple known good cards (sometimes you will need to run tests multiple times). Then if you can't reproduce the problem with any of the suspected cards by themselves start mixing them with the other suspected cards (starting off minimal like 2 suspected cards, if none of those combinations produce the crash then try combinations of 3, etc...) until you've tried all suspected cards. If you still haven't reproduced the crash then start adding the other originally non-suspected cards one at a time until you get the problem to reproduce. This is a very time consuming method, but it does usually produce results in figuring out what is bad or in what combinations is something bad.

yinyangyan wrote:How would I go about making it so a creature does not untap? Trying to make Leaden Fists and that's all I'm missing, and I can't seem to think of any card that does that already.
There are two ways that I know of to prevent untapping.
  1. Use the characteristic, CHARACTERISTIC_DOESNT_UNTAP, to prevent untapping between end of turn and upkeep. (Note that this can be difficult to get right and could have issues mixing with other cards.)
  2. At end of turn check to see if the enchanted object is tapped and if it is call TapAndHold() on it to prevent it from untapping at next upkeep. If it is untapped then do nothing (as we don't want to tap it for no reason). This may have issues of it's own, but I believe this would work better as it should allow other cards/abilities to untap the enchanted object.
Either way it would likely need to be done at every end of turn as I don't know of a way to figure out which player is going next (just who's turn it currently is) using the functions given to us.
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Card Creation Request Thread

Postby thefiremind » 21 Dec 2012, 09:07

RiiakShiNal wrote:Use the characteristic, CHARACTERISTIC_DOESNT_UNTAP, to prevent untapping between end of turn and upkeep.
This is the correct way to do that. Even if the constant name isn't detailed, CHARACTERISTIC_DOESNT_UNTAP does exactly what you need (it doesn't prevent untapping forever, you can always use abilities to untap).
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

Re: Card Creation Request Thread

Postby Niah » 21 Dec 2012, 13:43

Niah
 
Posts: 9
Joined: 30 Oct 2012, 17:14
Has thanked: 2 times
Been thanked: 0 time

Re: Card Creation Request Thread

Postby sumomole » 21 Dec 2012, 20:14

Niah wrote:Hi, i try created UB deck i need some cards :)
If u have xml with this cards, tell me, plz.
Evil Twin
Circu, Dimir Lobotomist
Glimpse the Unthinkable
Mind Funeral
I have produced four cards you need, the second effect of Havengul Lich can't be finish.
Attachments
4Cards.zip
Evil Twin/Circu, Dimir Lobotomist/Glimpse the Unthinkable/Mind Funeral
(416.89 KiB) Downloaded 445 times
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Card Creation Request Thread

Postby SoulStorm » 21 Dec 2012, 21:33

SoulStorm
 
Posts: 423
Joined: 24 Jun 2010, 22:48
Has thanked: 16 times
Been thanked: 11 times

Re: Card Creation Request Thread

Postby Niah » 21 Dec 2012, 23:20

@sumomole
thx!
Niah
 
Posts: 9
Joined: 30 Oct 2012, 17:14
Has thanked: 2 times
Been thanked: 0 time

Re: Card Creation Request Thread

Postby sumomole » 22 Dec 2012, 20:14

SoulStorm wrote:I'd like Caltrops, Rite of Passage, and Jugan, the Rising Star.

Thanks!
There is code only, I can't find the images. :wink:
Attachments
3Cards.zip
(3.34 KiB) Downloaded 385 times
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Card Creation Request Thread

Postby sumomole » 22 Dec 2012, 20:16

Niah wrote:Hi, i try created UB deck i need some cards :)
If u have xml with this cards, tell me, plz.
Dimir Cutpurse
Consult the Necrosages
Mask of Riddles
Mindleech Mass
Nemesis of Reason
Oona, Queen of the Fae
Psychic Drain
Soul Manipulation
Wrexial, the Risen Deep
There is code only, I can't find the images. :wink:
Attachments
9Cards.zip
(13.58 KiB) Downloaded 400 times
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Card Creation Request Thread

Postby SoulStorm » 22 Dec 2012, 20:34

sumomole wrote:There is code only, I can't find the images. :wink:
Perfect, many thanks sumomole!
SoulStorm
 
Posts: 423
Joined: 24 Jun 2010, 22:48
Has thanked: 16 times
Been thanked: 11 times

Re: Card Creation Request Thread

Postby loookaz » 28 Dec 2012, 23:48

hi guys i was wondering whether those 4 cards could be done?
Wirewood Lodge
Vorinclex, Voice of Hunger (i know there is a challenge with him, but i cannot find the card...)
WIREWOOD SYMBIOTE
Seeker of Skybreak
those 4 cards would make my elf deck kick ass, please help me guys:)
loookaz
 
Posts: 131
Joined: 01 Dec 2012, 10:56
Location: Warsaw, Poland
Has thanked: 22 times
Been thanked: 2 times

Re: Card Creation Request Thread

Postby RiiakShiNal » 29 Dec 2012, 00:20

loookaz wrote:hi guys i was wondering whether those 4 cards could be done?
Wirewood Lodge
Vorinclex, Voice of Hunger (i know there is a challenge with him, but i cannot find the card...)
Wirewood Symbiote
Seeker of Skybreak
those 4 cards would make my elf deck kick ass, please help me guys:)
The only card that can't be made of those four is Vorinclex, Voice of Hunger due to not being able to detect what color of mana a land produced when it was tapped for mana. Basic lands you can figure it out by checking the land that was tapped, but for multi-colour lands or non-basic lands that produce mana we have no clue which colour was produced.

The other 3 cards are pretty easy.
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Card Creation Request Thread

Postby loookaz » 29 Dec 2012, 00:30

i would greatly appreciate if someone could post them here. Genesis Wave + Titania Priest and another card that allows untapping it? sounds nice to me:)
loookaz
 
Posts: 131
Joined: 01 Dec 2012, 10:56
Location: Warsaw, Poland
Has thanked: 22 times
Been thanked: 2 times

Re: Card Creation Request Thread

Postby RiiakShiNal » 29 Dec 2012, 02:08

Apparently I had already coded Wirewood Lodge though I had not released it yet. So Wirewood Lodge is fully tested, Seeker of Skybreak and Wirewood Symbiote are untested but should work.
Wirewood Lodge | Open
Code: Select all
<?xml version='1.0'?>
<CARD_V2>
   <FILENAME text="WIREWOOD_LODGE_34764" />
   <CARDNAME text="WIREWOOD_LODGE" />
   <TITLE>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Wirewood Lodge]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Pavillon de Brinbois]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Pabellón de Wirewood]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Drahtholzwald-Unterkunft]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Tana di Boscocavo]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Wirewood Lodge]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Wirewood Lodge]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Wirewood Lodge]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Cabana de Wirewood]]></LOCALISED_TEXT>
   </TITLE>
   <MULTIVERSEID value="34764" />
   <ARTID value="RSN34764" />
   <ARTIST name="Anthony S. Waters" />
   <CASTING_COST cost="" />
   <TYPE metaname="Land" />
   <EXPANSION value="ONS" />
   <RARITY metaname="U" />
   <MANA_ABILITY filter_zone="ZONE_IN_PLAY">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{T}: Add {1} to your mana pool.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{T}: Ajoutez {1} à votre réserve.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{T}: Agrega {1} a tu reserva de maná.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{T}: Erhöhe deinen Manavorrat um {1}.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{T}: Aggiungi {1} alla tua riserva di mana.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{T}:あなたのマナ・プールに{1}を加える。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{T}: {1}를 당신의 마나풀에 담는다.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{T}: добавьте {1} в ваше хранилище маны.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{T}: Adicione {1} à sua reserva de mana.]]></LOCALISED_TEXT>
      <COST type="TapSelf" />
      <PRODUCES amount="{1}" />
   </MANA_ABILITY>
   <ACTIVATED_ABILITY filter_zone="ZONE_IN_PLAY">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{G}, {T}: Untap target Elf.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{G}, {T} : Dégagez l'elfe ciblé.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{G}, {T}: Endereza el Elfo objetivo.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{G}, {T}: Enttappe einen Elfen deiner Wahl.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{G}, {T}: STAPpa un Elfo bersaglio.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{G}, {T}: Untap target Elf.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{G}, {T}: Untap target Elf.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{G}, {T}: Untap target Elf.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{G}, {T}: Desvira o Elfo alvo.]]></LOCALISED_TEXT>
      <COST type="Mana" cost="{G}" />
      <COST type="TapSelf" />
      <TARGET_DEFINITION id="0">
         local oFilter = Object():GetFilter()
         oFilter:Clear()
         oFilter:SetZone( ZONE_IN_PLAY )
         oFilter:AddCardType( CARD_TYPE_CREATURE )
         oFilter:AddSubType( CREATURE_TYPE_ELF )
         oFilter:SetHint( HINT_ALLIED_ONLY, EffectController() )
      </TARGET_DEFINITION>
      <TARGET_DETERMINATION>
         return AtLeastOneTargetFromDefinition(0)
      </TARGET_DETERMINATION>
      <PLAY_TIME_ACTION target_choosing="1">
         EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_CREATURE_UNTAP", EffectDC():Make_Targets(0) )
      </PLAY_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local oTarget = EffectDC():Get_Targets(0):Get_CardPtr(0)
         if (oTarget ~= nil) then
            oTarget:Untap()
         end
      </RESOLUTION_TIME_ACTION>
   </ACTIVATED_ABILITY>
</CARD_V2>
Seeker of Skybreak | Open
Code: Select all
<?xml version='1.0'?>
<CARD_V2>
   <FILENAME text="SEEKER_OF_SKYBREAK_13046" />
   <CARDNAME text="SEEKER_OF_SKYBREAK" />
   <TITLE>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Seeker of Skybreak]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Chercheur de trouées de ciel]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Seeker of Skybreak]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Sonnenlichtsucher]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Seeker of Skybreak]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Seeker of Skybreak]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Seeker of Skybreak]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Seeker of Skybreak]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Seeker of Skybreak]]></LOCALISED_TEXT>
   </TITLE>
   <MULTIVERSEID value="13046" />
   <ARTID value="RSN13046" />
   <ARTIST name="Alex Horley-Orlandelli" />
   <CASTING_COST cost="{1}{G}" />
   <FLAVOURTEXT>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Seekers spend their lives protecting a home they rarely visit.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Les chercheurs passent leurs vies à protéger une maison qu'ils habitent peu.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Seekers spend their lives protecting a home they rarely visit.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Sonnenlichtsucher verbringen ihr Leben damit, eine Heimat zu beschützen, die sie eigentlich nur selten sehen.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Seekers spend their lives protecting a home they rarely visit.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Seekers spend their lives protecting a home they rarely visit.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Seekers spend their lives protecting a home they rarely visit.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Seekers spend their lives protecting a home they rarely visit.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Seekers spend their lives protecting a home they rarely visit.]]></LOCALISED_TEXT>
   </FLAVOURTEXT>
   <TYPE metaname="Creature" />
   <SUB_TYPE metaname="Elf" />
   <EXPANSION value="7ED" />
   <RARITY metaname="C" />
   <POWER value="2" />
   <TOUGHNESS value="1" />
   <ACTIVATED_ABILITY filter_zone="ZONE_IN_PLAY">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{T}: Untap target creature.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{T}: Dégagez la créature ciblée.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{T}: Untap target creature.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{T}: Enttappe eine Kreatur deiner Wahl.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{T}: Untap target creature.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{T}: Untap target creature.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{T}: Untap target creature.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{T}: Untap target creature.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{T}: Untap target creature.]]></LOCALISED_TEXT>
      <COST type="TapSelf" />
      <TARGET_DEFINITION id="0">
         local oFilter = Object():GetFilter()
         oFilter:Clear()
         oFilter:SetZone( ZONE_IN_PLAY )
         oFilter:AddCardType( CARD_TYPE_CREATURE )
         oFilter:SetHint( HINT_ALLIED_ONLY, EffectController() )
      </TARGET_DEFINITION>
      <TARGET_DETERMINATION>
         return AtLeastOneTargetFromDefinition(0)
      </TARGET_DETERMINATION>
      <PLAY_TIME_ACTION target_choosing="1">
         EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_CREATURE_UNTAP", EffectDC():Make_Targets(0) )
      </PLAY_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local oTarget = EffectDC():Get_Targets(0):Get_CardPtr(0)
         if (oTarget ~= nil) then
            oTarget:Untap()
         end
      </RESOLUTION_TIME_ACTION>
   </ACTIVATED_ABILITY>
</CARD_V2>
Wirewood Symbiote does use one of my functions RSN_Step() to make it slightly easier to code though can easily be changed to not use it. Also for returning an elf to owner's hand I use CARD_QUERY_CHOOSE_CREATURE_TO_PUT_INTO_HAND instead of making a new card query to be more accurate.
Wirewood Symbiote | Open
Code: Select all
<?xml version='1.0'?>
<CARD_V2>
   <FILENAME text="WIREWOOD_SYMBIOTE_45859" />
   <CARDNAME text="WIREWOOD_SYMBIOTE" />
   <TITLE>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Wirewood Symbiote]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Symbiote de Brinbois]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Simbionte de Wirewood]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Drahtholzwald-Symbiot]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Simbionte di Boscocavo]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Wirewood Symbiote]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Wirewood Symbiote]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Wirewood Symbiote]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Simbiota de Wirewood]]></LOCALISED_TEXT>
   </TITLE>
   <MULTIVERSEID value="45859" />
   <ARTID value="RSN45859" />
   <ARTIST name="Thomas M. Baxa" />
   <CASTING_COST cost="{G}" />
   <FLAVOURTEXT>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[It drinks fatigue.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Il se repaît de fatigue.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Bebe fatiga.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Er trinkt Müdigkeit.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Beve la fatica.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[It drinks fatigue.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[It drinks fatigue.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[It drinks fatigue.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Ele bebe fadiga.]]></LOCALISED_TEXT>
   </FLAVOURTEXT>
   <TYPE metaname="Creature" />
   <SUB_TYPE metaname="Insect" />
   <EXPANSION value="SCG" />
   <RARITY metaname="U" />
   <POWER value="1" />
   <TOUGHNESS value="1" />
   <ACTIVATED_ABILITY filter_zone="ZONE_IN_PLAY">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Return an Elf you control to its owner's hand: Untap target creature. Play this ability only once each turn.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Renvoyez un elfe que vous contrôlez dans la main de son propriétaire : Dégagez la créature ciblée. Ne jouez cette capacité qu'une seule fois par tour.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Regresar un Elfo que controles a la mano de su propietario: Endereza la criatura objetivo. Juega esta habilidad sólo una vez cada turno.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Bringe einen Elf, den du kontrollierst, auf die Hand seines Besitzers zurück: Enttappe eine Kreatur deiner Wahl. Spiele diese Fähigkeit nur einmal pro Zug.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Il proprietario riprende in mano un Elfo che tu controlli: STAPpa una creatura bersaglio. Gioca questa abilità solo una volta per turno.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Return an Elf you control to its owner's hand: Untap target creature. Play this ability only once each turn.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Return an Elf you control to its owner's hand: Untap target creature. Play this ability only once each turn.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Return an Elf you control to its owner's hand: Untap target creature. Play this ability only once each turn.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Devolva um Elfo que você controla para a mão de seu dono: Desvira a criatura alvo. Use esta habilidade apenas uma vez a cada turno.]]></LOCALISED_TEXT>
      <AVAILABILITY>
         return (ObjectDC() ~= nil) and (ObjectDC():Int_Get( 0 ) ~= 1)
      </AVAILABILITY>
      <COST type="Generic">
         <TARGET_DEFINITION id="6">
            local oFilter = Object():GetFilter()
            oFilter:Clear()
            oFilter:AddCardType( CARD_TYPE_CREATURE )
            oFilter:AddSubType( CREATURE_TYPE_ELF )
            oFilter:SetPlayer( EffectController() )
            oFilter:SetZone( ZONE_IN_PLAY )
            oFilter:SetHint( HINT_ENEMY, EffectController() )
            oFilter:NotTargetted()
         </TARGET_DEFINITION>
         <TARGET_DETERMINATION>
            return AtLeastOneTargetFromDefinition(6)
         </TARGET_DETERMINATION>
         <PLAY_TIME_ACTION>
            EffectController():ChooseTarget( 6, "CARD_QUERY_CHOOSE_CREATURE_TO_PUT_INTO_HAND", EffectDC():Make_Targets(1) )
         </PLAY_TIME_ACTION>
         <RESOLUTION_TIME_ACTION>
            local oElf = EffectDC():Get_Targets(1):Get_CardPtr(0)
            if (oElf ~= nil) then
               oElf:ReturnToOwnersHand()
            end
         </RESOLUTION_TIME_ACTION>
      </COST>
      <TARGET_DEFINITION id="0">
         local oFilter = Object():GetFilter()
         oFilter:Clear()
         oFilter:SetZone( ZONE_IN_PLAY )
         oFilter:AddCardType( CARD_TYPE_CREATURE )
         oFilter:SetHint( HINT_ALLIED_ONLY, EffectController() )
      </TARGET_DEFINITION>
      <TARGET_DETERMINATION>
         return AtLeastOneTargetFromDefinition(0)
      </TARGET_DETERMINATION>
      <PLAY_TIME_ACTION target_choosing="1">
         EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_CREATURE_UNTAP", EffectDC():Make_Targets(0) )
      </PLAY_TIME_ACTION>
      <PLAY_TIME_ACTION>
         ObjectDC():Int_Set( 0, 1 )
      </PLAY_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local oTarget = EffectDC():Get_Targets(0):Get_CardPtr(0)
         if (oTarget ~= nil) then
            oTarget:Untap()
         end
      </RESOLUTION_TIME_ACTION>
   </ACTIVATED_ABILITY>
   <TRIGGERED_ABILITY internal="1" active_zone="ZONE_ANY">
      <TRIGGER value="BEGINNING_OF_STEP" simple_qualifier="controller">
         return RSN_Step( STEP_CLEANUP ) and (ObjectDC() ~= nil)
      </TRIGGER>
      <RESOLUTION_TIME_ACTION>
         if (ObjectDC() ~= nil) then
            ObjectDC():Int_Clear( 0 )
         end
      </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>
</CARD_V2>
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Card Creation Request Thread

Postby loookaz » 29 Dec 2012, 17:30

here are 3 elf deck cards made by RiiakShiNal. i just added the pictures
Attachments
elfcards.rar
(842.53 KiB) Downloaded 398 times
loookaz
 
Posts: 131
Joined: 01 Dec 2012, 10:56
Location: Warsaw, Poland
Has thanked: 22 times
Been thanked: 2 times

Re: Card Creation Request Thread

Postby thefiremind » 29 Dec 2012, 17:42

Wouldn't Wirewood Symbiote be less complex by using per_turn_limit="1" instead of the ObjectDC register? As far as I know, the only case in which per_turn_limit doesn't work is together with firebreathing="1" (and there's no firebreathing here :wink:).
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

PreviousNext

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 5 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 5 guests

Login Form