It is currently 04 Sep 2025, 03:25
   
Text Size

Formal Request Thread

Moderator: CCGHQ Admins

Re: Formal Request Thread

Postby lkmaciel » 07 Oct 2014, 11:54

Thanks again, guys! I'll look into it.
lkmaciel
 
Posts: 4
Joined: 05 Oct 2014, 21:18
Has thanked: 0 time
Been thanked: 0 time

Re: Formal Request Thread

Postby hinesassociates » 08 Oct 2014, 01:25

Trying to get the Shifting Sliver working. I found a post in here about it on like page 26, but I am having trouble implementing it. This is only my second card ive made so that may be why, but i figured I would ask what I was doing wrong. Here is my xml

Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="SHIFTING_SLIVER_111042078" />
  <CARDNAME text="SHIFTING_SLIVER" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Shifting Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Slivoïde changeant]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Fragmentado cambiante]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Veränderlicher Remasuri]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Tramutante Cangiante]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Shifting Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Shifting Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Shifting Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Fractius Mutável]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="111042078" />
  <ARTID value="111042078" />
  <ARTIST name="Darrell Riche" />
  <CASTING_COST cost="{U}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Once the last few slivers the Riptide Project controlled were dead, there was nothing to keep the island from being completely overrun.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Une fois les derniers slivoïdes contrôlés par le projet Jusant morts, rien ne pouvait plus s’opposer à l’invasion de l’île.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Una vez que murieron los últimos fragmentados que controlaba el Proyecto Resaca, no había nada que evitara que la isla fuera totalmente invadida.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Nachdem die wenigen Remasuris, die vom Springflut-Projekt kontrolliert wurden, tot waren, konnte nichts mehr verhindern, dass die Insel komplett überrannt wurde.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando anche gli ultimi Tramutanti controllati dal Progetto Marea morirono, non ci fu più niente da fare per impedire che l’isola venisse invasa.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Once the last few slivers the Riptide Project controlled were dead, there was nothing to keep the island from being completely overrun.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Once the last few slivers the Riptide Project controlled were dead, there was nothing to keep the island from being completely overrun.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Once the last few slivers the Riptide Project controlled were dead, there was nothing to keep the island from being completely overrun.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Assim que morreram os últimos poucos fractius que o Projeto da Rebentação controlava, não havia mais nada para impedir que a ilha fosse completamente tomada.]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Sliver" />
  <EXPANSION value="LGN" />
  <RARITY metaname="U" />
  <POWER value="2" />
  <TOUGHNESS value="2" />
<STATIC_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Slivers can’t be blocked except by Slivers.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Les slivoïdes ne peuvent pas être bloqués, excepté par des slivoïdes.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Los Fragmentados no pueden ser bloqueados excepto por Fragmentados.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Remasuris können nur von Remasuris geblockt werden.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[I Tramutanti non possono essere bloccati tranne che dai Tramutanti.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Slivers can’t be blocked except by Slivers.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Slivers can’t be blocked except by Slivers.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Slivers can’t be blocked except by Slivers.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Os Fractius só podem ser bloqueados por Fractius.]]></LOCALISED_TEXT>
 <TRIGGERED_ABILITY replacement_effect="1">
 -- Localised text omitted
    <TRIGGER value="EVASION_TEST" pre_trigger="1">
    return TriggerObject():GetSubType():Test(CREATURE_TYPE_SLIVER) and SecondaryObject():GetSubType():Test(CREATURE_TYPE_SLIVER) == false
    </TRIGGER>
  </TRIGGERED_ABILITY>
  </STATIC_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>
And here is the quote I found about it that I tried to implement...

thefiremind wrote:
Scion of Darkness wrote:the "sliver can only be blocked by slivers" can this be achieved in dotp2014?
There are no examples on DotP2014, but blocking restrictions have always been coded with the EVASION_TEST triggers in the previous games.
Code: Select all
  <TRIGGERED_ABILITY replacement_effect="1">
    -- Localised text omitted
    <TRIGGER value="EVASION_TEST" pre_trigger="1">
    return TriggerObject():GetSubType():Test(CREATURE_TYPE_SLIVER) and SecondaryObject():GetSubType():Test(CREATURE_TYPE_SLIVER) == false
    </TRIGGER>
  </TRIGGERED_ABILITY>
