It is currently 03 Sep 2025, 12:09
   
Text Size

Formal Request Thread

Moderator: CCGHQ Admins

Re: Formal Request Thread

Postby volrathxp » 09 Oct 2014, 00:08

Acidic Sliver doesn't grant a triggered ability, it grants an activated ability.
volrathxp
User avatar
volrathxp
 
Posts: 362
Joined: 23 Jul 2014, 17:34
Has thanked: 9 times
Been thanked: 17 times

Re: Formal Request Thread

Postby hinesassociates » 09 Oct 2014, 00:24

volrathxp wrote:Acidic Sliver doesn't grant a triggered ability, it grants an activated ability.
Thanks for the correction. I edited my post to reflect the correct term.
hinesassociates
 
Posts: 18
Joined: 07 Oct 2014, 23:59
Has thanked: 8 times
Been thanked: 0 time

Re: Formal Request Thread

Postby thefiremind » 09 Oct 2014, 09:06

hinesassociates wrote: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.
It's not possible and I actually think it would make less sense. If for some reason the Acidic Sliver stops being a Sliver, it will still affect all Slivers by granting them the activated ability, but it won't grant it to itself any longer, so it matters that the 2 abilities are independent and separated.
< 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 Xander9009 » 09 Oct 2014, 16:24

thefiremind wrote:It's not possible and I actually think it would make less sense. If for some reason the Acidic Sliver stops being a Sliver, it will still affect all Slivers by granting them the activated ability, but it won't grant it to itself any longer, so it matters that the 2 abilities are independent and separated.
Not saying I'd want it, but it should be possible. It would require a lot more scripting, though.
  • Static Ability - has no text. Grants ability 1 to all slivers except itself. Grants ability 2 to itself if it's a sliver. Grants itself ability 3 if it's not a sliver.
  • Static Ability - Has no text. Grants itself ability 3 if not on the battlefield.
  • Static Ability - Has no text. Grants itself ability 3 if it's in exile.
  • Ability 1 - Has text explaining the granting ability and can be activated. (This is the ability it would normally grant.)
  • Ability 2 - Has text explaining the granting ability and can be activated.
  • Ability 3 - Has text explaining the granting ability but can't be activated.

Tedious and no-where near worth it, but it should work.
_______________________________
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 hinesassociates » 09 Oct 2014, 17:32

I see what you guys are saying. I think it would look cleaner with all the scripting, but I just realized even the cards that came with the game dont do that so for consistency sake and the fact it would probably take me too long to figure it out I will just leave it. Thanks for all your help guys!
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, 18:17

So I made it though a few cards without any issues. :D Then i hit the Basal Sliver. 8-[ I was trying to reference Waste Not as it has add {BB} when on discarded land, but the conditions are definitely different and somehow i screwed it up. Here is the current code for it.

Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="BASAL_SLIVER_111108792" />
  <CARDNAME text="BASAL_SLIVER" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Basal Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Slivoïde fondamental]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Fragmentado basal]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Basalremasuri]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Tramutante Basilare]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[基底スリヴァー]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Basal Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Базальная Щепка]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Fractius Basal]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="111108792" />
  <ARTID value="111108792" />
  <ARTIST name="Drew Tucker" />
  <CASTING_COST cost="{G}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“Fascinating . . . These creatures display the paradox of tenacity and purposed self-destruction I have sought to breed into my thrulls.”
