It is currently 03 Aug 2025, 19:38
   
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 sumomole » 08 May 2013, 16:18

thefiremind wrote:Maybe it's a stupid advice, but I would try this:
Code: Select all
...
    player:AskNumericalChoiceQuestion("CARD_QUERY_CHOOSE_AMOUNT_LIFE")
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    EffectDC():Set_Int( 10, Object():GetNumericalChoiceResult() )
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local filter = Object():GetFilter()
    local total = EffectDC():Get_Int(10)
...
I tried, it's useless.
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 thefiremind » 08 May 2013, 16:48

sumomole wrote:I tried, it's useless.
I'd say, try to rewrite the ability as you would do without knowing about Mire's Toll. It could help.

In the meanwhile, look at what I made... 8) I just tested it with Shock, it would need a much more extensive testing before calling it right, anyway, I'll leave the tests to those who need the card.

EDIT: Version 2 fires the BECAME_TARGET triggers for each creature the copied spells are about to target (the copies don't do that by themselves). It's still not perfect, though, because the FireTrigger function accepts only 2 parameters so I can't set the SecondaryObject (and to be honest I wouldn't know how to get a pointer to the spell copy after creating it). This means, for example, that Ashenmoor Liege will never trigger off a spell copy from the Nephilim.
Attachments
INKTREADER_NEPHILIM_107092.zip
Version 2. Please test extensively. :D
(105.65 KiB) Downloaded 338 times
Last edited by thefiremind on 31 May 2013, 09:01, edited 1 time in total.
< 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 Necropotence » 08 May 2013, 16:58

a question! as I can do to edit and build decks for dotp2013, is there a software or a tutorial? I want to do the same as you, to learn how to assemble cards, decks and contribute to the forum! I hope your answers. thank you!
Necropotence
 
Posts: 24
Joined: 05 May 2013, 05:30
Has thanked: 10 times
Been thanked: 0 time

Re: Card Creation Request Thread

Postby AriesKiki » 08 May 2013, 17:09

May I request Beacon of Creation? Thanks :)
User avatar
AriesKiki
 
Posts: 53
Joined: 05 Mar 2013, 17:46
Has thanked: 15 times
Been thanked: 3 times

Re: Card Creation Request Thread

Postby sumomole » 08 May 2013, 17:24

thefiremind wrote:
sumomole wrote:I tried, it's useless.
I'd say, try to rewrite the ability as you would do without knowing about Mire's Toll. It could help.

In the meanwhile, look at what I made... 8) I just tested it with Shock, it would need a much more extensive testing before calling it right, anyway, I'll leave the tests to those who need the card.
Yes, maybe it's easy to recode, I only want to find the wrong with above code, and to avoid the same mistakes in the future. :)



AriesKiki wrote:May I request Beacon of Creation? Thanks :)
I remember it's an official card in D12.
Beacon of Creation.zip
(120.67 KiB) Downloaded 402 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 gorem2k » 08 May 2013, 18:20

thefiremind wrote:Try to target a Golem with Fling while you have Precursor Golem on the battlefield, and see what happens (spoiler: nothing will happen). :lol:
Howcome? I didn't try it yet but I can't see why it wouldn't deal its damage.

Assault Strobe + Berserk, would it work?
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: Card Creation Request Thread

Postby MalevolentZero » 08 May 2013, 18:43

thefiremind wrote:
sumomole wrote:I tried, it's useless.
I'd say, try to rewrite the ability as you would do without knowing about Mire's Toll. It could help.

In the meanwhile, look at what I made... 8) I just tested it with Shock, it would need a much more extensive testing before calling it right, anyway, I'll leave the tests to those who need the card.
YES! I will begin testing now! Thank you so much!

Now can anyone make any of these for me?
Dune-Brood Nephilim
Orochi Leafcaller
Traitorous Instinct
Soul's Fire
Soul's Grace
Chromatic Lantern
Sigil Blessing
Twitch
Gavony Ironwright
Privileged Position

Thank you all again for all your hard wizardly work :D.
MalevolentZero
 
Posts: 15
Joined: 06 May 2013, 09:40
Has thanked: 4 times
Been thanked: 0 time

Re: Card Creation Request Thread

Postby thefiremind » 08 May 2013, 19:12

