It is currently 20 Jul 2025, 13:48
   
Text Size

Formal Request Thread

Moderator: CCGHQ Admins

Re: Formal Request Thread

Postby Vervandi » 04 Oct 2013, 04:20

Xander9009 wrote:
SystemSCSnake wrote:My apologies, I didn't realize there was a thread in this forum for this. I have request for Pendelhaven, Vines of Vastwood, Chrome Mox, and Bounty of the Hunt. In the other card request thread I posted:
Shard Volley
Searing Blaze
Might of Old Krosa
Invigorate
Mutagenic Growth

Apologies again.
If you know how to do the rest, the coding for Pendelhaven is here.

If not, you might message Vervandi which is who asked for it if he/she ever got it put together. Or search for it. (I'm only 50% certain that link will work for people other than me...)
I took it and ran with it, finishing that deck. If either of you need the work I did afterwards, let me know which file parts you need and I will submit them.
Vervandi
 
Posts: 12
Joined: 18 Nov 2012, 04:52
Has thanked: 10 times
Been thanked: 0 time

Re: Formal Request Thread

Postby jacque » 04 Oct 2013, 04:28

Vervandi wrote:I couldn't figure out the "filter:Add( FE_COLOUR, OP_IS, COLOUR_GREEN )" part.
You're welcome... What I'd normally do in card referencing, I divide the conditions into different segments, helps me to get what I want faster... eg.

Code: Select all
An-Havva Constable’s toughness is equal to 1 plus the number of green creatures on the battlefield.
The way I see it...
Condition 1: toughness is equal to
Condition 2: green creatures (you can also look for words like spell, card instead of creatures)
Condition 3: battlefield

I then search for those conditions in Riiak's Deck Builder
Condition 1's result: TFM's Tarmogoyf, TFM's Kalitas, Bloodchief of Ghet & TFM's Traproot Kami
(if I got no results, I'll look for "power is equal to" instead)
Condition 2's result: D14's Khalni Hydra, D14's Regal Force, D14's Bellowing Tanglewurm, and a list of cards from BloodReyvn, summomole, kevlahnota and TFM as well...
Condition 3's result: there'll be a huge list...

Then I stitch what I want together to form the new card... Hope that helped... =)

Vasht wrote:Hi,
i would like to request Soldier of the Pantheon and Fanatic of Mogis. THX
Fanatic of Mogis was quite easy... Thanks to MC Brodie, Soldier of the Pantheon is DONE... Enjoy =)

FANATIC OF MOGIS TESTED: FFA, REVENGE... | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="FANATIC_OF_MOGIS_373511" />
  <CARDNAME text="FANATIC_OF_MOGIS" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Fanatic of Mogis]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Fanatique de Mogis]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Fanático de Mogis]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Mogis-Fanatiker]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Fanatico di Mogis]]></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[Fanático de Mogis]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="373511" />
  <ARTID value="A373511" />
  <ARTIST name="Matt Stewart" />
  <CASTING_COST cost="{3}{R}" />
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Minotaur" />
  <SUB_TYPE metaname="Shaman" />
  <EXPANSION value="THS" />
  <RARITY metaname="U" />
  <POWER value="4" />
  <TOUGHNESS value="2" />

  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Fanatic of Mogis enters the battlefield, it deals damage to each opponent equal to your devotion to red.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Quand le Fanatique de Mogis arrive sur le champ de bataille, il inflige à chaque adversaire un nombre de blessures égal à votre dévotion au rouge.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cuando el Fanático de Mogis entre al campo de batalla, hace daño a cada oponente igual a tu devoción al rojo.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Wenn der Mogis-Fanatiker ins Spiel kommt, fügt er jedem Gegner so viele Schadenspunkte zu, wie deine Hingabe zu Rot beträgt.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando il Fanatico di Mogis entra nel campo di battaglia, infligge danno a ogni avversario pari alla tua devozione al rosso.]]></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[Quando Fanático de Mogis entra no campo de batalha, ele causa a cada oponente uma quantidade de dano igual a sua devoção ao vermelho.]]></LOCALISED_TEXT>
    <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
    <SFX text="TARGET_FIREBALL_PLAY" />

    <FILTER filter_id="0">
    local filter = ClearFilter()
    filter:SetFilterType( FILTER_TYPE_PLAYERS )
    filter:Add( FE_TEAM, OP_NOT, EffectController():GetTeam() )
    </FILTER>

    <RESOLUTION_TIME_ACTION filter_id="0">
    local controller = EffectSourceLKI():GetPlayer()
    local filter = ClearFilter()
    filter:Add( FE_CONTROLLER, OP_IS, EffectController() )
    local subfilter = filter:AddSubFilter_Or()
    subfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_ARTIFACT )
    subfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
    subfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_ENCHANTMENT )
    subfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_LAND )
    subfilter:Add( FE_TYPE, OP_IS, CARD_TYPE_PLANESWALKER )
    local total = filter:ChromaCount( COLOUR_RED )
    if FilteredPlayer() ~= nil then
       EffectSourceLKI():DealDamageTo( total , FilteredPlayer() )
    end
    </RESOLUTION_TIME_ACTION>

  </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" />
  <AI_BASE_SCORE score="600" zone="ZONE_BATTLEFIELD" />