—Endrek Sahr, master breeder]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« Fascinant .  . . Ces créatures possèdent le paradoxe de ténacité et d’auto-destruction que j’ai toujours cherché à introduire dans mes srânes. »
—Endrek Sahr, maître reproducteur]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“Fascinante. . . Estas criaturas tienen la paradoja de tenacidad y auto-destrucción premeditada que siempre intenté conseguir en mis thrulls.”
—Éndrek Sahr, criador experto]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„Faszinierend... In diesen Kreaturen findet man gleichzeitig die Hartnäckigkeit und auch die absichtliche Selbstzerstörung, die ich versucht habe, in meine Thrulls hineinzuzüchten.”
—Endrek Sahr, Meisterzüchter]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“Interessante . . . Queste creature mostrano d’avere il paradosso di tenacia e autodistruzione mirata che ho cercato di generare nei miei thrull.”
—Endrek Sahr, mastro allevatore]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[面白いな … … こいつらの頑固さと自己犠牲という矛盾した性質は、私がスラルの繁殖で追い求めていることそのものだ。
――繁殖の達人、エンドレク・サール]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“Fascinating . . . These creatures display the paradox of tenacity and purposed self-destruction I have sought to breed into my thrulls.”
—Endrek Sahr, master breeder]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[«Невероятно . . . Эти существа показывают парадоксальную живучесть и предрасположенность к самоуничтожению, которую я пытался привить моим труллям»,
Эндрек Сар, мастер-труллевод]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“Fascinante. . . Essas criaturas exibem o paradoxo da tenacidade e autodestruição intencional que procurei criar em meus thrulls.”
—Endrek Sahr, criador mestre]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Sliver" />
  <EXPANSION value="TSP" />
  <RARITY metaname="C" />
  <POWER value="2" />
  <TOUGHNESS value="2" />

  <STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[All Slivers have “Sacrifice this permanent: Add {B}{B} to your mana pool.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Tous les slivoïdes ont « Sacrifiez cette créature : Ajoutez {B}{B} à votre réserve. »]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Todos los Fragmentados tienen “Sacrificar esta criatura: Agrega {B}{B} a tu reserva de maná”.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Alle Remasuris haben „Opfere diese Kreatur: Erhöhe deinen Manavorrat um {B}{B}.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Tutti i Tramutanti hanno “Sacrifica questo permanente: Aggiungi {B}{B} alla tua riserva di mana.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[すべてのスリヴァーは「このクリーチャーを生け贄に捧げる:あなたのマナ・プールに{B}{B}を加える。」を持つ。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[All Slivers have “Sacrifice this permanent: Add {B}{B} to your mana pool.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Все Щепки обладают способностью “Пожертвуйте это существо: Добавьте {B}{B} в ваше хранилище маны.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Todos os Fractius têm “Sacrifique esta criatura: Adicione {B}{B} à sua reserva de mana.”]]></LOCALISED_TEXT>
    <FILTER filter_id="0">
    local filter = ClearFilter()
    filter:Add( FE_SUBTYPE, OP_IS, CREATURE_TYPE_SLIVER )
    filter:Add( FE_CONTROLLER, OP_IS, EffectController() )
    </FILTER>
      <CONTINUOUS_ACTION layer="8" filter_id="0">
    if FilteredCard() ~= nil then
       local characteristics = FilteredCard():GetCurrentCharacteristics()
       characteristics:GrantAbility(1)
    end
    </CONTINUOUS_ACTION> 
</STATIC_ABILITY>
<ACTIVATED_ABILITY resource_id="1">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“Sacrifice this permanent: Add {B}{B} to your mana pool.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« Sacrifiez cette créature : Ajoutez {B}{B} à votre réserve. »]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“Sacrificar esta criatura: Agrega {B}{B} a tu reserva de maná”.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„Opfere diese Kreatur: Erhöhe deinen Manavorrat um {B}{B}.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“Sacrifica questo permanente: Aggiungi {B}{B} alla tua riserva di mana.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[すべてのスリヴァーは「このクリーチャーを生け贄に捧げる:あなたのマナ・プールに{B}{B}を加える。」を持つ。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“Sacrifice this permanent: Add {B}{B} to your mana pool.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[“Пожертвуйте это существо: Добавьте {B}{B} в ваше хранилище маны.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“Sacrifique esta criatura: Adicione {B}{B} à sua reserva de mana.”]]></LOCALISED_TEXT>
   <COST type="SacrificeSelf" />
   <RESOLUTION_TIME_ACTION>
   RSN_Produce( "{B}", 2 )
   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>
hinesassociates
 
Posts: 18
Joined: 07 Oct 2014, 23:59
Has thanked: 8 times
Been thanked: 0 time

Re: Formal Request Thread

Postby sweetLu » 09 Oct 2014, 18:25

You have an end without an if in the RTA of your activated ability. You will also need to added the token registration for the black mana token or else the game will crash when you exit.


On a different note, I believe this card is included in Riiak's mod. You could take a look at his version when you are done for a comparison.
sweetLu
 
Posts: 181
Joined: 16 Jul 2014, 01:24
Has thanked: 21 times
Been thanked: 22 times

Re: Formal Request Thread

Postby hinesassociates » 09 Oct 2014, 18:38

sweetLu wrote:You have an end without an if in the RTA of your activated ability. You will also need to added the token registration for the black mana token or else the game will crash when you exit.


On a different note, I believe this card is included in Riiak's mod. You could take a look at his version when you are done for a comparison.
I have taken out the end statement since there is no if check. Initially I had added it because it was crashing at the end of my turn in testing until I put that in. Maybe it was the token registration so I added that in and I am testing as soon as my databases update.

Also I think I have Riiak's mod already installed and Basal isnt showing up. Maybe I missed something somewhere...
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, 18:49

hinesassociates wrote:
sweetLu wrote:You have an end without an if in the RTA of your activated ability. You will also need to added the token registration for the black mana token or else the game will crash when you exit.


On a different note, I believe this card is included in Riiak's mod. You could take a look at his version when you are done for a comparison.
I have taken out the end statement since there is no if check. Initially I had added it because it was crashing at the end of my turn in testing until I put that in. Maybe it was the token registration so I added that in and I am testing as soon as my databases update.

