It is currently 06 Sep 2025, 21:14
   
Text Size

Formal Request Thread

Moderator: CCGHQ Admins

Re: Formal Request Thread

Postby drleg3nd » 11 Sep 2013, 01:14

gorem2k wrote:
drleg3nd wrote:can someone help me out with this card,Omenspeaker
| Open
Code: Select all
  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Omenspeaker enters the battlefield, scry2]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Vous pouvez faire que le Mimique progéniteur arrive sur le champ de bataille comme une copie de n’importe quelle créature sur le champ de bataille, excepté qu’il acquiert « Au début de votre entretien, si cette créature n’est pas un jeton, mettez sur le champ de bataille un jeton qui est une copie de cette créature. »]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Puedes hacer que el Mímico progenitor entre al campo de batalla como una copia de cualquier criatura en el campo de batalla, excepto que gana “Al comienzo de tu mantenimiento, si esta criatura no es una ficha, pon en el campo de batalla una ficha que es una copia de esta criatura”.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Du kannst den Nachahmer der Ahnen als eine Kopie einer beliebigen Kreatur im Spiel ins Spiel kommen lassen, außer dass er „Bringe zu Beginn deines Versorgungssegments und falls diese Kreatur kein Spielstein ist, einen Spielstein ins Spiel, der eine Kopie dieser Kreatur ist” hat.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Puoi far entrare il Mimic Progenitore nel campo di battaglia come una copia di una qualsiasi creatura sul campo di battaglia, tranne che ha “All’inizio del tuo mantenimento, se questa creatura non è una pedina, metti sul campo di battaglia una pedina che è una copia di questa creatura”.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたは前駆ミミックを、これが「あなたのアップキープの開始時に、このクリーチャーがトークンでない場合、このクリーチャーのコピーであるトークン1体を戦場に出す。」を得ることを除き、戦場に出ているいずれかのクリーチャーのコピーとして戦場に出してもよい。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[당신은 태초의 흉내꾼이 전장에 있는 생물의 복사본으로 전장에 들어오게 할 수 있다. 그렇게 한다면, 태초의 흉내꾼은 “당신의 유지단 시작에, 이 생물이 토큰이 아니라면, 이 생물의 복사본 토큰 한 개를 전장에 놓는다.”라는 능력을 가진다.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Вы можете заставить Подражателя Прародителя выйти на поле битвы в качестве копии любого существа, находящегося на поле битвы, но при этом он получает способность «В начале вашего шага поддержки, если это существо не является фишкой, положите на поле битвы фишку, являющуюся копией этого существа».]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Você pode fazer com que Progenitor Mimic entre no Campo de Batalha como uma cópia de uma criatura que esteja no Campo de Batalha exceto que ele tem “No início de sua Etapa de Manutenção, se esta criatura não for uma ficha, coloque no Campo de Batalha uma ficha que é uma cópia desta criatura.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[你可以使先祖拟妖当成战场上任一生物的复制品来进入战场,且它额外获得「在你的维持开始时,若此生物不是衍生物,则将一个衍生物放进战场,此衍生物为此生物的复制品。」]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[你可以使先祖擬妖當成戰場上任一生物的複製品來進入戰場,且它額外獲得「在你的維持開始時,若此生物不是衍生物,則將一個衍生物放進戰場,此衍生物為此生物的複製品。」]]></LOCALISED_TEXT>
    <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
    <RESOLUTION_TIME_ACTION>
    local filter = ClearFilter()
    local effectController = EffectController()
    filter:SetZone( ZONE_LIBRARY, effectController )
    filter:SetPortion( 2 )
    effectController:SetItemCount( 2 )
    effectController:SetItemPrompt(0, "CARD_QUERY_CHOOSE_CARD_TO_PUT_ON_BOTTOM_LIBRARY" )
    effectController:SetItemPrompt(1, "CARD_QUERY_CHOOSE_CARD_TO_PUT_ON_BOTTOM_LIBRARY" )
    effectController:ChooseItems( EffectDC():Make_Targets(0), QUERY_FLAG_UP_TO )
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local rem_count = 2
    local cardsInLibrary = EffectController():Library_Count()
    if rem_count &gt; cardsInLibrary then
      rem_count = cardsInLibrary
    end
    local target_array = {}
    for i=0,1 do
      target_array[i] = EffectDC():Get_Targets(0):Get_CardPtr(i)
    end
    for i = 0,1 do
      if target_array[i] ~= nil then
         target_array[i]:PutOnBottomOfLibrary()
         rem_count = rem_count-1
       end
    end
    EffectDC():Set_Int(2, rem_count)
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local filter = ClearFilter()
    local effectController = EffectController()
    local remainingCount = EffectDC():Get_Int(2)
    if remainingCount &gt; 0 then
      filter:SetZone( ZONE_LIBRARY, effectController )
      filter:SetPortion( remainingCount )
      effectController:SetItemCount( remainingCount )
       for i = 0, (remainingCount-1) do
          effectController:SetItemPrompt( i, "CARD_QUERY_CHOOSE_CARD_TO_PUT_ONTO_LIBRARY" )
       end
       effectController:ChooseItems( EffectDC():Make_Targets(1) )
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local remainingCount = EffectDC():Get_Int(2)
    if remainingCount &gt; 0 then
      local target_array = {}
       for i = 0, (remainingCount-1) do
         target_array[i] = EffectDC():Get_Targets(1):Get_CardPtr(i)
       end
       for i = 0, (remainingCount-1) do
         if target_array[i] ~= nil then
           target_array[i]:PutOnTopOfLibrary()
         end
       end
    end
    </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
