It is currently 14 May 2024, 03:21
   
Text Size

Planeswalker's Complementary Set [MOD]

Moderator: CCGHQ Admins

Planeswalker's Complementary Set [MOD]

Postby gorem2k » 30 Jun 2013, 07:13

Description:

There's many cards that could potentially affect the current Planeswalker approximation. That's why I've decided to create a little brother that will hopefully help prevent some unexpected card effects. Mainly 'Untargeted' Enchantments. Most of the missing cards are from new Constellation mechanic. I will do my best to tackle the most popular one first (Show and Tell, Sterling Grove, Hypergenesis, etc )

2014-08-21 - First official release (v0.1)
Known issues: Opalescence + Enchanted Evening doesn't kill Lands... In fact, lands becomes "Basic Enchantment Land". Maybe "Basic Enchantment Creature Land" can't be understood by the game? Planeswalker do become creatures though.

2014-08-22 - Fixed Opalescence and added Enchanted Evening. still has problems with Opalescence, requesting for help... be careful when using Glorious Anthem, you may force the Planeswalker manager token to appear in game :lol:

2014-08-23 - Removed Enchanted Evening and Opalescence. Please don't use any cards like that with current Planeswalkers :p

2014-08-27 - Added more cards, functions. Removed a mod requirement.

2014-08-27 - Added Constellation cards.

cards included | Open
Academy Rector
Agent of Erebos
Ancestral Mask
Austere Command
Back to Nature
Bane of Progress
Cantivore
Chandra's Phoenix
Copy Enchantment
Doomwake Giant
Dreadbore
Dreadbringer Lampads
Eidolon of Blossoms
Enchanted Evening
Enlightened Tutor
* Ethereal Armor
Fated Conflagration
Fated Retribution
Forgeborn Oreads
Goldenhide Ox
Greater Auramancy
Grim Guardian
Harvestguard Alseids
Hero's Downfall
Humbler of Mortals
** Hunter's Insight
Hypergenesis
Idyllic Tutor
In Garruk's Wake
Magmaquake
* Merciless Eviction
Oakheart Dryads
* Opalescence
Plea for Guidance
Show and Tell
Skybind
Sterling Grove
Strength from the Fallen
Thassa’s Devourer
Thoughtrender Lamia
Underworld Coinsmith
Whitewater Naiads
Yavimaya Enchantress

* a non-planeswalker compatible version can be found in sumomole's mod.

** This didn't need to be adapted in the end, but it's included because; it will serve as an example to future damage on planewalkers cards.

coming up in next update | Open
missing TEXT_PERMANENT

cards not included (todo list) | Open
Ajani's Chosen
Akroma's Vengeance
Arenson's Aura
Argothian Enchantress
Aura Barbs
Aura Flux
Aura Thief
Auratog
Azorius First-Wing
Blightcaster
Bubbling Beebles
Calming Verse
Cataclysm
Celestial Ancient
Charmed Griffin
Cleanfall
Cleansing Meditation
Cloud Key
Commune with the Gods
Confusion in the Ranks
Crystal Chimes
Custodi Squire
Drake Familiar
Enchantress's Presence
Endless Wurm
Enduring Ideal
Essence Filter
Eternal Dominion
Faith Healer
Feedback
Femeref Enchantress
Floodtide Serpent
Fracturing Gust
Gate to the Æther
Hidden Ancients
Hush
Irini Sengir
Kruphix's Insight
Lagonna-Band Elder
Linessa, Zephyr Mage
Lost Auramancers
Magus of the Disk
Mana Matrix
Meletis Astronomer
Mesa Enchantress
Multani's Decree
Natural Emergence
Nevinyrral's Disk
Nova Cleric
Oath of the Ancient Wood
Open the Vaults
Paraselene
Patrician's Scorn
Pernicious Deed
Phantatog
Presence of the Master
Primeval Light
Purify
Reduce to Dreams
Remove Enchantments
Replenish
Reverent Silence
Riptide Chimera
Rofellos's Gift
Root Greevil
Saprazzan Bailiff
Scrapheap
Second Sunrise
Serenity
Serra's Sanctum
Shattergang Brothers
Sigil of the Empty Throne
Simplify
Sphere of Safety
Steal Enchantment
Tattoo Ward (protection from enchantments)
Teferi's Care (sacrifice an enchantment)
Tempest of Light
Tempting Wurm
Tethered Griffin
Thaumatog
Tranquil Domain
Tranquil Grove
Tranquil Path
Tranquility
Treasury Thrull
Tribute to the Wild
Verduran Enchantress
Vernal Equinox
Vigean Intuition
Ward of Bones
Warp World
Wild Research
Wirecat
Zur the Enchanter