When the attacking creature (TriggerObject) is a Sliver and the defending creature (SecondaryObject) isn't a Sliver, the evasion test is positive and the attacker will "evade" the defender.

EDIT: I'd like to inform everyone that I inserted a new implementation of totem armor in my web generator. The new implementation lets the enchanted creature's controller choose which aura with totem armor should be destroyed when there's more than one.
This is still not working as everything can still block it. Any help would be awesome!
hinesassociates
 
Posts: 18
Joined: 07 Oct 2014, 23:59
Has thanked: 8 times
Been thanked: 0 time

Re: Formal Request Thread

Postby NeoAnderson » 08 Oct 2014, 01:56

You are including a Triggered ability into a Static ability this is wrong and without sense.
An ability can be Static, Activated, or triggered, each of them has its characteristics.
Try removing the static block.
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="SHIFTING_SLIVER_111042078" />
  <CARDNAME text="SHIFTING_SLIVER" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Shifting Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Slivoïde changeant]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Fragmentado cambiante]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Veränderlicher Remasuri]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Tramutante Cangiante]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Shifting Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Shifting Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Shifting Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Fractius Mutável]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="111042078" />
  <ARTID value="111042078" />
  <ARTIST name="Darrell Riche" />
  <CASTING_COST cost="{U}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Once the last few slivers the Riptide Project controlled were dead, there was nothing to keep the island from being completely overrun.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Une fois les derniers slivoïdes contrôlés par le projet Jusant morts, rien ne pouvait plus s’opposer à l’invasion de l’île.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Una vez que murieron los últimos fragmentados que controlaba el Proyecto Resaca, no había nada que evitara que la isla fuera totalmente invadida.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Nachdem die wenigen Remasuris, die vom Springflut-Projekt kontrolliert wurden, tot waren, konnte nichts mehr verhindern, dass die Insel komplett überrannt wurde.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando anche gli ultimi Tramutanti controllati dal Progetto Marea morirono, non ci fu più niente da fare per impedire che l’isola venisse invasa.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Once the last few slivers the Riptide Project controlled were dead, there was nothing to keep the island from being completely overrun.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Once the last few slivers the Riptide Project controlled were dead, there was nothing to keep the island from being completely overrun.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Once the last few slivers the Riptide Project controlled were dead, there was nothing to keep the island from being completely overrun.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Assim que morreram os últimos poucos fractius que o Projeto da Rebentação controlava, não havia mais nada para impedir que a ilha fosse completamente tomada.]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Sliver" />
  <EXPANSION value="LGN" />
  <RARITY metaname="U" />
  <POWER value="2" />
  <TOUGHNESS value="2" />
 <TRIGGERED_ABILITY replacement_effect="1">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Slivers can’t be blocked except by Slivers.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Les slivoïdes ne peuvent pas être bloqués, excepté par des slivoïdes.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Los Fragmentados no pueden ser bloqueados excepto por Fragmentados.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Remasuris können nur von Remasuris geblockt werden.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[I Tramutanti non possono essere bloccati tranne che dai Tramutanti.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Slivers can’t be blocked except by Slivers.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Slivers can’t be blocked except by Slivers.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Slivers can’t be blocked except by Slivers.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Os Fractius só podem ser bloqueados por Fractius.]]></LOCALISED_TEXT>
 -- Localised text omitted
    <TRIGGER value="EVASION_TEST" pre_trigger="1">
    return TriggerObject():GetSubType():Test(CREATURE_TYPE_SLIVER) and SecondaryObject():GetSubType():Test(CREATURE_TYPE_SLIVER) == false
    </TRIGGER>
  </TRIGGERED_ABILITY>
  <SFX text="COMBAT_BLUNT_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
  <SFX text="COMBAT_BLUNT_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
</CARD_V2>
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: Formal Request Thread

Postby hinesassociates » 08 Oct 2014, 03:16