thx gorem, so what was wrong ? was it only the first trigger ability line ?
drleg3nd
 
Posts: 528
Joined: 14 May 2012, 20:05
Has thanked: 5 times
Been thanked: 30 times

Re: Formal Request Thread

Postby gorem2k » 11 Sep 2013, 03:05

drleg3nd wrote:thx gorem, so what was wrong ? was it only the first trigger ability line ?
You can always compare the two in notepad, but one thing I noticed is that you wrote
Code: Select all
"ZONECHANGE_END "
instead of
Code: Select all
"ZONECHANGE_END"
The empty space before last quote might cause a bug.

also
Code: Select all
<TRIGGERED_ABILITY replacement_query="1" active_zone="ZONECHANGE_END ">
is not valid. the first line of triggered ability only need to be
Code: Select all
<TRIGGERED_ABILITY>
Last edited by gorem2k on 11 Sep 2013, 03:12, edited 1 time in total.
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: Formal Request Thread

Postby Haku-66 » 11 Sep 2013, 03:11

Hey, i'm new here, but
Id like to request a card: Stormbreath Dragon from theros!
pretty please
thx
:3
Yey! I'm just a little girl who loves MTG! .-.
User avatar
Haku-66
 
Posts: 9
Joined: 22 Jul 2013, 20:43
Has thanked: 2 times
Been thanked: 0 time

Re: Formal Request Thread

Postby gorem2k » 11 Sep 2013, 04:01

Haku-66 wrote:Hey, i'm new here, but
Id like to request a card: Stormbreath Dragon from theros!
pretty please
thx
:3
Attachments
stormbreath_dragon.zip
(94.96 KiB) Downloaded 450 times
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: Formal Request Thread

Postby mr friendly guy » 11 Sep 2013, 10:04

thefiremind wrote:
mr friendly guy wrote:Is it possible to code Mirror Universe? I am thinking this might make a great combo with a necropotence deck.
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.
Just had a thought. There are some cards like the Rack and Ivory tower which activates during upkeep phases. Could Mirror Universe be used like that.

For example Black Vise has the following code (I am not sure what all these means, but its easy enough for me to modify the code for the Rack to have Black Vise effects).