</CARD_V2>
SOLDIER OF THE PANTHEON TESTED ONCE | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="SOLDIER_OF_THE_PANTHEON_373529" />
  <CARDNAME text="SOLDIER_OF_THE_PANTHEON" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Soldier of the Pantheon]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Soldat du panthéon]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Soldado del panteón]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Soldat des Pantheon]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Soldato del Pantheon]]></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[Soldado do Panteão]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="373529" />
  <ARTID value="A373529" />
  <ARTIST name="Eric Deschamps" />
  <CASTING_COST cost="{W}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“I hear the gods’ voices in my dreams each night, and I offer bloody trophies on their altars each day.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« Chaque nuit, j’entends la voix des dieux dans mes rêves. Chaque jour, je dépose des offrandes sanglantes sur leurs autels. »]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“Cada noche oigo en sueños las voces de los dioses, y cada día les ofrendo en sus altares trofeos sangrientos”.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„Jede Nacht höre ich die Stimmen der Götter in meinen Träumen. Jeden Tag bringe ich ihnen auf ihren Altaren blutige Opfer dar.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“Sento le voci degli dei nei miei sogni ogni notte e offro trofei sanguinosi sui loro altari ogni giorno.”]]></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[“Ouço as vozes dos deuses em meus sonhos a cada noite, e ofereço troféus sangrentos em seus altares a cada dia.”]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Human" />
  <SUB_TYPE metaname="Soldier" />
  <EXPANSION value="THS" />
  <RARITY metaname="R" />
  <POWER value="2" />
  <TOUGHNESS value="1" />

  <STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Protection from multicolored]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Protection contre le multicolore]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Protección contra multicolor.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Schutz vor allem Mehrfarbigen]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Protezione dal multicolore]]></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[Proteção contra multicoloridos]]></LOCALISED_TEXT>

    <CONTINUOUS_ACTION layer="0">
    if EffectSource() ~= nil then
       local filter = ClearFilter()
       filter:Add( FE_NUM_COLOURS, OP_GREATER_THAN, 1 )
       EffectSource():Protection()
    end
    </CONTINUOUS_ACTION>
  </STATIC_ABILITY>

  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever an opponent casts a multicolored spell, you gain 1 life.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois qu’un adversaire lance un sort multicolore, vous gagnez 1 point de vie.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que un oponente lance un hechizo multicolor, ganas 1 vida.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn ein Gegner einen mehrfarbigen Zauberspruch wirkt, erhältst du 1 Lebenspunkte dazu.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta un avversario lancia una magia multicolore, guadagni 1 punto vita.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[対戦相手が多色の呪文を1つ唱えるたび、あなたは1点のライフを得る。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[상대가 다색 주문을 발동할 때마다, 당신은 생명 1점을 얻는다.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Каждый раз, когда оппонент разыгрывает многоцветное заклинание, вы получаете 1 жизнь.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Toda vez que um oponente conjura uma mágica multicolorida, você ganha 1 ponto de vida.]]></LOCALISED_TEXT>
    <TRIGGER value="SPELL_PLAYED">
    return TriggerPlayer():GetTeam() ~= EffectController():GetTeam() and TriggerObject():GetColour():GetNumColours() &gt; 1
    </TRIGGER>   

    <RESOLUTION_TIME_ACTION>
    EffectController():GainLife(1)
    </RESOLUTION_TIME_ACTION>

  </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" />
  <AI_BASE_SCORE score="900" zone="ZONE_BATTLEFIELD" />