Requirements: TFM&G2K Planeswalkers Pool

Code: Select all
http://www.filedropper.com/datadlcplwcs_2
Last edited by gorem2k on 28 Aug 2014, 00:58, edited 186 times in total.
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: gorem2k mod

Postby arceusXIII » 30 Jun 2013, 23:09

when i put this into my game, it started like normal,but when i tried to play a game it suddenly crashes and gives me a runtime error
arceusXIII
 
Posts: 6
Joined: 17 Oct 2012, 13:43
Has thanked: 0 time
Been thanked: 0 time

Re: gorem2k mod

Postby gorem2k » 01 Jul 2013, 01:40

arceusXIII wrote:when i put this into my game, it started like normal,but when i tried to play a game it suddenly crashes and gives me a runtime error
you don't miss anything, trust me! just delete this file and download other mods, they are much better!!
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: gorem2k mod

Postby gorem2k » 01 Jul 2013, 04:59

Face-down vs Face-up cards are now possible :)

Image
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: gorem2k mod

Postby thefiremind » 01 Jul 2013, 08:33

Yeah, too bad it's still an unfinished work if we wanted to implement morph because you can't play cards already face down. If you can see what card it is on the stack, it basically destroys the whole idea. :lol:
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 721 times

Re: gorem2k mod

Postby gorem2k » 02 Jul 2013, 01:39

tried Gaddock Teeg just for fun and failed miserably!

Code: Select all
  <TRIGGERED_ABILITY replacement_effect="1">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Noncreature spells with converted mana cost 4 or greater can’t be cast.]]></LOCALISED_TEXT>
    <TRIGGER value="CONSIDERED_FOR_CAST" pre_trigger="1">
     if (TriggerObject():GetCardType():Test( CARD_TYPE_CREATURE )) then
       return false
      elseif (TriggerObject():GetConvertedManaCost() &gt; 3) then
        MTG():OverrideEvent()
       return true
     end
    </TRIGGER>
  </TRIGGERED_ABILITY>
  <TRIGGERED_ABILITY replacement_effect="1">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Noncreature spells with {X} in their mana costs can’t be cast.]]></LOCALISED_TEXT>
    <TRIGGER value="CONSIDERED_FOR_CAST" pre_trigger="1">
     if (TriggerObject():GetCardType():Test( CARD_TYPE_CREATURE )) then
       return false
      elseif (TriggerObject():???????????????????????? then
        MTG():OverrideEvent()
       return true
     end
    </TRIGGER>
  </TRIGGERED_ABILITY>
first ability is o.k. I guess, second one is impossible as I expected. moving on to a different experiment. *sigh*
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: gorem2k mod

Postby kevlahnota » 02 Jul 2013, 02:49

can you try this:
Code: Select all
<TRIGGERED_ABILITY replacement_effect="1">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Noncreature spells with {X} in their mana costs can’t be cast.]]></LOCALISED_TEXT>
    <TRIGGER value="CONSIDERED_FOR_CAST" pre_trigger="1">
     if (TriggerObject():GetCardType():Test( CARD_TYPE_CREATURE )) then
       return false
      elseif (TriggerObject():GetColour():Test( COLOUR_X ) ~= 0) then
        MTG():OverrideEvent()
       return true
     end
    </TRIGGER>
  </TRIGGERED_ABILITY>
gorem2k wrote:tried Gaddock Teeg just for fun and failed miserably!