Also I think I have Riiak's mod already installed and Basal isnt showing up. Maybe I missed something somewhere...
Oh and thanks! That worked!
hinesassociates
 
Posts: 18
Joined: 07 Oct 2014, 23:59
Has thanked: 8 times
Been thanked: 0 time

Re: Formal Request Thread

Postby RiiakShiNal » 10 Oct 2014, 00:00

hinesassociates wrote:
sweetLu wrote:On a different note, I believe this card is included in Riiak's mod. You could take a look at his version when you are done for a comparison.
Also I think I have Riiak's mod already installed and Basal isnt showing up. Maybe I missed something somewhere...
Basal Sliver was added to my mod in v2.0. If it isn't showing up then you probably have an old version.
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Formal Request Thread

Postby sweetLu » 10 Oct 2014, 00:53

It may also be worth noting Riiak has multiple mods. (1) Is the manual mana mod which only has the manual mana functions. (2) Is the core fixes mod. (3) Is a mod with a bunch of cards that use his manual mana functions which serves as examples of how to use the manual mana functions. Basal Sliver is in the 3rd mod. If you don't have it I suggest downloading it.
sweetLu
 
Posts: 181
Joined: 16 Jul 2014, 01:24
Has thanked: 21 times
Been thanked: 22 times

Re: Formal Request Thread

Postby hinesassociates » 10 Oct 2014, 23:35

sweetLu wrote:It may also be worth noting Riiak has multiple mods. (1) Is the manual mana mod which only has the manual mana functions. (2) Is the core fixes mod. (3) Is a mod with a bunch of cards that use his manual mana functions which serves as examples of how to use the manual mana functions. Basal Sliver is in the 3rd mod. If you don't have it I suggest downloading it.
Yep. That was the issue. I had 1 and 2 but not 3. Anyway thanks and thanks to Riiak.


Now for my next annoying question. I am now working on Cautery Sliver. Its first ability is easy since I have already done it on Acidic Sliver and is currently working, but the second ability seems like it would need a triggered ability (checking for damage to prevent it) on top of the activated ability(Paying 1 and sacrificing) and static ability (giving this ability to all slivers. The activation is working on the second ability but doesnt seem to be triggering the triggered ability. Can anyone help me sort this thing out? This is what I have so far from trying to copy other cards but its failing somewhere.

Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="CAUTERY_SLIVER_111126021" />
  <CARDNAME text="CAUTERY_SLIVER" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Cautery Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Slivoïde cautérisateur]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Fragmentado cauterizador]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Abätzender Remasuri]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Tramutante Bruciante]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[焼灼スリヴァー]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Cautery Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Прижигающая Щепка]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Fractius da Cauterização]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="111126021" />
  <ARTID value="111126021" />
  <ARTIST name="Dany Orizio" />
  <CASTING_COST cost="{G}" />
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Sliver" />
  <EXPANSION value="PLC" />
  <RARITY metaname="U" />
  <POWER value="2" />
  <TOUGHNESS value="2" />
<STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[All Slivers have “{1}, Sacrifice this permanent: This permanent deals 1 damage to target creature or player.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Tous les slivoïdes ont « {1}, sacrifiez cette créature : Cette créature inflige 1 blessure à une cible, créature ou joueur. »]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Todos los fragmentados tienen “{1}, sacrificar esta criatura: Esta criatura hace 1 punto de daño a la criatura o jugador objetivo”.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Alle Remasuris haben „{1}, opfere diese Kreatur: Diese Kreatur fügt einer Kreatur oder einem Spieler deiner Wahl 1 Schadenspunkt zu.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Tutti i Tramutanti hanno “{1}, Sacrifica questo permanente: Questo permanente infligge 1 danno a una creatura o a un giocatore bersaglio.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[すべてのスリヴァーは「{1}, このクリーチャーを生け贄に捧げる:クリーチャー1体かプレイヤー1人を対象とする。このクリーチャーはそれに1点のダメージを与える。」の能力を持つ。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[All Slivers have “{1}, Sacrifice this permanent: This permanent deals 1 damage to target creature or player.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Все Щепки имеют способность «{1}, Пожертвуйте это существо: Это существо наносит 1 повреждение целевому существу или игроку».]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Todos os Fractius têm “{1}, Sacrifique esta criatura: Esta criatura causa 1 ponto de dano à criatura alvo ou ao jogador alvo.”]]></LOCALISED_TEXT>
    <FILTER filter_id="0">
    local filter = ClearFilter()
    filter:Add( FE_SUBTYPE, OP_IS, CREATURE_TYPE_SLIVER )
    filter:Add( FE_CONTROLLER, OP_IS, EffectController() )
    </FILTER>
      <CONTINUOUS_ACTION layer="8" filter_id="0">
    if FilteredCard() ~= nil then
       local characteristics = FilteredCard():GetCurrentCharacteristics()
       characteristics:GrantAbility(1)
    end
    </CONTINUOUS_ACTION>

   </STATIC_ABILITY>

<STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[All Slivers have “{1}, Sacrifice this permanent: Prevent the next 1 damage that would be dealt to target Sliver creature or player this turn.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Tous les slivoïdes ont « {1}, sacrifiez cette créature : Prévenez, ce tour-ci, la prochaine 1 blessure qui devrait être infligée à une cible, slivoïde ou joueur. »]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Todos los fragmentados tienen “{1}, sacrificar esta criatura: Prevén el siguiente punto de daño que se le fuera a hacer al fragmentado o jugador objetivo este turno”.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Alle Remasuris haben „{1}, opfere diese Kreatur: Verhindere den nächsten 1 Schadenspunkt, der einem Remasuri oder Spieler deiner Wahl in diesem Zug zugefügt würde.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Tutti i Tramutanti hanno “{1}, Sacrifica questo permanente: Previeni il prossimo punto danno che verrebbe inflitto a una creatura Tramutante bersaglio o a un giocatore bersaglio in questo turno.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[すべてのスリヴァーは「{1}, このクリーチャーを生け贄に捧げる:スリヴァー1体かプレイヤー1人を対象とする。このターン、次にそれに与えられるダメージを1点軽減する。」の能力を持つ。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[All Slivers have “{1}, Sacrifice this permanent: Prevent the next 1 damage that would be dealt to target Sliver creature or player this turn.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Все Щепки имеют способность «{1}, Пожертвуйте это существо: Предотвратите следующее 1 повреждение целевой Щепке или игроку в этом ходу».]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Todos os Fractius têm “{1}, Sacrifique esta criatura: Previna o próximo 1 ponto de dano que seria causado ao Fractius alvo ou ao jogador alvo neste turno.”]]></LOCALISED_TEXT>
    <FILTER filter_id="0">
    local filter = ClearFilter()
    filter:Add( FE_SUBTYPE, OP_IS, CREATURE_TYPE_SLIVER )
    filter:Add( FE_CONTROLLER, OP_IS, EffectController() )
    </FILTER>
      <CONTINUOUS_ACTION layer="8" filter_id="0">
    if FilteredCard() ~= nil then
       local characteristics = FilteredCard():GetCurrentCharacteristics()
       characteristics:GrantAbility(2)
    end
    </CONTINUOUS_ACTION>

   </STATIC_ABILITY>
  <ACTIVATED_ABILITY resource_id="1">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“{1}, Sacrifice this permanent: This permanent deals 1 damage to target creature or player.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« {1}, sacrifiez cette créature : Cette créature inflige 1 blessure à une cible, créature ou joueur. »]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“{1}, sacrificar esta criatura: Esta criatura hace 1 punto de daño a la criatura o jugador objetivo”.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„{1}, opfere diese Kreatur: Diese Kreatur fügt einer Kreatur oder einem Spieler deiner Wahl 1 Schadenspunkt zu.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“{1}, Sacrifica questo permanente: Questo permanente infligge 1 danno a una creatura o a un giocatore bersaglio.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{1}, このクリーチャーを生け贄に捧げる:クリーチャー1体かプレイヤー1人を対象とする。このクリーチャーはそれに1点のダメージを与える。」の能力を持つ。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“{1}, Sacrifice this permanent: This permanent deals 1 damage to target creature or player.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[«{1}, Пожертвуйте это существо: Это существо наносит 1 повреждение целевому существу или игроку».]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“{1}, Sacrifique esta criatura: Esta criatura causa 1 ponto de dano à criatura alvo ou ao jogador alvo.”]]></LOCALISED_TEXT>
                <COST mana_cost="{1}" type="Mana" />
      <COST type="SacrificeSelf" />
      <TARGET tag="CARD_QUERY_CHOOSE_CREATURE_DEAL_1_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( 1, target_creature )
    elseif ( target_player ~= nil ) then   
       EffectSourceLKI():DealDamageTo( 1, target_player )
    end
    </RESOLUTION_TIME_ACTION>
      <AI_AVAILABILITY window_step="declare_blockers" type="window" />
      <AI_AVAILABILITY type="in_response" response_source="1" />
      <AI_AVAILABILITY window_step="main_1" 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="their_turn" type="window" />
      <AI_AVAILABILITY window_step="declare_blockers" type="window" />
      <AI_AVAILABILITY window_step="end_of_turn" type="window" />
      <AI_AVAILABILITY type="in_response" response_source="1" response_target="1" />
      <AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_ENEMY_ONLY" />
  </ACTIVATED_ABILITY>
  <ACTIVATED_ABILITY resource_id="2">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“{1}, Sacrifice this permanent: Prevent the next 1 damage that would be dealt to target Sliver creature or player this turn.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« {1}, sacrifiez cette créature : Prévenez, ce tour-ci, la prochaine 1 blessure qui devrait être infligée à une cible, slivoïde ou joueur. »]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“{1}, sacrificar esta criatura: Prevén el siguiente punto de daño que se le fuera a hacer al fragmentado o jugador objetivo este turno”.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„{1}, opfere diese Kreatur: Verhindere den nächsten 1 Schadenspunkt, der einem Remasuri oder Spieler deiner Wahl in diesem Zug zugefügt würde.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“{1}, Sacrifica questo permanente: Previeni il prossimo punto danno che verrebbe inflitto a una creatura Tramutante bersaglio o a un giocatore bersaglio in questo turno.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{1}, このクリーチャーを生け贄に捧げる:スリヴァー1体かプレイヤー1人を対象とする。このターン、次にそれに与えられるダメージを1点軽減する。」の能力を持つ。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“{1}, Sacrifice this permanent: Prevent the next 1 damage that would be dealt to target Sliver creature or player this turn.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[«{1}, Пожертвуйте это существо: Предотвратите следующее 1 повреждение целевой Щепке или игроку в этом ходу».]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“{1}, Sacrifique esta criatura: Previna o próximo 1 ponto de dano que seria causado ao Fractius alvo ou ao jogador alvo neste turno.”]]></LOCALISED_TEXT>
                   <COST mana_cost="{1}" type="Mana" />
      <COST type="SacrificeSelf" />
  </ACTIVATED_ABILITY>
