It is currently 08 May 2021, 20:19
   
Text Size

Community Wad

Moderators: Xander9009, CCGHQ Admins

Re: Community Wad

Postby fallenangle » 23 Jul 2020, 15:08

@nivmizzet1: I just tested this for Uro, with one in my graveyard and the other in my hand, and only the graveyard one could escape (I could cast the other). This should be 100% working now:

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
     return true
     else
     return false
     end
     </TRIGGER>
    
      <RESOLUTION_TIME_ACTION>
      EffectController():Sacrifice(EffectSource())
      </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>
   
 <TRIGGERED_ABILITY replacement_effect="1">
 <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_ANY" from_zone="ZONE_BATTLEFIELD"/>
 <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, 23-07-20]]></DATE>

</CARD_V2>
His ETB Trigger just needs to check in the trigger block if he escaped. Then, only if he goes somewhere from the battlefield do we need to reset that value.

@newtomagic: The code I suggested was fizzling because I didn't see lines that checked for a target from the code I was borrowing. After removing them, the card worked just fine. Here you go; no need to add anything:

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<CARD_V2 ExportVersion="1">
   <FILENAME text="EERIE_ULTIMATUM_CW" />
   <CARDNAME text="EERIE_ULTIMATUM" />
   <TITLE>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Eerie Ultimatum]]></LOCALISED_TEXT>
      </TITLE>
   <MULTIVERSEID value="480481" />
   <ARTID value="EERIE_ULTIMATUM" />
   <ARTIST name="Jason A. Engle" />
   <CASTING_COST cost="{W}{W}{B}{B}{B}{G}{G}" />
   <FLAVOURTEXT>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA["The ground under our feet is a record of every slight against the world, to be avenged at a time of its choosing." --Gavi, nest warden]]></LOCALISED_TEXT>
      </FLAVOURTEXT>
   <TYPE metaname="Sorcery" />
   <EXPANSION value="IKO" />
   <RARITY metaname="R" />
   <SPELL_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Return any number of permanent cards with different names from your graveyard to the battlefield.]]></LOCALISED_TEXT>
      <RESOLUTION_TIME_ACTION>
         local effectController = EffectController()
            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_GIFTS" )
            end
            effectController:ChooseItemsFromDC(QueryDC, EffectDC():Make_Targets(2), QUERY_FLAG_UP_TO )
      </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()
         end
         end
      </RESOLUTION_TIME_ACTION>
     </SPELL_ABILITY>
     <AUTHOR><![CDATA[fallenangle]]></AUTHOR>
   <EDITORS><![CDATA[fallenangle]]></EDITORS>
   <DATE><![CDATA[23-07-20]]></DATE>

</CARD_V2>
fallenangle
 
Posts: 319
Joined: 20 Jul 2013, 02:31
Has thanked: 73 times
Been thanked: 38 times

Re: Community Wad

Postby newtomagic » 24 Jul 2020, 06:12

@newtomagic: The code I suggested was fizzling because I didn't see lines that checked for a target from the code I was borrowing. After removing them, the card worked just fine. Here you go; no need to add anything:
thanks a lot..the card is working..sometimes it crash the game if its takes too long to finish but its workable..im reading the code and reading about the chest in the tutorial and is still confusing...but i hope ill get it eventually...thanks again...
newtomagic
 
Posts: 26
Joined: 10 Jul 2020, 06:56
Has thanked: 8 times
Been thanked: 1 time

Re: Community Wad

Postby nivmizzet1 » 24 Jul 2020, 10:40

fallenangle wrote:@nivmizzet1: I just tested this for Uro, with one in my graveyard and the other in my hand, and only the graveyard one could escape (I could cast the other). This should be 100% working now:

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
     return true
     else
     return false
     end
     </TRIGGER>
    
      <RESOLUTION_TIME_ACTION>
      EffectController():Sacrifice(EffectSource())
      </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>
   
 <TRIGGERED_ABILITY replacement_effect="1">
 <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_ANY" from_zone="ZONE_BATTLEFIELD"/>
 <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, 23-07-20]]></DATE>

</CARD_V2>
His ETB Trigger just needs to check in the trigger block if he escaped. Then, only if he goes somewhere from the battlefield do we need to reset that value.
The problem is though that when you cast the one in your hand it gives an option to pay the escape cost, allowing you to escape it from your hand.

EDIT: FYI it doesn't matter if there's an Uro in the graveyard, only whether the cost is available (i.e. 5 other cards in the graveyard)
nivmizzet1
 
Posts: 613
Joined: 21 Mar 2013, 10:10
Has thanked: 100 times
Been thanked: 23 times

Re: Community Wad

Postby nivmizzet1 » 24 Jul 2020, 12:05

Code: Select all
[lua] [string "NISSA_WHO_SHAKES_THE_WORLD_CW_TITLE (RESOLUTION_TIME_ACTION)~0x00000910"]:3:
 parameter mismatch or too few parameters [expected bzS32]
nivmizzet1
 
Posts: 613
Joined: 21 Mar 2013, 10:10
Has thanked: 100 times
Been thanked: 23 times

Re: Community Wad

Postby fallenangle » 24 Jul 2020, 16:20

@nivmizzet1: Weird. I can't replicate the error you mentioned using the second version of Uro I posted. It works just fine for me.
fallenangle
 