NeoAnderson wrote:You are including a Triggered ability into a Static ability this is wrong and without sense.
An ability can be Static, Activated, or triggered, each of them has its characteristics.
Try removing the static block.
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="SHIFTING_SLIVER_111042078" />
  <CARDNAME text="SHIFTING_SLIVER" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Shifting Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Slivoïde changeant]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Fragmentado cambiante]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Veränderlicher Remasuri]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Tramutante Cangiante]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Shifting Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Shifting Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Shifting Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Fractius Mutável]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="111042078" />
  <ARTID value="111042078" />
  <ARTIST name="Darrell Riche" />
  <CASTING_COST cost="{U}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Once the last few slivers the Riptide Project controlled were dead, there was nothing to keep the island from being completely overrun.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Une fois les derniers slivoïdes contrôlés par le projet Jusant morts, rien ne pouvait plus s’opposer à l’invasion de l’île.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Una vez que murieron los últimos fragmentados que controlaba el Proyecto Resaca, no había nada que evitara que la isla fuera totalmente invadida.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Nachdem die wenigen Remasuris, die vom Springflut-Projekt kontrolliert wurden, tot waren, konnte nichts mehr verhindern, dass die Insel komplett überrannt wurde.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando anche gli ultimi Tramutanti controllati dal Progetto Marea morirono, non ci fu più niente da fare per impedire che l’isola venisse invasa.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Once the last few slivers the Riptide Project controlled were dead, there was nothing to keep the island from being completely overrun.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Once the last few slivers the Riptide Project controlled were dead, there was nothing to keep the island from being completely overrun.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Once the last few slivers the Riptide Project controlled were dead, there was nothing to keep the island from being completely overrun.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Assim que morreram os últimos poucos fractius que o Projeto da Rebentação controlava, não havia mais nada para impedir que a ilha fosse completamente tomada.]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Sliver" />
  <EXPANSION value="LGN" />
  <RARITY metaname="U" />
  <POWER value="2" />
  <TOUGHNESS value="2" />
 <TRIGGERED_ABILITY replacement_effect="1">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Slivers can’t be blocked except by Slivers.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Les slivoïdes ne peuvent pas être bloqués, excepté par des slivoïdes.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Los Fragmentados no pueden ser bloqueados excepto por Fragmentados.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Remasuris können nur von Remasuris geblockt werden.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[I Tramutanti non possono essere bloccati tranne che dai Tramutanti.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Slivers can’t be blocked except by Slivers.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Slivers can’t be blocked except by Slivers.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Slivers can’t be blocked except by Slivers.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Os Fractius só podem ser bloqueados por Fractius.]]></LOCALISED_TEXT>
 -- Localised text omitted
    <TRIGGER value="EVASION_TEST" pre_trigger="1">
    return TriggerObject():GetSubType():Test(CREATURE_TYPE_SLIVER) and SecondaryObject():GetSubType():Test(CREATURE_TYPE_SLIVER) == false
    </TRIGGER>
  </TRIGGERED_ABILITY>
  <SFX text="COMBAT_BLUNT_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
  <SFX text="COMBAT_BLUNT_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
</CARD_V2>
Thanks! Ill give that a try when I get home. It makes sense. I thought it was odd, but figured it had to be there as it was part of the initially generated code.
hinesassociates
 
Posts: 18
Joined: 07 Oct 2014, 23:59
Has thanked: 8 times
Been thanked: 0 time

Re: Formal Request Thread

Postby Xander9009 » 08 Oct 2014, 03:19

hinesassociates wrote:
NeoAnderson wrote:You are including a Triggered ability into a Static ability this is wrong and without sense.
An ability can be Static, Activated, or triggered, each of them has its characteristics.
Try removing the static block.
Thanks! Ill give that a try when I get home. It makes sense. I thought it was odd, but figured it had to be there as it was part of the initially generated code.
The initially generated code for abilities is pretty much never guaranteed. It's just a best guess unless the generator can actually figure out exactly what ability it's coding.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2905
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 121 times
Been thanked: 445 times

Re: Formal Request Thread

Postby CalT2410 » 08 Oct 2014, 03:54

Has Repeal ever been coded? I recently made the mistake( :roll: ) of watching LSV play Vintage on ChannelFireball, and figured I'd give some of the decks a try in DOTP.

Edit: Also, while I'm at it, how about Vampire Hexmage too?
CalT2410
 
Posts: 25
Joined: 23 Sep 2014, 06:07
Has thanked: 0 time
Been thanked: 0 time

Re: Formal Request Thread

Postby thefiremind » 08 Oct 2014, 09:19

Xander9009 wrote:The initially generated code for abilities is pretty much never guaranteed. It's just a best guess unless the generator can actually figure out exactly what ability it's coding.
In this case, the generator is partially right: that ability should be static, but some static abilities are coded as triggered in the DotP engine, and particular blocking restrictions fall into that category. :mrgreen:

CalT2410 wrote:Has Repeal ever been coded?
I think it hasn't, but it's not difficult, you may want to try and see if you can sort it out: generate the card through one of my generators, copy-paste the ability code from another card which bounces nonland permanents (there must be at least one somewhere, you can search for it through Riiak's Deck Builder), then add depends_on_X="1" to the TARGET block, and the CMC restriction inside the target definition:
Code: Select all
filter:Add( FE_CMC, OP_EQUALS, GetEffectX() )
and finally add the "Draw a card" part which you can copy from any card that does the same.

CalT2410 wrote:how about Vampire Hexmage too?
I took the ability code from East Bay's DotP2013 legacy mod. It should still work.
Vampire Hexmage (untested) | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="VAMPIRE_HEXMAGE_192232" />
  <CARDNAME text="VAMPIRE_HEXMAGE" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Vampire Hexmage]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Sortimage vampire]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Maga de maldiciones vampira]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Vampirische Fluchmagierin]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Vampira Fattucchiera]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[吸血鬼の呪詛術士]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Vampire Hexmage]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Вампирша-Наговорщица]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Maga Amaldiçoadora Vampiresa]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="192232" />
  <ARTID value="192232" />
  <ARTIST name="Eric Deschamps" />
  <CASTING_COST cost="{B}{B}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When the blood hunt lost its thrill, she looked for less tangible means of domination.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Quand la chasse au sang perdit son intérêt, elle chercha des moyens de domination moins tangibles.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cuando la caza de sangre perdió su encanto, ella buscó medios menos obvios de dominación.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Als die Jagd nach Blut ihren Kitzel verloren hatte, suchte sie nach weniger konkreten Gelegenheiten zum Dominieren.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando la caccia sanguinaria perse emozione, cercò metodi di dominio meno tangibili.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[血の狩りの興奮が失われてしまった彼女は、より目に見えない支配のしかたを求めた。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[When the blood hunt lost its thrill, she looked for less tangible means of domination.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Когда охота на свежую кровь перестала вызывать в ней трепет, она начала искать менее заметные средства доминирования.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Quando a caçada por sangue deixou de ser estimulante, ela procurou meios de dominação menos tangíveis.]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Vampire" />
  <SUB_TYPE metaname="Shaman" />
  <EXPANSION value="ZEN" />
  <RARITY metaname="U" />
  <POWER value="2" />
  <TOUGHNESS value="1" />
  <STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[First strike]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Initiative]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Daña primero.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Erstschlag]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Attacco improvviso]]></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[Iniciativa]]></LOCALISED_TEXT>
    <INTRINSIC characteristic="CHARACTERISTIC_FIRST_STRIKE" />
  </STATIC_ABILITY>
  <ACTIVATED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Sacrifice Vampire Hexmage: Remove all counters from target permanent.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Sacrifiez la Sortimage vampire : Retirez tous les marqueurs du permanent ciblé.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Sacrificar la Maga de maldiciones vampira: Remueve todos los contadores del permanente objetivo.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Opfere die Vampirische Fluchmagierin: Entferne alle Marken von einer bleibenden Karte deiner Wahl.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Sacrifica la Vampira Fattucchiera: Rimuovi tutti i segnalini da un permanente bersaglio.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[吸血鬼の呪詛術士を生け贄に捧げる:パーマネント1つを対象とし、それの上に置かれているカウンターをすべて取り除く。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Sacrifice Vampire Hexmage: Remove all counters from target permanent.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Пожертвуйте Вампиршу-Наговорщицу: удалите все жетоны с целевого перманента.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Sacrifique Maga Amaldiçoadora Vampiresa: Remova todos os marcadores da permanente alvo.]]></LOCALISED_TEXT>
    <COST type="SacrificeSelf" />
    <TARGET tag="CARD_QUERY_CHOOSE_PERMANENT_REMOVE_COUNTERS" definition="0" compartment="0" count="1" />
    <TARGET_DEFINITION id="0">
    local filter = ClearFilter()
    filter:Clear()
    filter:Add(FE_IS_PERMANENT, true)
    </TARGET_DEFINITION>
    <RESOLUTION_TIME_ACTION>
    local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
    if target ~= nil then
       for i=0,1 do
          local counter_type = target:GetBestOrWorstCounterType(i)
          while counter_type ~= 0 do
             local amount = target:CountCounters(counter_type)
             target:RemoveCounters(counter_type, amount)
             counter_type = target:GetBestOrWorstCounterType(i)
          end
       end
    end
    </RESOLUTION_TIME_ACTION>
  </ACTIVATED_ABILITY>
  <HELP title="MORE_INFO_BADGE_TITLE_0" body="MORE_INFO_BADGE_BODY_0" zone="ZONE_ANY" />
  <SFX text="COMBAT_FANG_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
  <SFX text="COMBAT_FANG_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
  <AI_BASE_SCORE score="600" zone="ZONE_BATTLEFIELD" />
