It is currently 22 Jun 2025, 19:37
   
Text Size

Formal Request Thread

Moderator: CCGHQ Admins

Re: Formal Request Thread

Postby gorem2k » 23 Aug 2013, 17:56

Is there a simple way to do "Flip five coins. Take an extra turn after this one for each coin that comes up heads." ?

I'm almost done with Ral Zarek. I don't know if we can use a linkedDC to store a value of extra turns then store another value with GetTurnNumber() then create a delayed trigger with BEGINNING_OF_PLAYERS_STEP that would repeat until extra turns are over.

any idea? [-o<

this seems complicated the way I want to make it, and I'm not sure I'll be able to make it...

EDIT: I would also like to know why the code below won't do anything.

Code: Select all
    <TARGET tag="CARD_QUERY_CHOOSE_PERMANENT_TO_TAP" definition="0" compartment="0" count="1" />
    <TARGET tag="CARD_QUERY_CHOOSE_PERMANENT_TO_UNTAP" definition="0" compartment="1" count="1" />
    <TARGET_DEFINITION id="0">
    local filter = ClearFilter()
    filter:Add( FE_IS_PERMANENT, true )
    </TARGET_DEFINITION>
    <RESOLUTION_TIME_ACTION filter_id="0">
    local target_a = EffectDC():Get_Targets(0):Get_CardPtr(0)
    local target_b = EffectDC():Get_Targets(1):Get_CardPtr(0)
    if target_a ~= nil then
       target_a:Tap()
     elseif target_b ~= nil then
       target_b:Untap()
    end
    </RESOLUTION_TIME_ACTION>
oops I think I have to remove filter_id="0" from resolution_time_action. however, the wording "then" in card kind of imply those actions don't happen at the same time.

EDIT2: and I missed the word "another" so the second target must be different. sorry about posting too soon.
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: Formal Request Thread

Postby thefiremind » 23 Aug 2013, 18:53

gorem2k wrote:Is there a simple way to do "Flip five coins. Take an extra turn after this one for each coin that comes up heads." ?
This should do the trick:
Code: Select all
    <RESOLUTION_TIME_ACTION>
    EffectDC():Set_Int(0, 0) -- reset the counter (maybe it's useless, but let's be sure)
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION repeating="1">
    local n = MTG():GetActionRepCount()
    if n &lt; 10 then -- we need 5 (even) + 5 (odd) repetitions of this action
       local player = EffectController()
       local parity = n%2
       if parity == 0 then
          player:FlipCoin()
       elseif player:GetFlipResult() == COIN_FLIP_WIN then
          EffectDC():Int_Inc(0) -- increment the counter for each win
       end
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local turns = EffectDC():Get_Int(0)
    if turns &gt; 0 then
       for i=1,turns do
          EffectController():GetTeam():TakeExtraTurn()
       end
    end
    </RESOLUTION_TIME_ACTION>
gorem2k wrote:EDIT: I would also like to know why the code below won't do anything.
You should use the dependency tag for the targets, see Consume Strength for an example. And remove the "else", otherwise the second target will always be ignored when the first one is legal.
< 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 gorem2k » 23 Aug 2013, 19:10

thefiremind wrote:This should do the trick:
Won the first coin flip then the action didn't repeat, and got no extra turn.

And I don't want to sound pessimistic but I think,
Code: Select all
for i=1,turns do
    EffectController():GetTeam():TakeExtraTurn()
end
will not work as extra turn don't stack.

thefiremind wrote:You should use the dependency tag for the targets, see Consume Strength for an example. And remove the "else", otherwise the second target will always be ignored when the first one is legal.
Brillant! It's perfect now.
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: Formal Request Thread

Postby loookaz » 23 Aug 2013, 20:29

i would like to ask the programmers here to help me.

are the following cards possible to make?:
Stonecloaker and Burning-Tree Emissary and Seht's Tiger?

thanks in advance

lucas
loookaz
 
Posts: 131
Joined: 01 Dec 2012, 10:56
Location: Warsaw, Poland
Has thanked: 22 times
Been thanked: 2 times

Re: Formal Request Thread

Postby thefiremind » 23 Aug 2013, 20:37

gorem2k wrote:Won the first coin flip then the action didn't repeat, and got no extra turn.
I forgot the return values for the repeating action...
Code: Select all
    <RESOLUTION_TIME_ACTION>
    EffectDC():Set_Int(0, 0) -- reset the counter (maybe it's useless, but let's be sure)
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION repeating="1">
    local n = MTG():GetActionRepCount()
    if n &lt; 10 then -- we need 5 (even) + 5 (odd) repetitions of this action
       local player = EffectController()
       local parity = n%2
       if parity == 0 then
          player:FlipCoin()
       elseif player:GetFlipResult() == COIN_FLIP_WIN then
          EffectDC():Int_Inc(0) -- increment the counter for each win
       end
       return true
    end
    return false
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local turns = EffectDC():Get_Int(0)
    if turns &gt; 0 then
       for i=1,turns do
          EffectController():GetTeam():TakeExtraTurn()
       end
    end
    </RESOLUTION_TIME_ACTION>
gorem2k wrote:And I don't want to sound pessimistic but I think,
Code: Select all
for i=1,turns do
    EffectController():GetTeam():TakeExtraTurn()
end
will not work as extra turn don't stack.
Extra turns stack, as all "extra" or "additional" things do (extra combat phases, extra land drops), otherwise it would be wrong according to the rules. Have you ever tried to grant yourself multiple turns in a row with my test card? :wink:

loookaz wrote:i would like to ask the programmers here to help me.

are the following cards possible to make?:
Stonecloaker and Burning-Tree Emissary and Seht's Tiger?

thanks in advance

lucas
Yes, all of them are possible. Burning-Tree Emissary will need mana tokens, though. I don't have enough time to fill requests for whole cards so I'm concentrating on helping with partial code pieces (and even with those, I'm making a lot of mistakes due to haste... #-o). Other modders will help, sooner or later.
< 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 » 23 Aug 2013, 22:23

thefiremind wrote:
drleg3nd wrote:I tried and it still doesn't work
Next version...
possibility storm ability (update) (untested) | Open
Code: Select all
<TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever a player casts a spell from his or her hand, that player exiles it, then exiles cards from the top of his or her library until he or she exiles a card that shares a card type with it. That player may cast that card without paying its mana cost. Then he or she puts all cards exiled with Possibility Storm on the bottom of his or her library in a random order.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois qu’un joueur lance un sort depuis sa main, ce joueur l’exile puis exile les cartes du dessus de sa bibliothèque jusqu’à exiler une carte qui partage un type de carte avec lui. Ce joueur peut lancer cette carte sans payer son coût de mana. Il met ensuite toutes les cartes exilées avec l’Orage de probabilités au-dessous de sa bibliothèque dans un ordre aléatoire.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que un jugador lance un hechizo de su mano, ese jugador lo exilia, luego exilia cartas de la parte superior de su biblioteca hasta que exilie una carta con la que comparta un tipo de carta. Ese jugador puede lanzar esa carta sin pagar su coste de maná. Luego pone todas las cartas exiliadas con Tormenta de posibilidades en el fondo de su biblioteca en un orden aleatorio.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn ein Spieler einen Zauberspruch aus seiner Hand wirkt, schickt dieser Spieler ihn ins Exil und dann schickt er Karten oben von seiner Bibliothek ins Exil, bis er eine Karte ins Exil schickt, die einen Kartentyp mit ihm gemeinsam hat. Dieser Spieler kann diese Karte wirken, ohne ihre Manakosten zu bezahlen. Dann legt er alle Karten, die mit dem Sturm der Möglichkeiten ins Exil geschickt wurden, in zufälliger Reihenfolge unter seine Bibliothek.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta un giocatore lancia una magia dalla sua mano, quel giocatore la esilia, poi esilia carte dalla cima del suo grimorio fino a che non esilia una carta che condivide con essa un tipo di carta. Quel giocatore può lanciare quella carta senza pagare il suo costo di mana. Poi mette tutte le carte esiliate con la Tempesta di Possibilità in fondo al suo grimorio in ordine casuale.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[プレイヤー1人が自分の手札から呪文を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[Toda vez que um jogador conjura uma mágica da própria mão, ele a exila e, depois, exila cards do topo do próprio grimório até exilar um card que compartilhe um tipo de card com ela. O jogador pode conjurar aquele card sem pagar seu custo de mana. Depois, ele coloca todos os cards exilados com Tempestade de Possibilidade no fundo do próprio grimório em ordem aleatória.]]></LOCALISED_TEXT>
    <TRIGGER value="SPELL_PLAYED">
    if TriggerObject():GetErstwhileZone() == ZONE_HAND and TriggerPlayer() == TriggerObject():GetOwner() then
       EffectDC():Set_Int(3, 0)
       EffectDC():Make_Chest(1)
       return true
    end
    return false
    </TRIGGER>
    <RESOLUTION_TIME_ACTION>
    if TriggerObject() ~= nil then
       EffectDC():Protect_CardPtr( COMPARTMENT_ID_PARAM_TRIGGER_OBJECT )
       TriggerObject():Exile()
       EffectDC():Set_Int(3, 1)
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    if EffectDC():Get_Int(3) == 1 then
       local exiled_chest = EffectDC():Get_Chest(1)
       exiled_chest:Set_CardPtr( 1, TriggerObject() )
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local player = TriggerPlayer()
    local card = player:Library_GetTop()
    local original_spell = TriggerObjectLKI()
    local exile_chest = EffectDC():Get_Chest(1)
    local possibility_spell = EffectDC():Make_Chest(2)
    local i = 1+EffectDC():Get_Int(3)
    while card ~= nil do
       for i=CARD_TYPE_ARTIFACT,CARD_TYPE_TRIBAL do
          if card:GetCardType():Test(i) and original_spell:GetCardType():Test(i) then
             card:Exile()
             possibility_spell:Set_CardPtr(0, card)
             exile_chest:Set_CardPtr(0, card)
             return
         end
       end
       card:Exile()
       exile_chest:Set_CardPtr(i, card)
       EffectDC():Set_Int(3, i)
       i = i+1
       card = player:Library_GetTop()
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local browser = EffectDC():Get_Chest(2)
    local player = TriggerPlayer()
    if player ~= nil then
       if browser ~= nil then
          player:ChooseItemFromDC( "CARD_QUERY_PLAY_OR_BOTTOM_LIBRARY", browser, EffectDC():Make_Targets(0), QUERY_FLAG_MAY )
       end
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local possibility_target = EffectDC():Get_Targets(0) and EffectDC():Get_Targets(0):Get_CardPtr(0)
    local player = TriggerPlayer()
    local exile_chest = EffectDC():Get_Chest(1)
    if possibility_target ~= nil and player ~= nil and player:CanCastSpellForFree(possibility_target) then
       player:CastSpellForFree(possibility_target)
       if exile_chest ~= nil then
          exile_chest:Set_CardPtr(0, nil)
       end
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local exile_chest = EffectDC():Get_Chest(1)
    local card_count = EffectDC():Get_Int(3)
    if exile_chest ~= nil then
       for i=0,card_count do
          local exiled = exile_chest:Get_CardPtr(i)
          if exiled ~= nil then
             exiled:Reveal()
          end
       end
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local exile_chest = EffectDC():Get_Chest(1)
    local card_count = EffectDC():Get_Int(3)
    local put_back = 0
    if exile_chest ~= nil then
       for i=0,card_count do
          local exiled = exile_chest:Get_CardPtr(i)
          if exiled ~= nil then
             exiled:PutInLibrary( -1-MTG():RandomNumberBetween(0, put_back) )
             put_back = put_back+1
          end
       end
    end
    </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
fourth times a charm :lol: i tested for one game and it seem to work..unlike 2013 version this one obeys the "may" part and lets you refuse to play card which is nice..unfortunately dotp2013 chandra destroyed me with it by playing searing spear whiched turned into the spell that sac 2 mountains for 4 dmg to the face repeatedly :shock:
drleg3nd
 
Posts: 528
Joined: 14 May 2012, 20:05
Has thanked: 5 times
Been thanked: 30 times

Re: Formal Request Thread

Postby Kieran » 23 Aug 2013, 23:00

MC Brodie thanks for Cerulean Sphinx, Leyline of the Void, and Magister Sphinx. You and the other modders are getting me closer and closer to filling that Sphinx deck request.
Kieran
 
Posts: 232
Joined: 03 Nov 2012, 01:09
Has thanked: 21 times
Been thanked: 16 times

Re: Formal Request Thread

Postby Rari » 23 Aug 2013, 23:42

loookaz wrote:i would like to ask the programmers here to help me.

are the following cards possible to make?:
Stonecloaker and Burning-Tree Emissary and Seht's Tiger?

thanks in advance

lucas
Stonecloaker | Open
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="RARI_STONECLOAKER_122469" />
<CARDNAME text="STONECLOAKER" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Stonecloaker]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Enveloppeur de pierre]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Mantopétreo]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Steinummänteler]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Protettore di Pietra]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[石覆い]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Stonecloaker]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Камнехран]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Petroprotetor]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="122469" />
<ARTID value="122469" />
<ARTIST name="Tomas Giorello" />
<CASTING_COST cost="{2}{W}" />
<TYPE metaname="Creature" />
<SUB_TYPE metaname="Gargoyle" />
<EXPANSION value="PLC" />
<RARITY metaname="U" />
<POWER value="3" />
<TOUGHNESS value="2" />
<STATIC_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Flash]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Flash]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Destello.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Aufblitzen]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Lampo]]></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[Lampejo]]></LOCALISED_TEXT>
<INTRINSIC characteristic="CHARACTERISTIC_FLASH" />
</STATIC_ABILITY>
<STATIC_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Flying]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Vol]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Vuela.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Fliegend]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Volare]]></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[Voar]]></LOCALISED_TEXT>
<INTRINSIC characteristic="CHARACTERISTIC_FLYING" />
</STATIC_ABILITY>
<TRIGGERED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Stonecloaker enters the battlefield, return a creature you control to its owner’s hand.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Quand l’Enveloppeur de pierre arrive en jeu, renvoyez une créature que vous contrôlez dans la main de son propriétaire.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cuando el Mantopétreo entre en juego, regresa una criatura que controlas a la mano de su propietario.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Wenn der Steinummänteler ins Spiel kommt, bringe eine Kreatur, die du kontrollierst, auf die Hand ihres Besitzers zurück.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando il Protettore di Pietra entra nel campo di battaglia, fai tornare una creatura che controlli in mano al suo proprietario.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[石覆いが場に出たとき、あなたがコントロールするクリーチャーを1体、オーナーの手札に戻す。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[When Stonecloaker enters the battlefield, return a creature you control to its owner’s hand.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Когда Камнехран входит в игру, верните существо под вашим контролем в руку его владельца.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Quando Petroprotetor entrar em jogo, devolva uma criatura que você controla para a mão de seu dono.]]></LOCALISED_TEXT>
<TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
<TARGET tag="CARD_QUERY_CHOOSE_CREATURE_TO_PUT_INTO_HAND" definition="0" compartment="0" count="1" />
<TARGET_DEFINITION id="0">
local filter = ClearFilter()
filter:Add(FE_TYPE, OP_IS, CARD_TYPE_CREATURE)
filter:Add( FE_CONTROLLER, OP_IS, EffectController() )
</TARGET_DEFINITION>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
target:PutInHand()
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>