Posts: 319
Joined: 20 Jul 2013, 02:31
Has thanked: 73 times
Been thanked: 38 times

Re: Community Wad

Postby nivmizzet1 » 24 Jul 2020, 17:05

fallenangle wrote:@nivmizzet1: Weird. I can't replicate the error you mentioned using the second version of Uro I posted. It works just fine for me.
Are you sure? You need to have the mana open ({G}{G}{U}{U}) and at least 5 cards in the graveyard. When you cast the card from your hand, you're then given the choice to pay the alternate cost (it gives a choice between the standard cost and alternate, with the alternate being denoted by square brackets). I just tested again (in case I'd added the wrong version of the card), but it's still doing this.


EDIT: maybe there's something wrong with my game...maybe utility abilities. I'm playing with Village Rites right now, which I made by copying the code directly from Altar's Reap, which has always worked. The code looks fine (as it should), but for some reason it's allowing me to cast it without sac'ing a creature...

EDIT: yes, there was clearly something wrong. I think I had some files in the game directory that I forgot about that shouldn't have been there. I'm not sure if it's fixed the problem I was having with Uro yet and it hasn't fixed the problem with Village Rites, but it seems to have fixed the problem with Kroxa. I will do more testing and report back.

EDIT: I just noticed that Village Rites didn't have the "Additional" qualifier. Fixed.
Last edited by nivmizzet1 on 25 Jul 2020, 03:48, 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 nivmizzet1 » 25 Jul 2020, 03:18

Umm, can someone link me to where I can get Witch's Oven and Cauldron Familiar? They were in the version of the Community WAD I had -- I don't think I made them. But I just did a repack of the CW and now those cards are missing...
nivmizzet1
 
Posts: 613
Joined: 21 Mar 2013, 10:10
Has thanked: 100 times
Been thanked: 23 times

Re: Community Wad

Postby newtomagic » 25 Jul 2020, 03:33

I Have This Card Working..Its just missing black filter in the upper Ability..i tried filter block but its not working..also getcolour() ..
Ayara, First of Locthwain
Code: Select all
<TRIGGERED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever Ayara, First of Locthwain or another black creature enters the battlefield under your control, each opponent loses 1 life and you gain 1 life.]]></LOCALISED_TEXT>
      
      <TRIGGER value="ZONECHANGE_END" simple_qualifier="objectyoucontrol" to_zone="ZONE_BATTLEFIELD">
         return TriggerObject() == EffectSource() or TriggerObject():GetCardType():Test(CARD_TYPE_CREATURE)
      </TRIGGER>
      
      <RESOLUTION_TIME_ACTION repeating="1">
         local n = MTG():GetActionRepCount()
         local parity = n % 2
         local index = n/2
         local number = MTG():GetNumberOfPlayers()
         if index &lt; number then
            local player = MTG():GetNthPlayer(index)
            if player ~= nil then
               if parity == 0 then
                  if player:GetTeam() ~= EffectController():GetTeam() then
                     player:LoseLife( 1 )
                  end
               else
                  local jugador = MTG():GetNthPlayer(index-(0.5))
                  if jugador:GetTeam() ~= EffectController():GetTeam() then
                     EffectController():GainLife( 1 )
                  end
               end
            end
            return true
         end
      </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>
I tried making this using Double Season and copy spells but i think the logic is Different..is there a card same as this??? Panharmonicon
newtomagic
 
Posts: 26
Joined: 10 Jul 2020, 06:56
Has thanked: 8 times
Been thanked: 1 time

Re: Community Wad

Postby newtomagic » 25 Jul 2020, 06:09