| Open
<TRIGGERED_ABILITY forced_skip="1" replacement_query="1" linked_ability_group="1" active_zone="ZONE_TRANSITION">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[As Black Vise enters the battlefield, choose an opponent.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Au moment où le Chevalet de torture arrive en jeu, choisissez un adversaire.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[En cuanto El potro entre en juego, elige un oponente.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Sowie die Streckbank ins Spiel kommt, bestimme einen Gegner.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Mentre la Griglia entra nel campo di battaglia, scegli un avversario.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[拷問台が場に出るに際し、対戦相手を1人選ぶ。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[As The Rack enters the battlefield, choose an opponent.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[При входе Дыбы в игру выберите оппонента. ]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Conforme O Ecúleo entra em jogo, escolha um oponente]]></LOCALISED_TEXT>
<TRIGGER value="ZONECHANGE_TRANSITION" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" from_zone="ZONE_ANY" />
<TARGET tag="CARD_QUERY_CHOOSE_OPPONENT" definition="0" compartment="0" count="1" dependency="1" not_targeted="1" />
<TARGET_DEFINITION id="0">
local filter = ClearFilter()
filter:SetFilterType( FILTER_TYPE_PLAYERS )
filter:Add( FE_TEAM, OP_NOT, EffectController():GetTeam() )
</TARGET_DEFINITION>
<RESOLUTION_TIME_ACTION>
local chosen_player = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
if chosen_player ~=nil then
LinkedDC():Set_PlayerPtr(1, chosen_player)
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
<STATIC_ABILITY linked_ability_group="1">
<CONTINUOUS_ACTION>
local chosen_player = LinkedDC():Get_PlayerPtr(1)
if chosen_player ~=nil then
chosen_player:AddBadge(PLAYER_BADGE_ICON_PREVENTION, "PLAYER_CHOSEN_ICON")
end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<TRIGGERED_ABILITY linked_ability_group="1">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[At the beginning of the chosen player’s upkeep, Black Vise deals X damage to that player, where X is the number of cards in his or her hand minus 4.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[At the beginning of the chosen player’s upkeep, Black Vise deals X damage to that player, where X is the number of cards in his or her hand minus 4.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[At the beginning of the chosen player’s upkeep, Black Vise deals X damage to that player, where X is the number of cards in his or her hand minus 4.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[At the beginning of the chosen player’s upkeep, Black Vise deals X damage to that player, where X is the number of cards in his or her hand minus 4.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[All’inizio del mantenimento del giocatore scelto, la Morsa Maledetta infligge X danni a quel giocatore, dove X è pari al numero di carte che ha nella sua mano meno 4.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[At the beginning of the chosen player’s upkeep, Black Vise deals X damage to that player, where X is the number of cards in his or her hand minus 4.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[At the beginning of the chosen player’s upkeep, Black Vise deals X damage to that player, where X is the number of cards in his or her hand minus 4.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[At the beginning of the chosen player’s upkeep, Black Vise deals X damage to that player, where X is the number of cards in his or her hand minus 4.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[At the beginning of the chosen player’s upkeep, Black Vise deals X damage to that player, where X is the number of cards in his or her hand minus 4.]]></LOCALISED_TEXT>
<TRIGGER value="BEGINNING_OF_PLAYERS_STEP">
local chosen_player = LinkedDC():Get_PlayerPtr(1)
if chosen_player ~= nil then
return (MTG():GetStep() == STEP_UPKEEP) and (TriggerPlayer() == chosen_player)
else
return false
end
</TRIGGER>
<RESOLUTION_TIME_ACTION>
if ( EffectSourceLKI() ~= nil ) then
local damage = (TriggerPlayer():Hand_Count()-4)
if damage &gt; 0 then
EffectSourceLKI():DealDamageTo( damage, TriggerPlayer() )
end
end
</RESOLUTION_TIME_ACTION>
<AUTO_SKIP>
local chosen_player = LinkedDC():Get_PlayerPtr(1)
if chosen_player ~= nil then
if chosen_player:Hand_Count() &gt; 2 then
return true
else
return false
end
end
</AUTO_SKIP>
</TRIGGERED_ABILITY>
<AI_BASE_SCORE score="750" zone="ZONE_BATTLEFIELD" />
</CARD_V2>

Could this code be adapted to have the at upkeep part of Mirror Universe?
mr friendly guy
 
Posts: 85
Joined: 23 Aug 2013, 12:03
Has thanked: 2 times
Been thanked: 1 time

Re: Formal Request Thread

Postby thefiremind » 11 Sep 2013, 10:12

mr friendly guy wrote:Just had a thought. There are some cards like the Rack and Ivory tower which activates during upkeep phases. Could Mirror Universe be used like that.
I understand, it's the way Colossus of Sardia was coded in DotP2012. It won't count as activating an ability (for Burning-Tree Shaman for example) and it won't take summoning sickness into account if the artifact somehow becomes a creature (because of Karn, Silver Golem for example). I think there would be less approximation by using this. I'll see what I can do (to be honest I was expecting someone else to do that, I never said it was impossible, I just said it was a pain :lol:).

EDIT: Here are Mirror Universe and Magus of the Mirror. They need the upkeep time manager linked above.
Attachments
mirrors.zip
Unprefixed, untested, illustrations included
(222.67 KiB) Downloaded 457 times
< 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: Formal Request Thread

Postby drleg3nd » 11 Sep 2013, 12:58

Is anybody working on those ordeals enchantments from theros ?
drleg3nd
 
Posts: 528
Joined: 14 May 2012, 20:05
Has thanked: 5 times
Been thanked: 30 times

Re: Formal Request Thread

Postby mr friendly guy » 11 Sep 2013, 13:41

Thanks Firemind, although there still seems to be a problem even with your mod. I reported the error in the other thread.
mr friendly guy
 
Posts: 85
Joined: 23 Aug 2013, 12:03
Has thanked: 2 times
Been thanked: 1 time

Re: Formal Request Thread

Postby Rari » 11 Sep 2013, 21:43

drleg3nd wrote:Is anybody working on those ordeals enchantments from theros ?
I made Ordeal of Purphoros for Heroes vs Monsters, but I'm not spending more time on the Ordeals until they're up on Gatherer. They all work similarly though.

Ordeal of Purphoros | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="RARI_ORDEAL_OF_PURPHOROS_55555517" />
  <CARDNAME text="ORDEAL_OF_PURPHOROS_55555517" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Ordeal of Purphoros]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Ordeal of Purphoros]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Ordeal of Purphoros]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Ordeal of Purphoros]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ordeal of Purphoros]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Ordeal of Purphoros]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Ordeal of Purphoros]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Ordeal of Purphoros]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Ordeal of Purphoros]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="55555517" />
  <ARTID value="RARI_55555517" />
  <ARTIST name="Maciej Kuciara" />
  <CASTING_COST cost="{2}{R}{R}" />
  <TYPE metaname="Enchantment" />
  <SUB_TYPE metaname="Aura" />
  <EXPANSION value="THS" />
  <RARITY metaname="U" />
  <SPELL_ABILITY attach_definition="0">
    <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[Verzaubert eine Kreatur]]></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>
    <TARGET tag="CARD_QUERY_CHOOSE_CREATURE_TO_ENCHANT" definition="0" compartment="0" count="1" />
    <TARGET_DEFINITION id="0">
    local filter = ClearFilter()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
    </TARGET_DEFINITION>
    <RESOLUTION_TIME_ACTION>
    local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
    if (target ~= nil and EffectSource() ~= nil) then
       EffectSource():Attach( target )
    end
    </RESOLUTION_TIME_ACTION>
    <AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_ALLIED_ONLY" />
  </SPELL_ABILITY>
  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever enchanted creature attacks, put a +1/+1 counter on it. Then if it has three or more +1/+1 counters on it, sacrifice Ordeal of Purphoros.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Whenever enchanted creature attacks, put a +1/+1 counter on it. Then if it has three or more +1/+1 counters on it, sacrifice Ordeal of Purphoros.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Whenever enchanted creature attacks, put a +1/+1 counter on it. Then if it has three or more +1/+1 counters on it, sacrifice Ordeal of Purphoros.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Whenever enchanted creature attacks, put a +1/+1 counter on it. Then if it has three or more +1/+1 counters on it, sacrifice Ordeal of Purphoros.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Whenever enchanted creature attacks, put a +1/+1 counter on it. Then if it has three or more +1/+1 counters on it, sacrifice Ordeal of Purphoros.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Whenever enchanted creature attacks, put a +1/+1 counter on it. Then if it has three or more +1/+1 counters on it, sacrifice Ordeal of Purphoros.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Whenever enchanted creature attacks, put a +1/+1 counter on it. Then if it has three or more +1/+1 counters on it, sacrifice Ordeal of Purphoros.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Whenever enchanted creature attacks, put a +1/+1 counter on it. Then if it has three or more +1/+1 counters on it, sacrifice Ordeal of Purphoros.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Whenever enchanted creature attacks, put a +1/+1 counter on it. Then if it has three or more +1/+1 counters on it, sacrifice Ordeal of Purphoros.]]></LOCALISED_TEXT>
    <TRIGGER value="ATTACKING" >
    if EffectSource() ~= nil then
       return TriggerObject() == EffectSource():GetParent()
    end
    </TRIGGER>
    <RESOLUTION_TIME_ACTION>
    if EffectSource() ~= nil then
      local parent = EffectSource():GetParent()
       parent:AddCounters( MTG():PlusOnePlusOneCounters(), 1)
    end
    </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
  <TRIGGERED_ABILITY>
   <TRIGGER value="COUNTERS_CHANGED" simple_qualifier="objectyoucontrol">
    if EffectSource() ~= nil then
       return TriggerObject() == EffectSource():GetParent()
    end
   </TRIGGER>
    <RESOLUTION_TIME_ACTION>
    if EffectSource() ~= nil then
      local parent = EffectSource():GetParent()
       if parent:CountCounters(MTG():PlusOnePlusOneCounters()) &gt; 2 then
         EffectController():Sacrifice( EffectSource() )
       end
    end
    </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When you sacrifice Ordeal of Purphoros, it deals 3 damage to target creature or player.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[When you sacrifice Ordeal of Purphoros, it deals 3 damage to target creature or player.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[When you sacrifice Ordeal of Purphoros, it deals 3 damage to target creature or player.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[When you sacrifice Ordeal of Purphoros, it deals 3 damage to target creature or player.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[When you sacrifice Ordeal of Purphoros, it deals 3 damage to target creature or player.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[When you sacrifice Ordeal of Purphoros, it deals 3 damage to target creature or player.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[When you sacrifice Ordeal of Purphoros, it deals 3 damage to target creature or player.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[When you sacrifice Ordeal of Purphoros, it deals 3 damage to target creature or player.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[When you sacrifice Ordeal of Purphoros, it deals 3 damage to target creature or player.]]></LOCALISED_TEXT>
   <SFX text="TARGET_FIREBALL_PLAY" />
    <TRIGGER value="SACRIFICE" simple_qualifier="self" />
    <TARGET_DEFINITION id="0">
    local filter = ClearFilter()
    filter:SetFilterType( FILTER_TYPE_CARDS + FILTER_TYPE_PLAYERS )
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
    </TARGET_DEFINITION>
    <TARGET tag="CARD_QUERY_CHOOSE_DEAL_3_DAMAGE" definition="0" compartment="0" count="1" />
    <RESOLUTION_TIME_ACTION>
    local target_creature = EffectDC():Get_Targets(0):Get_CardPtr(0)
    local target_player = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
    if ( target_creature ~= nil ) then
       EffectSourceLKI():DealDamageTo( 3, target_creature )
    elseif ( target_player ~= nil ) then   
       EffectSourceLKI():DealDamageTo( 3, target_player )
    end
    </RESOLUTION_TIME_ACTION>
    <AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_ENEMY_ONLY" />
  </TRIGGERED_ABILITY>   
</CARD_V2>
Please help yourself to my collection of DoTP artwork. Pretty cards for everyone!
User avatar
Rari
 
Posts: 47
Joined: 14 Jul 2013, 05:59
Has thanked: 16 times
Been thanked: 4 times

Re: Formal Request Thread

Postby fallenangle » 12 Sep 2013, 01:43

Would anybody mind making the cards "Armillary Sphere" and "Temporal Aperture" for 2014? Those are 2 I really wish I could use in RSN's Deck Builder.

Thanks for all your help.
fallenangle
 
Posts: 319
Joined: 20 Jul 2013, 02:31
Has thanked: 73 times
Been thanked: 41 times

Re: Formal Request Thread

Postby drleg3nd » 12 Sep 2013, 11:10

can someone help me with this one
Blightcaster | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="BLIGHTCASTER_812370761" />
  <CARDNAME text="BLIGHTCASTER" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Blightcaster]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Lancefléau]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Lanzaruina]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Fäulnismagier]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Lanciadevastazione]]></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[Conjurador de Desgraça]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="812370761" />
  <ARTID value="812370761" />
  <ARTIST name="Winona Nelson" />
  <CASTING_COST cost="{3}{B}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“Your flesh is unprepared for my gifts.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« Ta chair est trop tendre pour recevoir mes faveurs. »]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“Tu carne no está preparada para mi don.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„Dein Fleisch ist für meine Gaben nicht bereit.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“La tua carne non è pronta per i miei doni.”]]></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[“Sua carne não está preparada para minhas dádivas.”]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Human" />
  <SUB_TYPE metaname="Wizard" />
  <EXPANSION value="M14" />
  <RARITY metaname="U" />
  <POWER value="2" />
  <TOUGHNESS value="3" />
  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever you cast an enchantment spell, you may have target creature get -2/-2 until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois que vous lancez un sort d’enchantement, vous pouvez faire qu’une créature ciblée gagne -2/-2 jusqu’à la fin du tour.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que lances un hechizo de encantamiento, puedes hacer que la criatura objetivo obtenga -2/-2 hasta el final del turno.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn du einen Verzauberungszauber wirkst, kannst du eine Kreatur deiner Wahl bis zum Ende des Zuges -2/-2 erhalten lassen.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta lanci una magia incantesimo, puoi far prendere -2/-2 a una creatura bersaglio fino alla fine del turno.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたがエンチャント呪文を1つ唱えるたび、クリーチャー1体を対象とする。あなたは「それはターン終了時まで-2/-2の修整を受ける。」を選んでもよい。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[당신이 부여마법 주문을 발동할 때마다, 생물 한 개를 목표로 정한다. 당신은 그 생물이 턴종료까지 -2/-2를 받도록 할 수 있다.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Каждый раз, когда вы разыгрываете заклинание чар, вы можете дать целевому существу -2/-2 до конца хода.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Toda vez que você conjura uma mágica de encantamento, você pode fazer com que a criatura alvo receba -2/-2 até o final do turno.]]></LOCALISED_TEXT>
  </TRIGGERED_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>
