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 thefiremind » 05 Sep 2013, 09:46
OK, I managed to make a working Gomazoa, and the code resulted even shorter than I thought, thanks to the power of Lua tables that can use anything as index.
- Attachments
-
- GOMAZOA_198523.zip
- Unprefixed, briefly tested, illustration included
- (111.14 KiB) Downloaded 266 times
< 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: 721 times
Re: Formal Request Thread
by drleg3nd » 05 Sep 2013, 13:33
I like to request a card..geared towards more firemind or gorem since it is a planeswalker..Ashiok, Nightmare Weaver.thx
Re: Formal Request Thread
by drleg3nd » 05 Sep 2013, 14:25
just saw ya planeswalker thread firemind..forget it
Re: Formal Request Thread
by Misplay » 05 Sep 2013, 16:13
The game doesn't crash anymore!gorem2k wrote:[...]
The ability seems to trigger (= a circle of shining light appears during the upkeep when the Undead Gladiator is in the graveyard) but does nothing else... I never have the choice to pay the cost of the ability, and I pass to the draw's step.
BTW, I've got another issue when I create a decklist. The game adds automatically 255 lands in the deck. How can I fix this?
Re: Formal Request Thread
by RiiakShiNal » 05 Sep 2013, 17:48
There seem to be two common scenarios where this occurs:Misplay wrote:BTW, I've got another issue when I create a decklist. The game adds automatically 255 lands in the deck. How can I fix this?
- In decks that have no basic land.
- Solution: Have a LandConfig block in the deck with ignoreCmcOver="0".
- In decks that have a LandConfig block using the numSpellsThatCountAsLand attribute defined with a value greater than 0.
- Solution: The numSpellsThatCountAsLand seems to have issues in DotP 2014 so the easiest way to fix problems associated with it is to simply remove that attribute from the LandConfig block. You can still define how much basic land should be in the deck using the minLand attributes (minForest, minSwamp, minPlains, etc...).
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: 2183
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 496 times
Re: Formal Request Thread
by gorem2k » 05 Sep 2013, 18:06
Thanks to you! this will go in my blue deck. the SFX is very cool, never saw it before.thefiremind wrote:OK, I managed to make a working Gomazoa, and the code resulted even shorter than I thought, thanks to the power of Lua tables that can use anything as index.
Re: Formal Request Thread
by jacque » 06 Sep 2013, 04:17
Hmmm, anyone has any of these?
Shadowmage Infiltrator
Oona, Queen of the Fae
Thornling
Mirror-Sigil Sergeant
Krond the Dawn-Clad
Master of Cruelties
Tariel, Reckoner of Souls
Nirkana Revenant
Uril, the Miststalker
Shadowmage Infiltrator
Oona, Queen of the Fae
Thornling
Mirror-Sigil Sergeant
Krond the Dawn-Clad
Master of Cruelties
Tariel, Reckoner of Souls
Nirkana Revenant
Uril, the Miststalker
Learn making your own cards today!!!
Click on if a post/reply helped you.
I stitch old cards together to make new ones...
~ Jacque, the confused
Click on if a post/reply helped you.
I stitch old cards together to make new ones...
~ Jacque, the confused
Re: Formal Request Thread
by Misplay » 06 Sep 2013, 09:01
Cool, it's working.RiiakShiNal wrote:[...]
Re: Formal Request Thread
by Rari » 06 Sep 2013, 19:23
I just happened to make Mirror-Sigil Sergeant last night.jacque wrote:Hmmm, anyone has any of these?
Edit below: Added a few more. Also, you'll need DATA_DLC_TFM_OTHER from thefiremind's DLC for a few of these.
Shadowmage Infiltrator
Thornling
Krond the Dawn-Clad
Tariel, Reckoner of Souls
Uril, the Miststalker
That leaves your list with these unfulfilled:
Oona, Queen of the Fae
Master of Cruelties
Nirkana Revenant
Also, I need to request Knight of New Alara if anyone has it or has any suggestions - I tried to put it together, but didn't have any luck.
- Knight of New Alara (NOT WORKING) | Open
- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="RARI_KNIGHT_OF_NEW_ALARA_189642" />
<CARDNAME text="KNIGHT_OF_NEW_ALARA" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Knight of New Alara]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Chevalier de la Nouvelle Alara]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Caballero de la Nueva Alara]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Ritter des neuen Alara]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Cavaliere di Nuova Alara]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[新たなアラーラの騎士]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Knight of New Alara]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Рыцарь Новой Алары]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Cavaleiro da Nova Alara]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="189642" />
<ARTID value="RARI_189642" />
<ARTIST name="Chris Rahn" />
<CASTING_COST cost="{2}{G}{W}" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“I embrace all of Alara, Grixis as much as Bant. Let my former home call me traitor. I do this not for accolades, but because it is right.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« J’accueille tout Alara, Grixis tout comme Bant. Que mon ancienne patrie fasse de moi un traître. Je ne le fais pas pour la gloire, mais parce que c’est juste. »]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“Yo defiendo a toda Alara, Grixis tanto como Bant. Deja que en mi viejo hogar me llamen traidor. No hago esto por los títulos, sino porque es lo correcto.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„Ich liebe ganz Alara, Grixis so sehr wie Bant. Auch wenn meine alte Heimat mich einen Verräter schimpft: Ich tue dies nicht, um mich einzuschmeicheln, sondern weil es das einzig Richtige ist.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“Proteggerò ogni angolo di Alara, tanto Grixis quanto Bant. Lascia che la mia precedente dimora mi consideri un traditore. Non lo faccio per riconoscenza, ma perché è giusto che sia così.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[「私はアラーラすべてを受け入れよう。バントと同様にグリクシスをもだ。 かつての故郷が私を裏切り者と呼ぶなら呼ぶがいい。 称賛のために行うのではない。これは正義のためなのだ。」]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“I embrace all of Alara, Grixis as much as Bant. Let my former home call me traitor. I do this not for accolades, but because it is right.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[«Я принимаю Алару всю, и Гриксис мне дорог также, как и Бэнт. И пусть моя прежняя родина сочтет меня предателем. Я это делаю не для почестей, а потому, что так правильно».]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“Eu abraço toda Alara, tanto Grixis quanto Bant. Que meu antigo lar me considere um traidor. Não faço isso em busca de honra, mas porque é o certo.”]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<TYPE metaname="Creature" />
<SUB_TYPE metaname="Human" />
<SUB_TYPE metaname="Knight" />
<EXPANSION value="ARB" />
<RARITY metaname="R" />
<POWER value="2" />
<TOUGHNESS value="2" />
<STATIC_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Each other multicolored creature you control gets +1/+1 for each of its colors.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Chaque autre créature multicolore que vous contrôlez gagne +1/+1 pour chacune de ses couleurs.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cada otra criatura multicolor que controlas obtiene +1/+1 por cada uno de sus colores.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Jede andere mehrfarbige Kreatur, die du kontrollierst, erhält +1/+1 für jede ihrer Farben.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogni altra creatura multicolore che controlli prende +1/+1 per ciascuno dei suoi colori.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたがコントロールする他の多色の各クリーチャーは、それぞれ自身の色1つにつき+1/+1の修整を受ける。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Each other multicolored creature you control gets +1/+1 for each of its colors.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Каждое другое многоцветное существо под вашим контролем получает +1/+1 за каждый представленный им цвет.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Cada criatura multicolorida que você controla recebe +1/+1 para cada uma de suas cores.]]></LOCALISED_TEXT>
<FILTER filter_id="0">
local filter = ClearFilter()
filter:Add(FE_CARD_INSTANCE, OP_NOT, source)
filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
filter:Add( FE_CONTROLLER, OP_IS, EffectController())
</FILTER>
<CONTINUOUS_ACTION layer="7C" filter_id="0">
if FilteredCard() ~= nil then
if filter:ChromaCount(COLOUR_BLACK) > 0 then
local characteristics = FilteredCard():GetCurrentCharacteristics()
characteristics:Power_Add( 1 )
characteristics:Toughness_Add( 1 )
end
</CONTINUOUS_ACTION>
<CONTINUOUS_ACTION layer="7C" filter_id="0">
if FilteredCard() ~= nil then
if filter:ChromaCount(COLOUR_BLUE) > 0 then
local characteristics = FilteredCard():GetCurrentCharacteristics()
characteristics:Power_Add( 1 )
characteristics:Toughness_Add( 1 )
end
</CONTINUOUS_ACTION>
<CONTINUOUS_ACTION layer="7C" filter_id="0">
if FilteredCard() ~= nil then
if filter:ChromaCount(COLOUR_GREEN) > 0 then
local characteristics = FilteredCard():GetCurrentCharacteristics()
characteristics:Power_Add( 1 )
characteristics:Toughness_Add( 1 )
end
</CONTINUOUS_ACTION>
<CONTINUOUS_ACTION layer="7C" filter_id="0">
if FilteredCard() ~= nil then
if filter:ChromaCount(COLOUR_RED) > 0 then
local characteristics = FilteredCard():GetCurrentCharacteristics()
characteristics:Power_Add( 1 )
characteristics:Toughness_Add( 1 )
end
</CONTINUOUS_ACTION>
<CONTINUOUS_ACTION layer="7C" filter_id="0">
if FilteredCard() ~= nil then
if filter:ChromaCount(COLOUR_WHITE) > 0 then
local characteristics = FilteredCard():GetCurrentCharacteristics()
characteristics:Power_Add( 1 )
characteristics:Toughness_Add( 1 )
end
</CONTINUOUS_ACTION>
<DURATION simple_duration="UntilEOT" />
</STATIC_ABILITY>
<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>
- Attachments
-
- jacque requests.zip
- (489.23 KiB) Downloaded 237 times
-
- MIRRORSIGIL_SERGEANT_158598.zip
- (106.33 KiB) Downloaded 242 times
Please help yourself to my collection of DoTP artwork. Pretty cards for everyone!
Re: Formal Request Thread
by loookaz » 06 Sep 2013, 22:50
Najlepsze lekcje angielskiego w Warszawie:
http://www.englishwithlucas.com/
https://www.facebook.com/angielski.z.Lucasem
http://www.englishwithlucas.com/
https://www.facebook.com/angielski.z.Lucasem
- loookaz
- Posts: 131
- Joined: 01 Dec 2012, 10:56
- Location: Warsaw, Poland
- Has thanked: 22 times
- Been thanked: 2 times
Re: Formal Request Thread
by MC Brodie » 07 Sep 2013, 00:41
This sort of works but maybe you can figure it out. Sometimes when I cast a multicolored creature it causes the game to freeze. I didn't see any script errors. If a multicolored creature spell resolves it seems to work correctly.Rari wrote:Also, I need to request Knight of New Alara if anyone has it or has any suggestions - I tried to put it together, but didn't have any luck.
- Knight of New Alara Static Ability | Open
- Code: Select all
<FILTER filter_id="0">
local filter = ClearFilter()
filter:Add(FE_CARD_INSTANCE, OP_NOT, EffectSource() )
filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
filter:Add( FE_CONTROLLER, OP_IS, EffectController() )
filter:Add(FE_NUM_COLOURS, OP_GREATER_THAN, 1)
</FILTER>
<CONTINUOUS_ACTION layer="7C" filter_id="0">
local oCreature = FilteredCard()
if oCreature ~= nil then
local count = 0
local characteristics = oCreature:GetCurrentCharacteristics()
for i = 1, 5 do
if oCreature:GetColour():Test(i) == true then
count = count + 1
end
end
characteristics:Power_Add( count )
characteristics:Toughness_Add( count )
end
</CONTINUOUS_ACTION>
edit - Sorry, I don't think Master of Cruelties is possible without too many approximations.
Last edited by MC Brodie on 07 Sep 2013, 06:06, edited 1 time in total.
-----------------------------------------------------------------------
Song of the Day: 46 and 2 (cover)
Song of the Day: 46 and 2 (cover)
Re: Formal Request Thread
by gorem2k » 07 Sep 2013, 05:52
I think oCreature isn't defined in your code, you should use local oCreature = FilteredCard(). again, I'm not sure about this since you say it works somehow.MC Brodie wrote:This sort of works but maybe you can figure it out. Sometimes when I cast a multicolored creature it causes the game to freeze. I didn't see any script errors. If a multicolored creature spell resolves it seems to work correctly.
Re: Formal Request Thread
by MC Brodie » 07 Sep 2013, 06:13
Haha yea you are right I fixed it. That's funny since I commented on the same thing for Rari's code. It still doesn't work in some instances. If I have a multicolored creature on the battlefield, then play the Knight everything is ok (for some reason the old code without oCreature defined worked here as well). If I play another knight it still doesn't freeze. But, if I play a different multicolored creature it freezes while the spell is on the stack. There could be something wrong with the 2nd multicolored creature card I'm testing with since I just made it to test this card. Idk.gorem2k wrote:I think oCreature isn't defined in your code, you should use local oCreature = FilteredCard(). again, I'm not sure about this since you say it works somehow.MC Brodie wrote:This sort of works but maybe you can figure it out. Sometimes when I cast a multicolored creature it causes the game to freeze. I didn't see any script errors. If a multicolored creature spell resolves it seems to work correctly.
-----------------------------------------------------------------------
Song of the Day: 46 and 2 (cover)
Song of the Day: 46 and 2 (cover)
Re: Formal Request Thread
by mr friendly guy » 07 Sep 2013, 06:17
Is it possible to code Mirror Universe? I am thinking this might make a great combo with a necropotence deck.
- mr friendly guy
- Posts: 85
- Joined: 23 Aug 2013, 12:03
- Has thanked: 2 times
- Been thanked: 1 time
Re: Formal Request Thread
by thefiremind » 07 Sep 2013, 10:17
The pain is the upkeep part... the game doesn't give you a time window during the upkeeps even if you have something you might want to do, so cards like this need a "dummy" upkeep trigger that lets you activate the ability in response.mr friendly guy wrote:Is it possible to code Mirror Universe? I am thinking this might make a great combo with a necropotence deck.
I was curious to see if I could code it properly, and it seems I did it.loookaz wrote:Hindering Light
It scours the spells' targets searching for you or a permanent you control, but only in target chests from 0 to 9, and in registers from 0 to 99 in each of those chests. It should be enough anyway, unless someone uses target chest 10 in a card just because he feels special... The alternative would have been to loop through the chests and the registers until a nil has been found, but there's no guarantee that the nil value isn't just a "hole".
- Attachments
-
- HINDERING_LIGHT_177598.zip
- Unprefixed, briefly tested, illustration included
- (108.36 KiB) Downloaded 206 times
< 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: 721 times
Who is online
Users browsing this forum: No registered users and 29 guests