</CARD_V2>
Last edited by jacque on 04 Oct 2013, 05:46, edited 2 times in total.
Learn making your own cards today!!!

Click on Image if a post/reply helped you.

I stitch old cards together to make new ones...

~ Jacque, the confused
jacque
 
Posts: 217
Joined: 07 Jun 2013, 20:11
Has thanked: 26 times
Been thanked: 44 times

Re: Formal Request Thread

Postby MC Brodie » 04 Oct 2013, 05:27

Does this work?

Code: Select all
   <TRIGGER value="SPELL_PLAYED">
      return (TriggerPlayer():GetTeam() ~= EffectController():GetTeam() and TriggerObject():GetColour():GetNumColours() &gt; 1)
    </TRIGGER>
-----------------------------------------------------------------------
Song of the Day: 46 and 2 (cover)
MC Brodie
 
Posts: 310
Joined: 01 Jun 2013, 00:10
Has thanked: 44 times
Been thanked: 34 times

Re: Formal Request Thread

Postby jacque » 04 Oct 2013, 05:44

MC Brodie wrote:Does this work?

Code: Select all
   <TRIGGER value="SPELL_PLAYED">
      return (TriggerPlayer():GetTeam() ~= EffectController():GetTeam() and TriggerObject():GetColour():GetNumColours() &gt; 1)
    </TRIGGER>
BRILLIANT!!! Works as it should... =) Thanks =)

I tried working on Coretapper... 1st Activated Ability is ok... but the second one, the counters won't stick on the target artifact... anyone can help me figure why? Thanks!

CORETAPPER 2ND ACTIVATED ABILITY | Open
Code: Select all
  <ACTIVATED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Sacrifice Coretapper: Put two charge counters on target artifact.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Sacrifiez le Noyaupompe : Mettez deux marqueurs « charge » sur l’artefact ciblé.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Sacrificar el Manipulador del núcleo: Pon dos contadores de carga en el artefacto objetivo.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Opfere den Kernanzapfer: Lege zwei Ladungsmarken auf ein Artefakt deiner Wahl.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Sacrifica il Sugginucleo: Metti due segnalini carica su un artefatto bersaglio.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[地核搾りを生け贄に捧げる:アーティファクト1つを対象とし、それの上に蓄積カウンターを2個置く。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Sacrifice Coretapper: Put two charge counters on target artifact.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Sacrifice Coretapper: Put two charge counters on target artifact.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Sacrifique Conversor do Núcleo: Coloque dois marcadores de carga no artefato alvo.]]></LOCALISED_TEXT>
    <COST type="SacrificeSelf" />
    <TARGET tag="CARD_QUERY_CHOOSE_ARTIFACT_GET_CHARGE_COUNTER" definition="1" compartment="0" count="1" />
    <TARGET_DEFINITION id="1">
    local filter = ClearFilter()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_ARTIFACT )
    </TARGET_DEFINITION>
    <COUNTER_REGISTRATION name="Charge" proliferate="11" />

    <RESOLUTION_TIME_ACTION>
    local target = EffectDC():Get_Targets(1):Get_CardPtr(1)
    if target ~= nil then
        target:AddCounters( MTG():GetCountersType("Charge"), 2 )
    end
    </RESOLUTION_TIME_ACTION>
  </ACTIVATED_ABILITY>
Learn making your own cards today!!!

Click on Image if a post/reply helped you.

I stitch old cards together to make new ones...

~ Jacque, the confused
jacque
 
Posts: 217
Joined: 07 Jun 2013, 20:11
Has thanked: 26 times
Been thanked: 44 times

Re: Formal Request Thread

Postby drleg3nd » 04 Oct 2013, 07:56

