It is currently 13 May 2021, 00:27
   
Text Size

Community Wad

Moderators: Xander9009, CCGHQ Admins

Re: Community Wad

Postby fallenangle » 21 Jul 2020, 21:40

@NivMizzet: Here is a working, escaping Uro that I have tested:

Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
   <FILENAME text="URO_TITAN_OF_NATURES_WRATH_CW" />
   <CARDNAME text="URO_TITAN_OF_NATURES_WRATH" />
   <TITLE>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
   </TITLE>
   <MULTIVERSEID value="476480" />
   <ARTID value="URO_TITAN_OF_NATURES_WRATH" />
   <ARTIST name="Vincent Proce" />
   <CASTING_COST cost="{1}{U}{G}" />
   <SUPERTYPE metaname="Legendary" />
   <TYPE metaname="Creature" />
   <SUB_TYPE metaname="Elder" />
   <SUB_TYPE metaname="Giant" />
   <EXPANSION value="TBD" />
   <RARITY metaname="M" />
   <POWER value="6" />
   <TOUGHNESS value="6" />
   
   <TRIGGERED_ABILITY replacement_effect="1" active_zone="ZONE_ANY"> -- Permanently protect ObjectDC
      <TRIGGER value="ZONECHANGE_CONSIDERED" pre_trigger="1" simple_qualifier="self" />
      <RESOLUTION_TIME_ACTION>
         RSN_ProtectObjectDC()
      </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>
   
   <TRIGGERED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>

      <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" from_zone="ZONE_ANY" />
      <RESOLUTION_TIME_ACTION>
         if CW_DC_ObjectDC():Get_Int(0) ~= 1 then
            EffectController():Sacrifice(EffectSource())
         end
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
     CW_DC_ObjectDC():Set_Int(0, 0)
     </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>

   <TRIGGERED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever Uro enters the battlefield or attacks, you gain 3 life and draw a card, then you may put a land card from your hand onto the battlefield.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois que la Primordiale d’Arashin arrive sur le champ de bataille ou qu’elle attaque, une autre créature Guerrier ciblée que vous contrôlez acquiert la double initiative jusqu’à la fin du tour.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que Arashin, la líder entre al campo de batalla o ataque, otra criatura objetivo Guerrero que controlas gana la habilidad de dañar dos veces hasta el final del turno.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn die Arashin-Vorderste ins Spiel kommt oder angreift, erhält eine andere Krieger-Kreatur deiner Wahl, die du kontrollierst, Doppelschlag bis zum Ende des Zuges.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta la Preminente di Arashin entra nel campo di battaglia o attacca, un’altra creatura Guerriero bersaglio che controlli ha doppio attacco fino alla fine del turno.]]></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[Toda vez que Principal de Arashin entra no campo de batalha ou ataca, outra criatura alvo do tipo Guerreiro que você controla ganha golpe duplo até o final do turno.]]></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" from_zone="ZONE_ANY" />
      <TRIGGER value="ATTACKING" simple_qualifier="self" />

      <RESOLUTION_TIME_ACTION>
         local effectController = EffectController()
         if effectController ~= nil then
            effectController:DrawCards(1)
         end
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local filter = ClearFilter()
         filter:SetZone(ZONE_HAND, EffectController())
         filter:Add(FE_TYPE, OP_IS, CARD_TYPE_LAND)
         EffectController():ChooseItem( "CARD_QUERY_CHOOSE_LAND_TO_PUT_ONTO_THE_BATTLEFIELD", EffectDC():Make_Targets(1), QUERY_FLAG_MAY )
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local Target = EffectDC():Get_Targets(1):Get_CardPtr(0)
         if Target ~= nil then
            Target:PutOntoBattlefield( EffectController() )
         end
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         EffectController():GainLife(3)
      </RESOLUTION_TIME_ACTION>
     
   </TRIGGERED_ABILITY>

      <UTILITY_ABILITY qualifier="Alternate" active_zone="ZONE_GRAVEYARD">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Escape—{G}{G}{U}{U}, Exile five other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.)]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{2}{B}: Renvoyez le Vagabond effroyable sur le champ de bataille depuis votre cimetière. N’activez cette capacité que lorsque vous pourriez lancer un rituel et seulement si vous avez une carte ou moins en main.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{2}{B}: Regresa el Errante aterrador de tu cementerio al campo de batalla. Activa esta habilidad solo cuando puedas lanzar un conjuro y solo si tienes una carta o menos en tu mano.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{2}{B}: Bringe den Furchteinflößenden Streuner aus deinem Friedhof ins Spiel zurück. Aktiviere diese Fähigkeit nur zu einem Zeitpunkt, zu dem du auch eine Hexerei wirken könntest, und nur, falls du eine oder weniger Karten auf deiner Hand hast.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{2}{B}: Rimetti sul campo di battaglia il Peregrino Terrificante dal tuo cimitero. Attiva questa abilità solo quando potresti lanciare una stregoneria e solo se hai una o meno carte in mano.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{2}{B}:あなたの墓地から戦慄の放浪者を戦場に戻す。この能力は、あなたの手札のカードが1枚以下であり、あなたがソーサリーを唱えられるときにのみ起動できる。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{2}{B}: 당신의 무덤에서 불길한 방랑자를 전장으로 되돌린다. 집중마법을 발동할 수 있는 시기이며 당신의 손에 있는 카드가 한 장 이하일 때만 이 능력을 활성화할 수 있다.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{2}{B}: верните Кошмарного Скитальца из вашего кладбища на поле битвы. Активируйте эту способность только при возможности разыгрывать волшебство, и только если у вас не больше одной карты в руке.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{2}{B}: Devolva Errante Medonho de seu cemitério para o campo de batalha. Ative esta habilidade somente em um momento em que poderia conjurar um feitiço e somente se tiver um card ou menos na mão.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[{2}{B}:将恐怖游尸从你的坟墓场移回战场。只可以于你能施放法术的时机下起动此异能,且于你的手牌为一张或更少时才能起动。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[{2}{B}:將恐怖遊屍從你的墳墓場移回戰場。只可以於你能施放巫術的時機下起動此異能,且於你的手牌為一張或更少時才能起動。]]></LOCALISED_TEXT>
      <COST mana_cost="{U}{U}{G}{G}" type="Mana" />
      <COST type="Exile" definition="0" compartment="1" query_tag="CARD_QUERY_CHOOSE_CARD_TO_EXILE_FROM_A_GRAVEYARD" item_count="5" />
      <COST_DEFINITION id="0">
         local filter = ClearFilter()
         filter:Add( FE_CARD_INSTANCE, OP_NOT, EffectSource() )
         filter:SetZone( ZONE_GRAVEYARD, EffectController() )
       CW_DC_ObjectDC():Set_Int(0, 1)
      </COST_DEFINITION>
      <AVAILABILITY sorcery_time="1" />
   </UTILITY_ABILITY>
   

   <HELP title="MORE_INFO_BADGE_TITLE_2" body="MORE_INFO_BADGE_BODY_2" 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" />
   <LEGALITY>
      <FORMAT value="Commander" status="Legal" />
      <FORMAT value="Duel" status="Legal" />
      <FORMAT value="Frontier" status="Legal" />
      <FORMAT value="Legacy" status="Legal" />
      <FORMAT value="Modern" status="Legal" />
      <FORMAT value="Penny" status="Legal" />
      <FORMAT value="Vintage" status="Legal" />
      <FORMAT value="Dragons Of Tarkir" status="Legal" />
      <FORMAT value="Khans Of Tarkir (block)" status="Legal" />
   </LEGALITY>
   <AUTHOR><![CDATA[NivMizzet1]]></AUTHOR>
   <EDITORS><![CDATA[NivMizzet1, fallenangle]]></EDITORS>
   <DATE><![CDATA[18-07-20, 21-07-20]]></DATE>

