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 » 27 Jul 2013, 09:16
An easy way? No. A tricky way? Yes.BloodReyvyn wrote:I have been trying to code Crimson Hellkite, but the only card that restricts the mana you can use so far is Consume Spirit. It's an official card, but since the stuck it in a mon-black deck there is no actual restriction that I can see governing the mana you can use to pay X. Is there an easy way to do this?

Just give me some time to update my DotP2013 Crimson Hellkite code.
EDIT: Here it is. Happy scorching!

- Attachments
-
CRIMSON_HELLKITE_15424.zip
- Unprefixed, tested, illustration included
- (112.55 KiB) Downloaded 455 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: 722 times
Re: Formal Request Thread
by BloodReyvyn » 27 Jul 2013, 12:34
Awesome man, thanks. 

"There's an experience worse than blindness - it's the certainty that your vision is perfect and the horror that there's no world around you to see."
-
BloodReyvyn - Posts: 421
- Joined: 19 May 2013, 13:29
- Has thanked: 53 times
- Been thanked: 40 times
Re: Formal Request Thread
by thefiremind » 27 Jul 2013, 21:24
I found a way to code Elite Arcanist and Prototype Portal. It won't be visually appealing, but it works, which is the important thing. The idea is easy and I wonder why I haven't thought about it before: make a set of activated abilities, each one with a different mana cost, and grant one of them according to the exiled card's converted mana cost.
I remember someone requesting Elite Arcanist, well I added Prototype Portal as a bonus. Have fun!
I remember someone requesting Elite Arcanist, well I added Prototype Portal as a bonus. Have fun!

- Attachments
-
ELITE_ARCANIST_370747 + PROTOTYPE_PORTAL_209009.zip
- Unprefixed, tested (very quickly), illustrations included
- (221.04 KiB) Downloaded 330 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: 722 times
Re: Formal Request Thread
by sumomole » 27 Jul 2013, 21:51
I have a question to help, when I try to code storm ability, use CopySpell, if the original spell is no longer on the stack, I still get copies, but can't choose new target and the copies have no effect, I test tfm's Melek, Izzet Paragon and kev's storm card, seem to have similar problems. Who else have tried to use CopySpell copy a spell that isn't target?
RSN_ObjectDC can't be used to <AVAILABILITY>?thefiremind wrote:I found a way to code Elite Arcanist and Prototype Portal. It won't be visually appealing, but it works, which is the important thing. The idea is easy and I wonder why I haven't thought about it before: make a set of activated abilities, each one with a different mana cost, and grant one of them according to the exiled card's converted mana cost.
I remember someone requesting Elite Arcanist, well I added Prototype Portal as a bonus. Have fun!
-
sumomole - Programmer
- Posts: 611
- Joined: 07 Jun 2011, 08:34
- Has thanked: 51 times
- Been thanked: 234 times
Re: Formal Request Thread
by thefiremind » 27 Jul 2013, 22:07
I never tested this scenario, and I thought that TriggerObjectLKI was enough to make it work right. If it isn't enough, it seems like an engine bug to me... have you tried to protect the card pointer and then use TriggerObject rather than TriggerObjectLKI? It might be even worse, but that's the only idea I had.sumomole wrote:I have a question to help, when I try to code storm ability, use CopySpell, if the original spell is no longer on the stack, I still get copies, but can't choose new target and the copies have no effect, I test tfm's Melek, Izzet Paragon and kev's storm card, seem to have similar problems. Who else have tried to use CopySpell copy a spell that isn't target?
Probably, but I'm leaving that as last hope: I always like to see how far I can go only with what the built-in functions offer me.sumomole wrote:RSN_ObjectDC can't be used to <AVAILABILITY>?

< 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: Formal Request Thread
by LycaNinja » 27 Jul 2013, 22:13
I need a couple of cards for a deck I'm making in Magic 2014; if I knew what program to use to do it myself I would attempt it, but I don't want to divide by zero here xD.
Re: Formal Request Thread
by sumomole » 27 Jul 2013, 22:23
I think RSN_ObjectDC is also a built-in function, it just use DuelDataChest to rebuild ObjcetDC, we can use DuelDataChest instead of it, but to do that the code will be very very long.thefiremind wrote:Probably, but I'm leaving that as last hope: I always like to see how far I can go only with what the built-in functions offer me.