</CARD_V2>
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

Re: Formal Request Thread

Postby CalT2410 » 08 Oct 2014, 16:24

I think it hasn't, but it's not difficult, you may want to try and see if you can sort it out: generate the card through one of my generators, copy-paste the ability code from another card which bounces nonland permanents (there must be at least one somewhere, you can search for it through Riiak's Deck Builder), then add depends_on_X="1" to the TARGET block, and the CMC restriction inside the target definition:
CODE: SELECT ALL
filter:Add( FE_CMC, OP_EQUALS, GetEffectX() )
and finally add the "Draw a card" part which you can copy from any card that does the same.
Well...guess now is as good a time as ever to start coding then. I'll give it a go.
CalT2410
 
Posts: 25
Joined: 23 Sep 2014, 06:07
Has thanked: 0 time
Been thanked: 0 time

Re: Formal Request Thread

Postby hinesassociates » 08 Oct 2014, 17:26

NeoAnderson wrote:You are including a Triggered ability into a Static ability this is wrong and without sense.
An ability can be Static, Activated, or triggered, each of them has its characteristics.
Try removing the static block.
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="SHIFTING_SLIVER_111042078" />
  <CARDNAME text="SHIFTING_SLIVER" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Shifting Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Slivoïde changeant]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Fragmentado cambiante]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Veränderlicher Remasuri]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Tramutante Cangiante]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Shifting Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Shifting Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Shifting Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Fractius Mutável]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="111042078" />
  <ARTID value="111042078" />
  <ARTIST name="Darrell Riche" />
  <CASTING_COST cost="{U}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Once the last few slivers the Riptide Project controlled were dead, there was nothing to keep the island from being completely overrun.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Une fois les derniers slivoïdes contrôlés par le projet Jusant morts, rien ne pouvait plus s’opposer à l’invasion de l’île.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Una vez que murieron los últimos fragmentados que controlaba el Proyecto Resaca, no había nada que evitara que la isla fuera totalmente invadida.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Nachdem die wenigen Remasuris, die vom Springflut-Projekt kontrolliert wurden, tot waren, konnte nichts mehr verhindern, dass die Insel komplett überrannt wurde.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando anche gli ultimi Tramutanti controllati dal Progetto Marea morirono, non ci fu più niente da fare per impedire che l’isola venisse invasa.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Once the last few slivers the Riptide Project controlled were dead, there was nothing to keep the island from being completely overrun.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Once the last few slivers the Riptide Project controlled were dead, there was nothing to keep the island from being completely overrun.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Once the last few slivers the Riptide Project controlled were dead, there was nothing to keep the island from being completely overrun.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Assim que morreram os últimos poucos fractius que o Projeto da Rebentação controlava, não havia mais nada para impedir que a ilha fosse completamente tomada.]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Sliver" />
  <EXPANSION value="LGN" />
  <RARITY metaname="U" />
  <POWER value="2" />
  <TOUGHNESS value="2" />
 <TRIGGERED_ABILITY replacement_effect="1">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Slivers can’t be blocked except by Slivers.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Les slivoïdes ne peuvent pas être bloqués, excepté par des slivoïdes.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Los Fragmentados no pueden ser bloqueados excepto por Fragmentados.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Remasuris können nur von Remasuris geblockt werden.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[I Tramutanti non possono essere bloccati tranne che dai Tramutanti.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Slivers can’t be blocked except by Slivers.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Slivers can’t be blocked except by Slivers.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Slivers can’t be blocked except by Slivers.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Os Fractius só podem ser bloqueados por Fractius.]]></LOCALISED_TEXT>
 -- Localised text omitted
    <TRIGGER value="EVASION_TEST" pre_trigger="1">
    return TriggerObject():GetSubType():Test(CREATURE_TYPE_SLIVER) and SecondaryObject():GetSubType():Test(CREATURE_TYPE_SLIVER) == false
    </TRIGGER>
  </TRIGGERED_ABILITY>
  <SFX text="COMBAT_BLUNT_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
  <SFX text="COMBAT_BLUNT_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