</CARD_V2>
@newtomagic: Check out Barrel Down Sokenzan and Realms Uncharted, and do something like this:

Code: Select all
<RESOLUTION_TIME_ACTION>
         local filter = ClearFilter()
         CW_Filter_AddPermanents(filter)
                        filter:SetUnique()
         local max_cards = filter:Count()
         if max_cards &gt; 0 then
            controller:SetItemCount(max_cards)
            for i=0,max_cards-1 do
               controller:SetItemPrompt(i, "CW_CARD_QUERY_CHOOSE_PERMANENT_TO_RETURN_TO_HAND")
            end
            controller:ChooseItems( EffectDC():Make_Targets(0), QUERY_FLAG_MAY )
         end
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local targetDC = EffectDC():Get_Targets(0)
         if targetDC ~= nil then
            local max_cards = targetDC:Count()
            local targets = max_cards-1
            for i=0,targets do
               targetDC:Get_CardPtr(targets-i):PutInHand()
            end
         end
      </RESOLUTION_TIME_ACTION>
If either of you needs more help, just let me know. I couldn't find anything wrong with Nissa, so I don't know where the problem is there....
fallenangle
 
Posts: 319
Joined: 20 Jul 2013, 02:31
Has thanked: 73 times
Been thanked: 38 times

Re: Community Wad

Postby MasterXploder7 » 21 Jul 2020, 21:54

Mirror March - does not flip coins or create tokens.

Gilded Goose - Can auto-tap for mana without sacrificing a food (I would suggest making this an ability the player must initiate instead of auto-tapping). Can sacrifice a food but produces no mana. I think you can make a food token by using the mana made by Gilded Goose with Gilded Goose's own ability but that would require further testing.
"Hate is an everlasting wellspring from which it is eternally sustained." - Nirkana Revenant
MasterXploder7
 
Posts: 288
Joined: 18 Jan 2014, 10:55
Has thanked: 25 times
Been thanked: 10 times

Re: Community Wad

Postby newtomagic » 22 Jul 2020, 08:55

card is Eerie Ultimatum

If either of you needs more help, just let me know. I couldn't find anything wrong with Nissa, so I don't know where the problem is there....
so i added the code filter:SetUnique() and it solved the problem of returning same card with same name...
little problem is Basic Land cards have different names like Island_35888 and Island_3599 so instead of returning just 1 Basic Land card it returns every Basic Land with different name

and does this card need this?
Code: Select all
<TARGET tag="CARD_QUERY_CHOOSE_CARDS_RETURN_TO_BATTLEFIELD" definition="0" compartment="0" count="1" />
newtomagic
 
Posts: 26
Joined: 10 Jul 2020, 06:56
Has thanked: 8 times
Been thanked: 1 time

Re: Community Wad

Postby nivmizzet1 » 22 Jul 2020, 09:43

trying to code Call of the Death-Dweller.

I'm trying to adapt the code from March from the Tomb. I need some way to stop the loop after two CardPtrs have been assigned.