Code: Select all
  <TRIGGERED_ABILITY replacement_effect="1">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Noncreature spells with converted mana cost 4 or greater can’t be cast.]]></LOCALISED_TEXT>
    <TRIGGER value="CONSIDERED_FOR_CAST" pre_trigger="1">
     if (TriggerObject():GetCardType():Test( CARD_TYPE_CREATURE )) then
       return false
      elseif (TriggerObject():GetConvertedManaCost() &gt; 3) then
        MTG():OverrideEvent()
       return true
     end
    </TRIGGER>
  </TRIGGERED_ABILITY>
  <TRIGGERED_ABILITY replacement_effect="1">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Noncreature spells with {X} in their mana costs can’t be cast.]]></LOCALISED_TEXT>
    <TRIGGER value="CONSIDERED_FOR_CAST" pre_trigger="1">
     if (TriggerObject():GetCardType():Test( CARD_TYPE_CREATURE )) then
       return false
      elseif (TriggerObject():???????????????????????? then
        MTG():OverrideEvent()
       return true
     end
    </TRIGGER>
  </TRIGGERED_ABILITY>
first ability is o.k. I guess, second one is impossible as I expected. moving on to a different experiment. *sigh*
User avatar
kevlahnota
Programmer
 
Posts: 825
Joined: 19 Jul 2010, 17:45
Location: Philippines
Has thanked: 14 times
Been thanked: 264 times

Re: gorem2k mod

Postby gorem2k » 02 Jul 2013, 03:48

didn't work. lands were unplayable. perhaps COLOUR_X stands for multicolored cards? will look into CONSTANTS.LUA once more in case I forgot to try something.

it would surprise me if they implemented a function for this peculiar card.

and I have no idea if filtering mana cost would return 1 for {X}{R}.
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: gorem2k mod

Postby kevlahnota » 02 Jul 2013, 04:09

ok, can you try this one:

Code: Select all
<STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Noncreature spells with {X} in their mana costs can’t be cast.]]></LOCALISED_TEXT>
    <FILTER filter_id="0">
    local filter = ClearFilter()
    filter:SetZone( ZONE_ANYWHERE )
    filter:Add( FE_TYPE, OP_NOT, CARD_TYPE_LAND )
    filter:Add( FE_TEAM, OP_NOT, EffectController():GetTeam() )
    </FILTER>
    <CONTINUOUS_ACTION layer="8" filter_id="0">
    if FilteredCard() ~= nil then
        local characteristics = FilteredCard():GetCurrentCharacteristics()
        local filter = ClearFilter()
        filter:Add( FE_CARD_INSTANCE, OP_IS, FilteredCard() )
        local hasXcost = filter:ChromaCount(COLOUR_X)
        if hasXcost &gt; 0 then
            characteristics:Bool_Set( CHARACTERISTIC_CANT_BE_PLAYED, 1 )
        end
    end
    </CONTINUOUS_ACTION>
<STATIC_ABILITY>
User avatar
kevlahnota
Programmer
 
Posts: 825
Joined: 19 Jul 2010, 17:45
Location: Philippines
Has thanked: 14 times
Been thanked: 264 times

Re: gorem2k mod

Postby thefiremind » 02 Jul 2013, 08:51

COLOUR_X wasn't working on DotP2013, I guess it won't work on DotP2014 as well. The only known way to implement Gaddock Teeg is sumomole's way: make a list of card names that have {X} in their mana costs, and make those unplayable.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 721 times

Re: gorem2k mod

Postby gorem2k » 02 Jul 2013, 23:55

alright! I've just made Varolz, the Scar-Striped.

however, I didn't include any AI window,score,... and it's missing a filtering for not targeting himself in sacrifice cost. should be fixed when I find the correct FE_ command. and localized text for "Scavenge" isn't translated to other language.