need some help with a couple of cards...
Ember Swallower | Open
Code: Select all
<ACTIVATED_ABILITY linked_ability_group="1">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{5}{R}{R}: Monstrosity 3.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{5}{R}{R} : Monstruosité 3.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{5}{R}{R}: Monstruosidad 3.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{5}{R}{R}: Monstrum 3.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{5}{R}{R}: Mostruosità 3.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{5}{R}{R}:怪物化3を行う。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{5}{R}{R}: 괴수화 3.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{5}{R}{R}: Чудовищность 3.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{5}{R}{R}: Monstruosidade 3.]]></LOCALISED_TEXT>
    <COST type="Mana" mana_cost="{5}{R}{R}" />
    <RESOLUTION_TIME_ACTION>
    if (EffectSource() ~= nil and LinkedDC():Get_Int(0) ~= 1) then
       EffectSource():AddCounters( MTG():PlusOnePlusOneCounters(), 3)
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    if LinkedDC():Get_Int(0) ~= 1 then
       LinkedDC():Set_Int(0, 1)
    end
    </RESOLUTION_TIME_ACTION>
    <AI_AVAILABILITY window_step="begin_combat" window_turn="my_turn" type="window" />
    <AI_AVAILABILITY window_step="declare_attackers" window_turn="their_turn" type="window" />
    <AI_AVAILABILITY type="in_response" response_target="1" />
    <AI_AVAILABILITY type="in_response" response_source="1" />
    <AI_AVAILABILITY window_step="end_of_turn" window_turn="their_turn" type="window" />
  </ACTIVATED_ABILITY>
  <SPELL_ABILITY linked_ability_group="1">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Ember Swallower becomes monstrous, each player sacrifices three lands.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Quand le Briffaud de braises devient monstrueux, chaque joueur sacrifie trois terrains.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cuando el Devorador de brasa se convierta en monstruoso, cada jugador sacrifica tres tierras.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Wenn der Glutverschlinger monströs wird, opfert jeder Spieler drei Länder.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando il Divoratore di Braci diventa mostruoso, ogni giocatore sacrifica tre terre.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[燃えさし呑みが怪物的になったとき、各プレイヤーはそれぞれ土地を3つ生け贄に捧げる。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[잔화를 삼키는 정령이 괴수화할 때, 각 플레이어는 대지 세 개를 희생한다.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Когда Пожиратель Углей становится чудовищным, каждый игрок жертвует три земли.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Quando Engolidor de Brasas se torna monstruoso, cada jogador sacrifica três terrenos.]]></LOCALISED_TEXT>
    <SFX text="GLOBAL_LAVA_PLAY" />
    <FILTER filter_id="0">
    local filter = ClearFilter()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
    </FILTER>
    <RESOLUTION_TIME_ACTION repeating="1">
    local n = MTG():GetActionRepCount()         
    local num_players = MTG():GetNumberOfPlayers()
       
    if (n &lt; num_players) then
       local player = MTG():GetNthPlayer(n)
       local filter = ClearFilter()
       filter:Add( FE_TYPE, OP_IS, CARD_TYPE_LAND )
       filter:Add( FE_CONTROLLER, OP_IS, player )
       player:SetItemCount(3)
       for i = 0, (2) do
          player:SetItemPrompt(i, "CARD_QUERY_CHOOSE_LAND_TO_SACRIFICE")
       end
       player:ChooseItems( EffectDC():Make_Targets(n) )
       return true
    else
       for i=0,(num_players-1) do
          local player = MTG():GetNthPlayer(i)
          if player ~= nil then
             for j = 0, (4) do
                local land = EffectDC():Get_Targets(i):Get_CardPtr(j)
                if land ~= nil then
                   player:Sacrifice( land )
                end
             end
          end
       end
       return false
    end
    </RESOLUTION_TIME_ACTION>
  </SPELL_ABILITY>
this guy sac lands once he comes into play,not when monstrous