gorem2k wrote:Howcome? I didn't try it yet but I can't see why it wouldn't deal its damage.
thefiremind wrote:This code is based on a very strong hypothesis: the targets of a card are always in sequential registers and they always start from 0. For example Fling can't be copied by Precursor Golem because it uses register #0 for the sacrifice. So, I can answer now:
sumomole wrote:the code of Precursor Golem has any bug? #-o
Yes. :mrgreen:
gorem2k wrote:Assault Strobe + Berserk, would it work?
It depends on how the cards are implemented. Of course, having a better implemented Precursor Golem would be better than relying on the other cards to be coded in a certain way...
< 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 MalevolentZero » 08 May 2013, 20:04

So just ran it in a deck with:
Go for the Throat: Working as intended.
Fling: No bugs so far. (as in doesn't trigger when sacrificed but i haven't tested it as a target yet)
Giant Growth: Working as intended.
Prey Upon: Working as intended. (as in doesn't trigger)
Rite of Replication: Working as intended (LOL but crashes the game when i kicker rep over 100 Prodigal Pyromancers xD)
Scarscale Ritual: Working as intended. (as in not triggering)
Heal the Scars: Working as intended.
Unsummon: Working as intended.

Looking great so far thefiremind :D.
MalevolentZero
 
Posts: 15
Joined: 06 May 2013, 09:40
Has thanked: 4 times
Been thanked: 0 time

Re: Card Creation Request Thread

Postby thefiremind » 08 May 2013, 20:57

MalevolentZero wrote:Looking great so far thefiremind :D.
These are good news. :) I managed to make a good work because Ink-Treader Nephilim was actually much easier than Precursor Golem: when the Nephilim triggers you know that one of the targets is him, so you just have to check that there are no other targets (my implementation always checks registers from #0 to #9, and the following ones only if there are no empty ones in between) and remember the place where the Nephilim is saved inside the spell registers. When the trigger resolves, each copy of the spell has the right target put exactly where the Nephilim was on the original spell.
Precursor Golem, on the contrary, can trigger on any Golem, this makes things much more complicated, but its code, despite being not perfect, has been really valuable to put me on the right track.

MalevolentZero wrote:Sigil Blessing
Sigil Blessing is an official card, it's in the Selesnya deck from the expansion.
< 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 Necropotence » 08 May 2013, 23:00

anyone has these cards for DOTP 2013? infernal contract, culling the weak, street wraith, Ornithopter, phyrexian walker, and soul spike? thanks
Necropotence
 
Posts: 24
Joined: 05 May 2013, 05:30
Has thanked: 10 times
Been thanked: 0 time

Re: Card Creation Request Thread

Postby Necropotence » 08 May 2013, 23:03

I want to create them, but not how! if anyone knows of any tutorial for creating cards, will thank
Necropotence
 
Posts: 24
Joined: 05 May 2013, 05:30
Has thanked: 10 times
Been thanked: 0 time

Re: Card Creation Request Thread

Postby sumomole » 09 May 2013, 01:18

Necropotence wrote:anyone has these cards for DOTP 2013? infernal contract, culling the weak, street wraith, Ornithopter, phyrexian walker, and soul spike? thanks
Attachments
cards.zip
Street Wraith; Soul Spike; Phyrexian Walker; Ornithopter; Infernal Contract; Culling the Weak
(669.06 KiB) Downloaded 399 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 AriesKiki » 09 May 2013, 03:18

Hi, I'm trying to code Gemhide Sliver, but I have a problem with giving the mana ability to other slivers. Although with another slivers I can choose the color of the mana, they can't tap to produce it (I'm using a code from Birds of Paradise). Thanks in advance!

Code: Select all
<?xml version='1.0'?>
<CARD_V2>
  <FILENAME text="GEMHIDE_SLIVER_19851042" />
  <CARDNAME text="GEMHIDE_SLIVER" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Gemhide Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Gemhide Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Gemhide Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Gemhide Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Gemhide Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Gemhide Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Gemhide Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Gemhide Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Gemhide Sliver]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="19851042" />
  <ARTID value="19851042" />
  <ARTIST name="John Matson" />
  <CASTING_COST cost="{1}{G}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“The land is weary. Even Skyshroud is depleted. We must find another source of mana—one that is growing despite our withering world.”
—Freyalise]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[“The land is weary. Even Skyshroud is depleted. We must find another source of mana—one that is growing despite our withering world.”
—Freyalise]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“The land is weary. Even Skyshroud is depleted. We must find another source of mana—one that is growing despite our withering world.”
—Freyalise]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[“The land is weary. Even Skyshroud is depleted. We must find another source of mana—one that is growing despite our withering world.”
—Freyalise]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“The land is weary. Even Skyshroud is depleted. We must find another source of mana—one that is growing despite our withering world.”
—Freyalise]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[“The land is weary. Even Skyshroud is depleted. We must find another source of mana—one that is growing despite our withering world.”
—Freyalise]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“The land is weary. Even Skyshroud is depleted. We must find another source of mana—one that is growing despite our withering world.”
—Freyalise]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[“The land is weary. Even Skyshroud is depleted. We must find another source of mana—one that is growing despite our withering world.”
—Freyalise]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“The land is weary. Even Skyshroud is depleted. We must find another source of mana—one that is growing despite our withering world.”
—Freyalise]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Sliver" />
  <EXPANSION value="TSP" />
  <RARITY metaname="C" />
  <POWER value="1" />
  <TOUGHNESS value="1" />
  <STATIC_ABILITY filter_zone="ZONE_IN_PLAY">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[All Slivers have “{T}: Add one mana of any color to your mana pool.”]]></LOCALISED_TEXT>
   <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[All Slivers have “{T}: Add one mana of any color to your mana pool.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[All Slivers have “{T}: Add one mana of any color to your mana pool.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[All Slivers have “{T}: Add one mana of any color to your mana pool.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[All Slivers have “{T}: Add one mana of any color to your mana pool.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[All Slivers have “{T}: Add one mana of any color to your mana pool.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[All Slivers have “{T}: Add one mana of any color to your mana pool.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[All Slivers have “{T}: Add one mana of any color to your mana pool.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[All Slivers have “{T}: Add one mana of any color to your mana pool.”]]></LOCALISED_TEXT>
    <FILTER>
    return not InPlay() or FilteredCard():GetSubType():Test( CREATURE_TYPE_SLIVER ) ~= 0
    </FILTER>
    <CONTINUOUS_ACTION layer="6">
    if FilteredCard() ~= nil then
     FilteredCard():GetCurrentCharacteristics():GrantAbility(1)
    end
    </CONTINUOUS_ACTION>
  </STATIC_ABILITY>
  <TRIGGERED_ABILITY auto_skip="1" pre_trigger="1" filter_zone="ZONE_IN_PLAY" active_zone="ZONE_TRANSITION">
    <TRIGGER value="ZONECHANGE_TRANSITION" simple_qualifier="self" to_zone="ZONE_IN_PLAY" />
    <RESOLUTION_TIME_ACTION>
    EffectController():ChooseColour( "CARD_QUERY_CHOOSE_COLOUR", 1 )
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    ObjectDC():Set_Int( 0, GetChosenColour() )
    </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
  <TRIGGERED_ABILITY internal="1" filter_zone="ZONE_IN_PLAY">
    <TRIGGER value="STATE_BASED_EFFECTS">
    local characteristics = Object():GetCurrentCharacteristics()
    local ability_check = characteristics:Characteristic_Get( CHARACTERISTIC_CANT_USE_ACTIVATED_ABILITIES )
    if ability_check ~= 0 then
   characteristics:Characteristic_Set( CHARACTERISTIC_CANT_USE_ACTIVATED_ABILITIES, 0 )
   return true
    end
    return false
    </TRIGGER>
  </TRIGGERED_ABILITY>
  <ACTIVATED_ABILITY resource_id="1" forced_skip="1" filter_zone="ZONE_IN_PLAY">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{T}: Add one mana of any color to your mana pool.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{T}: Aggiungi un mana di un qualsiasi colore alla tua riserva di mana.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{T}: Erhöhe deinen Manavorrat um ein Mana einer beliebigen Farbe.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{T} : Ajoutez un mana de la couleur de votre choix à votre réserve.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{T}: Agrega un maná de cualquier color a tu reserva de maná.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{T}:あなたのマナ・プールに、好きな色1色のマナ1点を加える。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{T}: Add one mana of any color to your mana pool.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{T}: добавьте одну ману любого цвета в ваше хранилище маны.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{T}: Adicione um mana de qualquer cor à sua reserva de mana.]]></LOCALISED_TEXT>
    <AVAILABILITY>
    return EffectController():IsAI() == 0
    </AVAILABILITY>
    <COST type="Mana" cost="{0}" />
    <RESOLUTION_TIME_ACTION>
    EffectController():ChooseColour( "CARD_QUERY_CHOOSE_COLOUR", 1 )
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    ObjectDC():Set_Int( 0, GetChosenColour() )
    </RESOLUTION_TIME_ACTION>
  </ACTIVATED_ABILITY>
  <STATIC_ABILITY filter_zone="ZONE_IN_PLAY">
    <CONTINUOUS_ACTION layer="6">
    local characteristics = Object():GetCurrentCharacteristics()
    local mana_color = ObjectDC():Get_Int(0)
    characteristics:GrantAbility(mana_color)
    </CONTINUOUS_ACTION>
  </STATIC_ABILITY>
  <MANA_ABILITY resource_id="1" filter_zone="ZONE_IN_PLAY">
    <COST type="TapSelf" />
    <PRODUCES amount="{W}" />
  </MANA_ABILITY>
  <MANA_ABILITY resource_id="2" filter_zone="ZONE_IN_PLAY">
    <COST type="TapSelf" />
    <PRODUCES amount="{U}" />
  </MANA_ABILITY>
  <MANA_ABILITY resource_id="3" filter_zone="ZONE_IN_PLAY">
    <COST type="TapSelf" />
    <PRODUCES amount="{B}" />
  </MANA_ABILITY>
  <MANA_ABILITY resource_id="4" filter_zone="ZONE_IN_PLAY">
    <COST type="TapSelf" />
    <PRODUCES amount="{R}" />
  </MANA_ABILITY>
  <MANA_ABILITY resource_id="5" filter_zone="ZONE_IN_PLAY">
    <COST type="TapSelf" />
    <PRODUCES amount="{G}" />
  </MANA_ABILITY>
  <HELP title="MORE_INFO_BADGE_TITLE_10" body="MORE_INFO_BADGE_BODY_10" zone="ZONE_ANY" />
  <SFX text="COMBAT_CLAW_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
  <SFX text="COMBAT_CLAW_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
  <AI_BASE_SCORE score="300" zone="ZONE_IN_PLAY" />
</CARD_V2>
User avatar
AriesKiki
 
Posts: 53
Joined: 05 Mar 2013, 17:46
Has thanked: 15 times
Been thanked: 3 times

Re: Card Creation Request Thread

Postby MalevolentZero » 09 May 2013, 05:56

thefiremind wrote:
MalevolentZero wrote:Looking great so far thefiremind :D.
These are good news. :) I managed to make a good work because Ink-Treader Nephilim was actually much easier than Precursor Golem: when the Nephilim triggers you know that one of the targets is him, so you just have to check that there are no other targets (my implementation always checks registers from #0 to #9, and the following ones only if there are no empty ones in between) and remember the place where the Nephilim is saved inside the spell registers. When the trigger resolves, each copy of the spell has the right target put exactly where the Nephilim was on the original spell.
Precursor Golem, on the contrary, can trigger on any Golem, this makes things much more complicated, but its code, despite being not perfect, has been really valuable to put me on the right track.

MalevolentZero wrote:Sigil Blessing
Sigil Blessing is an official card, it's in the Selesnya deck from the expansion.
Ooh! *Grabbed* Thanks again!
So i just realized soul's fire doesn't work the way I want on In-Treader Nephilim, so I'm taking it off the list. I also found Sheltering Word to be much better than Soul's Grace, so it has been replaced. I also replaced Twitch, so that's off the list too!

I'm still looking for:
Dune-Brood Nephilim
Orochi Leafcaller
Traitorous Instinct
Chromatic Lantern
Gavony Ironwright
Privileged Position

If there are any more that i might have missed from the DLC's or if someone has already made any of these let me know! I can be a scatter brain sometimes and miss things T.T.
MalevolentZero
 
Posts: 15
Joined: 06 May 2013, 09:40
Has thanked: 4 times
Been thanked: 0 time

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 1 guest

Main Menu

User Menu

Our Partners


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 1 guest

Login Form