nivmizzet1 wrote:Umm, can someone link me to where I can get Witch's Oven and Cauldron Familiar? They were in the version of the Community WAD I had -- I don't think I made them. But I just did a repack of the CW and now those cards are missing...
I dont know how to upload so ill just post the code..hope this helps..
Code: Select all
<?xml version="1.0"?>
<CARD_V2 ExportVersion="1">
   <FILENAME text="CAULDRON_FAMILIAR_CW" />
   <CARDNAME text="CAULDRON_FAMILIAR" />
   <TITLE>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Cauldron Familiar]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Familier de chaudron]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Familiar del Caldero]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Vertraute des Kessels]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Famiglio del Calderone]]></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[Familiar do Caldeirão]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[鼎镬佣兽]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[鼎鑊傭獸]]></LOCALISED_TEXT>
   </TITLE>
   <MULTIVERSEID value="473043" />
   <ARTID value="CAULDRON_FAMILIAR" />
   <ARTIST name="Milivoj Ćeran" />
   <CASTING_COST cost="{B}" />
   <FLAVOURTEXT>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Every day the cat returns to kill the same mouse, which sinks again into the cauldron’s brew.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Chaque jour, le chat revient tuer la même souris, qui sombre à nouveau dans la mixture du chaudron.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cada día, el gato regresa para matar al mismo ratón, que se ahoga de nuevo en el brebaje del Caldero.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Jeden Tag kehrt die Katze zurück, um dieselbe Maus zu töten, die erneut im Gebräu des Kessels versinkt.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogni giorno il gatto ritorna per uccidere lo stesso topo, che affonda di nuovo nell’intruglio del calderone.]]></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[Todo dia o gato volta para matar o mesmo rato, que, então, volta a afundar no caldeirão.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[这只猫每天都会回来杀掉同一只老鼠,而老鼠每次都会掉入沸腾的鼎镬当中。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[這隻貓每天都會回來殺掉同一隻老鼠,而老鼠每次都會掉入沸騰的鼎鑊當中。]]></LOCALISED_TEXT>
   </FLAVOURTEXT>
   <TYPE metaname="Creature" />
   <SUB_TYPE metaname="Cat" />
   <EXPANSION value="ELD" />
   <RARITY metaname="U" />
   <POWER value="1" />
   <TOUGHNESS value="1" />
   <TRIGGERED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Cauldron Familiar enters the battlefield, each opponent loses 1 life and you gain 1 life.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Quand le Familier de chaudron arrive sur le champ de bataille, chaque adversaire perd 1 point de vie et vous gagnez 1 point de vie.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cuando el Familiar del Caldero entre al campo de batalla, cada oponente pierde 1 vida y tú ganas 1 vida.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Wenn die Vertraute des Kessels ins Spiel kommt, verliert jeder Gegner 1 Lebenspunkt und du erhältst 1 Lebenspunkt dazu.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando il Famiglio del Calderone entra nel campo di battaglia, ogni avversario perde 1 punto vita e tu guadagni 1 punto vita.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[大釜の使い魔が戦場に出たとき、各対戦相手はそれぞれ1点のライフを失い、あなたは1点のライフを得る。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[가마솥 소환수가 전장에 들어올 때, 각 상대는 생명 1점을 잃고 당신은 생명 1점을 얻는다.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Когда Питомец Котла выходит на поле битвы, каждый оппонент теряет 1 жизнь, а вы получаете 1 жизнь.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Quando Familiar do Caldeirão entra no campo de batalha, cada oponente perde 1 ponto de vida e você ganha 1 ponto de vida.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[当鼎镬佣兽进战场时,每位对手各失去1点生命且你获得1点生命。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[當鼎鑊傭獸進戰場時,每位對手各失去1點生命且你獲得1點生命。]]></LOCALISED_TEXT>
      <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
      <RESOLUTION_TIME_ACTION>
         local effectController = EffectController()
         local number = MTG():GetNumberOfPlayers()
         for i = 0, (number-1) do
            local player = MTG():GetNthPlayer(i)
            if player:GetTeam() ~= effectController:GetTeam() then
               player:LoseLife( 1 )
            end
         end
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         EffectController():GainLife( 1 )
      </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>
   <ACTIVATED_ABILITY active_zone="ZONE_GRAVEYARD">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Sacrifice a Food: Return Cauldron Familiar from your graveyard to the battlefield.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Sacrifiez une nourriture : Renvoyez sur le champ de bataille le Familier de chaudron depuis votre cimetière.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Sacrificar una Comida: Regresa el Familiar del Caldero de tu cementerio al campo de batalla.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Opfere eine Speise: Bringe die Vertraute des Kessels aus deinem Friedhof ins Spiel zurück.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Sacrifica un Cibo: Rimetti sul campo di battaglia il Famiglio del Calderone dal tuo cimitero.]]></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[Sacrifique uma Comida: Devolva Familiar do Caldeirão de seu cemitério para o campo de batalha.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[牺牲一个食品:将鼎镬佣兽从你的坟墓场移回战场。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[犧牲一個食品:將鼎鑊傭獸從你的墳墓場移回戰場。]]></LOCALISED_TEXT>
      <COST type="Sacrifice" definition="0" compartment="1" query_tag="CARD_QUERY_CHOOSE_FOOD_TO_SACRIFICE" item_count="1" />
      <COST_DEFINITION id="0">
         local filter = ClearFilter()
         filter:Add( FE_SUBTYPE, OP_IS, ARTIFACT_TYPE_FOOD )
      </COST_DEFINITION>
      <RESOLUTION_TIME_ACTION>
         local effectSource = EffectSource()
         if  effectSource ~= nil then
            effectSource:PutOntoBattlefield( EffectController() )
         end
      </RESOLUTION_TIME_ACTION>
   </ACTIVATED_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" />
   <AUTHOR><![CDATA[Zambooo]]></AUTHOR>
   <EDITORS><![CDATA[Zambooo]]></EDITORS>
   <DATE><![CDATA[10-03-20]]></DATE>
</CARD_V2>
oven
Code: Select all
<?xml version="1.0"?>
<CARD_V2 ExportVersion="1">
   <FILENAME text="WITCHS_OVEN_CW" />
   <CARDNAME text="WITCHS_OVEN" />
   <TITLE>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Witch’s Oven]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Four de l’envoûteuse]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Horno de la bruja]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Hexenofen]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Forno della Strega]]></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[Forno da Bruxa]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[巫婆炉灶]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[巫婆爐灶]]></LOCALISED_TEXT>
   </TITLE>
   <MULTIVERSEID value="473199" />
   <ARTID value="WITCHS_OVEN" />
   <ARTIST name="Alexander Forssberg" />
   <CASTING_COST cost="{1}" />
   <FLAVOURTEXT>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[The wafting smells are both scrumptious and suspicious.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Des odeurs à la fois délicieuses et suspicieuses flottent dans l’air.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Los olores que trae el viento son tan deliciosos como sospechosos.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Die wabernden Düfte sind ebenso appetitanregend wie verdächtig.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[I profumi che si diffondono sono al contempo deliziosi e sospetti.]]></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[Os aromas são, ao mesmo tempo, saborosos e suspeitos.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[飘来的香味既馋人又可疑。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[飄來的香味既饞人又可疑。]]></LOCALISED_TEXT>
   </FLAVOURTEXT>
   <TYPE metaname="Artifact" />
   <EXPANSION value="ELD" />
   <RARITY metaname="U" />
   <ACTIVATED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{T}, Sacrifice a creature: Create a Food token. If the sacrificed creature’s toughness was 4 or greater, create two Food tokens instead.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{T}, sacrifiez une créature : Créez un jeton Nourriture. Si l’endurance de la créature sacrifiée était supérieure ou égale à 4, créez deux jetons Nourriture à la place.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{T}, sacrificar una criatura: Crea una ficha de Comida. Si la resistencia de la criatura sacrificada era de 4 o más, en vez de eso, crea dos fichas de Comida.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{T}, opfere eine Kreatur: Erzeuge einen Speise-Spielstein. Falls die Widerstandskraft der geopferten Kreatur 4 oder mehr war, erzeuge stattdessen zwei Speise-Spielsteine.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{T}, Sacrifica una creatura: Crea una pedina Cibo. Se la costituzione della creatura sacrificata era pari o superiore a 4, crea invece due pedine Cibo.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{T}, クリーチャー1体を生け贄に捧げる:食物・トークンを1つ生成する。その生け贄に捧げたクリーチャーのタフネスが4以上であったなら、代わりに食物・トークンを2つ生成する。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{T}, 생물 한 개를 희생한다: 음식 토큰 한 개를 만든다. 희생된 생물의 방어력이 4 이상이라면, 대신 음식 토큰 두 개를 만든다.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{T}, пожертвуйте существо: создайте одну фишку Еды. Если выносливость пожертвованного существа была равна 4 или больше, вместо этого создайте две фишки Еды.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{T}, sacrifique uma criatura: Crie uma ficha de Comida. Se a resistência da criatura sacrificada era igual ou superior a 4, em vez disso, crie duas fichas de Comida.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[{T},牺牲一个生物:派出一个食品衍生物。如果所牺牲的生物之防御力等于或大于4,则改为派出两个食品衍生物。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[{T},犧牲一個生物:派出一個食品衍生物。如果所犧牲的生物之防禦力等於或大於4,則改為派出兩個食品衍生物。]]></LOCALISED_TEXT>
      <COST type="TapSelf" />
      <COST type="Sacrifice" definition="0" compartment="1" query_tag="CARD_QUERY_CHOOSE_CREATURE_TO_SACRIFICE" item_count="1" LKI_shield="1" />
      <COST_DEFINITION id="0">
         local oFilter = ClearFilter()
         oFilter:Add(FE_TYPE, OP_IS, CARD_TYPE_CREATURE)
      </COST_DEFINITION>
      <RESOLUTION_TIME_ACTION>
         local creature = EffectDC():Get_Targets(1) and EffectDC():Get_Targets(1):Get_CardPtr(0)
         local num = 1
         if creature ~= nil then
            local toug = creature:GetCurrentCharacteristics():Toughness_Get()
            if toug &gt; 3 then
               num = 2
            end
         end
         CW_Tokens("FOOD_A_C_S_ELD", num)
      </RESOLUTION_TIME_ACTION>
   </ACTIVATED_ABILITY>
   <TOKEN_REGISTRATION reservation="1" type="TOKEN_FOOD_A_C_S_ELD_CW_1" />
   <TOKEN_REGISTRATION reservation="1" type="TOKEN_FOOD_A_C_S_ELD_CW_2" />
   <TOKEN_REGISTRATION reservation="1" type="TOKEN_FOOD_A_C_S_ELD_CW_3" />
   <TOKEN_REGISTRATION reservation="1" type="TOKEN_FOOD_A_C_S_ELD_CW_4" />
   <AUTHOR><![CDATA[Zambooo]]></AUTHOR>
   <EDITORS><![CDATA[Zambooo]]></EDITORS>
   <DATE><![CDATA[10-03-20]]></DATE>
</CARD_V2>
newtomagic
 
Posts: 26
Joined: 10 Jul 2020, 06:56
Has thanked: 8 times
Been thanked: 1 time

Re: Community Wad

Postby nivmizzet1 » 25 Jul 2020, 08:42

newtomagic wrote:
nivmizzet1 wrote:Umm, can someone link me to where I can get Witch's Oven and Cauldron Familiar? They were in the version of the Community WAD I had -- I don't think I made them. But I just did a repack of the CW and now those cards are missing...
I dont know how to upload so ill just post the code..hope this helps..
Code: Select all
<?xml version="1.0"?>
<CARD_V2 ExportVersion="1">
   <FILENAME text="CAULDRON_FAMILIAR_CW" />
   <CARDNAME text="CAULDRON_FAMILIAR" />
   <TITLE>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Cauldron Familiar]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Familier de chaudron]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Familiar del Caldero]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Vertraute des Kessels]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Famiglio del Calderone]]></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[Familiar do Caldeirão]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[鼎镬佣兽]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[鼎鑊傭獸]]></LOCALISED_TEXT>
   </TITLE>
   <MULTIVERSEID value="473043" />
   <ARTID value="CAULDRON_FAMILIAR" />
   <ARTIST name="Milivoj Ćeran" />
   <CASTING_COST cost="{B}" />
   <FLAVOURTEXT>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Every day the cat returns to kill the same mouse, which sinks again into the cauldron’s brew.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Chaque jour, le chat revient tuer la même souris, qui sombre à nouveau dans la mixture du chaudron.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cada día, el gato regresa para matar al mismo ratón, que se ahoga de nuevo en el brebaje del Caldero.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Jeden Tag kehrt die Katze zurück, um dieselbe Maus zu töten, die erneut im Gebräu des Kessels versinkt.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogni giorno il gatto ritorna per uccidere lo stesso topo, che affonda di nuovo nell’intruglio del calderone.]]></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[Todo dia o gato volta para matar o mesmo rato, que, então, volta a afundar no caldeirão.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[这只猫每天都会回来杀掉同一只老鼠,而老鼠每次都会掉入沸腾的鼎镬当中。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[這隻貓每天都會回來殺掉同一隻老鼠,而老鼠每次都會掉入沸騰的鼎鑊當中。]]></LOCALISED_TEXT>
   </FLAVOURTEXT>
   <TYPE metaname="Creature" />
   <SUB_TYPE metaname="Cat" />
   <EXPANSION value="ELD" />
   <RARITY metaname="U" />
   <POWER value="1" />
   <TOUGHNESS value="1" />
   <TRIGGERED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Cauldron Familiar enters the battlefield, each opponent loses 1 life and you gain 1 life.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Quand le Familier de chaudron arrive sur le champ de bataille, chaque adversaire perd 1 point de vie et vous gagnez 1 point de vie.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cuando el Familiar del Caldero entre al campo de batalla, cada oponente pierde 1 vida y tú ganas 1 vida.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Wenn die Vertraute des Kessels ins Spiel kommt, verliert jeder Gegner 1 Lebenspunkt und du erhältst 1 Lebenspunkt dazu.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando il Famiglio del Calderone entra nel campo di battaglia, ogni avversario perde 1 punto vita e tu guadagni 1 punto vita.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[大釜の使い魔が戦場に出たとき、各対戦相手はそれぞれ1点のライフを失い、あなたは1点のライフを得る。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[가마솥 소환수가 전장에 들어올 때, 각 상대는 생명 1점을 잃고 당신은 생명 1점을 얻는다.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Когда Питомец Котла выходит на поле битвы, каждый оппонент теряет 1 жизнь, а вы получаете 1 жизнь.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Quando Familiar do Caldeirão entra no campo de batalha, cada oponente perde 1 ponto de vida e você ganha 1 ponto de vida.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[当鼎镬佣兽进战场时,每位对手各失去1点生命且你获得1点生命。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[當鼎鑊傭獸進戰場時,每位對手各失去1點生命且你獲得1點生命。]]></LOCALISED_TEXT>
      <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
      <RESOLUTION_TIME_ACTION>
         local effectController = EffectController()
         local number = MTG():GetNumberOfPlayers()
         for i = 0, (number-1) do
            local player = MTG():GetNthPlayer(i)
            if player:GetTeam() ~= effectController:GetTeam() then
               player:LoseLife( 1 )
            end
         end
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         EffectController():GainLife( 1 )
      </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>
   <ACTIVATED_ABILITY active_zone="ZONE_GRAVEYARD">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Sacrifice a Food: Return Cauldron Familiar from your graveyard to the battlefield.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Sacrifiez une nourriture : Renvoyez sur le champ de bataille le Familier de chaudron depuis votre cimetière.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Sacrificar una Comida: Regresa el Familiar del Caldero de tu cementerio al campo de batalla.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Opfere eine Speise: Bringe die Vertraute des Kessels aus deinem Friedhof ins Spiel zurück.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Sacrifica un Cibo: Rimetti sul campo di battaglia il Famiglio del Calderone dal tuo cimitero.]]></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[Sacrifique uma Comida: Devolva Familiar do Caldeirão de seu cemitério para o campo de batalha.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[牺牲一个食品:将鼎镬佣兽从你的坟墓场移回战场。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[犧牲一個食品:將鼎鑊傭獸從你的墳墓場移回戰場。]]></LOCALISED_TEXT>
      <COST type="Sacrifice" definition="0" compartment="1" query_tag="CARD_QUERY_CHOOSE_FOOD_TO_SACRIFICE" item_count="1" />
      <COST_DEFINITION id="0">
         local filter = ClearFilter()
         filter:Add( FE_SUBTYPE, OP_IS, ARTIFACT_TYPE_FOOD )
      </COST_DEFINITION>
      <RESOLUTION_TIME_ACTION>
         local effectSource = EffectSource()
         if  effectSource ~= nil then
            effectSource:PutOntoBattlefield( EffectController() )
         end
      </RESOLUTION_TIME_ACTION>
   </ACTIVATED_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" />
   <AUTHOR><![CDATA[Zambooo]]></AUTHOR>
   <EDITORS><![CDATA[Zambooo]]></EDITORS>
   <DATE><![CDATA[10-03-20]]></DATE>
</CARD_V2>
oven
Code: Select all
<?xml version="1.0"?>
<CARD_V2 ExportVersion="1">
   <FILENAME text="WITCHS_OVEN_CW" />
   <CARDNAME text="WITCHS_OVEN" />
   <TITLE>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Witch’s Oven]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Four de l’envoûteuse]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Horno de la bruja]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Hexenofen]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Forno della Strega]]></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[Forno da Bruxa]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[巫婆炉灶]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[巫婆爐灶]]></LOCALISED_TEXT>
   </TITLE>
   <MULTIVERSEID value="473199" />
   <ARTID value="WITCHS_OVEN" />
   <ARTIST name="Alexander Forssberg" />
   <CASTING_COST cost="{1}" />
   <FLAVOURTEXT>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[The wafting smells are both scrumptious and suspicious.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Des odeurs à la fois délicieuses et suspicieuses flottent dans l’air.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Los olores que trae el viento son tan deliciosos como sospechosos.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Die wabernden Düfte sind ebenso appetitanregend wie verdächtig.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[I profumi che si diffondono sono al contempo deliziosi e sospetti.]]></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[Os aromas são, ao mesmo tempo, saborosos e suspeitos.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[飘来的香味既馋人又可疑。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[飄來的香味既饞人又可疑。]]></LOCALISED_TEXT>
   </FLAVOURTEXT>
   <TYPE metaname="Artifact" />
   <EXPANSION value="ELD" />
   <RARITY metaname="U" />
   <ACTIVATED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{T}, Sacrifice a creature: Create a Food token. If the sacrificed creature’s toughness was 4 or greater, create two Food tokens instead.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{T}, sacrifiez une créature : Créez un jeton Nourriture. Si l’endurance de la créature sacrifiée était supérieure ou égale à 4, créez deux jetons Nourriture à la place.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{T}, sacrificar una criatura: Crea una ficha de Comida. Si la resistencia de la criatura sacrificada era de 4 o más, en vez de eso, crea dos fichas de Comida.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{T}, opfere eine Kreatur: Erzeuge einen Speise-Spielstein. Falls die Widerstandskraft der geopferten Kreatur 4 oder mehr war, erzeuge stattdessen zwei Speise-Spielsteine.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{T}, Sacrifica una creatura: Crea una pedina Cibo. Se la costituzione della creatura sacrificata era pari o superiore a 4, crea invece due pedine Cibo.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{T}, クリーチャー1体を生け贄に捧げる:食物・トークンを1つ生成する。その生け贄に捧げたクリーチャーのタフネスが4以上であったなら、代わりに食物・トークンを2つ生成する。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{T}, 생물 한 개를 희생한다: 음식 토큰 한 개를 만든다. 희생된 생물의 방어력이 4 이상이라면, 대신 음식 토큰 두 개를 만든다.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{T}, пожертвуйте существо: создайте одну фишку Еды. Если выносливость пожертвованного существа была равна 4 или больше, вместо этого создайте две фишки Еды.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{T}, sacrifique uma criatura: Crie uma ficha de Comida. Se a resistência da criatura sacrificada era igual ou superior a 4, em vez disso, crie duas fichas de Comida.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[{T},牺牲一个生物:派出一个食品衍生物。如果所牺牲的生物之防御力等于或大于4,则改为派出两个食品衍生物。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[{T},犧牲一個生物:派出一個食品衍生物。如果所犧牲的生物之防禦力等於或大於4,則改為派出兩個食品衍生物。]]></LOCALISED_TEXT>
      <COST type="TapSelf" />
      <COST type="Sacrifice" definition="0" compartment="1" query_tag="CARD_QUERY_CHOOSE_CREATURE_TO_SACRIFICE" item_count="1" LKI_shield="1" />
      <COST_DEFINITION id="0">
         local oFilter = ClearFilter()
         oFilter:Add(FE_TYPE, OP_IS, CARD_TYPE_CREATURE)
      </COST_DEFINITION>
      <RESOLUTION_TIME_ACTION>
         local creature = EffectDC():Get_Targets(1) and EffectDC():Get_Targets(1):Get_CardPtr(0)
         local num = 1
         if creature ~= nil then
            local toug = creature:GetCurrentCharacteristics():Toughness_Get()
            if toug &gt; 3 then
               num = 2
            end
         end
         CW_Tokens("FOOD_A_C_S_ELD", num)
      </RESOLUTION_TIME_ACTION>
   </ACTIVATED_ABILITY>
   <TOKEN_REGISTRATION reservation="1" type="TOKEN_FOOD_A_C_S_ELD_CW_1" />
   <TOKEN_REGISTRATION reservation="1" type="TOKEN_FOOD_A_C_S_ELD_CW_2" />
   <TOKEN_REGISTRATION reservation="1" type="TOKEN_FOOD_A_C_S_ELD_CW_3" />
   <TOKEN_REGISTRATION reservation="1" type="TOKEN_FOOD_A_C_S_ELD_CW_4" />
   <AUTHOR><![CDATA[Zambooo]]></AUTHOR>
   <EDITORS><![CDATA[Zambooo]]></EDITORS>
   <DATE><![CDATA[10-03-20]]></DATE>
</CARD_V2>
Thanks. I'll add them to the CW.
nivmizzet1
 
Posts: 613
Joined: 21 Mar 2013, 10:10
Has thanked: 100 times
Been thanked: 23 times

Re: Community Wad

Postby nivmizzet1 » 25 Jul 2020, 11:00

Is Bolas's Citadel supposed to be working? I can't play anything from the top of my library...not even land.
nivmizzet1
 
Posts: 613
Joined: 21 Mar 2013, 10:10
Has thanked: 100 times
Been thanked: 23 times

Re: Community Wad

Postby fallenangle » 25 Jul 2020, 16:24

@newtomagic: Try this for your card:

Code: Select all
<TRIGGERED_ABILITY>
<TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
      <TRIGGER value="ZONECHANGE_END" simple_qualifier="objectyoucontrol" to_zone="ZONE_BATTLEFIELD" from_zone="ZONE_ANY">
         return TriggerObject():GetCardType():Test( CARD_TYPE_CREATURE ) and TriggerObject() ~= EffectSource() and TriggerObject():GetColour():Test( COLOUR_BLACK )
      </TRIGGER>
      <RESOLUTION_TIME_ACTION repeating="1">
         local n = MTG():GetActionRepCount()
         local parity = n % 2
         local index = n/2
         local number = MTG():GetNumberOfPlayers()
         if index &lt; number then
            local player = MTG():GetNthPlayer(index)
            if player ~= nil then
               if parity == 0 then
                  if player:GetTeam() ~= EffectController():GetTeam() then
                     player:LoseLife( 1 )
                  end
               else
                  local jugador = MTG():GetNthPlayer(index-(0.5))
                  if jugador:GetTeam() ~= EffectController():GetTeam() then
                     EffectController():GainLife( 1 )
                  end
               end
            end
            return true
         end
      </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>
@nivmizzet1: I've looked at Bolas' Citadel, and it can't work the way it's been coded. I tried fixing it awhile ago, but the draft is on an older computer I have. I'll see if I can't dig it up and tweak it a bit to get it working. As for Uro, as long as his escape ability is set to active_zone="ZONE_GRAVEYARD", there should be no way he can escape from your hand.
fallenangle
 
Posts: 319
Joined: 20 Jul 2013, 02:31
Has thanked: 73 times
Been thanked: 38 times

Re: Community Wad

Postby fallenangle » 25 Jul 2020, 22:21

@nivmizzet1: Here's a working Bolas's Citadel:

Code: Select all
<?xml version="1.0"?>
<CARD_V2 ExportVersion="1">
   <FILENAME text="BOLASS_CITADEL_FA_CW" />
   <CARDNAME text="BOLASS_CITADEL" />
   <TITLE>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Bolas’s Citadel]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Citadelle de Bolas]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Ciudadela de Nicol Bolas]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Bolas’ Zitadelle]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Cittadella di Bolas]]></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[Cidadela de Nicol Bolas]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[波拉斯尊殿]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[波拉斯尊殿]]></LOCALISED_TEXT>
   </TITLE>
   <MULTIVERSEID value="461006" />
   <ARTID value="BOLASS_CITADEL" />
   <ARTIST name="Jonas De Ro" />
   <CASTING_COST cost="{3}{B}{B}{B}" />
   <SUPERTYPE metaname="Legendary" />
   <TYPE metaname="Artifact" />
   <EXPANSION value="WAR" />
   <RARITY metaname="R" />
   
   <STATIC_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[You may look at the top card of your library any time.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Vous pouvez regarder la carte du dessus de votre bibliothèque à tout moment.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Puedes mirar la primera carta de tu biblioteca en cualquier momento.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Du kannst dir zu jedem Zeitpunkt die oberste Karte deiner Bibliothek anschauen.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Puoi guardare la prima carta del tuo grimorio in qualsiasi momento.]]></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[Você pode olhar o card do topo de seu grimório a qualquer momento.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[你可以随时检视你的牌库顶牌。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[你可以隨時檢視你的牌庫頂牌。]]></LOCALISED_TEXT>
      <CONTINUOUS_ACTION layer="8">
         local characteristics = EffectController():GetCurrentCharacteristics()
         characteristics:Bool_Set( PLAYER_CHARACTERISTIC_PLAY_WITH_TOP_CARD_OF_LIBRARY_REVEALED_TO_ME, 1 )
      </CONTINUOUS_ACTION>
   </STATIC_ABILITY>
   
<STATIC_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[You may play the top card of your library. If you cast a spell this way, pay life equal to its converted mana cost rather than pay its mana cost.]]></LOCALISED_TEXT>
<CONTINUOUS_ACTION layer="8">
local top = EffectController():Library_GetTop()
         if top ~= nil then
         top:GetCurrentCharacteristics():GrantAbility(9)
         end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>