Ghor-Clan Rampager | Open
Code: Select all
<ACTIVATED_ABILITY active_zone="ZONE_HAND">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Bloodrush — {R}{G}, Discard Ghor-Clan Rampager: Target attacking creature gets +4/+4 and gains trample until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Coup de sang — {R}{G}, défaussez-vous du Saccageur du clan Ghor : La créature attaquante ciblée gagne +4/+4 et acquiert le piétinement jusqu’à la fin du tour.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Empujón — {R}{G}, descartar el Arrasador del clan Ghor: La criatura atacante objetivo obtiene +4/+4 y gana la habilidad de arrollar hasta el final del turno.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Blutrausch — {R}{G}, wirf den Ghor-Clan-Randalierer aus deiner Hand ab: Eine angreifende Kreatur deiner Wahl erhält +4/+4 und verursacht Trampelschaden bis zum Ende des Zuges.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Impeto sanguinario — {R}{G}, Scarta la Furia del Clan Ghor: Una creatura attaccante bersaglio prende +4/+4 e ha travolgere fino alla fine del turno.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Bloodrush — {R}{G}, Discard Ghor-Clan Rampager: Target attacking creature gets +4/+4 and gains trample until end of turn.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[혈기 — {R}{G}, 고르 부족 광란전사를 버린다: 공격생물 한 개를 목표로 정한다. 그 생물은 턴종료까지 +4/+4를 받고 돌진 능력을 얻는다.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Прилив крови — {R}{G}, сбросьте Бестию из Клана Гхор: целевое атакующее существо получает +4/+4 и Пробивной удар до конца хода.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Bloodrush — {R}{G}, Discard Ghor-Clan Rampager: Target attacking creature gets +4/+4 and gains trample until end of turn.]]></LOCALISED_TEXT>
    <COST mana_cost="{R}{G}" type="Mana" />
    <COST type="DiscardSelf" />
    <TARGET tag="CARD_QUERY_CHOOSE_ATTACKING_CREATURE" 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_IS_ATTACKING, true)
    </TARGET_DEFINITION>
    <CONTINUOUS_ACTION layer="7C" filter_id="0">
    if FilteredCard() ~= nil then
       local characteristics = FilteredCard():GetCurrentCharacteristics()
       characteristics:Power_Add( 4 )
       characteristics:Toughness_Add( 4 )
    end
    </CONTINUOUS_ACTION>
    <CONTINUOUS_ACTION layer="6" filter_id="0">
    if FilteredCard() ~= nil then
       local characteristics = FilteredCard():GetCurrentCharacteristics()
       characteristics:Bool_Set( CHARACTERISTIC_TRAMPLE, 1 )
    end
    </CONTINUOUS_ACTION>
    <DURATION simple_duration="UntilEOT" />
  </ACTIVATED_ABILITY>
this one targets creature but nothing happens
drleg3nd
 
Posts: 528
Joined: 14 May 2012, 20:05
Has thanked: 5 times
Been thanked: 30 times

Re: Formal Request Thread

Postby jacque » 04 Oct 2013, 08:04

drleg3nd wrote:need some help with a couple of cards...
The Ghor-Clan Rampager I wrote for Vasht here works...
viewtopic.php?f=109&t=11010&p=132473&hilit=ghor+clan#p132473

Remember that Bloodrush works when the creature you're targeting is attacking...

EDIT: Referring to your Ghor-Clan Rampager... Yes it targets because of the <TARGET> tag, but in your <CONTINUOUS_ACTION> block you didn't recall what you've targeted... in your case EffectDC():Get_Targets(0):Get_CardPtr(0)... You don't need the filter_id="0" as well, as you didn't define a <FILTER> block...
Learn making your own cards today!!!

Click on Image if a post/reply helped you.

I stitch old cards together to make new ones...

~ Jacque, the confused
jacque
 
Posts: 217
Joined: 07 Jun 2013, 20:11
Has thanked: 26 times
Been thanked: 44 times

Re: Formal Request Thread

Postby thefiremind » 04 Oct 2013, 08:53