Code: Select all
             <SPELL_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Return up to two target creature cards with total converted mana cost 3 or less from your graveyard to the battlefield. Put a deathtouch counter on either of them. Then put a menace counter on either of them.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Renvoyez sur le champ de bataille depuis votre cimetière jusqu’à deux cartes de créature ciblées avec un coût converti de mana total inférieur ou égal à 3. Mettez un marqueur « contact mortel » sur l’une d’entre elles. Puis mettez un marqueur « menace » sur l’une d’entre elles.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Regresa hasta dos cartas de criatura objetivo con un coste de maná convertido total de 3 o menos de tu cementerio al campo de batalla. Pon un contador de toque mortal sobre cualquiera de ellas. Luego pon un contador de amenaza sobre cualquiera de ellas.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Bringe bis zu zwei Kreaturenkarten deiner Wahl mit umgewandelten Manakosten von insgesamt 3 oder weniger aus deinem Friedhof ins Spiel zurück. Lege eine Todesberührung-Marke auf eine davon. Lege dann eine Bedrohlich-Marke auf eine davon.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Rimetti sul campo di battaglia fino a due carte creatura bersaglio con costo di mana convertito totale pari o inferiore a 3 dal tuo cimitero. Metti un segnalino tocco letale su una di esse. Poi metti un segnalino minacciare su una di esse.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたの墓地からクリーチャー・カード最大2枚を点数で見たマナ・コストの合計が3以下になるように対象とし、それらを戦場に戻す。それらのうち1つの上に接死カウンターを1個置く。その後それらのうち1つの上に威迫カウンターを1個置く。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[당신의 무덤에서 총 전환마나비용이 3 이하가 되도록 생물 카드를 최대 두 장까지 목표로 정한다. 그 카드들을 전장으로 되돌린다. 그중 한 생물에 치명타 카운터를 올려놓는다. 그 후, 그중 한 생물에 호전적 카운터를 올려놓는다.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Верните из вашего кладбища на поле битвы не более двух целевых карт существ с суммарной конвертированной мана-стоимостью не более 3. Положите на любое из них один жетон Смертельного касания. Затем положите на любое из них один жетон Угрозы.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Devolva até dois cards de criatura alvo com custo de mana convertido total igual ou inferior a 3 de seu cemitério para o campo de batalha. Coloque um marcador de toque mortífero em um deles. Em seguida, coloque um marcador de ameaçar em um deles.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[将至多两张目标生物牌从你的坟墓场移回战场,且这些牌总法术力费用的总和须等于或小于3。在这些生物之一上放置一个死触指示物。然后在这些生物之一上放置一个威慑指示物。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[將至多兩張目標生物牌從你的墳墓場移回戰場,且這些牌總魔法力費用的總和須等於或小於3。在這些生物之一上放置一個死觸指示物。然後在這些生物之一上放置一個威懾指示物。]]></LOCALISED_TEXT>
      <RESOLUTION_TIME_ACTION repeating="1">
         local n = MTG():GetActionRepCount()
         local filter = ClearFilter()
         local Player = EffectController()
         local Parity = n % 2
         if n == 0 then
            MTG():ClearFilterMark()
         end
         if Parity == 0 then
            filter:SetZone( ZONE_GRAVEYARD, EffectController() )
            filter:Add(FE_TYPE, OP_IS, CARD_TYPE_CREATURE)
            filter:Add(FE_CONTROLLER, OP_IS, EffectController())
            filter:Add(FE_CMC, OP_LESS_THAN_OR_EQUAL_TO, (3 - EffectDC():Get_Int(0)))
            filter:SetUnmarkedObjectsOnly()
            if filter:CountStopAt(1) &gt; 0 then
               Player:ChooseItem("CARD_QUERY_CHOOSE_CREATURE_TO_PUT_ONTO_BATTLEFIELD", EffectDC():Make_Targets(1), QUERY_FLAG_MAY + QUERY_FLAG_AI_COMPLEX)
               -- need to process answer
               return true
            else
               -- nothing else to pick
               return false
            end
         else
            local Target = EffectDC():Get_Targets(1):Get_CardPtr(0)
            if Target ~= nil then
               -- put result here
               EffectDC():Set_CardPtr(2 + ((n-1)/2), Target)
               -- mark it so we can't pick it again
               Target:MarkForFilter()
               -- accumulate cost
               EffectDC():Set_Int(0, (EffectDC():Get_Int(0) + Target:GetConvertedManaCost()))
               -- again, again
               return true
            else
               -- we're done with picking
               return false
            end
         end
         return false
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local n = 0
         local Target = EffectDC():Get_CardPtr(2)
         while Target ~= nil do
            Target:PutOntoBattlefield(EffectController())
            -- go to next ptr
            n = n + 1
            Target = EffectDC():Get_CardPtr(2+n)
         end
      </RESOLUTION_TIME_ACTION>
hmm...I just realised the CW doesn't appear to have deathtouch counters or menace counters...this card may be too much work
nivmizzet1
 
Posts: 613
Joined: 21 Mar 2013, 10:10
Has thanked: 100 times
Been thanked: 23 times

Re: Community Wad

Postby nivmizzet1 » 22 Jul 2020, 09:59

fallenangle wrote:@NivMizzet: Here is a working, escaping Uro that I have tested:

Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
   <FILENAME text="URO_TITAN_OF_NATURES_WRATH_CW" />
   <CARDNAME text="URO_TITAN_OF_NATURES_WRATH" />
   <TITLE>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
   </TITLE>
   <MULTIVERSEID value="476480" />
   <ARTID value="URO_TITAN_OF_NATURES_WRATH" />
   <ARTIST name="Vincent Proce" />
   <CASTING_COST cost="{1}{U}{G}" />
   <SUPERTYPE metaname="Legendary" />
   <TYPE metaname="Creature" />
   <SUB_TYPE metaname="Elder" />
   <SUB_TYPE metaname="Giant" />
   <EXPANSION value="TBD" />
   <RARITY metaname="M" />
   <POWER value="6" />
   <TOUGHNESS value="6" />
   
   <TRIGGERED_ABILITY replacement_effect="1" active_zone="ZONE_ANY"> -- Permanently protect ObjectDC
      <TRIGGER value="ZONECHANGE_CONSIDERED" pre_trigger="1" simple_qualifier="self" />
      <RESOLUTION_TIME_ACTION>
         RSN_ProtectObjectDC()
      </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>
   
   <TRIGGERED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>

      <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" from_zone="ZONE_ANY" />
      <RESOLUTION_TIME_ACTION>
         if CW_DC_ObjectDC():Get_Int(0) ~= 1 then
            EffectController():Sacrifice(EffectSource())
         end
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
     CW_DC_ObjectDC():Set_Int(0, 0)
     </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>

   <TRIGGERED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever Uro enters the battlefield or attacks, you gain 3 life and draw a card, then you may put a land card from your hand onto the battlefield.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois que la Primordiale d’Arashin arrive sur le champ de bataille ou qu’elle attaque, une autre créature Guerrier ciblée que vous contrôlez acquiert la double initiative jusqu’à la fin du tour.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que Arashin, la líder entre al campo de batalla o ataque, otra criatura objetivo Guerrero que controlas gana la habilidad de dañar dos veces hasta el final del turno.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn die Arashin-Vorderste ins Spiel kommt oder angreift, erhält eine andere Krieger-Kreatur deiner Wahl, die du kontrollierst, Doppelschlag bis zum Ende des Zuges.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta la Preminente di Arashin entra nel campo di battaglia o attacca, un’altra creatura Guerriero bersaglio che controlli ha doppio attacco fino alla fine del turno.]]></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[Toda vez que Principal de Arashin entra no campo de batalha ou ataca, outra criatura alvo do tipo Guerreiro que você controla ganha golpe duplo até o final do turno.]]></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" from_zone="ZONE_ANY" />
      <TRIGGER value="ATTACKING" simple_qualifier="self" />

      <RESOLUTION_TIME_ACTION>
         local effectController = EffectController()
         if effectController ~= nil then
            effectController:DrawCards(1)
         end
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local filter = ClearFilter()
         filter:SetZone(ZONE_HAND, EffectController())
         filter:Add(FE_TYPE, OP_IS, CARD_TYPE_LAND)
         EffectController():ChooseItem( "CARD_QUERY_CHOOSE_LAND_TO_PUT_ONTO_THE_BATTLEFIELD", EffectDC():Make_Targets(1), QUERY_FLAG_MAY )
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local Target = EffectDC():Get_Targets(1):Get_CardPtr(0)
         if Target ~= nil then
            Target:PutOntoBattlefield( EffectController() )
         end
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         EffectController():GainLife(3)
      </RESOLUTION_TIME_ACTION>
     
   </TRIGGERED_ABILITY>

      <UTILITY_ABILITY qualifier="Alternate" active_zone="ZONE_GRAVEYARD">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Escape—{G}{G}{U}{U}, Exile five other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.)]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{2}{B}: Renvoyez le Vagabond effroyable sur le champ de bataille depuis votre cimetière. N’activez cette capacité que lorsque vous pourriez lancer un rituel et seulement si vous avez une carte ou moins en main.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{2}{B}: Regresa el Errante aterrador de tu cementerio al campo de batalla. Activa esta habilidad solo cuando puedas lanzar un conjuro y solo si tienes una carta o menos en tu mano.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{2}{B}: Bringe den Furchteinflößenden Streuner aus deinem Friedhof ins Spiel zurück. Aktiviere diese Fähigkeit nur zu einem Zeitpunkt, zu dem du auch eine Hexerei wirken könntest, und nur, falls du eine oder weniger Karten auf deiner Hand hast.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{2}{B}: Rimetti sul campo di battaglia il Peregrino Terrificante dal tuo cimitero. Attiva questa abilità solo quando potresti lanciare una stregoneria e solo se hai una o meno carte in mano.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{2}{B}:あなたの墓地から戦慄の放浪者を戦場に戻す。この能力は、あなたの手札のカードが1枚以下であり、あなたがソーサリーを唱えられるときにのみ起動できる。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{2}{B}: 당신의 무덤에서 불길한 방랑자를 전장으로 되돌린다. 집중마법을 발동할 수 있는 시기이며 당신의 손에 있는 카드가 한 장 이하일 때만 이 능력을 활성화할 수 있다.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{2}{B}: верните Кошмарного Скитальца из вашего кладбища на поле битвы. Активируйте эту способность только при возможности разыгрывать волшебство, и только если у вас не больше одной карты в руке.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{2}{B}: Devolva Errante Medonho de seu cemitério para o campo de batalha. Ative esta habilidade somente em um momento em que poderia conjurar um feitiço e somente se tiver um card ou menos na mão.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[{2}{B}:将恐怖游尸从你的坟墓场移回战场。只可以于你能施放法术的时机下起动此异能,且于你的手牌为一张或更少时才能起动。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[{2}{B}:將恐怖遊屍從你的墳墓場移回戰場。只可以於你能施放巫術的時機下起動此異能,且於你的手牌為一張或更少時才能起動。]]></LOCALISED_TEXT>
      <COST mana_cost="{U}{U}{G}{G}" type="Mana" />
      <COST type="Exile" definition="0" compartment="1" query_tag="CARD_QUERY_CHOOSE_CARD_TO_EXILE_FROM_A_GRAVEYARD" item_count="5" />
      <COST_DEFINITION id="0">
         local filter = ClearFilter()
         filter:Add( FE_CARD_INSTANCE, OP_NOT, EffectSource() )
         filter:SetZone( ZONE_GRAVEYARD, EffectController() )
       CW_DC_ObjectDC():Set_Int(0, 1)
      </COST_DEFINITION>
      <AVAILABILITY sorcery_time="1" />
   </UTILITY_ABILITY>
   

   <HELP title="MORE_INFO_BADGE_TITLE_2" body="MORE_INFO_BADGE_BODY_2" 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" />
   <LEGALITY>
      <FORMAT value="Commander" status="Legal" />
      <FORMAT value="Duel" status="Legal" />
      <FORMAT value="Frontier" status="Legal" />
      <FORMAT value="Legacy" status="Legal" />
      <FORMAT value="Modern" status="Legal" />
      <FORMAT value="Penny" status="Legal" />
      <FORMAT value="Vintage" status="Legal" />
      <FORMAT value="Dragons Of Tarkir" status="Legal" />
      <FORMAT value="Khans Of Tarkir (block)" status="Legal" />
   </LEGALITY>
   <AUTHOR><![CDATA[NivMizzet1]]></AUTHOR>
   <EDITORS><![CDATA[NivMizzet1, fallenangle]]></EDITORS>
   <DATE><![CDATA[18-07-20, 21-07-20]]></DATE>