drleg3nd
 
Posts: 528
Joined: 14 May 2012, 20:05
Has thanked: 5 times
Been thanked: 30 times

Re: Formal Request Thread

Postby Reitan » 12 Sep 2013, 13:57

also new here, would like to request kavu predator from planar chaos, liliana's specter,
bloodgift demon, unnerve and words of waste
and is it posible to create a working engineered plague?
Reitan
 
Posts: 1
Joined: 12 Sep 2013, 13:29
Has thanked: 0 time
Been thanked: 0 time

Re: Formal Request Thread

Postby sumomole » 12 Sep 2013, 14:59

thefiremind wrote:About Master Biomancer, if Clone effects didn't change from DotP2013, that code will have a problem even if it usually works. When you make a Clone enter the battlefield, the ZONECHANGE_TRANSITION triggers are re-fired after you choose the creature to clone, this makes the Clone get his +1/+1 counters twice. The workaround I used in DotP2013 was to make a trigger that triggers on ZONECHANGE_BEGIN from ZONE_ANY to ZONE_BATTLEFIELD, which starts a delayed trigger that is specific for the creature that is changing zone, and actually adds the counters on ZONECHANGE_TRANSITION as you usually do. This will add the counters only once per creature, no matter what. I'll produce some code later.
EDIT: The Clone effects still give the same problem, so here's my updated Master Biomancer.
Sorry to bother you, when I code Master Biomancer, I see here that I can't understand, the triggered ability belong to Master Biomancer, not Clone, so why the triggered ability would trigger again in the copy process? Is anything I overlooked?
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Formal Request Thread