<TRIGGERED_ABILITY replacement_effect="2">
      <TRIGGER value="SOURCE_DEALS_DAMAGE_TO_PLAYER" pre_trigger="1" damage_type="all">
    return TriggerObject():GetPlayer():GetTeam() ~= EffectController():GetTeam() and SecondaryPlayer() == EffectController()
    </TRIGGER>
      <RESOLUTION_TIME_ACTION>
    Damage():PreventAmount(2)
    </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>

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

Re: Formal Request Thread

Postby volrathxp » 11 Oct 2014, 01:47

hinesassociates wrote:
sweetLu wrote:It may also be worth noting Riiak has multiple mods. (1) Is the manual mana mod which only has the manual mana functions. (2) Is the core fixes mod. (3) Is a mod with a bunch of cards that use his manual mana functions which serves as examples of how to use the manual mana functions. Basal Sliver is in the 3rd mod. If you don't have it I suggest downloading it.
Yep. That was the issue. I had 1 and 2 but not 3. Anyway thanks and thanks to Riiak.


Now for my next annoying question. I am now working on Cautery Sliver. Its first ability is easy since I have already done it on Acidic Sliver and is currently working, but the second ability seems like it would need a triggered ability (checking for damage to prevent it) on top of the activated ability(Paying 1 and sacrificing) and static ability (giving this ability to all slivers. The activation is working on the second ability but doesnt seem to be triggering the triggered ability. Can anyone help me sort this thing out? This is what I have so far from trying to copy other cards but its failing somewhere.

Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="CAUTERY_SLIVER_111126021" />
  <CARDNAME text="CAUTERY_SLIVER" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Cautery Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Slivoïde cautérisateur]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Fragmentado cauterizador]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Abätzender Remasuri]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Tramutante Bruciante]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[焼灼スリヴァー]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Cautery Sliver]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Прижигающая Щепка]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Fractius da Cauterização]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="111126021" />
  <ARTID value="111126021" />
  <ARTIST name="Dany Orizio" />
  <CASTING_COST cost="{G}" />
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Sliver" />
  <EXPANSION value="PLC" />
  <RARITY metaname="U" />
  <POWER value="2" />
  <TOUGHNESS value="2" />
<STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[All Slivers have “{1}, Sacrifice this permanent: This permanent deals 1 damage to target creature or player.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Tous les slivoïdes ont « {1}, sacrifiez cette créature : Cette créature inflige 1 blessure à une cible, créature ou joueur. »]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Todos los fragmentados tienen “{1}, sacrificar esta criatura: Esta criatura hace 1 punto de daño a la criatura o jugador objetivo”.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Alle Remasuris haben „{1}, opfere diese Kreatur: Diese Kreatur fügt einer Kreatur oder einem Spieler deiner Wahl 1 Schadenspunkt zu.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Tutti i Tramutanti hanno “{1}, Sacrifica questo permanente: Questo permanente infligge 1 danno a una creatura o a un giocatore bersaglio.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[すべてのスリヴァーは「{1}, このクリーチャーを生け贄に捧げる:クリーチャー1体かプレイヤー1人を対象とする。このクリーチャーはそれに1点のダメージを与える。」の能力を持つ。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[All Slivers have “{1}, Sacrifice this permanent: This permanent deals 1 damage to target creature or player.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Все Щепки имеют способность «{1}, Пожертвуйте это существо: Это существо наносит 1 повреждение целевому существу или игроку».]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Todos os Fractius têm “{1}, Sacrifique esta criatura: Esta criatura causa 1 ponto de dano à criatura alvo ou ao jogador alvo.”]]></LOCALISED_TEXT>
    <FILTER filter_id="0">
    local filter = ClearFilter()
    filter:Add( FE_SUBTYPE, OP_IS, CREATURE_TYPE_SLIVER )
    filter:Add( FE_CONTROLLER, OP_IS, EffectController() )
    </FILTER>
      <CONTINUOUS_ACTION layer="8" filter_id="0">
    if FilteredCard() ~= nil then
       local characteristics = FilteredCard():GetCurrentCharacteristics()
       characteristics:GrantAbility(1)
    end
    </CONTINUOUS_ACTION>

   </STATIC_ABILITY>

<STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[All Slivers have “{1}, Sacrifice this permanent: Prevent the next 1 damage that would be dealt to target Sliver creature or player this turn.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Tous les slivoïdes ont « {1}, sacrifiez cette créature : Prévenez, ce tour-ci, la prochaine 1 blessure qui devrait être infligée à une cible, slivoïde ou joueur. »]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Todos los fragmentados tienen “{1}, sacrificar esta criatura: Prevén el siguiente punto de daño que se le fuera a hacer al fragmentado o jugador objetivo este turno”.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Alle Remasuris haben „{1}, opfere diese Kreatur: Verhindere den nächsten 1 Schadenspunkt, der einem Remasuri oder Spieler deiner Wahl in diesem Zug zugefügt würde.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Tutti i Tramutanti hanno “{1}, Sacrifica questo permanente: Previeni il prossimo punto danno che verrebbe inflitto a una creatura Tramutante bersaglio o a un giocatore bersaglio in questo turno.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[すべてのスリヴァーは「{1}, このクリーチャーを生け贄に捧げる:スリヴァー1体かプレイヤー1人を対象とする。このターン、次にそれに与えられるダメージを1点軽減する。」の能力を持つ。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[All Slivers have “{1}, Sacrifice this permanent: Prevent the next 1 damage that would be dealt to target Sliver creature or player this turn.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Все Щепки имеют способность «{1}, Пожертвуйте это существо: Предотвратите следующее 1 повреждение целевой Щепке или игроку в этом ходу».]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Todos os Fractius têm “{1}, Sacrifique esta criatura: Previna o próximo 1 ponto de dano que seria causado ao Fractius alvo ou ao jogador alvo neste turno.”]]></LOCALISED_TEXT>
    <FILTER filter_id="0">
    local filter = ClearFilter()
    filter:Add( FE_SUBTYPE, OP_IS, CREATURE_TYPE_SLIVER )
    filter:Add( FE_CONTROLLER, OP_IS, EffectController() )
    </FILTER>
      <CONTINUOUS_ACTION layer="8" filter_id="0">
    if FilteredCard() ~= nil then
       local characteristics = FilteredCard():GetCurrentCharacteristics()
       characteristics:GrantAbility(2)
    end
    </CONTINUOUS_ACTION>

   </STATIC_ABILITY>
  <ACTIVATED_ABILITY resource_id="1">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“{1}, Sacrifice this permanent: This permanent deals 1 damage to target creature or player.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« {1}, sacrifiez cette créature : Cette créature inflige 1 blessure à une cible, créature ou joueur. »]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“{1}, sacrificar esta criatura: Esta criatura hace 1 punto de daño a la criatura o jugador objetivo”.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„{1}, opfere diese Kreatur: Diese Kreatur fügt einer Kreatur oder einem Spieler deiner Wahl 1 Schadenspunkt zu.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“{1}, Sacrifica questo permanente: Questo permanente infligge 1 danno a una creatura o a un giocatore bersaglio.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{1}, このクリーチャーを生け贄に捧げる:クリーチャー1体かプレイヤー1人を対象とする。このクリーチャーはそれに1点のダメージを与える。」の能力を持つ。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“{1}, Sacrifice this permanent: This permanent deals 1 damage to target creature or player.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[«{1}, Пожертвуйте это существо: Это существо наносит 1 повреждение целевому существу или игроку».]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“{1}, Sacrifique esta criatura: Esta criatura causa 1 ponto de dano à criatura alvo ou ao jogador alvo.”]]></LOCALISED_TEXT>
                <COST mana_cost="{1}" type="Mana" />
      <COST type="SacrificeSelf" />
      <TARGET tag="CARD_QUERY_CHOOSE_CREATURE_DEAL_1_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( 1, target_creature )
    elseif ( target_player ~= nil ) then   
       EffectSourceLKI():DealDamageTo( 1, target_player )
    end
    </RESOLUTION_TIME_ACTION>
      <AI_AVAILABILITY window_step="declare_blockers" type="window" />
      <AI_AVAILABILITY type="in_response" response_source="1" />
      <AI_AVAILABILITY window_step="main_1" 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="their_turn" type="window" />
      <AI_AVAILABILITY window_step="declare_blockers" type="window" />
      <AI_AVAILABILITY window_step="end_of_turn" type="window" />
      <AI_AVAILABILITY type="in_response" response_source="1" response_target="1" />
      <AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_ENEMY_ONLY" />
  </ACTIVATED_ABILITY>
  <ACTIVATED_ABILITY resource_id="2">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“{1}, Sacrifice this permanent: Prevent the next 1 damage that would be dealt to target Sliver creature or player this turn.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« {1}, sacrifiez cette créature : Prévenez, ce tour-ci, la prochaine 1 blessure qui devrait être infligée à une cible, slivoïde ou joueur. »]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“{1}, sacrificar esta criatura: Prevén el siguiente punto de daño que se le fuera a hacer al fragmentado o jugador objetivo este turno”.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„{1}, opfere diese Kreatur: Verhindere den nächsten 1 Schadenspunkt, der einem Remasuri oder Spieler deiner Wahl in diesem Zug zugefügt würde.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“{1}, Sacrifica questo permanente: Previeni il prossimo punto danno che verrebbe inflitto a una creatura Tramutante bersaglio o a un giocatore bersaglio in questo turno.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{1}, このクリーチャーを生け贄に捧げる:スリヴァー1体かプレイヤー1人を対象とする。このターン、次にそれに与えられるダメージを1点軽減する。」の能力を持つ。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“{1}, Sacrifice this permanent: Prevent the next 1 damage that would be dealt to target Sliver creature or player this turn.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[«{1}, Пожертвуйте это существо: Предотвратите следующее 1 повреждение целевой Щепке или игроку в этом ходу».]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“{1}, Sacrifique esta criatura: Previna o próximo 1 ponto de dano que seria causado ao Fractius alvo ou ao jogador alvo neste turno.”]]></LOCALISED_TEXT>
                   <COST mana_cost="{1}" type="Mana" />
      <COST type="SacrificeSelf" />
  </ACTIVATED_ABILITY>