</CARD_V2>
I just tested it and Uro isn't sac'ing when playing from hand.

EDIT: fixed quote format
Last edited by nivmizzet1 on 22 Jul 2020, 12:27, edited 1 time in total.
nivmizzet1
 
Posts: 613
Joined: 21 Mar 2013, 10:10
Has thanked: 100 times
Been thanked: 23 times

Re: Community Wad

Postby RiiakShiNal » 22 Jul 2020, 10:53

You can get the loop to stop after two card pointers have been assigned in a couple of different ways.
  • At the beginning of the loop (but after n is assigned) you could put in a check to see if n is greater than 3 to return false.
  • You could add a check immediately after adding the card pointer to return false if n equals 3 (or is greater than or equal to 3).

Deathtouch and Menace counters can be coded, though it would require the use of a manager token to make sure they work properly.
RiiakShiNal
Programmer
 
Posts: 2160
Joined: 16 May 2011, 21:37
Has thanked: 74 times
Been thanked: 481 times

Re: Community Wad

Postby nivmizzet1 » 22 Jul 2020, 12:59

I'm trying to code Kroxa now. I copied the code from Burglar rats and then added a little clause to check for nonland cards. The code made sense to me, but I must be missing something, because the opponent isn't being made to discard.

Code: Select all
   <TRIGGERED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever Kroxa enters the battlefield or attacks, each opponent discards a card, then each opponent who didn't discard a nonland card this way loses 3 life.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois que la Primordiale d’Arashin arrive sur le champ de bataille ou qu’elle attaque, une autre créature Guerrier ciblée que vous contrôlez acquiert la double initiative jusqu’à la fin du tour.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que Arashin, la líder entre al campo de batalla o ataque, otra criatura objetivo Guerrero que controlas gana la habilidad de dañar dos veces hasta el final del turno.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn die Arashin-Vorderste ins Spiel kommt oder angreift, erhält eine andere Krieger-Kreatur deiner Wahl, die du kontrollierst, Doppelschlag bis zum Ende des Zuges.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta la Preminente di Arashin entra nel campo di battaglia o attacca, un’altra creatura Guerriero bersaglio che controlli ha doppio attacco fino alla fine del turno.]]></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[Toda vez que Principal de Arashin entra no campo de batalha ou ataca, outra criatura alvo do tipo Guerreiro que você controla ganha golpe duplo até o final do turno.]]></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" />
      <TRIGGER value="ATTACKING" simple_qualifier="self" />

      <SFX text="GLOBAL_DEATH_PLAY" />
      <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)
            if player:GetTeam() ~= EffectController():GetTeam() then
               local filter = ClearFilter()
               filter:SetZone(ZONE_HAND, player)
               player:SetItemCount( 1 )
               for i = 0, (1-1) do
                  player:SetItemPrompt( i, "CARD_QUERY_CHOOSE_CARD_TO_DISCARD" )
               end
               player:ChooseItems( EffectDC():Make_Targets(n+1) )
            end
            return true
         else
            for i = 0, (num_Players-1) do
               local player = MTG():GetNthPlayer(i)
               if player:GetTeam() ~= EffectController():GetTeam() then
                  local numDiscard = EffectDC():Get_Targets(i+1):Count()
                  for j = 0, (numDiscard-1) do
                     local cardToDiscard = EffectDC():Get_Targets(i+1):Get_CardPtr(j)
                     if cardToDiscard ~= nil then
                        cardToDiscard:GuidedReveal( cardToDiscard:GetZone() , cardToDiscard:GetZone() )
                        if cardToDiscard:GetCardType():Test( CARD_TYPE_LAND ) == false then
                           cardToDiscard:Discard()
                        else
                           cardToDiscard:Discard()
                           cardToDiscard:GetPlayer():LoseLife(3)
                        end
                     end
                  end
               end
            end
            return false
         end
      </RESOLUTION_TIME_ACTION>

   </TRIGGERED_ABILITY>
Last edited by nivmizzet1 on 23 Jul 2020, 04:39, edited 1 time in total.
nivmizzet1
 
Posts: 613
Joined: 21 Mar 2013, 10:10
Has thanked: 100 times
Been thanked: 23 times

Re: Community Wad

Postby nivmizzet1 » 22 Jul 2020, 13:15

Priest of Forgotten Gods is still not forcing opponent to sacrifice...
nivmizzet1
 
Posts: 613
Joined: 21 Mar 2013, 10:10
Has thanked: 100 times
Been thanked: 23 times

Re: Community Wad

Postby fallenangle » 22 Jul 2020, 13:55