Postby thefiremind » 12 Sep 2013, 15:06

sumomole wrote:Sorry to bother you, when I code Master Biomancer, I see here that I can't understand, the triggered ability belong to Master Biomancer, not Clone, so why the triggered ability would trigger again in the copy process? Is anything I overlooked?
Code: Select all
EffectSource():UseCopiableValues(EffectDC():Get_Chest(1))       -- this needs to be here to refire any other transition triggers (e.g. devour)
This line, as the comment says, re-fires ZONECHANGE_TRANSITION triggers. No matter what card actually contains the code for the triggers, all ZONECHANGE_TRANSITION triggers see the Clone as entering the battlefield twice: once as a Clone, once as the creature you choose to copy.
You can try to ignore the problem and see what happens: you'll come to the same conclusion. :wink:
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

Re: Formal Request Thread

Postby sumomole » 12 Sep 2013, 15:13

thefiremind wrote:
Code: Select all
EffectSource():UseCopiableValues(EffectDC():Get_Chest(1))       -- this needs to be here to refire any other transition triggers (e.g. devour)
This line, as the comment says, re-fires ZONECHANGE_TRANSITION triggers. No matter what card actually contains the code for the triggers, all ZONECHANGE_TRANSITION triggers see the Clone as entering the battlefield twice: once as a Clone, once as the creature you choose to copy.
You can try to ignore the problem and see what happens: you'll come to the same conclusion. :wink:
I know, I just want to know what a special condition that will cause this bug, if there's only one Master Biomancer on the battlefield, then Clone enter the battlefield and copy it, Clone will has two counters, not four, that looks all right. I am using the following code.
| Open
Code: Select all
  <TRIGGERED_ABILITY replacement_effect="1">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Each other creature you control enters the battlefield with a number of additional +1/+1 counters on it equal to Master Biomancer’s power and as a Mutant in addition to its other types.]]></LOCALISED_TEXT>
    <TRIGGER value="ZONECHANGE_TRANSITION" simple_qualifier="objectyoucontrol" to_zone="ZONE_BATTLEFIELD" from_zone="ZONE_ANY">
    return TriggerObject() ~= EffectSource() and TriggerObject():GetCardType():Test( CARD_TYPE_CREATURE )
    </TRIGGER>
    <RESOLUTION_TIME_ACTION>
    if TriggerObject() ~= nil then
      local number = EffectSourceLKI():GetCurrentCharacteristics():Power_Get()
       TriggerObject():AddCounters( MTG():PlusOnePlusOneCounters(), number )
       EffectDC():Protect_CardPtr( COMPARTMENT_ID_PARAM_TRIGGER_OBJECT )
    end
    </RESOLUTION_TIME_ACTION>
    <CONTINUOUS_ACTION layer="4">
    if TriggerObject() ~= nil then
       local characteristics = TriggerObject():GetCurrentCharacteristics()
       local subtype = characteristics:SubType_GetWritable()
       subtype:Add( CREATURE_TYPE_MUTANT)
    end
    </CONTINUOUS_ACTION>
    <DURATION>
    return (TriggerObject() == nil)
    </DURATION>
  </TRIGGERED_ABILITY>