<TRIGGERED_ABILITY replacement_effect="2">
      <TRIGGER value="SOURCE_DEALS_DAMAGE_TO_PLAYER" pre_trigger="1" damage_type="all">
    return TriggerObject():GetPlayer():GetTeam() ~= EffectController():GetTeam() and SecondaryPlayer() == EffectController()
    </TRIGGER>
      <RESOLUTION_TIME_ACTION>
    Damage():PreventAmount(2)
    </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>

  <SFX text="COMBAT_BLUNT_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
  <SFX text="COMBAT_BLUNT_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
</CARD_V2>
You have to create a delayed trigger to deal with this. Look at any other card that prevents damage (Goblin Legionnaire is a good one for this). The activated ability should create a delayed trigger that functions when a source deals damage to a player or Sliver creature.
volrathxp
User avatar
volrathxp
 
Posts: 362
Joined: 23 Jul 2014, 17:34
Has thanked: 9 times
Been thanked: 17 times

Re: Formal Request Thread

Postby mr friendly guy » 12 Oct 2014, 22:56

Looking for Jester's cap for DoTP 2014. Had a great deck using it in DoTP 2013, but simply adjusting the WAD doesn't seem to work.
mr friendly guy
 
Posts: 85
Joined: 23 Aug 2013, 12:03
Has thanked: 2 times
Been thanked: 1 time

Re: Formal Request Thread

Postby Xander9009 » 12 Oct 2014, 23:47

mr friendly guy wrote:Looking for Jester's cap for DoTP 2014. Had a great deck using it in DoTP 2013, but simply adjusting the WAD doesn't seem to work.
Haven't tested it, yet, but I'll do that soon. Once I've confirmed it works, I'll stick it in the CW as well.