@nivmizzet1: This should fix Uro, although I haven't tested him, yet:

Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
   <FILENAME text="URO_TITAN_OF_NATURES_WRATH_CW" />
   <CARDNAME text="URO_TITAN_OF_NATURES_WRATH" />
   <TITLE>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
   </TITLE>
   <MULTIVERSEID value="476480" />
   <ARTID value="URO_TITAN_OF_NATURES_WRATH" />
   <ARTIST name="Vincent Proce" />
   <CASTING_COST cost="{1}{U}{G}" />
   <SUPERTYPE metaname="Legendary" />
   <TYPE metaname="Creature" />
   <SUB_TYPE metaname="Elder" />
   <SUB_TYPE metaname="Giant" />
   <EXPANSION value="TBD" />
   <RARITY metaname="M" />
   <POWER value="6" />
   <TOUGHNESS value="6" />
   
   <TRIGGERED_ABILITY replacement_effect="1" active_zone="ZONE_ANY"> -- Permanently protect ObjectDC
      <TRIGGER value="ZONECHANGE_CONSIDERED" pre_trigger="1" simple_qualifier="self" />
      <RESOLUTION_TIME_ACTION>
         RSN_ProtectObjectDC()
      </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>
   
   <TRIGGERED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>

      <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" from_zone="ZONE_ANY">
     if CW_DC_ObjectDC():Get_Int(0) ~= 2 then
     CW_DC_ObjectDC():Set_Int(0, 1)
     end
     </TRIGGER>
    
      <RESOLUTION_TIME_ACTION>
         if CW_DC_ObjectDC():Get_Int(0) == 1 then
            EffectController():Sacrifice(EffectSource())
         end
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
     CW_DC_ObjectDC():Set_Int(0, 0)
     </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>

   <TRIGGERED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever Uro enters the battlefield or attacks, you gain 3 life and draw a card, then you may put a land card from your hand onto the battlefield.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois que la Primordiale d’Arashin arrive sur le champ de bataille ou qu’elle attaque, une autre créature Guerrier ciblée que vous contrôlez acquiert la double initiative jusqu’à la fin du tour.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que Arashin, la líder entre al campo de batalla o ataque, otra criatura objetivo Guerrero que controlas gana la habilidad de dañar dos veces hasta el final del turno.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn die Arashin-Vorderste ins Spiel kommt oder angreift, erhält eine andere Krieger-Kreatur deiner Wahl, die du kontrollierst, Doppelschlag bis zum Ende des Zuges.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta la Preminente di Arashin entra nel campo di battaglia o attacca, un’altra creatura Guerriero bersaglio che controlli ha doppio attacco fino alla fine del turno.]]></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[Toda vez que Principal de Arashin entra no campo de batalha ou ataca, outra criatura alvo do tipo Guerreiro que você controla ganha golpe duplo até o final do turno.]]></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" from_zone="ZONE_ANY" />
      <TRIGGER value="ATTACKING" simple_qualifier="self" />

      <RESOLUTION_TIME_ACTION>
         local effectController = EffectController()
         if effectController ~= nil then
            effectController:DrawCards(1)
         end
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local filter = ClearFilter()
         filter:SetZone(ZONE_HAND, EffectController())
         filter:Add(FE_TYPE, OP_IS, CARD_TYPE_LAND)
         EffectController():ChooseItem( "CARD_QUERY_CHOOSE_LAND_TO_PUT_ONTO_THE_BATTLEFIELD", EffectDC():Make_Targets(1), QUERY_FLAG_MAY )
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local Target = EffectDC():Get_Targets(1):Get_CardPtr(0)
         if Target ~= nil then
            Target:PutOntoBattlefield( EffectController() )
         end
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         EffectController():GainLife(3)
      </RESOLUTION_TIME_ACTION>
     
   </TRIGGERED_ABILITY>

      <UTILITY_ABILITY qualifier="Alternate" active_zone="ZONE_GRAVEYARD">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Escape—{G}{G}{U}{U}, Exile five other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.)]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{2}{B}: Renvoyez le Vagabond effroyable sur le champ de bataille depuis votre cimetière. N’activez cette capacité que lorsque vous pourriez lancer un rituel et seulement si vous avez une carte ou moins en main.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{2}{B}: Regresa el Errante aterrador de tu cementerio al campo de batalla. Activa esta habilidad solo cuando puedas lanzar un conjuro y solo si tienes una carta o menos en tu mano.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{2}{B}: Bringe den Furchteinflößenden Streuner aus deinem Friedhof ins Spiel zurück. Aktiviere diese Fähigkeit nur zu einem Zeitpunkt, zu dem du auch eine Hexerei wirken könntest, und nur, falls du eine oder weniger Karten auf deiner Hand hast.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{2}{B}: Rimetti sul campo di battaglia il Peregrino Terrificante dal tuo cimitero. Attiva questa abilità solo quando potresti lanciare una stregoneria e solo se hai una o meno carte in mano.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{2}{B}:あなたの墓地から戦慄の放浪者を戦場に戻す。この能力は、あなたの手札のカードが1枚以下であり、あなたがソーサリーを唱えられるときにのみ起動できる。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{2}{B}: 당신의 무덤에서 불길한 방랑자를 전장으로 되돌린다. 집중마법을 발동할 수 있는 시기이며 당신의 손에 있는 카드가 한 장 이하일 때만 이 능력을 활성화할 수 있다.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{2}{B}: верните Кошмарного Скитальца из вашего кладбища на поле битвы. Активируйте эту способность только при возможности разыгрывать волшебство, и только если у вас не больше одной карты в руке.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{2}{B}: Devolva Errante Medonho de seu cemitério para o campo de batalha. Ative esta habilidade somente em um momento em que poderia conjurar um feitiço e somente se tiver um card ou menos na mão.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[{2}{B}:将恐怖游尸从你的坟墓场移回战场。只可以于你能施放法术的时机下起动此异能,且于你的手牌为一张或更少时才能起动。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[{2}{B}:將恐怖遊屍從你的墳墓場移回戰場。只可以於你能施放巫術的時機下起動此異能,且於你的手牌為一張或更少時才能起動。]]></LOCALISED_TEXT>
      <COST mana_cost="{U}{U}{G}{G}" type="Mana" />
      <COST type="Exile" definition="0" compartment="1" query_tag="CARD_QUERY_CHOOSE_CARD_TO_EXILE_FROM_A_GRAVEYARD" item_count="5" />
      <COST_DEFINITION id="0">
         local filter = ClearFilter()
         filter:Add( FE_CARD_INSTANCE, OP_NOT, EffectSource() )
         filter:SetZone( ZONE_GRAVEYARD, EffectController() )
      </COST_DEFINITION>
     <COST type="Generic">
         <PREREQUISITE>
                 return true
            </PREREQUISITE>
      <RESOLUTION_TIME_ACTION>
      CW_DC_ObjectDC():Set_Int(0, 2)
      </RESOLUTION_TIME_ACTION>
      </COST>
      <AVAILABILITY sorcery_time="1" />
   </UTILITY_ABILITY>
   

   <HELP title="MORE_INFO_BADGE_TITLE_2" body="MORE_INFO_BADGE_BODY_2" 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" />
   <LEGALITY>
      <FORMAT value="Commander" status="Legal" />
      <FORMAT value="Duel" status="Legal" />
      <FORMAT value="Frontier" status="Legal" />
      <FORMAT value="Legacy" status="Legal" />
      <FORMAT value="Modern" status="Legal" />
      <FORMAT value="Penny" status="Legal" />
      <FORMAT value="Vintage" status="Legal" />
      <FORMAT value="Dragons Of Tarkir" status="Legal" />
      <FORMAT value="Khans Of Tarkir (block)" status="Legal" />
   </LEGALITY>
   <AUTHOR><![CDATA[NivMizzet1]]></AUTHOR>
   <EDITORS><![CDATA[NivMizzet1, fallenangle]]></EDITORS>
   <DATE><![CDATA[18-07-20, 22-07-20]]></DATE>

</CARD_V2>
@newtomagic: I didn't realize that SetUnique would cause those problems! My apologies. Try this:

Code: Select all
            <RESOLUTION_TIME_ACTION>
            local filter = ClearFilter()
            filter:SetZone(ZONE_GRAVEYARD, EffectController())
            CW_Filter_AddPermanents(filter)
            local QueryDC = EffectDC():Make_Chest(1)
            local QueryDCCount = 0
            local Count = filter:EvaluateObjects()
            for i=0,Count-1 do
               local Card = filter:GetNthEvaluatedObject(i)
               if Card ~= nil then
                  local IsNotInQueryDC = true
                  for j=0,QueryDCCount-1 do
                     local ChestCard = QueryDC:Get_CardPtr(j)
                     if ChestCard ~= nil and ChestCard:GetCardName() == Card:GetCardName() then
                        IsNotInQueryDC = false
                        break
                     end
                  end
                  if IsNotInQueryDC then
                     QueryDC:Set_CardPtr(QueryDCCount, Card)
                     QueryDCCount = QueryDCCount + 1
                  end
               end
            end
            effectController:SetItemCount(QueryDCCount)
            for i=0,QueryDCCount-1 do
               effectController:SetItemPrompt(i, "CARD_QUERY_CHOOSE_CARD_TO_RETURN" )
            end
            effectController:ChooseItemsFromDC(QueryDC, EffectDC():Make_Targets(2), QUERY_FLAG_UP_TO )
         end
         </RESOLUTION_TIME_ACTION>
         <RESOLUTION_TIME_ACTION>
         local targetDC = EffectDC():Get_Targets(2)
         if targetDC ~= nil then
            local max_cards = targetDC:Count()
            local targets = max_cards-1
            for i=0,targets do
               targetDC:Get_CardPtr(targets-i):PutOntoBattlefield(EffectController())
            end
         end
      </RESOLUTION_TIME_ACTION>
To answer your question, you don't need a target tag because you're making targets from a chest.

@nivmizzet1: I'll look at those other cards now and see if I can't propose something.
fallenangle
 