Blood Baron of Vizkopa and Obzedat, Ghost Council is in my mod, Orzhov Charm maybe in drleg3nd's mod, because he had requested this card.LycaNinja wrote:I need a couple of cards for a deck I'm making in Magic 2014; if I knew what program to use to do it myself I would attempt it, but I don't want to divide by zero here xD.
-
sumomole - Programmer
- Posts: 611
- Joined: 07 Jun 2011, 08:34
- Has thanked: 51 times
- Been thanked: 234 times
Re: Formal Request Thread
by LycaNinja » 27 Jul 2013, 22:35
I have your decks, but I don't have those cards in my deck builder...sumomole wrote:I think RSN_ObjectDC is also a built-in function, it just use DuelDataChest to rebuild ObjcetDC, we can use DuelDataChest instead of it, but to do that the code will be very very long.thefiremind wrote:Probably, but I'm leaving that as last hope: I always like to see how far I can go only with what the built-in functions offer me.
Blood Baron of Vizkopa and Obzedat, Ghost Council is in my mod, Orzhov Charm maybe in drleg3nd's mod, because he had requested this card.LycaNinja wrote:I need a couple of cards for a deck I'm making in Magic 2014; if I knew what program to use to do it myself I would attempt it, but I don't want to divide by zero here xD.
Re: Formal Request Thread
by sumomole » 27 Jul 2013, 23:50
They're in this 2013 mod, and I code the other cards here. I haven't tested, if they have bugs, please reply to me.LycaNinja wrote:I have your decks, but I don't have those cards in my deck builder...
- Attachments
-
CARDS.rar
- untested
- (889.06 KiB) Downloaded 388 times
-
sumomole - Programmer
- Posts: 611
- Joined: 07 Jun 2011, 08:34
- Has thanked: 51 times
- Been thanked: 234 times
Re: Formal Request Thread
by LycaNinja » 28 Jul 2013, 00:43
Thanks for making the requested cards, but how do I put all these files into a .wad?sumomole wrote:They're in this 2013 mod, and I code the other cards here. I haven't tested, if they have bugs, please reply to me.LycaNinja wrote:I have your decks, but I don't have those cards in my deck builder...
EDIT: I don't think Orzhov Charm is working on his WAD since I have everything his deck with it needs but it's still missing.
Re: Formal Request Thread
by Isalo » 28 Jul 2013, 03:48
First and foremost, I want to thank each and every one of you for putting in the time and effort to massively improve/extend this game for me and I'm sure plenty of others. I've always been a very casual mtg player, with no desire to play with paper, so all the work you guys do allows me to really mess around and just have fun. That said, there are still a ton of cards I'd really love to have access to and I was wondering if any one here would be open to adding them to their main DLC packs, as I have not a single drop of experience in coding/building/adding said cards beyond pasting WADs into the main directory.
Alright, I guess I've gotta find a stopping point somewhere, haha. On a semi-related note, I'd be curious if anyone would be open to commission work for sets/batches of cards or particularly tricky cards like Planeswalkers(if they're even possible, I obviously have no clue haha) as I'd really like to give-back in some way for all the hard work you guys do. Thank you and cheers

- List of Cards | Open
- Frost Titan
Far / Away
Turn / Burn
Dissipate
Syncopate
Duress
Appetite for Brains
Tragic Slip
Ghor-Clan Rampager
Burning-Tree Emissary
Frontline Medic
Flinthoof Boar
Stormkirk Noble
Dreadbore
Rakdos's Return
Curse of Death's Hold
Birthing Pod
Cartel Aristocrat
Sin Collector
Ethereal Armor
Spectral Flight
Invisible Stalker
Rootborn Defenses
Hamlet Captain
Legion Loyalist
Firefist Striker
Lightning Mauler
Spell Rupture
Young Wolf
Deathrite Shaman
Desecration Demon
Disciple of Bolas
Augur of Bolas
Slave of Bolas
Nephilim Drownyard
Desolate Lighthouse
Cavern of Souls
Village Ironsmith
Kruin Outlaw
Scorned Villager
Howlgeist
Pyreheart Wolf
Bloodthrone Vampire
Mark of Mutiny
Dark Impostor
Duskmantle Seer
Guul Draz Assassin
Nirkana Cutthroat
Nirkana Revenant
Pulse Tracker
Markov Blademaster
Stormkirk Captain
Vampiric Fury
Despise
Dismember
Phyrexian Obliterator
Lashwrithe
Squadron Hawk
Emeria Angels
Consecrated Sphinx
Devour Flesh
Terminus
Warped Physique
Tribute to Hunger
Galerider Sliver
Syphon Sliver
Pretty much every Planeswalker ever
Alright, I guess I've gotta find a stopping point somewhere, haha. On a semi-related note, I'd be curious if anyone would be open to commission work for sets/batches of cards or particularly tricky cards like Planeswalkers(if they're even possible, I obviously have no clue haha) as I'd really like to give-back in some way for all the hard work you guys do. Thank you and cheers

Re: Formal Request Thread
by enfilade » 28 Jul 2013, 05:54
Looking for help with Legion Loyalist. I'm a newb at this, so it's mostly copied and pasted from other things.
It was giving First Strike and Trample every time it attacked, but I think I have it where it will only trigger when it attacks with 2 other creatures but it doesn't actually give the ability to itself or other creatures. Stumped. Thanks in advance.
- | Open
- <?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="LEGION_LOYALIST_366348" />
<CARDNAME text="LEGION_LOYALIST" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Legion Loyalist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Loyaliste de la Légion]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Partidario de la Legión]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Getreuer der Legion]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Lealista della Legione]]></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[Lealista da Legião]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="366348" />
<ARTID value="366348" />
<ARTIST name="Eric Deschamps" />
<CASTING_COST cost="{R}" />
<TYPE metaname="Creature" />
<SUB_TYPE metaname="Goblin" />
<SUB_TYPE metaname="Soldier" />
<EXPANSION value="GTC" />
<RARITY metaname="R" />
<POWER value="1" />
<TOUGHNESS value="1" />
<STATIC_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Haste]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Célérité]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Prisa.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Eile]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Rapidità]]></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[Ímpeto]]></LOCALISED_TEXT>
<INTRINSIC characteristic="CHARACTERISTIC_HASTE" />
</STATIC_ABILITY>
<TRIGGERED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Battalion — Whenever Legion Loyalist and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can’t be blocked by creature tokens this turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Bataillon — À chaque fois que le Loyaliste de la Légion et au moins deux autres créatures attaquent, les créatures que vous contrôlez acquièrent l’initiative et le piétinement jusqu’à la fin du tour et elles ne peuvent pas être bloquées par des jetons de créature ce tour-ci.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Batallón — Siempre que el Partidario de la Legión y al menos otras dos criaturas ataquen, las criaturas que controlas ganan las habilidades de dañar primero y arrollar hasta el final del turno y no pueden ser bloqueadas por fichas de criatura este turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Bataillon — Immer wenn der Getreue der Legion und mindestens zwei andere Kreaturen angreifen, erhalten Kreaturen, die du kontrollierst, bis zum Ende des Zuges Erstschlag und verursachen Trampelschaden und können in diesem Zug nicht von Kreaturenspielsteinen geblockt werden.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Battaglione — Ogniqualvolta il Lealista della Legione e almeno altre due creature attaccano, le creature che controlli hanno attacco improvviso e travolgere fino alla fine del turno e non possono essere bloccate da pedine creatura in questo turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Battalion — Whenever Legion Loyalist and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can’t be blocked by creature tokens this turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[부대전 — 충성스런 군단병과 두 개 이상의 다른 생물이 공격할 때마다, 당신이 조종하는 생물들은 턴종료까지 선제공격 능력과 돌진 능력을 얻으며 이 턴에 생물 토큰에게 방어될 수 없다.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Батальон — Каждый, раз когда Приверженец Легиона и как минимум два других существа атакуют, существа под вашим контролем получают Первый удар и Пробивной удар до конца хода и не могут быть заблокированы фишками существ в этом ходу.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Battalion — Whenever Legion Loyalist and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can’t be blocked by creature tokens this turn.]]></LOCALISED_TEXT>
<TRIGGER value="ATTACKING" simple_qualifier="self" />
<TRIGGER value="ATTACKING" simple_qualifier="self">
local filter = ClearFilter()
filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
filter:Add( FE_IS_ATTACKING, OP_IS, true )
return filter:CountStopAt(3) == 3
</TRIGGER>
<CONTINUOUS_ACTION layer="6">
if FilterSource() ~= nil then
local characteristics = FilterSource():GetCurrentCharacteristics()
characteristics:Bool_Set( CHARACTERISTIC_FIRST_STRIKE, 1 )
end
</CONTINUOUS_ACTION>
<CONTINUOUS_ACTION layer="6">
if FilterSource() ~= nil then
local characteristics = FilterSource():GetCurrentCharacteristics()
characteristics:Bool_Set( CHARACTERISTIC_TRAMPLE, 1 )
end
</CONTINUOUS_ACTION>
<DURATION simple_duration="untilEOT" />
</TRIGGERED_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_14" body="MORE_INFO_BADGE_BODY_14" 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>
It was giving First Strike and Trample every time it attacked, but I think I have it where it will only trigger when it attacks with 2 other creatures but it doesn't actually give the ability to itself or other creatures. Stumped. Thanks in advance.
- enfilade
- Posts: 2
- Joined: 22 Jul 2013, 01:43
- Has thanked: 0 time
- Been thanked: 0 time
Re: Formal Request Thread
by Xander9009 » 28 Jul 2013, 05:55
Coding the cards yourself can be confusing to pick up at first, but it's much easier than you might think. As for the Planeswalkers, they've been attempted on many occasions, and at least one person was recently experimenting with them, but so far, I know of no one who has made a universally working Planeswalker. I can't code these yet (just as I haven't any of the other recent requests) because I'm currently working on a number of mods for Skyrim. However, if you'd like to try your hand at coding, I'd be more than happy to walk you through the first steps. With such a long list of cards, you might be happier being abel to make them yourself.Isalo wrote:First and foremost, I want to thank each and every one of you for putting in the time and effort to massively improve/extend this game for me and I'm sure plenty of others. I've always been a very casual mtg player, with no desire to play with paper, so all the work you guys do allows me to really mess around and just have fun. That said, there are still a ton of cards I'd really love to have access to and I was wondering if any one here would be open to adding them to their main DLC packs, as I have not a single drop of experience in coding/building/adding said cards beyond pasting WADs into the main directory.![]()
- List of Cards | Open
- Frost Titan
Far / Away
Turn / Burn
Dissipate
Syncopate
Duress
Appetite for Brains
Tragic Slip
Ghor-Clan Rampager
Burning-Tree Emissary
Frontline Medic
Flinthoof Boar
Stormkirk Noble
Dreadbore
Rakdos's Return
Curse of Death's Hold
Birthing Pod
Cartel Aristocrat
Sin Collector
Ethereal Armor
Spectral Flight
Invisible Stalker
Rootborn Defenses
Hamlet Captain
Legion Loyalist
Firefist Striker
Lightning Mauler
Spell Rupture
Young Wolf
Deathrite Shaman
Desecration Demon
Disciple of Bolas
Augur of Bolas
Slave of Bolas
Nephilim Drownyard
Desolate Lighthouse
Cavern of Souls
Village Ironsmith
Kruin Outlaw
Scorned Villager
Howlgeist
Pyreheart Wolf
Bloodthrone Vampire
Mark of Mutiny
Dark Impostor
Duskmantle Seer
Guul Draz Assassin
Nirkana Cutthroat
Nirkana Revenant
Pulse Tracker
Markov Blademaster
Stormkirk Captain
Vampiric Fury
Despise
Dismember
Phyrexian Obliterator
Lashwrithe
Squadron Hawk
Emeria Angels
Consecrated Sphinx
Devour Flesh
Terminus
Warped Physique
Tribute to Hunger
Galerider Sliver
Syphon Sliver
Pretty much every Planeswalker ever
Alright, I guess I've gotta find a stopping point somewhere, haha. On a semi-related note, I'd be curious if anyone would be open to commission work for sets/batches of cards or particularly tricky cards like Planeswalkers(if they're even possible, I obviously have no clue haha) as I'd really like to give-back in some way for all the hard work you guys do. Thank you and cheers
_______________________________
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 Xander9009 » 28 Jul 2013, 06:11
It has a few problems.enfilade wrote:Looking for help with Legion Loyalist. I'm a newb at this, so it's mostly copied and pasted from other things.
- | Open
- <?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="LEGION_LOYALIST_366348" />
<CARDNAME text="LEGION_LOYALIST" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Legion Loyalist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Loyaliste de la Légion]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Partidario de la Legión]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Getreuer der Legion]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Lealista della Legione]]></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[Lealista da Legião]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="366348" />
<ARTID value="366348" />
<ARTIST name="Eric Deschamps" />
<CASTING_COST cost="{R}" />
<TYPE metaname="Creature" />
<SUB_TYPE metaname="Goblin" />
<SUB_TYPE metaname="Soldier" />
<EXPANSION value="GTC" />
<RARITY metaname="R" />
<POWER value="1" />
<TOUGHNESS value="1" />
<STATIC_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Haste]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Célérité]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Prisa.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Eile]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Rapidità]]></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[Ímpeto]]></LOCALISED_TEXT>
<INTRINSIC characteristic="CHARACTERISTIC_HASTE" />
</STATIC_ABILITY>
<TRIGGERED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Battalion — Whenever Legion Loyalist and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can’t be blocked by creature tokens this turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Bataillon — À chaque fois que le Loyaliste de la Légion et au moins deux autres créatures attaquent, les créatures que vous contrôlez acquièrent l’initiative et le piétinement jusqu’à la fin du tour et elles ne peuvent pas être bloquées par des jetons de créature ce tour-ci.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Batallón — Siempre que el Partidario de la Legión y al menos otras dos criaturas ataquen, las criaturas que controlas ganan las habilidades de dañar primero y arrollar hasta el final del turno y no pueden ser bloqueadas por fichas de criatura este turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Bataillon — Immer wenn der Getreue der Legion und mindestens zwei andere Kreaturen angreifen, erhalten Kreaturen, die du kontrollierst, bis zum Ende des Zuges Erstschlag und verursachen Trampelschaden und können in diesem Zug nicht von Kreaturenspielsteinen geblockt werden.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Battaglione — Ogniqualvolta il Lealista della Legione e almeno altre due creature attaccano, le creature che controlli hanno attacco improvviso e travolgere fino alla fine del turno e non possono essere bloccate da pedine creatura in questo turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Battalion — Whenever Legion Loyalist and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can’t be blocked by creature tokens this turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[부대전 — 충성스런 군단병과 두 개 이상의 다른 생물이 공격할 때마다, 당신이 조종하는 생물들은 턴종료까지 선제공격 능력과 돌진 능력을 얻으며 이 턴에 생물 토큰에게 방어될 수 없다.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Батальон — Каждый, раз когда Приверженец Легиона и как минимум два других существа атакуют, существа под вашим контролем получают Первый удар и Пробивной удар до конца хода и не могут быть заблокированы фишками существ в этом ходу.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Battalion — Whenever Legion Loyalist and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can’t be blocked by creature tokens this turn.]]></LOCALISED_TEXT>
<TRIGGER value="ATTACKING" simple_qualifier="self" />
<TRIGGER value="ATTACKING" simple_qualifier="self">
local filter = ClearFilter()
filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
filter:Add( FE_IS_ATTACKING, OP_IS, true )
return filter:CountStopAt(3) == 3
</TRIGGER>
<CONTINUOUS_ACTION layer="6">
if FilterSource() ~= nil then
local characteristics = FilterSource():GetCurrentCharacteristics()
characteristics:Bool_Set( CHARACTERISTIC_FIRST_STRIKE, 1 )
end
</CONTINUOUS_ACTION>
<CONTINUOUS_ACTION layer="6">
if FilterSource() ~= nil then
local characteristics = FilterSource():GetCurrentCharacteristics()
characteristics:Bool_Set( CHARACTERISTIC_TRAMPLE, 1 )
end
</CONTINUOUS_ACTION>
<DURATION simple_duration="untilEOT" />
</TRIGGERED_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_14" body="MORE_INFO_BADGE_BODY_14" 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>
It was giving First Strike and Trample every time it attacked, but I think I have it where it will only trigger when it attacks with 2 other creatures but it doesn't actually give the ability to itself or other creatures. Stumped. Thanks in advance.
1) "FilterSource()" should be "FilteredCard()".
2) The filtered cards from the trigger aren't carried over, they need their own filter block.
3) The <CONTINUOUS_ACTION layer="6"> needs to have filter_id="0" after layer like this <CONTINUOUS_ACTION layer="6" filter_id="0"> (this, of course, follows the last fix where we make that filter).
4)The reason it was doing it every time it attacked was because separate triggers fire separately. So, the "this creature attacks" trigger was firing, even if the other wasn't. Instead of having two triggers, you need to replace the second one with <INTERVENING_IF>.
5) A minor thing (but still important), is that the card says creature you control get those abilities, not attacking creatures.
Try this:
- | Open
- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="LEGION_LOYALIST_366348" />
<CARDNAME text="LEGION_LOYALIST" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Legion Loyalist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Loyaliste de la Légion]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Partidario de la Legión]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Getreuer der Legion]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Lealista della Legione]]></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[Lealista da Legião]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="366348" />
<ARTID value="366348" />
<ARTIST name="Eric Deschamps" />
<CASTING_COST cost="{R}" />
<TYPE metaname="Creature" />
<SUB_TYPE metaname="Goblin" />
<SUB_TYPE metaname="Soldier" />
<EXPANSION value="GTC" />
<RARITY metaname="R" />
<POWER value="1" />
<TOUGHNESS value="1" />
<STATIC_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Haste]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Célérité]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Prisa.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Eile]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Rapidità]]></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[Ímpeto]]></LOCALISED_TEXT>
<INTRINSIC characteristic="CHARACTERISTIC_HASTE" />
</STATIC_ABILITY>
<TRIGGERED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Battalion — Whenever Legion Loyalist and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can’t be blocked by creature tokens this turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Bataillon — À chaque fois que le Loyaliste de la Légion et au moins deux autres créatures attaquent, les créatures que vous contrôlez acquièrent l’initiative et le piétinement jusqu’à la fin du tour et elles ne peuvent pas être bloquées par des jetons de créature ce tour-ci.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Batallón — Siempre que el Partidario de la Legión y al menos otras dos criaturas ataquen, las criaturas que controlas ganan las habilidades de dañar primero y arrollar hasta el final del turno y no pueden ser bloqueadas por fichas de criatura este turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Bataillon — Immer wenn der Getreue der Legion und mindestens zwei andere Kreaturen angreifen, erhalten Kreaturen, die du kontrollierst, bis zum Ende des Zuges Erstschlag und verursachen Trampelschaden und können in diesem Zug nicht von Kreaturenspielsteinen geblockt werden.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Battaglione — Ogniqualvolta il Lealista della Legione e almeno altre due creature attaccano, le creature che controlli hanno attacco improvviso e travolgere fino alla fine del turno e non possono essere bloccate da pedine creatura in questo turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Battalion — Whenever Legion Loyalist and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can’t be blocked by creature tokens this turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[부대전 — 충성스런 군단병과 두 개 이상의 다른 생물이 공격할 때마다, 당신이 조종하는 생물들은 턴종료까지 선제공격 능력과 돌진 능력을 얻으며 이 턴에 생물 토큰에게 방어될 수 없다.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Батальон — Каждый, раз когда Приверженец Легиона и как минимум два других существа атакуют, существа под вашим контролем получают Первый удар и Пробивной удар до конца хода и не могут быть заблокированы фишками существ в этом ходу.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Battalion — Whenever Legion Loyalist and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can’t be blocked by creature tokens this turn.]]></LOCALISED_TEXT>
<TRIGGER value="ATTACKING" simple_qualifier="self" />
<INTERVENING_IF>
local filter = ClearFilter()
filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
filter:Add( FE_IS_ATTACKING, OP_IS, true )
return filter:CountStopAt(3) == 3
</INTERVENING_IF>
<FILTER filter_id="0">
local filter = ClearFilter()
filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
filter:Add( FE_CONTROLLER, OP_IS, EffectController() )
</FILTER>
<CONTINUOUS_ACTION layer="6" filter_id="0">
if FilterSource() ~= nil then
local characteristics = FilterSource():GetCurrentCharacteristics()
characteristics:Bool_Set( CHARACTERISTIC_FIRST_STRIKE, 1 )
end
</CONTINUOUS_ACTION>
<CONTINUOUS_ACTION layer="6" filter_id="0">
if FilterSource() ~= nil then
local characteristics = FilterSource():GetCurrentCharacteristics()
characteristics:Bool_Set( CHARACTERISTIC_TRAMPLE, 1 )
end
</CONTINUOUS_ACTION>
<DURATION simple_duration="untilEOT" />
</TRIGGERED_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_14" body="MORE_INFO_BADGE_BODY_14" 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>
_______________________________
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 enfilade » 28 Jul 2013, 07:05
I couldn't get the ability to trigger at all with your code, but I was missing the FilterCard() and filter_id="0". Adding those 2 back in and switching to the 'battalion' code off Boros Elite brings it back to the whole triggering while attacking alone. Upon testing other battalion cards it seems they all trigger every attack regardless of the number of creatures attacking with them. As to the unblockable by tokens, I figured I'd work on that piecemeal as clearly I have a lot to learn
here is the 'all attacks' code:

here is the 'all attacks' code:
- | Open
- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="LEGION_LOYALIST_366348" />
<CARDNAME text="LEGION_LOYALIST" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Legion Loyalist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Loyaliste de la Légion]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Partidario de la Legión]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Getreuer der Legion]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Lealista della Legione]]></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[Lealista da Legião]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="366348" />
<ARTID value="366348" />
<ARTIST name="Eric Deschamps" />
<CASTING_COST cost="{R}" />
<TYPE metaname="Creature" />
<SUB_TYPE metaname="Goblin" />
<SUB_TYPE metaname="Soldier" />
<EXPANSION value="GTC" />
<RARITY metaname="R" />
<POWER value="1" />
<TOUGHNESS value="1" />
<STATIC_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Haste]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Célérité]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Prisa.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Eile]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Rapidità]]></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[Ímpeto]]></LOCALISED_TEXT>
<INTRINSIC characteristic="CHARACTERISTIC_HASTE" />
</STATIC_ABILITY>
<TRIGGERED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Battalion — Whenever Legion Loyalist and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can’t be blocked by creature tokens this turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Bataillon — À chaque fois que le Loyaliste de la Légion et au moins deux autres créatures attaquent, les créatures que vous contrôlez acquièrent l’initiative et le piétinement jusqu’à la fin du tour et elles ne peuvent pas être bloquées par des jetons de créature ce tour-ci.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Batallón — Siempre que el Partidario de la Legión y al menos otras dos criaturas ataquen, las criaturas que controlas ganan las habilidades de dañar primero y arrollar hasta el final del turno y no pueden ser bloqueadas por fichas de criatura este turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Bataillon — Immer wenn der Getreue der Legion und mindestens zwei andere Kreaturen angreifen, erhalten Kreaturen, die du kontrollierst, bis zum Ende des Zuges Erstschlag und verursachen Trampelschaden und können in diesem Zug nicht von Kreaturenspielsteinen geblockt werden.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Battaglione — Ogniqualvolta il Lealista della Legione e almeno altre due creature attaccano, le creature che controlli hanno attacco improvviso e travolgere fino alla fine del turno e non possono essere bloccate da pedine creatura in questo turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Battalion — Whenever Legion Loyalist and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can’t be blocked by creature tokens this turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[부대전 — 충성스런 군단병과 두 개 이상의 다른 생물이 공격할 때마다, 당신이 조종하는 생물들은 턴종료까지 선제공격 능력과 돌진 능력을 얻으며 이 턴에 생물 토큰에게 방어될 수 없다.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Батальон — Каждый, раз когда Приверженец Легиона и как минимум два других существа атакуют, существа под вашим контролем получают Первый удар и Пробивной удар до конца хода и не могут быть заблокированы фишками существ в этом ходу.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Battalion — Whenever Legion Loyalist and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can’t be blocked by creature tokens this turn.]]></LOCALISED_TEXT>
<TRIGGER value="ATTACKING" simple_qualifier="self" />
<FILTER filter_id="0">
local filter = ClearFilter()
filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
filter:Add( FE_IS_ATTACKING, OP_IS, true )
filter:Add(FE_CONTROLLER, OP_IS, EffectController() )
local number = filter:CountStopAt(3)
</FILTER>
<CONTINUOUS_ACTION layer="6" filter_id="0">
if FilteredCard() ~= nil then
local characteristics = FilteredCard():GetCurrentCharacteristics()
characteristics:Bool_Set( CHARACTERISTIC_FIRST_STRIKE, 1 )
end
</CONTINUOUS_ACTION>
<CONTINUOUS_ACTION layer="6" filter_id="0">
if FilteredCard() ~= nil then
local characteristics = FilteredCard():GetCurrentCharacteristics()
characteristics:Bool_Set( CHARACTERISTIC_TRAMPLE, 1 )
end
</CONTINUOUS_ACTION>
<DURATION simple_duration="untilEOT" />
</TRIGGERED_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_14" body="MORE_INFO_BADGE_BODY_14" 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>
- enfilade
- Posts: 2
- Joined: 22 Jul 2013, 01:43
- Has thanked: 0 time
- Been thanked: 0 time
Who is online
Users browsing this forum: No registered users and 5 guests