<STATIC_ABILITY>
<CONTINUOUS_ACTION layer="8">
         local top = EffectController():Library_GetTop()
         if top ~= nil and top:GetCardType():Test(CARD_TYPE_LAND) then
            EffectController():GetCurrentCharacteristics():Bool_Set(PLAYER_CHARACTERISTIC_CAN_PLAY_TOP_CARD_OF_LIBRARY, 1)
         end
      </CONTINUOUS_ACTION>
      </STATIC_ABILITY>
   
<UTILITY_ABILITY resource_id="9" origin_controller_can_use="1" qualifier="Alternate" active_zone="ZONE_LIBRARY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[You may play the top card of your library. If you cast a spell this way, pay life equal to its converted mana cost rather than pay its mana cost.]]></LOCALISED_TEXT>
<COST type="Generic">
         <PREREQUISITE>
                 return true
            </PREREQUISITE>
<RESOLUTION_TIME_ACTION>
local card = EffectSource()
local cmc = card:GetConvertedManaCost()
if cmc &gt; 0 then
EffectController():LoseLife(cmc)
end
</RESOLUTION_TIME_ACTION>
</COST>
</UTILITY_ABILITY>

<ACTIVATED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{T}, Sacrifice ten nonland permanents: Each opponent loses 10 life.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{T}, sacrifiez dix permanents non-terrain : Chaque adversaire perd 10 points de vie.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{T}, sacrificar diez permanentes que no sean tierra: Cada oponente pierde 10 vidas.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{T}, opfere zehn bleibende Nichtland-Karten: Jeder Gegner verliert 10 Lebenspunkte.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{T}, Sacrifica dieci permanenti non terra: Ogni avversario perde 10 punti vita.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{T}, 土地でないパーマネント10個を生け贄に捧げる:各対戦相手はそれぞれ10点のライフを失う。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{T}, 대지가 아닌 지속물 열 개를 희생한다: 각 상대는 생명 10점을 잃는다.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{T}, пожертвуйте десять не являющихся землями перманентов: каждый оппонент теряет 10 жизней.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{T}, sacrifique dez permanentes que não sejam terrenos: Cada oponente perde 10 pontos de vida.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[{T},牺牲十个非地永久物:每位对手各失去10点生命。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[{T},犧牲十個非地永久物:每位對手各失去10點生命。]]></LOCALISED_TEXT>
      <COST type="TapSelf" />
      <COST type="Sacrifice" definition="0" compartment="1" query_tag="SPL_CARD_QUERY_CHOOSE_PERMANENT_TO_SACRIFICE" item_count="10" LKI_shield="1" />
      <COST_DEFINITION id="0">
         local filter = ClearFilter()
         CW_Filter_Type(filter, CARD_TYPE_LAND, OP_NOT)
         CW_Filter_Permanents(filter)
         filter:Add( FE_CONTROLLER, OP_IS, EffectController() )
      </COST_DEFINITION>
      <RESOLUTION_TIME_ACTION>
         local controller = EffectController()
         for i=0, MTG():GetNumberOfPlayers()-1 do
            local player = MTG():GetNthPlayer(i)
            if player ~= nil and player:GetTeam() ~= controller:GetTeam() then
               player:LoseLife(10)
            end
         end
      </RESOLUTION_TIME_ACTION>
      <AI_AVAILABILITY window_step="begin_combat" window_turn="my_turn" type="window" />
      <AI_AVAILABILITY window_step="begin_combat" window_turn="their_turn" type="window" />
      <AI_AVAILABILITY window_step="declare_attackers" window_turn="my_turn" type="window" />
      <AI_AVAILABILITY window_step="declare_attackers" window_turn="their_turn" type="window" />
      <AI_AVAILABILITY window_step="declare_blockers" window_turn="my_turn" type="window" />
      <AI_AVAILABILITY window_step="declare_blockers" window_turn="their_turn" type="window" />
      <AI_AVAILABILITY window_step="end_of_turn" window_turn="my_turn" type="window" />
      <AI_AVAILABILITY window_step="end_of_turn" window_turn="their_turn" type="window" />
      <AI_AVAILABILITY window_step="main_1" window_turn="my_turn" type="window" />
      <AI_AVAILABILITY window_step="main_1" window_turn="their_turn" type="window" />
      <AI_AVAILABILITY window_step="main_2" window_turn="my_turn" type="window" />
      <AI_AVAILABILITY window_step="main_2" window_turn="their_turn" type="window" />
      <AUTO_SKIP no_effect_source="1" />
   </ACTIVATED_ABILITY>
   <AI_BASE_SCORE score="600" zone="ZONE_BATTLEFIELD" />
   <AUTHOR><![CDATA[Splinterverse]]></AUTHOR>
   <EDITORS><![CDATA[Splinterverse, fallenangle]]></EDITORS>
   <DATE><![CDATA[05-07-19, 25-07-20]]></DATE>