Varolz, the Scar-Striped | Open
Code: Select all
<?xml version='1.0'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="VAROLZ_THE_SCARSTRIPED_444368977" />
  <CARDNAME text="VAROLZ_THE_SCARSTRIPED" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Varolz, the Scar-Striped]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Varolz, l’escarrifié]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Várolz, el escarificado]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Varolz, der Narbengestreifte]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Varolz, lo Sfregiato]]></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[Varolz, the Scar-Striped]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="444368977" />
  <ARTID value="444368977" />
  <ARTIST name="Adam Paquette" />
  <CASTING_COST cost="{1}{B}{G}" />
  <SUPERTYPE metaname="Legendary" />
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Troll" />
  <SUB_TYPE metaname="Warrior" />
  <EXPANSION value="DGM" />
  <RARITY metaname="R" />
  <POWER value="2" />
  <TOUGHNESS value="2" />
  <STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Each creature card in your graveyard has scavenge. The scavenge cost is equal to its mana cost.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Chaque carte de créature de votre cimetière a la récupération. Le coût de récupération est égal à son coût de mana.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cada carta de criatura en tu cementerio tiene la habilidad de carroñar. El coste de carroñar es igual a su coste de maná.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Jede Kreaturenkarte in deinem Friedhof hat Ausplündern. Die Ausplünderkosten sind gleich ihrer Manakosten.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogni carta creatura nel tuo cimitero ha mangiacarogne. Il costo di mangiacarogne è pari al suo costo di mana.]]></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[Each creature card in your graveyard has scavenge. The scavenge cost is equal to its mana cost.]]></LOCALISED_TEXT>
    <FILTER filter_id="0">
    local filter = ClearFilter()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE  )
    filter:Add( FE_CONTROLLER, OP_IS, EffectController())
    filter:SetZone( ZONE_GRAVEYARD, EffectController() )
    </FILTER>
    <CONTINUOUS_ACTION layer="6" filter_id="0">
    if FilteredCard() ~= nil then
       local characteristics = FilteredCard():GetCurrentCharacteristics()
       characteristics:GrantAbility(1)
    end
    </CONTINUOUS_ACTION>
  </STATIC_ABILITY>
  <ACTIVATED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Sacrifice another creature: Regenerate Varolz, the Scar-Striped.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Sacrifiez une autre créature : Régénérez Varolz, l’escarrifié.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Sacrificar otra criatura: Regenera a Várolz, el escarificado.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Opfere eine andere Kreatur: Regeneriere Varolz, den Narbengestreiften.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Sacrifica un’altra creatura: Rigenera Varolz, lo Sfregiato.]]></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[Sacrifice another creature: Regenerate Varolz, the Scar-Striped.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Sacrifice another creature: Regenerate Varolz, the Scar-Striped.]]></LOCALISED_TEXT>
    <COST type="Sacrifice" definition="0" compartment="1" query_tag="CARD_QUERY_CHOOSE_CREATURE_TO_SACRIFICE" item_count="1" />
    <COST_DEFINITION id="0">
    local filter = ClearFilter()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
    </COST_DEFINITION>
    <RESOLUTION_TIME_ACTION>
    if EffectSource() ~= nil then
       EffectSource():GiveRegeneration()
    end
    </RESOLUTION_TIME_ACTION>
  </ACTIVATED_ABILITY>
  <ACTIVATED_ABILITY resource_id="1" active_zone="ZONE_GRAVEYARD">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Scavenge]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Flashback]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Retrospectiva]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Rückblende]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Flashback]]></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[Recapitular]]></LOCALISED_TEXT>
    <COST mana_cost="*" type="Mana" />
    <COST type="ExileSelf" />
    <AVAILABILITY sorcery_time="1" />
    <TARGET tag="CARD_QUERY_CHOOSE_CREATURE_TO_GET_PLUS1_PLUS1_COUNTER" definition="0" compartment="0" count="1" />
    <TARGET_DEFINITION id="0">
      local filter = ClearFilter()
      filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
    </TARGET_DEFINITION>
    <RESOLUTION_TIME_ACTION>
      local oTarget = EffectDC():Get_Targets(0):Get_CardPtr(0)
      if (oTarget ~= nil) then
         oTarget:AddCounters( MTG():PlusOnePlusOneCounters(), Object():GetCurrentCharacteristics():Power_Get() )
      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" />
</CARD_V2>
fixed | Open
Code: Select all
<?xml version='1.0'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="VAROLZ_THE_SCARSTRIPED_444368977" />
  <CARDNAME text="VAROLZ_THE_SCARSTRIPED" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Varolz, the Scar-Striped]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Varolz, l’escarrifié]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Várolz, el escarificado]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Varolz, der Narbengestreifte]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Varolz, lo Sfregiato]]></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[Varolz, the Scar-Striped]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="444368977" />
  <ARTID value="444368977" />
  <ARTIST name="Adam Paquette" />
  <CASTING_COST cost="{1}{B}{G}" />
  <SUPERTYPE metaname="Legendary" />
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Troll" />
  <SUB_TYPE metaname="Warrior" />
  <EXPANSION value="DGM" />
  <RARITY metaname="R" />
  <POWER value="2" />
  <TOUGHNESS value="2" />
  <STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Each creature card in your graveyard has scavenge. The scavenge cost is equal to its mana cost.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Chaque carte de créature de votre cimetière a la récupération. Le coût de récupération est égal à son coût de mana.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cada carta de criatura en tu cementerio tiene la habilidad de carroñar. El coste de carroñar es igual a su coste de maná.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Jede Kreaturenkarte in deinem Friedhof hat Ausplündern. Die Ausplünderkosten sind gleich ihrer Manakosten.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogni carta creatura nel tuo cimitero ha mangiacarogne. Il costo di mangiacarogne è pari al suo costo di mana.]]></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[Each creature card in your graveyard has scavenge. The scavenge cost is equal to its mana cost.]]></LOCALISED_TEXT>
    <FILTER filter_id="0">
    local filter = ClearFilter()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE  )
    filter:Add( FE_CONTROLLER, OP_IS, EffectController())
    filter:SetZone( ZONE_GRAVEYARD, EffectController() )
    </FILTER>
    <CONTINUOUS_ACTION layer="6" filter_id="0">
    if FilteredCard() ~= nil then
       local characteristics = FilteredCard():GetCurrentCharacteristics()
       characteristics:GrantAbility(1)
    end
    </CONTINUOUS_ACTION>
  </STATIC_ABILITY>
  <ACTIVATED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Sacrifice another creature: Regenerate Varolz, the Scar-Striped.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Sacrifiez une autre créature : Régénérez Varolz, l’escarrifié.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Sacrificar otra criatura: Regenera a Várolz, el escarificado.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Opfere eine andere Kreatur: Regeneriere Varolz, den Narbengestreiften.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Sacrifica un’altra creatura: Rigenera Varolz, lo Sfregiato.]]></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[Sacrifice another creature: Regenerate Varolz, the Scar-Striped.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Sacrifice another creature: Regenerate Varolz, the Scar-Striped.]]></LOCALISED_TEXT>
    <COST type="Sacrifice" definition="0" compartment="1" query_tag="CARD_QUERY_CHOOSE_CREATURE_TO_SACRIFICE" item_count="1" />
    <COST_DEFINITION id="0">
    local filter = ClearFilter()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
    filter:Add( FE_CARD_INSTANCE, OP_NOT, EffectSource() )
    </COST_DEFINITION>
    <RESOLUTION_TIME_ACTION>
    if EffectSource() ~= nil then
       EffectSource():GiveRegeneration()
    end
    </RESOLUTION_TIME_ACTION>
  </ACTIVATED_ABILITY>
  <ACTIVATED_ABILITY resource_id="1" active_zone="ZONE_GRAVEYARD">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Scavenge]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Récupération]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Carroñar.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Ausplündern]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Mangiacarogne]]></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[Necrofagia]]></LOCALISED_TEXT>
    <COST mana_cost="*" type="Mana" />
    <COST type="ExileSelf" />
    <AVAILABILITY sorcery_time="1" />
    <TARGET tag="CARD_QUERY_CHOOSE_CREATURE_TO_GET_PLUS1_PLUS1_COUNTER" definition="0" compartment="0" count="1" />
    <TARGET_DEFINITION id="0">
      local filter = ClearFilter()
      filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
    </TARGET_DEFINITION>
    <RESOLUTION_TIME_ACTION>
      local oTarget = EffectDC():Get_Targets(0):Get_CardPtr(0)
      if (oTarget ~= nil) then
         oTarget:AddCounters( MTG():PlusOnePlusOneCounters(), Object():GetCurrentCharacteristics():Power_Get() )
      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" />