<TRIGGERED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Stonecloaker enters the battlefield, exile target card from a graveyard.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Quand l’Enveloppeur de pierre arrive en jeu, retirez de la partie une carte ciblée dans un cimetière.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cuando el Mantopétreo entre en juego, remueve del juego la carta objetivo de un cementerio.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Wenn der Steinummänteler ins Spiel kommt, entferne eine Karte deiner Wahl aus einem Friedhof ganz aus dem Spiel.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando il Protettore di Pietra entra nel campo di battaglia, esilia una carta bersaglio da un cimitero.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[石覆いが場に出たとき、いずれかの墓地にあるカード1枚を対象とし、それをゲームから取り除く。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[When Stonecloaker enters the battlefield, exile target card from a graveyard.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Когда Камнехран входит в игру, удалите целевую карту из кладбища из игры.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Quando Petroprotetor entrar em jogo, remova do jogo o card alvo em um cemitério.]]></LOCALISED_TEXT>
<TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
<TARGET tag="CARD_QUERY_CHOOSE_CARD_TO_EXILE" definition="0" compartment="0" count="1" />
<TARGET_DEFINITION id="0">
local filter = ClearFilter()
filter:SetZone( ZONE_GRAVEYARD )
</TARGET_DEFINITION>
<AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_ENEMY" />
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
target:Exile()
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_10" body="MORE_INFO_BADGE_BODY_10" zone="ZONE_ANY" />
<HELP title="MORE_INFO_BADGE_TITLE_12" body="MORE_INFO_BADGE_BODY_12" 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>