</CARD_V2>
There is an issue with granting cards in libraries an ability, however. If the card is too narrow (i.e., it has text about the size of e.g., Path to Exile), the card will not properly be granted the ability. The only solution would be to add "filler" blocks of text to make said card wide enough or to add flavor text, as far as I am aware.
fallenangle
 
Posts: 319
Joined: 20 Jul 2013, 02:31
Has thanked: 73 times
Been thanked: 38 times

Re: Community Wad

Postby newtomagic » 26 Jul 2020, 02:12

@fallenangel
TriggerObject():GetColour():Test( COLOUR_BLACK ) was all it needed...thanks for that...

Also...Any Idea if there are similar cards like this in CW? Panharmonicon
i tried making it using Double Season and Copy Spell cards but i think its different function
newtomagic
 
Posts: 26
Joined: 10 Jul 2020, 06:56
Has thanked: 8 times
Been thanked: 1 time

Re: Community Wad

Postby fallenangle » 26 Jul 2020, 02:29

@newtomagic: Panharmonicon-style cards are not possible (to our current knowledge) in DOTP 2014. The reason is that we don't have any way to determine what triggers were fired, or if they were fired. The late Xander9009 had some ideas about implementing code to approximate Panharmonicon, but he didn't flesh his ideas out enough prior to his untimely death for me or others to make much of them, I'm afraid. Copying abilities is also impossible, since the only way we currently know to interact with non-card stack objects is to counter them.
fallenangle
 
Posts: 319
Joined: 20 Jul 2013, 02:31
Has thanked: 73 times
Been thanked: 38 times

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 8 guests


Who is online

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

Login Form