</CARD_V2>
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: gorem2k mod

Postby thefiremind » 03 Jul 2013, 11:45

Your fixed Varolz is OK, I'd just add
Code: Select all
<AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_ALLIED_ONLY" />
to the scavenge ability, since it's unlikely that you'll put counters on opponents' creatures.

About the score, I gave
Code: Select all
<AI_BASE_SCORE score="600" zone="ZONE_BATTLEFIELD" />
to my Varolz. I don't know if it's too much.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 721 times

Re: gorem2k mod

Postby gorem2k » 03 Jul 2013, 19:22

Thanks for your help.

I've just remembered yesterday while I was testing in mirror match, that creatures in opponent graveyard were highlighted. I didn't have enough untapped lands to scavenge it before AI did. but obviously, I shouldn't be able to scavenge in another graveyard than mine. I will re-test now, (just woke up and got a programming hangover #-o )

edit: added filter:Add( FE_CONTROLLER, OP_IS, EffectController()) to the granted ability. did the trick.
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: gorem2k mod

Postby thefiremind » 03 Jul 2013, 21:03

gorem2k wrote:I've just remembered yesterday while I was testing in mirror match, that creatures in opponent graveyard were highlighted. I didn't have enough untapped lands to scavenge it before AI did. but obviously, I shouldn't be able to scavenge in another graveyard than mine. I will re-test now, (just woke up and got a programming hangover #-o )

edit: added filter:Add( FE_CONTROLLER, OP_IS, EffectController()) to the granted ability. did the trick.
That's odd, I thought that
Code: Select all
SetZone( ZONE_GRAVEYARD, EffectController() )
was enough to filter only the controller's graveyard.

Are you sure that the card wasn't highlighted just because the AI could have scavenged it with its Varolz? I saw cards in the opponent's graveyard highlighted because they were playable by the opponent, not by me.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 721 times

Re: gorem2k mod

Postby gorem2k » 03 Jul 2013, 23:38

thefiremind wrote:Are you sure that the card wasn't highlighted just because the AI could have scavenged it with its Varolz? I saw cards in the opponent's graveyard highlighted because they were playable by the opponent, not by me.
I assumed only cards I could scavenge would be highligthed. I was wrong, and tested too briefly. So yeah, that filter doesn't change anything.
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Next

Return to 2014

Who is online

Users browsing this forum: No registered users and 19 guests


Who is online

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

Users browsing this forum: No registered users and 19 guests

Login Form