drleg3nd wrote:this guy sac lands once he comes into play,not when monstrous
You used a SPELL_ABILITY for his monstrous trigger, that means that it's executed when the spell resolves. You need to create a delayed trigger in the activated ability that calls an ABILITY_RESOLVED trigger, as I did on my Shipbreaker Kraken:
Code: Select all
  <ACTIVATED_ABILITY linked_ability_group="1">
    -- Localised text omitted (monstrous activation)
    <COST mana_cost="{5}{R}{R}" type="Mana" />
    <RESOLUTION_TIME_ACTION>
    if EffectSource() ~= nil and LinkedDC():Get_Int(0) ~= 1 then
       EffectSource():AddCounters( MTG():PlusOnePlusOneCounters(), 3 )
       LinkedDC():Set_Int(0, 1)
       MTG():CreateDelayedTrigger(1, nil)
    end
    </RESOLUTION_TIME_ACTION>
    <AI_AVAILABILITY type="in_response" response_source="1" />
    <AI_AVAILABILITY window_step="begin_combat" window_turn="their_turn" type="window" />
    <AI_AVAILABILITY window_step="end_of_turn" window_turn="their_turn" type="window" />
    <AUTO_SKIP no_effect_source="1" />
  </ACTIVATED_ABILITY>
  <STATIC_ABILITY>
    -- Localised text omitted (repeat here the monstrous trigger text so that it's readable even if it's not always active)
  </STATIC_ABILITY>
  <TRIGGERED_ABILITY resource_id="1">
    <CLEANUP fire_once="1" />
    -- Localised text omitted (monstrous trigger, same text as above)
    <TRIGGER value="ABILITY_RESOLVED" />
    -- do here what you need to do when your creature becomes monstrous (in your case, the land sacrificing part)
  </TRIGGERED_ABILITY>
This works well for all creatures with "When <this> becomes monstrous". Of course the activated ability cost and the number of +1/+1 counters needs to be changed accordingly, and you might need to include some other information inside the delayed trigger when necessary (Polukranos, for example, needs to remember the value of {X}).
Last thing, your land sacrificing code has a FILTER block that is completely useless (not only it filters creatures, but you don't need that kind of filter at all for what you need to do there).
Someone will ask why I repeat the monstrous trigger text twice... the one in the dummy STATIC_ABILITY will appear on the card, while the one in the delayed trigger will appear in the bottom window while the ability asks players to do things.
< 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 RiiakShiNal » 04 Oct 2013, 11:56

jacque wrote:I tried working on Coretapper... 1st Activated Ability is ok... but the second one, the counters won't stick on the target artifact... anyone can help me figure why? Thanks!

CORETAPPER 2ND ACTIVATED ABILITY | Open
Code: Select all
  <ACTIVATED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Sacrifice Coretapper: Put two charge counters on target artifact.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Sacrifiez le Noyaupompe : Mettez deux marqueurs « charge » sur l’artefact ciblé.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Sacrificar el Manipulador del núcleo: Pon dos contadores de carga en el artefacto objetivo.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Opfere den Kernanzapfer: Lege zwei Ladungsmarken auf ein Artefakt deiner Wahl.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Sacrifica il Sugginucleo: Metti due segnalini carica su un artefatto bersaglio.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[地核搾りを生け贄に捧げる:アーティファクト1つを対象とし、それの上に蓄積カウンターを2個置く。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Sacrifice Coretapper: Put two charge counters on target artifact.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Sacrifice Coretapper: Put two charge counters on target artifact.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Sacrifique Conversor do Núcleo: Coloque dois marcadores de carga no artefato alvo.]]></LOCALISED_TEXT>
    <COST type="SacrificeSelf" />
    <TARGET tag="CARD_QUERY_CHOOSE_ARTIFACT_GET_CHARGE_COUNTER" definition="1" compartment="0" count="1" />
    <TARGET_DEFINITION id="1">
    local filter = ClearFilter()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_ARTIFACT )
    </TARGET_DEFINITION>
    <COUNTER_REGISTRATION name="Charge" proliferate="11" />

    <RESOLUTION_TIME_ACTION>
    local target = EffectDC():Get_Targets(1):Get_CardPtr(1)
    if target ~= nil then
        target:AddCounters( MTG():GetCountersType("Charge"), 2 )
    end
    </RESOLUTION_TIME_ACTION>
  </ACTIVATED_ABILITY>