Seht's Tiger | Open
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="RARI_SEHTS_TIGER_130347" />
<CARDNAME text="SEHTS_TIGER" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Seht’s Tiger]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Tigre de Seht]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Tigre de Seht]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Sehts Tiger]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Tigre di Seht]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[セトの虎]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Seht’s Tiger]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Тигр Сехта]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Tigre de Seht]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="130347" />
<ARTID value="130347" />
<ARTIST name="Thomas Gianni" />
<CASTING_COST cost="{2}{W}{W}" />
<TYPE metaname="Creature" />
<SUB_TYPE metaname="Cat" />
<EXPANSION value="FUT" />
<RARITY metaname="R" />
<POWER value="3" />
<TOUGHNESS value="3" />
<STATIC_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Flash]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Flash]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Destello.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Aufblitzen]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Lampo]]></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[Lampejo]]></LOCALISED_TEXT>
<INTRINSIC characteristic="CHARACTERISTIC_FLASH" />
</STATIC_ABILITY>
<TRIGGERED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Seht’s Tiger enters the battlefield, you gain protection from the color of your choice until end of turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Quand le Tigre de Seht arrive en jeu, vous gagnez la protection contre la couleur de votre choix jusqu’à la fin du tour.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[When Seht’s Tiger enters the battlefield, you gain protection from the color of your choice until end of turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[ Wenn Sehts Tiger ins Spiel kommt, erhältst du bis zum Ende des Zuges Schutz vor einer Farbe, die du bestimmst.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando la Tigre di Seht entra nel campo di battaglia, hai protezione dal colore a tua scelta fino alla fine del turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[ セトの虎が場に出たとき、あなたはターン終了時まで、あなたが選んだ色1色に対するプロテクションを得る。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[When Seht’s Tiger enters the battlefield, you gain protection from the color of your choice until end of turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Когда Тигр Сехта входит в игру, вы получаете защиту от выбранного вами цвета до конца хода.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Quando Tigre de Seht entra em jogo, você ganha proteção contra a cor de sua escolha até o final do turno.]]></LOCALISED_TEXT>
<TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
<RESOLUTION_TIME_ACTION>
EffectController():ChooseColour( "CARD_QUERY_CHOOSE_COLOUR", true )
</RESOLUTION_TIME_ACTION>
<CONTINUOUS_ACTION layer="6">
local self = EffectSource()
if self ~= nil then
local filter = ClearFilter()
filter:Add( FE_COLOUR, OP_IS, GetChosenColour() )
EffectController():Protection()
end
</CONTINUOUS_ACTION>
<DURATION simple_duration="UntilEOT" />
</TRIGGERED_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_12" body="MORE_INFO_BADGE_BODY_12" 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>


Download both with art

Xander already coded Burning-Tree Emissary, you can find that here.



Edit: Fixed as per
gorem2k wrote:Stonecloaker 's bounce should be imposed so you should remove:

<MAY tag="TFM_CARD_QUERY_DO_YOU_WANT_TO_BOUNCE_THIS_CREATURE" always_prompt="1" />
Last edited by Rari on 24 Aug 2013, 01:16, edited 3 times in total.
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 gorem2k » 24 Aug 2013, 00:05

Stonecloaker 's bounce should be imposed so you should remove:

<MAY tag="TFM_CARD_QUERY_DO_YOU_WANT_TO_BOUNCE_THIS_CREATURE" always_prompt="1" />
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: Formal Request Thread

Postby Scion of Darkness » 24 Aug 2013, 02:32

I have a request can someone help me with mirrorweave? thanks
User avatar
Scion of Darkness
 
Posts: 235
Joined: 27 Aug 2012, 13:14
Has thanked: 17 times
Been thanked: 23 times

Re: Formal Request Thread

Postby gorem2k » 24 Aug 2013, 03:10

Scion of Darkness wrote:I have a request can someone help me with mirrorweave? thanks
Mirrorweave | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="MIRRORWEAVE_444153973" />
  <CARDNAME text="MIRRORWEAVE" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Mirrorweave]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Tisse-miroir]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Tejido especular]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Spiegelgewebe]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Trama a Specchio]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[鏡編み]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Mirrorweave]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Зеркальный Узор]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Espelho Prolífero]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="444153973" />
  <ARTID value="444153973" />
  <ARTIST name="Jim Pavelec" />
  <CASTING_COST cost="{2}{W/U}{W/U}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“Those who are different are untrustworthy, unpredictable. Put your safety in the hands of your own kind.”