</CARD_V2>
Sorry it got too late last night. Anyway this worked great. Thanks!
hinesassociates
 
Posts: 18
Joined: 07 Oct 2014, 23:59
Has thanked: 8 times
Been thanked: 0 time

Re: Formal Request Thread

Postby NeoAnderson » 08 Oct 2014, 17:38

hinesassociates wrote:Sorry it got too late last night. Anyway this worked great. Thanks!
Don't be sorry, I am glad it works! :wink:
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: Formal Request Thread

Postby hinesassociates » 08 Oct 2014, 18:49

So I have run into another snag. This time with Acidic Sliver. The card works with its ability, but I havnt been able to figure out how to attach its ability to other slivers. I would like to go through and add the remaining slivers to the game so this would probably be a good concept for me to understand. Any help would be awesome.

Here is the current xml for it. For some reason it says I am too spamy when I put in the ai availability lines so those have been omitted. If there is a better way for me to put those into code let me know. Not sure if that is relevant to attaching to slivers, but it doesnt seem like it should be.

Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="ACIDIC_SLIVER_111207897" />
  <CARDNAME text="ACIDIC_SLIVER" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Acidic Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Acidic Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Acidic Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Acidic Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Acidic Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Acidic Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Acidic Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Acidic Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Acidic Sliver]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="111207897" />
  <ARTID value="111207897" />
  <ARTIST name="Jeff Miracola" />
  <CASTING_COST cost="{G}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[The first sliver burst against the cave wall, and others piled in behind to deepen the new tunnel.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[The first sliver burst against the cave wall, and others piled in behind to deepen the new tunnel.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[The first sliver burst against the cave wall, and others piled in behind to deepen the new tunnel.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[The first sliver burst against the cave wall, and others piled in behind to deepen the new tunnel.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[The first sliver burst against the cave wall, and others piled in behind to deepen the new tunnel.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[The first sliver burst against the cave wall, and others piled in behind to deepen the new tunnel.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[The first sliver burst against the cave wall, and others piled in behind to deepen the new tunnel.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[The first sliver burst against the cave wall, and others piled in behind to deepen the new tunnel.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[The first sliver burst against the cave wall, and others piled in behind to deepen the new tunnel.]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Sliver" />
  <EXPANSION value="H09" />
  <RARITY metaname="U" />
  <POWER value="2" />
  <TOUGHNESS value="2" />
  <ACTIVATED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[All Slivers have “{2}, Sacrifice this permanent: This permanent deals 2 damage to target creature or player.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[All Slivers have “{2}, Sacrifice this permanent: This permanent deals 2 damage to target creature or player.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[All Slivers have “{2}, Sacrifice this permanent: This permanent deals 2 damage to target creature or player.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[All Slivers have “{2}, Sacrifice this permanent: This permanent deals 2 damage to target creature or player.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Tutti i Tramutanti hanno “{2}, Sacrifica questo permanente: Questo permanente infligge 2 danni a una creatura o a un giocatore bersaglio”.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[All Slivers have “{2}, Sacrifice this permanent: This permanent deals 2 damage to target creature or player.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[All Slivers have “{2}, Sacrifice this permanent: This permanent deals 2 damage to target creature or player.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[All Slivers have “{2}, Sacrifice this permanent: This permanent deals 2 damage to target creature or player.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[All Slivers have “{2}, Sacrifice this permanent: This permanent deals 2 damage to target creature or player.”]]></LOCALISED_TEXT>
      <COST mana_cost="{1}{U}" type="Mana" />
      <COST type="SacrificeSelf" />
      <TARGET tag="CARD_QUERY_CHOOSE_CREATURE_DEAL_2_DAMAGE" definition="0" compartment="0" count="1" />
      <TARGET_DEFINITION id="0">
    local filter = ClearFilter()
    filter:SetFilterType(FILTER_TYPE_CARDS + FILTER_TYPE_PLAYERS)
    filter:Add(FE_TYPE, OP_IS, CARD_TYPE_CREATURE)
    </TARGET_DEFINITION>
      <RESOLUTION_TIME_ACTION>
    local target_creature = EffectDC():Get_Targets(0):Get_CardPtr(0)
    local target_player = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
    if ( target_creature ~= nil ) then
       EffectSourceLKI():DealDamageTo( 2, target_creature )
    elseif ( target_player ~= nil ) then   
       EffectSourceLKI():DealDamageTo( 2, target_player )
    end
    </RESOLUTION_TIME_ACTION>

   </ACTIVATED_ABILITY> 
  <SFX text="COMBAT_SLIVER_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
  <SFX text="COMBAT_SLIVER_ATTACK" power_boundary_min="1" power_boundary_max="3" />
</CARD_V2>
hinesassociates
 
Posts: 18
Joined: 07 Oct 2014, 23:59
Has thanked: 8 times
Been thanked: 0 time

Re: Formal Request Thread

Postby thefiremind » 08 Oct 2014, 21:42

hinesassociates wrote:So I have run into another snag. This time with Acidic Sliver. The card works with its ability, but I havnt been able to figure out how to attach its ability to other slivers. I would like to go through and add the remaining slivers to the game so this would probably be a good concept for me to understand. Any help would be awesome.
You can see Firewake Sliver among the official cards, that's a very good template to start with. To sum it up: you need to have 2 abilities, one is static and grants the ability to the Slivers, one is activated and has a resource_id, you won't see it on the card (well, you'll see it granted when the card is on the battlefield, but not otherwise), and the static ability will grant it by referring to its resource_id.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

Re: Formal Request Thread

Postby RiiakShiNal » 08 Oct 2014, 22:40

hinesassociates wrote:For some reason it says I am too spamy when I put in the ai availability lines so those have been omitted. If there is a better way for me to put those into code let me know.
You were probably putting them in correctly, the "too spammy" will go away once you post a little more (I believe it is set to 5 posts) at which point you will also be able to post links and such as well. Using the code tags to post code is correct and the preferred way (makes things easier to read and copy/paste).
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Formal Request Thread

Postby hinesassociates » 09 Oct 2014, 00:03

thefiremind wrote:
hinesassociates wrote:So I have run into another snag. This time with Acidic Sliver. The card works with its ability, but I havnt been able to figure out how to attach its ability to other slivers. I would like to go through and add the remaining slivers to the game so this would probably be a good concept for me to understand. Any help would be awesome.
You can see Firewake Sliver among the official cards, that's a very good template to start with. To sum it up: you need to have 2 abilities, one is static and grants the ability to the Slivers, one is activated and has a resource_id, you won't see it on the card (well, you'll see it granted when the card is on the battlefield, but not otherwise), and the static ability will grant it by referring to its resource_id.
Thanks. I think I understand now, and I got it working! The only thing now that's a little odd to me is that it is adding a second iteration of the activatable ability on the initial sliver and the static text isn't acting as a activatable ability. So in this case it is showing the static ability " All Slivers have {2}, Sacrifice this permanent: This permanent deals 2 damage to target creature or player."
And then when it hits the battlefield it is adding a second ability that is the activatable ability. "{2}, Sacrifice this permanent: This permanent deals 2 damage to target creature or player."

I would think it would be cleaner to have the static ability text become the activatable ability on that initial sliver that cast it. I am not sure if this is possible and maybe its nitpicking, but I figured I would ask.
Last edited by hinesassociates on 09 Oct 2014, 00:24, edited 1 time in total.
hinesassociates
 
Posts: 18
Joined: 07 Oct 2014, 23:59
Has thanked: 8 times
Been thanked: 0 time

Re: Formal Request Thread

Postby hinesassociates » 09 Oct 2014, 00:04

RiiakShiNal wrote:
hinesassociates wrote:For some reason it says I am too spamy when I put in the ai availability lines so those have been omitted. If there is a better way for me to put those into code let me know.
You were probably putting them in correctly, the "too spammy" will go away once you post a little more (I believe it is set to 5 posts) at which point you will also be able to post links and such as well. Using the code tags to post code is correct and the preferred way (makes things easier to read and copy/paste).
Ah ok. No worries. I will hit 5 soon I am sure as I am learning and still very new to this. Thanks for the info.
hinesassociates
 
Posts: 18
Joined: 07 Oct 2014, 23:59
Has thanked: 8 times
Been thanked: 0 time

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 21 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 21 users online :: 0 registered, 0 hidden and 21 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 21 guests

Login Form