You have a mismatched compartment and Get_Targets(). You are storing your target in compartment 0 then trying to access it from compartment 1. Also since you have only asked for 1 target it will be CardPtr 0 (because it is 0-indexed) not CardPtr 1. So the easiest way to fix is to change this line:
Code: Select all
local target = EffectDC():Get_Targets(1):Get_CardPtr(1)
To this:
Code: Select all
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Formal Request Thread

Postby DrakkenMT » 04 Oct 2013, 14:46

I checked through and didn't see this code anywhere so was wondering if anyone could help me out, it is an older Revised edition ability but I think it could be cool to see make a comeback

Rampage 2 (for a Craw Giant)

I had tried to manipulate Bushido but it didn't seem to ever put the counters on the Craw Giant since it seems like it does its count before the blockers are applied so it is always giving it a +0,+0.
Also tried the coding off the Guardian of the Gateless but still seems to do its count prior to the blockers being assigned. was wondering what you guys might think.

also was thinking of making a Nirkana Revenant but unsure how to do the swamp mana flare effect and have it go away when the nirkana dies. any thoughts?
DrakkenMT
 
Posts: 14
Joined: 04 Oct 2013, 14:34
Has thanked: 2 times
Been thanked: 0 time

Re: Formal Request Thread

Postby jacque » 04 Oct 2013, 15:06

RiiakShiNal wrote:You have a mismatched compartment and Get_Targets().
*Silly me*... Now I understand what that compartment thing do >.<... *well a lil*

Thanks again Riiak!!! *as always =)*
Learn making your own cards today!!!

Click on Image if a post/reply helped you.

I stitch old cards together to make new ones...

~ Jacque, the confused
jacque
 
Posts: 217
Joined: 07 Jun 2013, 20:11
Has thanked: 26 times
Been thanked: 44 times

Re: Formal Request Thread

Postby SystemSCSnake » 04 Oct 2013, 17:13

Confusion in the Ranks and Sorrow's Path

If at all possible lol
SystemSCSnake
 
Posts: 7
Joined: 02 Oct 2013, 16:35
Has thanked: 4 times
Been thanked: 0 time

Re: Formal Request Thread

Postby jacque » 04 Oct 2013, 17:24

DrakkenMT wrote:I checked through and didn't see this code anywhere so was wondering if anyone could help me out, it is an older Revised edition ability but I think it could be cool to see make a comeback

Rampage 2 (for a Craw Giant)

I had tried to manipulate Bushido but it didn't seem to ever put the counters on the Craw Giant since it seems like it does its count before the blockers are applied so it is always giving it a +0,+0.
Hehehe... Got good news for ya... Craw Giant =) Enjoy =)
Last edited by jacque on 04 Oct 2013, 18:04, edited 1 time in total.
Learn making your own cards today!!!

Click on Image if a post/reply helped you.

I stitch old cards together to make new ones...

~ Jacque, the confused
jacque
 
Posts: 217
Joined: 07 Jun 2013, 20:11
Has thanked: 26 times
Been thanked: 44 times

Re: Formal Request Thread

Postby thefiremind » 04 Oct 2013, 17:33

jacque wrote:Hehehe... Got good news for ya... Craw Giant =) Enjoy =)
If you attack with Craw Giant and other creatures, and the other creatures become blocked, doesn't your trigger count them as well?
< 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 jacque » 04 Oct 2013, 17:45

thefiremind wrote:If you attack with Craw Giant and other creatures, and the other creatures become blocked, doesn't your trigger count them as well?
Meh that I didn't think of... Re-work =)
Learn making your own cards today!!!

Click on Image if a post/reply helped you.

I stitch old cards together to make new ones...

~ Jacque, the confused
jacque
 
Posts: 217
Joined: 07 Jun 2013, 20:11
Has thanked: 26 times
Been thanked: 44 times

Re: Formal Request Thread

Postby DrakkenMT » 04 Oct 2013, 17:55

sweet, thanks Jacque :) na the other creatures being blocked doesn't trigger it. this should be good :)
DrakkenMT
 
Posts: 14
Joined: 04 Oct 2013, 14:34
Has thanked: 2 times
Been thanked: 0 time

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 10 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form