—Bowen, Barrenton guardcaptain]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« Ceux qui sont différents sont imprévisibles et traîtres. Place ta sécurité entre les mains de tes congénères. »
—Bowen, capitaine de la garde de Barrenton]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“Aquellos que son distintos no son confiables, son impredecibles. Pon tu seguridad en manos de tu propia gente.”
—Bowen, capitán de la guardia de Bárrenton]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„Diejenigen, die nicht sind wie wir, sind unzuverlässig und unberechenbar. Lege deine Sicherheit in die Hände deines eigenen Volkes.”
—Bowen, Kapitän der Wache von Barrenton]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“Coloro che sono differenti non meritano fiducia, sono imprevedibili. Affida la tua sicurezza a quelli della tua stirpe.”
—Bowen, capitano delle guardie di Barrenton]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[「違ってる奴は、信頼もできないし、予想もできない。 安全ってものは自分の仲間の手の中にしまっとくもんだ。」
――バレントンの護衛長、ボウエン]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“Those who are different are untrustworthy, unpredictable. Put your safety in the hands of your own kind.”
—Bowen, Barrenton guardcaptain]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[«Те, кто не похожи на нас, непредсказуемы и не заслуживают доверия. Вверяй свою безопасность только в руки своих соплеменников».
— Боуэн, командир стражников Баррентона]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“Aqueles que são diferentes são traiçoeiros e imprevisíveis. Coloque sua segurança nas mãos do seu próprio povo.”
— Bowen, capitão da guarda de Barrenton]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Instant" />
  <EXPANSION value="SHM" />
  <RARITY metaname="R" />
  <SPELL_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Each other creature becomes a copy of target nonlegendary creature until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Chaque autre créature devient une copie de la créature non-légendaire ciblée jusqu’à la fin du tour.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cada otra criatura es una copia de la criatura objetivo que no sea legendaria hasta el final del turno.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Alle anderen Kreaturen werden bis zum Ende des Zuges zu einer Kopie einer nichtlegendären Kreatur deiner Wahl.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogni altra creatura diventa una copia di una creatura non leggendaria bersaglio fino alla fine del turno.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[伝説でないクリーチャー1体を対象とする。ターン終了時まで、他の各クリーチャーはそれのコピーになる。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Each other creature becomes a copy of target nonlegendary creature until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Каждое другое существо становится копией целевого нелегендарного существа до конца хода.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Cada outra criatura se torna uma cópia da criatura alvo que não seja lendária até o final do turno.]]></LOCALISED_TEXT>
    <TARGET tag="CARD_QUERY_CHOOSE_CREATURE_TO_CLONE" definition="0" compartment="0" count="1" />
    <TARGET_DEFINITION id="0">
    local filter = ClearFilter()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
    filter:Add( FE_SUPERTYPE, OP_NOT, SUPERTYPE_LEGENDARY )
    </TARGET_DEFINITION>
    <RESOLUTION_TIME_ACTION>
    local target_creature = EffectDC():Get_Targets(0):Get_CardPtr(0)
    if ( target_creature ~= nil ) then   
       target_creature:StoreCopiableValues(EffectDC():Make_Chest(1))   -- this grabs the copiable values from the target and puts them into a datachest
       target_creature:UseCopiableValues(EffectDC():Get_Chest(1))      -- this needs to be here to refire any other transition triggers (e.g. devour)
       EffectDC():Protect_CardPtr( COMPARTMENT_ID_EFFECT_SOURCE )          -- this stops the effect from being wiped when we complete the zonechange
    end
    </RESOLUTION_TIME_ACTION>
    <FILTER filter_id="1">
    local target_creature = EffectDC():Get_Targets(0):Get_CardPtr(0)
    if ( target_creature ~= nil ) then
       local filter = ClearFilter()
       filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
       filter:Add( FE_CARD_INSTANCE, OP_NOT, target_creature )
    end
    </FILTER>
    <CONTINUOUS_ACTION layer="1" filter_id="1">
    if FilteredCard() ~= nil and EffectDC():Get_Chest(1) ~= nil then
   FilteredCard():UseCopiableValues(EffectDC():Get_Chest(1))
    end
    </CONTINUOUS_ACTION>
    <DURATION simple_duration="UntilEOT" />   
    <AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_NEUTRAL" />
  </SPELL_ABILITY>
