Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
New MTG Cards and Decks (2010, 2012, 2013, 2014, 2015, Magic Duels)



Card Creation Request Thread
User-made mods in DLC (Downloadable Content) form.
Get MTG cards here for your DotP that aren't available anywhere else!
Get MTG cards here for your DotP that aren't available anywhere else!
Moderator: CCGHQ Admins
Re: Card Creation Request Thread
by Novitius » 05 Feb 2013, 13:21
I've got a bug to report... maybe. It may not be a bug so much as unfixable.
Having thoroughly tested It That Betrays in many multiplayer (vs AI) matches, I can confirm that the permanents an AI sacrifices disappear entirely when that AI is defeated. That is to say, in a free-for-all match with no teams, if I force an enemy to sacrifice all his permanents to me, and then he gets taken out, all the permanents I've taken disappear (along with the rest of his library/graveyard, as per normal) from the game.
Is this fixable, or is this as intended in a real game (when a player gets taken out, all his cards are returned to him)?
Having thoroughly tested It That Betrays in many multiplayer (vs AI) matches, I can confirm that the permanents an AI sacrifices disappear entirely when that AI is defeated. That is to say, in a free-for-all match with no teams, if I force an enemy to sacrifice all his permanents to me, and then he gets taken out, all the permanents I've taken disappear (along with the rest of his library/graveyard, as per normal) from the game.
Is this fixable, or is this as intended in a real game (when a player gets taken out, all his cards are returned to him)?
Re: Card Creation Request Thread
by RiiakShiNal » 05 Feb 2013, 13:29
That is as intended, in a real game when a player leaves the game (for any reason) any card belonging to that player is returned even if it is being controlled by another player at the time.
If you make a copy of a player's card then that player leaves the game the copy remains because it does not belong to the player that left it belongs to you.
It That Betrays puts the original card under your control (not a copy) so once that player leaves the game so do all of his/her cards. So this is not a bug.
If you make a copy of a player's card then that player leaves the game the copy remains because it does not belong to the player that left it belongs to you.
It That Betrays puts the original card under your control (not a copy) so once that player leaves the game so do all of his/her cards. So this is not a bug.
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2188
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: Card Creation Request Thread
by SoulStorm » 05 Feb 2013, 18:13
I always play Planeswalker revenge difficulty, and I always test with the same deck I intend to upload to the community, thus never more than 4 copies of a card.thefiremind wrote:Anyway, I was thinking... these aren't really difficult cards to understand in my opinion. The AI should look at least 1 turn ahead when computing what to do... unless you did something to the AI difficulty. Is your difficulty set to Planeswalker? Did you try to edit DIFFICULTY_SETTINGS.XML?
Another thing: are you making your tests with a deck that contains more than 15 copies of the same card (basic lands excluded)? I know it makes testing easier, but sometimes it makes the AI behave strangely (that's why encounter decks have copies same card with different names and IDs).
Re: Card Creation Request Thread
by SoulStorm » 05 Feb 2013, 18:25
Here's something that is hopefully an easy fix:
Aerie Ouphes
Aerie Ouphes
- Code: Select all
<ACTIVATED_ABILITY pre_trigger="1" filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<COST type="generic">
<RESOLUTION_TIME_ACTION>
EffectDC():Set_Int( 1, EffectSource():GetCurrentPower() )
EffectController():Sacrifice( EffectSource() )
</RESOLUTION_TIME_ACTION>
</COST>
<TARGET_DEFINITION id="0">
local filter = Object():GetFilter()
filter:Clear()
filter:AddCharacteristic( CHARACTERISTIC_FLYING )
filter:SetZone( ZONE_IN_PLAY )
filter:SetHint( HINT_ENEMY_ONLY, EffectController() )
</TARGET_DEFINITION>
<TARGET_DETERMINATION>
return AtLeastOneTargetFromDefinition(0)
</TARGET_DETERMINATION>
<PLAY_TIME_ACTION target_choosing="1">
EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_CREATURE_DEAL_DAMAGE", EffectDC():Make_Targets(0) )
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local source = EffectSource()
if source == nil then
source = Object()
end
local damage = EffectDC():Get_Int(1)
local target = EffectDC():Get_Targets(0):Get_NthCardPtr(0)
if damage ~= nil and target ~= nil then
target:DealDamage(damage, source)
end
</RESOLUTION_TIME_ACTION>
<AI_AVAILABILITY step="end_of_turn" turn="their_turn" />
<AI_AVAILABILITY step="declare_blockers" blocking_or_blocked="1" />
<AI_AVAILABILITY type="in_response_dangerous" />
<SFX text="TARGET_CHOP_PLAY" />
</ACTIVATED_ABILITY>
<TRIGGERED_ABILITY filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Persist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Persistere]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Beharrlichkeit]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Persistance]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Persistir.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[頑強]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Persist]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Упорство]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Persistir]]></LOCALISED_TEXT>
<TRIGGER value="ZONECHANGE_BEGIN" simple_qualifier="self" to_zone="ZONE_GRAVEYARD" from_zone="ZONE_IN_PLAY">
if (Object():CountCounters( MTG():MinusOneMinusOneCounters() ) == 0) then
EffectDC():Protect_CardPtr( COMPARTMENT_ID_EFFECT_SOURCE )
return true
end
return false
</TRIGGER>
<RESOLUTION_TIME_ACTION>
if EffectSource() ~= nil then
EffectDC():Protect_CardPtr( COMPARTMENT_ID_EFFECT_SOURCE )
EffectSource():PutIntoPlay( EffectSource():GetOwner() )
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
if EffectSource() ~= nil then
EffectSource():AddCounters( MTG():MinusOneMinusOneCounters(), 1 )
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
Re: Card Creation Request Thread
by thefiremind » 05 Feb 2013, 19:09
I'm not sure what's wrong here, so I'll suggest multiple ideas, feel free to try them one by one or combine them:
- Substitute pre_trigger="1" with LKI_shield_effect_source="1".
- Substitute EffectSource():GetCurrentPower() with EffectSource():GetCurrentCharacteristics():Power_Get() (they should be equivalent but we discovered from other scenarios that they aren't).
- Substitute the whole <COST ...>...</COST> block with this:
- Code: Select all
<COST type="SacrificeSelf" />
<PLAY_TIME_ACTION>
EffectDC():Set_Int( 1, EffectSource():GetCurrentPower() )
</PLAY_TIME_ACTION>
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Card Creation Request Thread
by SoulStorm » 06 Feb 2013, 01:06
Using this code, Aerie Ouphes deals damage but isn't sacrificed. I'm sure I did something wrong.

- Code: Select all
<ACTIVATED_ABILITY LKI_shield_effect_source="1" filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Sacrifice Aerie Ouphes: Aerie Ouphes deals damage equal to its power to target creature with flying.]]></LOCALISED_TEXT>
<COST type="generic">
<COST type="SacrificeSelf" />
<PLAY_TIME_ACTION>
EffectDC():Set_Int( 1, EffectSource():GetCurrentCharacteristics():Power_Get() )
</PLAY_TIME_ACTION>
</COST>
<TARGET_DEFINITION id="0">
local filter = Object():GetFilter()
filter:Clear()
filter:AddCharacteristic( CHARACTERISTIC_FLYING )
filter:SetZone( ZONE_IN_PLAY )
filter:SetHint( HINT_ENEMY_ONLY, EffectController() )
</TARGET_DEFINITION>
<TARGET_DETERMINATION>
return AtLeastOneTargetFromDefinition(0)
</TARGET_DETERMINATION>
<PLAY_TIME_ACTION target_choosing="1">
EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_CREATURE_DEAL_DAMAGE", EffectDC():Make_Targets(0) )
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local source = EffectSource()
if source == nil then
source = Object()
end
local damage = EffectDC():Get_Int(1)
local target = EffectDC():Get_Targets(0):Get_NthCardPtr(0)
if damage ~= nil and target ~= nil then
target:DealDamage(damage, source)
end
</RESOLUTION_TIME_ACTION>
<AI_AVAILABILITY step="end_of_turn" turn="their_turn" />
<AI_AVAILABILITY step="declare_blockers" blocking_or_blocked="1" />
<AI_AVAILABILITY type="in_response_dangerous" />
<SFX text="TARGET_CHOP_PLAY" />
</ACTIVATED_ABILITY>
Re: Card Creation Request Thread
by thefiremind » 06 Feb 2013, 09:14
You still have to remove the lines
- Code: Select all
<COST type="generic">
- Code: Select all
</COST>
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Card Creation Request Thread
by SoulStorm » 06 Feb 2013, 16:59
Works perfect now, thanks!thefiremind wrote:You still have to remove the linesand
- Code: Select all
<COST type="generic">
- Code: Select all
</COST>
Re: Card Creation Request Thread
by Novitius » 07 Feb 2013, 12:35
Got a few genuine card requests this time:
Crucible of Worlds
Scouting Trek
Treasure Hunt
Karrthus, Tyrant of Jund
EDIT: Removed Dragon Broodmother, because I realized I already had that from one of the mods I've downloaded.
Crucible of Worlds
Scouting Trek
Treasure Hunt
Karrthus, Tyrant of Jund
EDIT: Removed Dragon Broodmother, because I realized I already had that from one of the mods I've downloaded.
Last edited by Novitius on 07 Feb 2013, 23:23, edited 1 time in total.
Re: Card Creation Request Thread
by Jrabieh » 07 Feb 2013, 13:25
OK, I've been exploring the boards a bit and I haven't found a genuine tutorial for making these cards yet. I know enough to tinker with existing cards to make new ones but I'm trying not to reinvent the wheel here. If someone could post me a link to a some sort of collective knowledge that would be great.
Otherwise I have a request.
Burning Inquiry
Otherwise I have a request.
Burning Inquiry
Re: Card Creation Request Thread
by thefiremind » 07 Feb 2013, 14:11
Crucible of Worlds can't be coded the way you would expect it to work: you can't make the lands in your graveyard playable. There are some tricks to make something really close to the real card, though, and I had a fantastic idea, but there's something wrong and I can't understand what it is:Novitius wrote:Got a few genuine card requests this time:
Crucible of Worlds
Scouting Trek
Treasure Hunt
Dragon Broodmother
Karrthus, Tyrant of Jund
- Code: Select all
<?xml version='1.0'?>
<CARD_V2>
<FILENAME text="CRUCIBLE_OF_WORLDS_148851" />
<CARDNAME text="CRUCIBLE_OF_WORLDS" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Crucible of Worlds]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Crogiolo di Mondi]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Schmelztiegel der Welten]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Creuset des mondes]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Crisol de mundos]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[世界のるつぼ]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Crucible of Worlds]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Тигель Миров]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Crisol dos Mundos]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="148851" />
<ARTID value="A148851" />
<ARTIST name="Ron Spencer" />
<CASTING_COST cost="{3}" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Amidst the darkest ashes grow the strongest seeds.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Tra le ceneri più scure crescono i semi più robusti.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Aus den dunkelsten Aschen wachsen die stärksten Schößlinge.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[C’est dans les cendres les plus noires que poussent les plantes les plus robustes.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Entre las cenizas más oscuras crecen las semillas más fuertes.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[漆黒の灰燼にこそ、強靱な種が芽を葺く。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Amidst the darkest ashes grow the strongest seeds.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Из самого черного пепла всходят сильнейшие побеги.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Em meio às cinzas mais escuras crescem as sementes mais fortes.]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<TYPE metaname="Artifact" />
<EXPANSION value="10E" />
<RARITY metaname="R" />
<TRIGGERED_ABILITY internal="1" active_zone="ZONE_ANY">
<TRIGGER value="LAND_PLAYED">
local filter = Object():GetFilter()
filter:Clear()
filter:AddCardName( Object():GetCardName() )
filter:NotTargetted()
local filter_count = filter:EvaluateObjects()
return Object() == filter:GetNthEvaluatedObject(0)
</TRIGGER>
<RESOLUTION_TIME_ACTION>
for i=0,MTG():GetNumberOfPlayers()-1 do
local nthPlayer = MTG():GetNthPlayer(i)
if nthPlayer == TriggerObject():GetPlayer() then
local played_lands = nthPlayer:PlayerDataChest():Get_Int( 997 ) + 1
nthPlayer:PlayerDataChest():Set_Int( 997, played_lands )
end
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
<TRIGGERED_ABILITY internal="1" active_zone="ZONE_ANY">
<TRIGGER value="BEGINNING_OF_STEP" simple_qualifier="controller">
return MTG():GetStep() == STEP_UPKEEP
</TRIGGER>
<RESOLUTION_TIME_ACTION>
for i=0,MTG():GetNumberOfPlayers()-1 do
MTG():GetNthPlayer(i):PlayerDataChest():Set_Int( 997, 0 )
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
<TRIGGERED_ABILITY forced_skip="1">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[You may play land cards from your graveyard.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Puoi giocare carte terra dal tuo cimitero.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Du kannst Länderkarten aus deinem Friedhof spielen.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Vous pouvez jouer des cartes de terrain depuis votre cimetière.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Puedes jugar cartas de tierra de tu cementerio.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたはあなたの墓地から土地カードをプレイしてもよい。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[You may play land cards from your graveyard.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Вы можете разыгрывать карты земель из вашего кладбища.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Você pode jogar cards de terreno de seu cemitério.]]></LOCALISED_TEXT>
<TRIGGER value="BEGINNING_OF_STEP" simple_qualifier="controller">
return TriggerPlayer() == Object():GetController() and
Object():GetController():MyTurn() ~= 0 and
(MTG():GetStep() == STEP_MAIN_1 or MTG():GetStep() == STEP_MAIN_2)
</TRIGGER>
<RESOLUTION_TIME_ACTION>
local player = Object():GetController()
local playable_lands = 0
for i=0,MTG():GetNumberOfPlayers()-1 do
local nthPlayer = MTG():GetNthPlayer(i)
if nthPlayer == player then
local played_lands = nthPlayer:PlayerDataChest():Get_Int( 997 )
playable_lands = 1 + player:GetCurrentCharacteristics():Int_Get(PLAYER_INTCHARACTERISTIC_EXTRA_LAND_DROPS) - played_lands
end
end
if playable_lands > 0 then
local filter = Object():GetFilter()
filter:Clear()
filter:SetZone( ZONE_GRAVEYARD )
filter:AddCardType( CARD_TYPE_LAND )
filter:SetPlayer( player )
filter:NotTargetted()
filter:May()
filter:SetHint( HINT_ALLIED, player )
local max_lands = filter:Count()
if playable_lands < max_lands then
max_lands = playable_lands
end
if max_lands > 0 then
EffectDC():Set_Int(1, max_lands)
player:SetTargetCount(max_lands)
for i=0,max_lands-1 do
player:SetTargetPrompt( i, "CARD_QUERY_CHOOSE_LAND_TO_PUT_ONTO_BATTLEFIELD" )
end
player:ChooseTargets( NO_VALIDATION, EffectDC():Make_Targets(0) )
end
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local targetDC = EffectDC():Get_Targets(0)
if targetDC ~= nil then
local max_lands = EffectDC():Get_Int(1)
local target_array = {}
for i=0,max_lands-1 do
target_array[i] = targetDC:Get_CardPtr(i)
end
for i=0,max_lands-1 do
local target = target_array[i]
if target ~= nil then
target:PlayFreeFromAnywhere( Object():GetController() )
end
end
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
</CARD_V2>
Anyway I already lost too much time on this, so the other cards will have to wait (unless someone else fills the requests before me, which isn't prohibited, in case someone wonders

< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Card Creation Request Thread
by Novitius » 07 Feb 2013, 15:06
Oh, man. The coding you're doing is so far beyond me, I can't offer much in the way of advice there. But at least it's a start!
More than a start, really.
Also, the reason I'm looking for those BRG dragons is because I'm doing some editing of your Sarkhan Vol "I See Dragons" deck, thefiremind, and I want to see if I can make it out to be a Jund deck with dragons (I'm a fan of the Broodmate Dragon and Hellkite Overlord [which I've already coded], they seem to suit his style, but I want to throw in some more tricolor dragons).
More than a start, really.
Also, the reason I'm looking for those BRG dragons is because I'm doing some editing of your Sarkhan Vol "I See Dragons" deck, thefiremind, and I want to see if I can make it out to be a Jund deck with dragons (I'm a fan of the Broodmate Dragon and Hellkite Overlord [which I've already coded], they seem to suit his style, but I want to throw in some more tricolor dragons).
Re: Card Creation Request Thread
by NEMESiS » 07 Feb 2013, 15:58
I made that exact deck here:Novitius wrote:Oh, man. The coding you're doing is so far beyond me, I can't offer much in the way of advice there. But at least it's a start!
More than a start, really.
Also, the reason I'm looking for those BRG dragons is because I'm doing some editing of your Sarkhan Vol "I See Dragons" deck, thefiremind, and I want to see if I can make it out to be a Jund deck with dragons (I'm a fan of the Broodmate Dragon and Hellkite Overlord [which I've already coded], they seem to suit his style, but I want to throw in some more tricolor dragons).
viewtopic.php?f=102&t=9580
It has those dragons you mentioned and I copied the code from I see dragons.
-
NEMESiS - Posts: 460
- Joined: 03 Jan 2013, 04:02
- Location: Pools of Becoming
- Has thanked: 70 times
- Been thanked: 21 times
Re: Card Creation Request Thread
by NEMESiS » 09 Feb 2013, 00:23
Hello, I am trying to make the Eldrazi Conscription but I am having a difficult time adding the annihilatior mechanic. I copied the enchantment Lifelink and "Frankensteined" some parts together but I don't know what to change....
http://www.wizards.com/mtg/images/daily ... iption.jpg
(The legs are cut off which makes it look weird, although most people would not notice it)
Anybody know where I can get the full picture? http://mws.mtgbr.com doesn't have it either.
- Code: Select all
<?xml version='1.0'?>
<CARD_V2>
<FILENAME text="ELDRAZI_CONSCRIPTion_2911369" />
<CARDNAME text="ELDRAZI_CONSCRIPTion" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Eldrazi Conscription]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Arruolamento Eldrazi]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Eldrazi-Zwangsverpflichtung]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Conscription eldrazi]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Conscripción eldrazi]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[エルドラージの徴兵]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Eldrazi Conscription]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Мобилизация Эльдрази]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Conscrição dos Eldrazi]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="2911369" />
<ARTID value="2911369" />
<ARTIST name="Jaime Jones" />
<CASTING_COST cost="{8}" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[The barest taste of Eldrazi power shatters both realms and identities.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Il mero assaggio del potere degli Eldrazi distrugge sia i reami che le identità.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Schon die kleinste Kostprobe der Macht der Eldrazi zerstört sowohl Kontinente als auch Persönlichkeiten.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[La moindre étincelle de puissance eldrazi détruit les royaumes tout comme les identités.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[La más mínima porción del poder de los eldrazi destruye reinos e identidades.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[エルドラージの力をほんの少し味わうだけで、、王国と自我の両方が粉砕される。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[The barest taste of Eldrazi power shatters both realms and identities.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Малейший вкус власти Эльдрази заставляет пошатнуться и чужие царства, и даже самосознание.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Até mesmo uma pequena fração do poder dos Eldrazi é suficiente para destruir reinos e identidades.]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<TYPE metaname="Enchantment" />
<SUB_TYPE metaname="Aura" order_de-DE="0" order_es-ES="0" order_fr-FR="0" order_it-IT="0" order_jp-JA="0" order_ko-KR="0" order_pt-BR="0" order_ru-RU="0" />
<EXPANSION value="DPG" />
<RARITY metaname="C" />
<STATIC_ABILITY attach_filter="1" filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Enchant creature]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Enchanter : créature]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Encantar criatura.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Kreaturenverzauberung]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Incanta creatura]]></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[Encantar criatura]]></LOCALISED_TEXT>
<CONTINUOUS_ACTION>
local attach_filter = Object():AttachmentFilter_Get()
attach_filter:Clear()
attach_filter:AddCardType( CARD_TYPE_CREATURE )
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<STATIC_ABILITY filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Enchanted creature gets +10/+10 and has trample and annihilator 2. (Whenever it attacks, defending player sacrifices two permanents.)]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[La creatura incantata prende +10/+10 e ha travolgere e annientatore 2. (Ogniqualvolta questa creatura attacca, il giocatore in difesa sacrifica due permanenti.)]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Die verzauberte Kreatur erhält +10/+10, Vernichter 2 und verursacht Trampelschaden. (Immer wenn sie angreift, opfert der verteidigende Spieler zwei bleibende Karten.)]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[La créature enchantée gagne +10/+10 et a le piétinement et annihilateur 2. (À chaque fois qu’elle attaque, le joueur défenseur sacrifie deux permanents.)]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[La criatura encantada obtiene +10/+10 y tiene las habilidades de arrollar y aniquilador 2. (Siempre que ataque, el jugador defensor sacrifica dos permanentes.)]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[エンチャントされているクリーチャーは+10/+10の修整を受けるとともにトランプルと「滅殺 2」を持つ。 (それが攻撃するたび、防御プレイヤーはパーマネントを2つ生け贄に捧げる。)]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Enchanted creature gets +10/+10 and has trample and annihilator 2. (Whenever it attacks, defending player sacrifices two permanents.)]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Зачарованное существо получает +10/+10 и имеет Пробивной удар и Аннигилятор 2. (Каждый раз когда оно атакует, защищающийся игрок приносит в жертву два перманента.)]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[A criatura encantada recebe +10/+10 e tem atropelar e aniquilador 2. (Toda vez que esta criatura ataca, o jogador defensor sacrifica duas permanentes.)]]></LOCALISED_TEXT>
<CONTINUOUS_ACTION layer="6">
local parent = Object():GetParent()
if parent ~= nil then
parent:GetCurrentCharacteristics():Characteristic_Set( CHARACTERISTIC_TRAMPLE, 1 )
end
</CONTINUOUS_ACTION>
<CONTINUOUS_ACTION layer="7C">
local parent = Object():GetParent()
if parent ~= nil then
parent:GetCurrentCharacteristics():Power_Add( 10 )
parent:GetCurrentCharacteristics():Toughness_Add( 10 )
end
</CONTINUOUS_ACTION>
<CONTINUOUS_ACTION layer="6">
local parent = Object():GetParent()
if parent ~= nil then
parent:GetCurrentCharacteristics():Characteristic_Set( CHARACTERISTIC_ANNIHILATOR, 1 )
end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<TRIGGERED_ABILITY badge="BADGE_ANNIHILATOR" filter_zone="ZONE_IN_PLAY">
<TRIGGER value="ATTACKING" simple_qualifier="self" />
<RESOLUTION_TIME_ACTION>
local defendingPlayer = Object():GetPlayerAttacked()
local filter = Object():GetFilter()
filter:Clear()
filter:NotTargetted()
filter:SetZone( ZONE_IN_PLAY )
filter:AddCardType( CARD_TYPE_CREATURE )
filter:AddCardType( CARD_TYPE_LAND )
filter:AddCardType( CARD_TYPE_ARTIFACT )
filter:AddCardType( CARD_TYPE_ENCHANTMENT )
filter:AddCardType( CARD_TYPE_PLANESWALKER )
filter:SetController( defendingPlayer )
local numberOfTargets = filter:CountStopAt( 2 )
if numberOfTargets > 0 then
defendingPlayer:SetTargetCount( numberOfTargets )
defendingPlayer:SetTargetPrompt( 0, "CARD_QUERY_ANNIHILATOR_CHOOSE_PERMANENT_ONE_OF_TWO" )
if numberOfTargets > 1 then
defendingPlayer:SetTargetPrompt( 1, "CARD_QUERY_ANNIHILATOR_CHOOSE_PERMANENT_TWO_OF_TWO" )
end
filter:SetHint( HINT_ENEMY, defendingPlayer )
defendingPlayer:ChooseTargets( NO_VALIDATION, EffectDC():Make_Targets(1) )
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local array = {}
local targetdc = EffectDC():Get_Targets(1)
if targetdc ~= nil then
while targetdc:Get_CardPtr(#array) ~= nil do
array[#array+1] = targetdc:Get_CardPtr(#array)
end
for i=1,#array do
array[i]:Sacrifice( array[i]:GetPlayer() )
end
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
<SPELL_ABILITY attach_filter="1" dangerous="1" filter_zone="ZONE_IN_PLAY">
<TARGET_DEFINITION id="0">
local filter = Object():GetFilter()
filter:Clear()
filter:AddCardType( CARD_TYPE_CREATURE )
filter:SetZone( ZONE_IN_PLAY )
filter: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_TO_ENCHANT", EffectDC():Make_Targets(0) )
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target_card = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target_card ~= nil then
Object():Enchant( target_card )
end
</RESOLUTION_TIME_ACTION>
</SPELL_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_4" body="MORE_INFO_BADGE_BODY_4" zone="ZONE_ANY" />
<AI_BASE_SCORE score="300" zone="ZONE_HAND" />
</CARD_V2>
http://www.wizards.com/mtg/images/daily ... iption.jpg
(The legs are cut off which makes it look weird, although most people would not notice it)
Anybody know where I can get the full picture? http://mws.mtgbr.com doesn't have it either.
-
NEMESiS - Posts: 460
- Joined: 03 Jan 2013, 04:02
- Location: Pools of Becoming
- Has thanked: 70 times
- Been thanked: 21 times
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 2 guests