Posts: 319
Joined: 20 Jul 2013, 02:31
Has thanked: 73 times
Been thanked: 38 times

Re: Community Wad

Postby fallenangle » 22 Jul 2020, 14:27

@nivmizzet1 and @Riiak Shi Nal:

For the Menace and Deathtouch counters, can't you just use static abilities to grant the creature those abilities if it has a counter of the appropriate type? You wouldn't need new counters added or a manager token if you did it this way. Or am I completely off-base here?
fallenangle
 
Posts: 319
Joined: 20 Jul 2013, 02:31
Has thanked: 73 times
Been thanked: 38 times

Re: Community Wad

Postby newtomagic » 23 Jul 2020, 04:18

@fallenangel

The Code is not working..it just go straight to graveyard..and when i add a filter block it only checks for land card
Code: Select all
      <FILTER filter_id="0">
                 local effectController = EffectController()
           if effectController ~= nil then   
         local filter = ClearFilter()
                  filter:Add(FE_CONTROLLER, OP_IS, effectController )
         filter:SetZone( ZONE_GRAVEYARD, EffectController() )
         CW_Filter_AddPermanents(filter)
         end
      </FILTER>
      <RESOLUTION_TIME_ACTION>
                     local QueryDC = EffectDC():Make_Chest(1)
                     local QueryDCCount = 0
                    local Count = filter:EvaluateObjects()
                        for i=0,Count-1 do
                              local Card = filter:GetNthEvaluatedObject(i)
                              if Card ~= nil then
                              local IsNotInQueryDC = true
                              for j=0,QueryDCCount-1 do
                                    local ChestCard = QueryDC:Get_CardPtr(j)
                                    if ChestCard ~= nil and ChestCard:GetCardName() == Card:GetCardName() then
                                    IsNotInQueryDC = false
                                    break
                                    end
                               end
                              if IsNotInQueryDC then
                                    QueryDC:Set_CardPtr(QueryDCCount, Card)
                                    QueryDCCount = QueryDCCount + 1
                              end
                              
                     end
                        effectController:SetItemCount(QueryDCCount)
                           for i=0,QueryDCCount-1 do
                              effectController:SetItemPrompt(i, "CARD_QUERY_CHOOSE_CARD_TO_RETURN" )
                     end
                        effectController:ChooseItemsFromDC(QueryDC, EffectDC():Make_Targets(2), QUERY_FLAG_UP_TO )
                  end
         
         </RESOLUTION_TIME_ACTION>
         <RESOLUTION_TIME_ACTION>
         local targetDC = EffectDC():Get_Targets(2)
         if targetDC ~= nil then
            local max_cards = targetDC:Count()
            local targets = max_cards-1
            for i=0,targets do
               targetDC:Get_CardPtr(targets-i):PutOntoBattlefield(EffectController())
            end
         end
      </RESOLUTION_TIME_ACTION>
newtomagic
 
Posts: 26
Joined: 10 Jul 2020, 06:56
Has thanked: 8 times
Been thanked: 1 time

Re: Community Wad

Postby nivmizzet1 » 23 Jul 2020, 09:05

fallenangle wrote:@nivmizzet1: This should fix Uro, although I haven't tested him, yet:

Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
   <FILENAME text="URO_TITAN_OF_NATURES_WRATH_CW" />
   <CARDNAME text="URO_TITAN_OF_NATURES_WRATH" />
   <TITLE>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Uro, Titan of Nature's Wrath]]></LOCALISED_TEXT>
   </TITLE>
   <MULTIVERSEID value="476480" />
   <ARTID value="URO_TITAN_OF_NATURES_WRATH" />
   <ARTIST name="Vincent Proce" />
   <CASTING_COST cost="{1}{U}{G}" />
   <SUPERTYPE metaname="Legendary" />
   <TYPE metaname="Creature" />
   <SUB_TYPE metaname="Elder" />
   <SUB_TYPE metaname="Giant" />
   <EXPANSION value="TBD" />
   <RARITY metaname="M" />
   <POWER value="6" />
   <TOUGHNESS value="6" />
   
   <TRIGGERED_ABILITY replacement_effect="1" active_zone="ZONE_ANY"> -- Permanently protect ObjectDC
      <TRIGGER value="ZONECHANGE_CONSIDERED" pre_trigger="1" simple_qualifier="self" />
      <RESOLUTION_TIME_ACTION>
         RSN_ProtectObjectDC()
      </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>
   
   <TRIGGERED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>

      <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" from_zone="ZONE_ANY">
     if CW_DC_ObjectDC():Get_Int(0) ~= 2 then
     CW_DC_ObjectDC():Set_Int(0, 1)
     end
     </TRIGGER>
    
      <RESOLUTION_TIME_ACTION>
         if CW_DC_ObjectDC():Get_Int(0) == 1 then
            EffectController():Sacrifice(EffectSource())
         end
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
     CW_DC_ObjectDC():Set_Int(0, 0)
     </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>

   <TRIGGERED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever Uro enters the battlefield or attacks, you gain 3 life and draw a card, then you may put a land card from your hand onto the battlefield.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois que la Primordiale d’Arashin arrive sur le champ de bataille ou qu’elle attaque, une autre créature Guerrier ciblée que vous contrôlez acquiert la double initiative jusqu’à la fin du tour.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que Arashin, la líder entre al campo de batalla o ataque, otra criatura objetivo Guerrero que controlas gana la habilidad de dañar dos veces hasta el final del turno.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn die Arashin-Vorderste ins Spiel kommt oder angreift, erhält eine andere Krieger-Kreatur deiner Wahl, die du kontrollierst, Doppelschlag bis zum Ende des Zuges.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta la Preminente di Arashin entra nel campo di battaglia o attacca, un’altra creatura Guerriero bersaglio che controlli ha doppio attacco fino alla fine del turno.]]></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[Toda vez que Principal de Arashin entra no campo de batalha ou ataca, outra criatura alvo do tipo Guerreiro que você controla ganha golpe duplo até o final do turno.]]></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" from_zone="ZONE_ANY" />
      <TRIGGER value="ATTACKING" simple_qualifier="self" />

      <RESOLUTION_TIME_ACTION>
         local effectController = EffectController()
         if effectController ~= nil then
            effectController:DrawCards(1)
         end
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local filter = ClearFilter()
         filter:SetZone(ZONE_HAND, EffectController())
         filter:Add(FE_TYPE, OP_IS, CARD_TYPE_LAND)
         EffectController():ChooseItem( "CARD_QUERY_CHOOSE_LAND_TO_PUT_ONTO_THE_BATTLEFIELD", EffectDC():Make_Targets(1), QUERY_FLAG_MAY )
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local Target = EffectDC():Get_Targets(1):Get_CardPtr(0)
         if Target ~= nil then
            Target:PutOntoBattlefield( EffectController() )
         end
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         EffectController():GainLife(3)
      </RESOLUTION_TIME_ACTION>
     
   </TRIGGERED_ABILITY>

      <UTILITY_ABILITY qualifier="Alternate" active_zone="ZONE_GRAVEYARD">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Escape—{G}{G}{U}{U}, Exile five other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.)]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{2}{B}: Renvoyez le Vagabond effroyable sur le champ de bataille depuis votre cimetière. N’activez cette capacité que lorsque vous pourriez lancer un rituel et seulement si vous avez une carte ou moins en main.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{2}{B}: Regresa el Errante aterrador de tu cementerio al campo de batalla. Activa esta habilidad solo cuando puedas lanzar un conjuro y solo si tienes una carta o menos en tu mano.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{2}{B}: Bringe den Furchteinflößenden Streuner aus deinem Friedhof ins Spiel zurück. Aktiviere diese Fähigkeit nur zu einem Zeitpunkt, zu dem du auch eine Hexerei wirken könntest, und nur, falls du eine oder weniger Karten auf deiner Hand hast.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{2}{B}: Rimetti sul campo di battaglia il Peregrino Terrificante dal tuo cimitero. Attiva questa abilità solo quando potresti lanciare una stregoneria e solo se hai una o meno carte in mano.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{2}{B}:あなたの墓地から戦慄の放浪者を戦場に戻す。この能力は、あなたの手札のカードが1枚以下であり、あなたがソーサリーを唱えられるときにのみ起動できる。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{2}{B}: 당신의 무덤에서 불길한 방랑자를 전장으로 되돌린다. 집중마법을 발동할 수 있는 시기이며 당신의 손에 있는 카드가 한 장 이하일 때만 이 능력을 활성화할 수 있다.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{2}{B}: верните Кошмарного Скитальца из вашего кладбища на поле битвы. Активируйте эту способность только при возможности разыгрывать волшебство, и только если у вас не больше одной карты в руке.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{2}{B}: Devolva Errante Medonho de seu cemitério para o campo de batalha. Ative esta habilidade somente em um momento em que poderia conjurar um feitiço e somente se tiver um card ou menos na mão.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[{2}{B}:将恐怖游尸从你的坟墓场移回战场。只可以于你能施放法术的时机下起动此异能,且于你的手牌为一张或更少时才能起动。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[{2}{B}:將恐怖遊屍從你的墳墓場移回戰場。只可以於你能施放巫術的時機下起動此異能,且於你的手牌為一張或更少時才能起動。]]></LOCALISED_TEXT>
      <COST mana_cost="{U}{U}{G}{G}" type="Mana" />
      <COST type="Exile" definition="0" compartment="1" query_tag="CARD_QUERY_CHOOSE_CARD_TO_EXILE_FROM_A_GRAVEYARD" item_count="5" />
      <COST_DEFINITION id="0">
         local filter = ClearFilter()
         filter:Add( FE_CARD_INSTANCE, OP_NOT, EffectSource() )
         filter:SetZone( ZONE_GRAVEYARD, EffectController() )
      </COST_DEFINITION>
     <COST type="Generic">
         <PREREQUISITE>
                 return true
            </PREREQUISITE>
      <RESOLUTION_TIME_ACTION>
      CW_DC_ObjectDC():Set_Int(0, 2)
      </RESOLUTION_TIME_ACTION>
      </COST>
      <AVAILABILITY sorcery_time="1" />
   </UTILITY_ABILITY>
   

   <HELP title="MORE_INFO_BADGE_TITLE_2" body="MORE_INFO_BADGE_BODY_2" 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" />
   <LEGALITY>
      <FORMAT value="Commander" status="Legal" />
      <FORMAT value="Duel" status="Legal" />
      <FORMAT value="Frontier" status="Legal" />
      <FORMAT value="Legacy" status="Legal" />
      <FORMAT value="Modern" status="Legal" />
      <FORMAT value="Penny" status="Legal" />
      <FORMAT value="Vintage" status="Legal" />
      <FORMAT value="Dragons Of Tarkir" status="Legal" />
      <FORMAT value="Khans Of Tarkir (block)" status="Legal" />
   </LEGALITY>
   <AUTHOR><![CDATA[NivMizzet1]]></AUTHOR>
   <EDITORS><![CDATA[NivMizzet1, fallenangle]]></EDITORS>
   <DATE><![CDATA[18-07-20, 22-07-20]]></DATE>