drleg3nd wrote:can someone help me with this one
"Whenever you cast an enchantment spell": Sigil of the Empty Throne
"you may have": Goblin Arsonist
"target creature get -2/-2 until end of turn": Farbog Boneflinger
Blightcaster | Open
Code: Select all
  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever you cast an enchantment spell, you may have target creature get -2/-2 until end of turn.]]></LOCALISED_TEXT>
    <SFX text="TARGET_PESTS_PLAY" />
    <TRIGGER value="SPELL_PLAYED" simple_qualifier="objectyoucontrol">
    return  TriggerObject():GetCardType():Test( CARD_TYPE_ENCHANTMENT )
    </TRIGGER>
    <TARGET tag="CARD_QUERY_CHOOSE_CREATURE_TO_LOSE_2_2" definition="0" compartment="0" count="1" />
    <MAY />
    <TARGET_DEFINITION id="0">
    local filter = ClearFilter()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
    </TARGET_DEFINITION>
    <CONTINUOUS_ACTION layer="7C">
    local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
    if target ~= nil then
       local characteristics = target:GetCurrentCharacteristics()
       characteristics:Power_Add( -2 )
       characteristics:Toughness_Add( -2 )
    end
    </CONTINUOUS_ACTION>
    <DURATION simple_duration="UntilEOT" />
    <AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_ENEMY_ONLY" />
  </TRIGGERED_ABILITY>
Reitan wrote:also new here, would like to request kavu predator from planar chaos, liliana's specter,
bloodgift demon, unnerve and words of waste
and is it posible to create a working engineered plague?
Bloodgift Demon & Engineered Plague in my mod.
Last edited by sumomole on 12 Sep 2013, 17:09, edited 2 times in total.
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 17 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 17 users online :: 0 registered, 0 hidden and 17 guests (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 17 guests

Login Form