</CARD_V2>
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 » 24 Aug 2013, 13:10

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 » 24 Aug 2013, 13:34

Voltaic Construct is in my mod.
< 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 gigelf » 24 Aug 2013, 18:34

I have a question about some card interactions that were already released in a couple of different mods.

So I made a Shapeshifter deck centered on creatures like Cemetery Puca and Cryptoplasm (both found in thefiremind's mod). I then combined them cards like Myr Propagator (found in sumomoles mod) and Chronozoa (found in the actual game).

Ideally, the shapeshifters would produce copies of themselves via the Chronozoa and Myr Propagator, and would retain their Shapeshifter abilities. However, when the tokens are produced, they retain their abilities (as is evident by the ability text present on the tokens), but the abilities themselves do not function as all.

Is it possible to fix this error, or is it not possible within the confines of the games coding?
gigelf
 
Posts: 5
Joined: 23 Aug 2013, 02:45
Has thanked: 2 times
Been thanked: 0 time

Re: Formal Request Thread

Postby thefiremind » 24 Aug 2013, 19:11

gigelf wrote:Is it possible to fix this error, or is it not possible within the confines of the games coding?
Good question... my answer is: I don't know. :lol: I tested my shapeshifters with nontoken copies only.
Are you using Shapesharer in your deck? In order for it to work, I made it give a "layer of themselves" to almost all cards, and this might be the cause of the problem. If you are using it, try to remove it from the deck and see if the problem persists. If you aren't using it, then I don't even know where to start for a fix.
< 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

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 3 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 3 guests

Login Form