</CARD_V2>
Still not sacrificing :(


EDIT:

I removed all the set integer RTAs in the ETB triggered ability and Uro is at least sac'ing when he enters the battlefield when casting from hand. However, (1) for some reason I can choose to pay the alternate cost when Uro is in my hand (this may only be when another Uro is in the graveyard -- if that's the case then surely there's an easy fix for that, some sort of filter or something?), and (2) I haven't tested whether he sac's after being returned to the battlefield from the graveyard by alternative means. I'll try to test this tonight and get back to you.

Code: Select all
<?xml version="1.0"?>
<CARD_V2 ExportVersion="1">
   <FILENAME text="URO_TITAN_OF_NATURES_WRATH_CW" />
   <CARDNAME text="URO_TITAN_OF_NATURES_WRATH" />
   <TITLE>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Uro, Titan of Nature’s Wrath]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Ouro, titan de la Rage de la nature]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Uro, titán de la ira de la naturaleza]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Uro, Titan des Zorns der Natur]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Uyro, Titano dell’Ira della Natura]]></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[Uro, Titã da Ira da Natureza]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[天怒泰坦乌洛]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[天怒泰坦烏洛]]></LOCALISED_TEXT>
   </TITLE>
   <MULTIVERSEID value="476480" />
   <ARTID value="URO_TITAN_OF_NATURES_WRATH" />
   <ARTIST name="Vincent Proce" />
   <CASTING_COST cost="{1}{G}{U}" />
   <SUPERTYPE metaname="Legendary" />
   <TYPE metaname="Creature" />
   <SUB_TYPE metaname="Elder" />
   <SUB_TYPE metaname="Giant" />
   <EXPANSION value="THB" />
   <RARITY metaname="M" />
   <POWER value="6" />
   <TOUGHNESS value="6" />

   <TRIGGERED_ABILITY replacement_effect="1" active_zone="ZONE_ANY"> -- Permanently protect ObjectDC
      <TRIGGER value="ZONECHANGE_CONSIDERED" pre_trigger="1" simple_qualifier="self" />
      <RESOLUTION_TIME_ACTION>
         RSN_ProtectObjectDC()
      </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>

    <TRIGGERED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Uro enters the battlefield, sacrifice it unless it escaped.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Quand Ouro arrive sur le champ de bataille, sacrifiez-le à moins qu’il ne se soit échappé.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cuando Uro entre al campo de batalla, sacrifícalo a menos que escapara.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Wenn Uro ins Spiel kommt, opfere ihn, es sei denn, er hat sich befreit.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando Uyro entra nel campo di battaglia, sacrificalo a meno che non sia fuggito.]]></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 Uro entrar no campo de batalha, sacrifique-o, a menos que ele tenha escapado.]]></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" from_zone="ZONE_ANY" />
   
      <RESOLUTION_TIME_ACTION>
         if CW_DC_ObjectDC():Get_Int(0) ~= 2 then
            EffectController():Sacrifice(EffectSource())
         end
      </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>
   
    <TRIGGERED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever Uro enters the battlefield or attacks, you gain 3 life and draw a card, then you may put a land card from your hand onto the battlefield.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois qu’Ouro arrive sur le champ de bataille ou attaque, vous gagnez 3 points de vie et vous piochez une carte, puis vous pouvez mettre sur le champ de bataille une carte de terrain de votre main.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que Uro entre al campo de batalla o ataque, ganas 3 vidas y robas una carta. Luego, puedes poner en el campo de batalla una carta de tierra de tu mano.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn Uro ins Spiel kommt oder angreift, erhältst du 3 Lebenspunkte dazu und ziehst eine Karte. Dann kannst du eine Länderkarte aus deiner Hand ins Spiel bringen.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta Uyro entra nel campo di battaglia o attacca, guadagni 3 punti vita e peschi una carta, poi puoi mettere sul campo di battaglia una carta terra dalla tua mano.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[自然の怒りのタイタン、ウーロが戦場に出るか攻撃するたび、あなたは3点のライフを得てカードを1枚引く。その後、あなたはあなたの手札から土地・カード1枚を戦場に出してもよい。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[우로가 전장에 들어오거나 공격할 때마다, 당신은 생명 3점을 얻고 카드 한 장을 뽑은 후, 당신은 당신의 손에서 대지 카드 한 장을 전장에 놓을 수 있다.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Каждый раз, когда Уро выходит на поле битвы или атакует, вы получаете 3 жизни и берете карту, затем вы можете положить карту земли из вашей руки на поле битвы.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Toda vez que Uro entra no campo de batalha ou ataca, você ganha 3 pontos de vida e compra um card. Em seguida, você pode colocar um card de terreno de sua mão no campo de batalha.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[每当乌洛进战场或攻击时,你获得3点生命且抓一张牌,然后你可以将一张地牌从你手上放进战场。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[每當烏洛進戰場或攻擊時,你獲得3點生命且抽一張牌,然後你可以將一張地牌從你手上放進戰場。]]></LOCALISED_TEXT>

      <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" from_zone="ZONE_ANY" />
      <TRIGGER value="ATTACKING" simple_qualifier="self" />

      <RESOLUTION_TIME_ACTION>
         local effectController = EffectController()
         if effectController ~= nil then
            effectController:DrawCards(1)
         end
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local filter = ClearFilter()
         filter:SetZone(ZONE_HAND, EffectController())
         filter:Add(FE_TYPE, OP_IS, CARD_TYPE_LAND)
         EffectController():ChooseItem( "CARD_QUERY_CHOOSE_LAND_TO_PUT_ONTO_THE_BATTLEFIELD", EffectDC():Make_Targets(1), QUERY_FLAG_MAY )
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local Target = EffectDC():Get_Targets(1):Get_CardPtr(0)
         if Target ~= nil then
            Target:PutOntoBattlefield( EffectController() )
         end
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         EffectController():GainLife(3)
      </RESOLUTION_TIME_ACTION>
     
   </TRIGGERED_ABILITY>
   
      <UTILITY_ABILITY qualifier="Alternate" active_zone="ZONE_GRAVEYARD">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Escape—{G}{G}{U}{U}, Exile five other cards from your graveyard.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Échappée — {G}{G}{U}{U}, exilez cinq autres cartes de votre cimetière. &lt;i&gt;]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Escapatoria—{G}{G}{U}{U}, exiliar otras cinco cartas de tu cementerio. &lt;i&gt;]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Befreiung — {G}{G}{U}{U}, schicke fünf andere Karten aus deinem Friedhof ins Exil. &lt;i&gt;]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Fuga—{G}{G}{U}{U}, Esilia altre cinque carte dal tuo cimitero. &lt;i&gt;]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[脱出―{G}{G}{U}{U}, あなたの墓地から他のカード5枚を追放する。&lt;i&gt;]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[탈출—{G}{G}{U}{U}, 당신의 무덤에서 다른 카드 다섯 장을 추방한다. &lt;i&gt;]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Побег — {G}{G}{U}{U}, изгоните пять других карт из вашего кладбища. &lt;i&gt;]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Escapatória — {G}{G}{U}{U}, exile cinco outros cards de seu cemitério. &lt;i&gt;]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[逸脱~{G}{G}{U}{U},从你的坟墓场放逐五张其他牌。&lt;i&gt;]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[逸脫~{G}{G}{U}{U},從你的墳墓場放逐五張其他牌。&lt;i&gt;]]></LOCALISED_TEXT>
      <COST mana_cost="{U}{U}{G}{G}" type="Mana" />
      <COST type="Exile" definition="0" compartment="1" query_tag="CARD_QUERY_CHOOSE_CARD_TO_EXILE_FROM_A_GRAVEYARD" item_count="5" />
      <COST_DEFINITION id="0">
         local filter = ClearFilter()
         filter:Add( FE_CARD_INSTANCE, OP_NOT, EffectSource() )
         filter:SetZone( ZONE_GRAVEYARD, EffectController() )
      </COST_DEFINITION>
     <COST type="Generic">
         <PREREQUISITE>
                 return true
            </PREREQUISITE>
      <RESOLUTION_TIME_ACTION>
      CW_DC_ObjectDC():Set_Int(0, 2)
      </RESOLUTION_TIME_ACTION>
      </COST>
      <AVAILABILITY sorcery_time="1" />
   </UTILITY_ABILITY>
   

   <HELP title="MORE_INFO_BADGE_TITLE_2" body="MORE_INFO_BADGE_BODY_2" 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" />
   <LEGALITY>
      <FORMAT value="Commander" status="Legal" />
      <FORMAT value="Duel" status="Legal" />
      <FORMAT value="Frontier" status="Legal" />
      <FORMAT value="Legacy" status="Legal" />
      <FORMAT value="Modern" status="Legal" />
      <FORMAT value="Penny" status="Legal" />
      <FORMAT value="Vintage" status="Legal" />
      <FORMAT value="Dragons Of Tarkir" status="Legal" />
      <FORMAT value="Khans Of Tarkir (block)" status="Legal" />
   </LEGALITY>
   <AUTHOR><![CDATA[NivMizzet1]]></AUTHOR>
   <EDITORS><![CDATA[NivMizzet1, fallenangle]]></EDITORS>
   <DATE><![CDATA[18-07-20, 22-07-20]]></DATE>