Just make sure to change the name and give the id a prefix.
Jester's Cap | Open
Code: Select all
<?xml version="1.0"?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="JESTERS_CAP_CW_212627" />
  <CARDNAME text="JESTERS_CAP" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Jester’s Cap]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Bonnet du bouffon]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Gorro de bufón]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Narrenkappe]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Cappello del Giullare]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[道化の帽子]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Jester’s Cap]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Шутовской колпак]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Gorro do Bufão]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[小丑帽]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[Jester’s Cap]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="212627" />
  <ARTID value="CW212627" />
  <ARTIST name="D. Alexander Gregory" />
  <CASTING_COST cost="{4}" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“Know your foes’ strengths as well as their weaknesses.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« Connais aussi bien les forces de tes ennemis que leurs faiblesses. »]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“Conoce las fortalezas de tus enemigos así como sus debilidades.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„Manche Narren tragen auch einen spitzen Hut.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“Devi conoscere i punti di forza dei tuoi nemici così come le loro debolezze.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[敵の弱みだけでなく、強みも調べることだ。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“Know your foes’ strengths as well as their weaknesses.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[“Изучайте и сильные стороны противника, и слабые его стороны”.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“Conhece tanto os pontos fortes, como as fraquezas dos teus oponentes.”]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[「要了解敌人的弱点,也要了解敌人的优点。」]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[“Know your foes’ strengths as well as their weaknesses.”]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Artifact" />
  <EXPANSION value="V10" />
  <RARITY metaname="C" />
  <ACTIVATED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{2}, {T}, Sacrifice Jester’s Cap: Search target player’s library for three cards and exile them. Then that player shuffles his or her library.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{2}, {T}, Sacrifiez le Bonnet du bouffon : Cherchez trois cartes dans la bibliothèque du joueur ciblé et retirez-les de la partie. Ce joueur mélange ensuite sa bibliothèque.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{2}, {T}, sacrificar el Gorro de bufón: Busca en la biblioteca del jugador objetivo tres cartas y remuévelas del juego. Luego ese jugador baraja su biblioteca.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{2}, {T}, opfere die Narrenkappe: Durchsuche die Bibliothek eines Spieler deiner Wahl nach drei Karten und entferne diese ganz aus dem Spiel. Dieser Spieler mischt dann seine Bibliothek.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{2}, {T}, Sacrifica il Cappello del Giullare: Passa in rassegna il grimorio di un giocatore bersaglio, scegli tre carte e rimuovile dal gioco. Poi quel giocatore rimescola il proprio grimorio.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{2}, {T}, 道化の帽子を生け贄に捧げる:プレイヤー1人を対象とする。あなたはそのプレイヤーのライブラリーからカードを3枚探し、それらをゲームから取り除く。 その後、そのプレイヤーは自分のライブラリーを切り直す。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{2}, {T}, Sacrifice Jester’s Cap: Search target player’s library for three cards and exile them. Then that player shuffles his or her library.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{2}, {T}, Принесите в жертву Шутовской колпак: выберите из библиотеки целевого игрока три карты и выведите их из игры. Затем целевой игрок тасует библиотеку.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{2}, {T}, Sacrifique Gorro do Bufão: Procure no grimório do jogador alvo por três cards e remova-os de jogo. Depois, aquele jogador embaralha seu próprio grimório.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[{2},{T},牺牲小丑帽:从目标对手的牌库中搜寻三张牌,并将它们移出对战。 然后该牌手将他的牌库洗牌。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[{2}, {T}, Sacrifice Jester’s Cap: Search target player’s library for three cards and exile them. Then that player shuffles his or her library.]]></LOCALISED_TEXT>
    <COST mana_cost="{2}" type="Mana" />
    <COST type="TapSelf" />
    <COST type="SacrificeSelf" />
    <TARGET tag="CARD_QUERY_CHOOSE_PLAYER" definition="0" compartment="0" count="1" />
      <TARGET_DEFINITION id="0">
      local filter = ClearFilter()
      filter:SetFilterType( FILTER_TYPE_PLAYERS )
    </TARGET_DEFINITION>
      <RESOLUTION_TIME_ACTION>
      local player = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
      if player ~= nil then
        local filter = ClearFilter()
        filter:SetZone( ZONE_LIBRARY, player )
        controller:SetItemCount(3)
        for i=0,2 do
          controller:SetItemPrompt(i, "CARD_QUERY_CHOOSE_CARD_TO_EXILE")
        end
        controller:ChooseItems( EffectDC():Make_Targets(1), QUERY_FLAG_UP_TO )
      end
    </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
      local player = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
      if player ~= nil then
        for i=0,2 do
          local target = EffectDC():Get_Targets(1):Get_CardPtr(i)
          if target ~= nil then
            target:Exile()
          end
        end
      end
    </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
      local player = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
      if player ~= nil then
        player:ShuffleLibrary()
      end
    </RESOLUTION_TIME_ACTION>
  </ACTIVATED_ABILITY>
   <AUTHOR><![CDATA[Xander9009]]></AUTHOR>
   <EDITORS><![CDATA[Xander9009]]></EDITORS>
   <DATE><![CDATA[12-10-14]]></DATE>
</CARD_V2>
_______________________________
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

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 22 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form