</CARD_V2>
EDIT: YES!! It's working!!
Last edited by nivmizzet1 on 23 Jul 2020, 13:39, edited 3 times in total.
nivmizzet1
 
Posts: 613
Joined: 21 Mar 2013, 10:10
Has thanked: 100 times
Been thanked: 23 times

Re: Community Wad

Postby RiiakShiNal » 23 Jul 2020, 10:40

fallenangle wrote:For the Menace and Deathtouch counters, can't you just use static abilities to grant the creature those abilities if it has a counter of the appropriate type? You wouldn't need new counters added or a manager token if you did it this way. Or am I completely off-base here?
You would really want a manager to do it correctly (though the necessary abilities could be added to an existing manager if you don't want to create a new one) as it makes managing all the different cases easier. If you try to use static abilities on the card that granted the counters then if the card that granted those goes to the graveyard, gets exiled, or gets shuffled back into the library the static abilities stop applying (unless you have additional static abilities that work in the appropriate zone) another thing to consider is if somehow the granting card changes controllers (this will cause issues if the abilities are not coded right). Also if things aren't coded right then if the counters are transferred to a different creature later by some other effect then the effects of the counters won't necessarily transfer to the new creature (and stop affecting the old one).
RiiakShiNal
Programmer
 
Posts: 2160
Joined: 16 May 2011, 21:37
Has thanked: 74 times
Been thanked: 481 times

Re: Community Wad

Postby fallenangle » 23 Jul 2020, 14:07

@NivMizzet1: Did you manage to fix all of the issues with Uro, or just the sacrificing one?
fallenangle
 
Posts: 319
Joined: 20 Jul 2013, 02:31
Has thanked: 73 times
Been thanked: 38 times

Re: Community Wad

Postby nivmizzet1 » 23 Jul 2020, 14:22

fallenangle wrote:@NivMizzet1: Did you manage to fix all of the issues with Uro, or just the sacrificing one?
I think it's working 100% now. But that doesn't make sense...I don't think I changed anything since it was letting me pay the alternate cost from my hand. But I didn't notice the ability to do that in my further testing -- but I also forgot to investigate that specifically.
nivmizzet1
 
Posts: 613
Joined: 21 Mar 2013, 10:10
Has thanked: 100 times
Been thanked: 23 times

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 11 guests


Who is online

In total there are 11 users online :: 0 registered, 0 hidden and 11 guests (based on users active over the past 10 minutes)
Most users ever online was 1371 on 09 Feb 2020, 16:22

Users browsing this forum: No registered users and 11 guests

Login Form