It is currently 19 Jul 2025, 11:01
   
Text Size

Theros Cards

Moderator: CCGHQ Admins

Re: Theros Cards

Postby BlindWillow » 07 Sep 2013, 20:07

jacque wrote:Anyone planning to work on Master of Waves?
I'm waiting until cards have their artwork up before I work on them. Hopefully Wizards will quit their new annoying tendency to crop the art they put up, as I don't think Karl Kopinski puts stuff up very quickly.
BlindWillow
 
Posts: 213
Joined: 19 Jul 2012, 00:26
Has thanked: 11 times
Been thanked: 46 times

Re: Theros Cards

Postby Rari » 07 Sep 2013, 21:26

No art obviously, but if you want to play with Master of Waves, here ya go.

Master of Waves | Open
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="RARI_MASTER_OF_WAVES_5555553" />
  <CARDNAME text="MASTER_OF_WAVES" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Master of Waves]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Master of Waves]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Master of Waves]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Master of Waves]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Master of Waves]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Master of Waves]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Master of Waves]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Master of Waves]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Master of Waves]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="5555553" />
  <ARTID value="RARI_5555553" />
  <ARTIST name="Unknown" />
  <CASTING_COST cost="{3}{U}" />
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Merfolk" />
  <SUB_TYPE metaname="Wizard" />
  <EXPANSION value="THS" />
  <RARITY metaname="R" />
  <POWER value="2" />
  <TOUGHNESS value="1" />
  <STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Protection from red]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Protection from red]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Protection from red]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Protection from red]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Protection from red]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Protection from red]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Protection from red]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Protection from red]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Protection from red]]></LOCALISED_TEXT>
   <CONTINUOUS_ACTION layer="0">
    if EffectSource() ~= nil then
       local filter = ClearFilter()
       filter:Add( FE_COLOUR, OP_IS, COLOUR_RED )
       EffectSource():Protection()
    end
    </CONTINUOUS_ACTION>
  </STATIC_ABILITY>
  <STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Elemental creatures you control get +1/+1.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Elemental creatures you control get +1/+1.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Elemental creatures you control get +1/+1.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Elemental creatures you control get +1/+1.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Elemental creatures you control get +1/+1.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Elemental creatures you control get +1/+1.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Elemental creatures you control get +1/+1.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Elemental creatures you control get +1/+1.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Elemental creatures you control get +1/+1.]]></LOCALISED_TEXT>
    <FILTER>
    local filter = ClearFilter()
    filter:Add( FE_CARD_INSTANCE, OP_NOT, EffectSource() )
    filter:Add( FE_SUBTYPE, OP_IS, CREATURE_TYPE_ELEMENTAL)
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE  )
    filter:Add( FE_CONTROLLER, OP_IS, EffectController())
    </FILTER>
      <CONTINUOUS_ACTION layer="7C" filter_id="0">
    if FilteredCard() ~= nil then
       local characteristics = FilteredCard():GetCurrentCharacteristics()
       characteristics:Power_Add( 1 )
       characteristics:Toughness_Add( 1 )
    end
    </CONTINUOUS_ACTION>
  </STATIC_ABILITY>
  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Master of Waves enters the battlefield, put a number of 1/0 blue Elemental creature tokens onto the battlefield equal to your devotion to blue.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[When Master of Waves enters the battlefield, put a number of 1/0 blue Elemental creature tokens onto the battlefield equal to your devotion to blue.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[When Master of Waves enters the battlefield, put a number of 1/0 blue Elemental creature tokens onto the battlefield equal to your devotion to blue.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[When Master of Waves enters the battlefield, put a number of 1/0 blue Elemental creature tokens onto the battlefield equal to your devotion to blue.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[When Master of Waves enters the battlefield, put a number of 1/0 blue Elemental creature tokens onto the battlefield equal to your devotion to blue.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[When Master of Waves enters the battlefield, put a number of 1/0 blue Elemental creature tokens onto the battlefield equal to your devotion to blue.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[When Master of Waves enters the battlefield, put a number of 1/0 blue Elemental creature tokens onto the battlefield equal to your devotion to blue.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[When Master of Waves enters the battlefield, put a number of 1/0 blue Elemental creature tokens onto the battlefield equal to your devotion to blue.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[When Master of Waves enters the battlefield, put a number of 1/0 blue Elemental creature tokens onto the battlefield equal to your devotion to blue.]]></LOCALISED_TEXT>
    <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
    <RESOLUTION_TIME_ACTION>
   local filter = ClearFilter()
   filter:Add( FE_IS_PERMANENT, true )
   filter:Add( FE_CONTROLLER, OP_IS, EffectController())
   local total = filter:ChromaCount(COLOUR_BLUE)
    MTG():PutTokensOntoBattlefield( "TOKEN_ELEMENTAL_1_0_U_247058", total, EffectController() )
    </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
  <TOKEN_REGISTRATION reservation="1" type="TOKEN_ELEMENTAL_1_0_U_247058" />
  <HELP title="MORE_INFO_TITLE_DEVOTION" body="MORE_INFO_BODY_DEVOTION" zone="ZONE_ANY" />
  <SFX text="COMBAT_BLUNT_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
  <SFX text="COMBAT_BLUNT_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
</CARD_V2>
Elemental token | Open
Code: Select all
<?xml version="1.0"?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="TOKEN_ELEMENTAL_1_0_U_247058" />
  <CARDNAME text="ELEMENTAL" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[ELEMENTAL]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[ÉLÉMENTAL]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[ELEMENTAL]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[ELEMENTARWESEN]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[ELEMENTALE]]></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[ELEMENTAL]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="247058" />
  <ARTID value="247058" />
  <COLOUR value="U" />
  <ARTIST name="Unknown" />
  <CASTING_COST cost="" />
  <TYPE metaname="Creature" />
  <SUB_TYPE metaname="Elemental" />
  <EXPANSION value="DPI" />
  <RARITY metaname="T" />
  <POWER value="1" />
  <TOUGHNESS value="0" />
  <TOKEN />
  <SFX text="COMBAT_PLASMA_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
  <SFX text="COMBAT_PLASMA_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
</CARD_V2>
Please help yourself to my collection of DoTP artwork. Pretty cards for everyone!
User avatar
Rari
 
Posts: 47
Joined: 14 Jul 2013, 05:59
Has thanked: 16 times
Been thanked: 4 times

Re: Theros Cards

Postby gorem2k » 07 Sep 2013, 21:47

BlindWillow wrote:
jacque wrote:Anyone planning to work on Master of Waves?
I'm waiting until cards have their artwork up before I work on them. Hopefully Wizards will quit their new annoying tendency to crop the art they put up, as I don't think Karl Kopinski puts stuff up very quickly.
Just in case you have free time and are willing to, I've found two card art on google that I'm eager to try out.

Bident of Thassa and Thassa, God of the Sea. Bident for card draw advantage, devotion to blue, combat control and Thassa for being the cheapest God :lol: . I've got my mind set on these two for my first Theros themed deck.

Just asking now to you because if you don't plan to make these, I will probably make english-only version in the next few days.
Attachments
thassa_art.zip
(252.55 KiB) Downloaded 354 times
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: Theros Cards

Postby BlindWillow » 07 Sep 2013, 22:30

I was thinking the gods of Theros would be my next project. I'm not sure how the game handles enchantment creatures, and I don't think there's a creature type of "god" yet. So that would have to be added. Thassa is the most appealing of the gods for that casting cost and flexible abilities to be sure. Pity it doesn't have the coolest artwork. That would have to be Nylea, in my opinion, but then I'm a sucker for Chris Rahn's style. :lol:
BlindWillow
 
Posts: 213
Joined: 19 Jul 2012, 00:26
Has thanked: 11 times
Been thanked: 46 times

Re: Theros Cards

Postby gorem2k » 07 Sep 2013, 23:04

BlindWillow wrote:Pity it doesn't have the coolest artwork. That would have to be Nylea, in my opinion, but then I'm a sucker for Chris Rahn's style. :lol:
I totally agree on this artist, I mean I have to confess that the one card that caught my eye first when I browsed Theros spoilers was Voyage's End. on the other hand, I find that card's name a little dramatic for its effect. Exile target creature would've been more like a voyage's end to me :wink: still I really love that painting.
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: Theros Cards

Postby thefiremind » 07 Sep 2013, 23:08

BlindWillow wrote:Hopefully Wizards will quit their new annoying tendency to crop the art they put up
I thought I was the only one who noticed it and repeatedly cursed Wizards for that reason... :lol: That damn fixed 400px height is nonsense: it's a web page, not a paper page, the articles don't need to fit!

gorem2k wrote:on the other hand, I find that card's name a little dramatic for its effect. Exile target creature would've been more like a voyage's end to me :wink:
But being exiled is a Journey to Nowhere, so the voyage would go on in that case... :lol: (Yep, we are making smart humour on Magic card titles, someone would find us weird... but not on these forums. :mrgreen:)
< 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: Theros Cards

Postby drleg3nd » 08 Sep 2013, 00:17

so is this the place to get theros cards like sumo did for return to ravnica last year ?
drleg3nd
 
Posts: 528
Joined: 14 May 2012, 20:05
Has thanked: 5 times
Been thanked: 30 times

Re: Theros Cards

Postby BlindWillow » 08 Sep 2013, 01:50

Alright, here she is: Thassa, in all her glory. Surprisingly, worked exactly as intended right from the start. You'll need to add the creature type GOD to your CREATURE_TYPES file. I added GOD to ENCHANTMENT_TYPES too, just in case. Define constants for both of those types in whatever .lol file you use for that (I added them to thefiremind's D14_TFM_CREATURE_TYPE_CONSTANTS.lol since I have his DLC installed).

Add the following row to your system_text file:
Code: Select all
   <Row>
    <Cell><Data ss:Type="String">CARD_SUBTYPE_GOD</Data></Cell>
    <Cell ss:Index="3"><Data ss:Type="String">God</Data></Cell>
    <Cell><Data ss:Type="String">dieu</Data></Cell>
    <Cell><Data ss:Type="String">Deidad</Data></Cell>
    <Cell><Data ss:Type="String">Gott</Data></Cell>
    <Cell><Data ss:Type="String">Dio</Data></Cell>
    <Cell ss:Index="9"><Data ss:Type="String">神</Data></Cell>
    <Cell><Data ss:Type="String">신</Data></Cell>
    <Cell><Data ss:Type="String">Бог</Data></Cell>
    <Cell><Data ss:Type="String">Deus</Data></Cell>
   </Row>
I went ahead and typed up the more_info_text entries for devotion to blue. Here's that:
Code: Select all
   <Row>
    <Cell ss:StyleID="s62"><Data ss:Type="String">MORE_INFO_BODY_DEVOTION_BLUE</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">More info for devotion to blue</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Each {U} in the mana costs of permanents you control counts toward your devotion to blue.</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Chaque {U} dans les coûts de mana des permanents que vous contrôlez compte pour votre dévotion au bleu.</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Cada {U} en los costes de maná de los permanentes que controlas cuenta para tu devoción al azul.</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Jedes {U} in den Manakosten von bleibenden Karten, die du kontrollierst, erhöht deine Hingabe zu Blau um eins.</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">La tua devozione al blu è la somma dei {U} nel costo di mana dei permanenti che controlli.</Data></Cell>
    <Cell ss:Index="9" ss:StyleID="s62"><Data ss:Type="String">Each {U} in the mana costs of permanents you control counts toward your devotion to blue.</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Each {U} in the mana costs of permanents you control counts toward your devotion to blue.</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Each {U} in the mana costs of permanents you control counts toward your devotion to blue.</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Cada {U} nos custos de mana de permanentes que você controla conta para sua devoção ao azul.</Data></Cell>
   </Row>
   <Row>
    <Cell ss:StyleID="s62"><Data ss:Type="String">MORE_INFO_TITLE_DEVOTION_BLUE</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String"></Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Devotion to blue</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Dévotion au bleu</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Devoción al azul</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Hingabe zu Blau</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Devozione al blu</Data></Cell>
    <Cell ss:Index="9" ss:StyleID="s62"><Data ss:Type="String">Devotion to blue</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Devotion to blue</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Devotion to blue</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Devoção ao azul</Data></Cell>
   </Row>
And everything should work. If I've forgotten something, let me know.
Attachments
thassa.zip
(108.41 KiB) Downloaded 339 times
BlindWillow
 
Posts: 213
Joined: 19 Jul 2012, 00:26
Has thanked: 11 times
Been thanked: 46 times

Re: Theros Cards

Postby gorem2k » 08 Sep 2013, 05:01

BlindWillow wrote:Alright, here she is: Thassa, in all her glory.
Thanks!! at first I wasn't seeing its subtype but now everything's fine. I had forgot to add GOD in SPECS\CREATURE_TYPES.TXT (was too hasty

got to get used to Scry 1 each turn heheh that's insane!

too bad Flamespeaker Adept won't be possible, unless someone find a way to detect when a player scry. (when players cry :lol:
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: Theros Cards

Postby thefiremind » 08 Sep 2013, 08:27

gorem2k wrote:too bad Flamespeaker Adept won't be possible, unless someone find a way to detect when a player scry. (when players cry :lol:
You can't, unless you add something to the cards with scry, for example a MTG():FireTrigger(..., ...) that could be detected by Flamespeaker Adept.
Those triggers:
Code: Select all
TRIGGER_SET_IN_MOTION = 57
TRIGGER_ABANDONED = 58

TRIGGER_ROLLED_CHAOS = 60
TRIGGER_ROLLED_PLANESWALK = 61
TRIGGER_PHENOMENON_ENCOUNTERED = 62
TRIGGER_PLANESWALK_AWAY_FROM = 63
TRIGGER_PLANESWALK_TO = 64
TRIGGER_PLANAR_DIE_ROLLED = 65
aren't used anymore, so we could decide to use one of them as TRIGGER_SCRY. Since FireTrigger only accepts a TriggerObject as parameter, you should pass the card that allowed you to scry, and then check TriggerObject():GetPlayer() == EffectController() (or use the simple_qualifier) inside Flamespeaker Adept's trigger. I don't think there will be cards that allow a player to scry without being under his control, so there shouldn't be problems with that.

Example:
Card with scry:
Code: Select all
    -- ...scry code
    MTG():FireTrigger( TRIGGER_SET_IN_MOTION, EffectSourceLKI() )
Flamespeaker Adept:
Code: Select all
  <TRIGGERED_ABILITY>
    <TRIGGER value="SET_IN_MOTION" simple_qualifier="objectyoucontrol" />
    -- ...code for what Flamespeaker Adept does when you scry
  </TRIGGERED_ABILITY>
Of course, once someone decides to use a trigger for this, nobody else should use the same trigger for something else, otherwise we would lose compatibility. I used TRIGGER_TURNED_FACE_UP as TRIGGER_TRANSFORM in my transform cards, so that's out of the choice. :D

EDIT: Actually, now that I think about it, you can scry because of a card you don't control... if another player gains control of it in response to your activation of the scry ability. I can't think of a solution for that, but hopefully it won't be a very common scenario.

EDIT 2: Forget what I said here and scroll down for sumomole's idea. :P
Last edited by thefiremind on 08 Sep 2013, 10:20, edited 1 time in total.
< 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: Theros Cards

Postby sumomole » 08 Sep 2013, 09:51

I think TRIGGER_STATE_BASED_EFFECTS + PlayerDataChest may be better than FireTrigger, but I have no time to try.
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Theros Cards

Postby thefiremind » 08 Sep 2013, 10:06

sumomole wrote:I think TRIGGER_STATE_BASED_EFFECTS + PlayerDataChest may be better than FireTrigger, but I have no time to try.
I understand your idea and I like it. Yes, I think it's definitely better. :mrgreen:

Example:
Card with scry:
Code: Select all
    -- ...scry code
    EffectController():PlayerDataChest():Int_Inc( PLAYER_SCRIED )
Flamespeaker Adept:
Code: Select all
  <TRIGGERED_ABILITY>
    <TRIGGER value="STATE_BASED_EFFECTS">
    local player_chest = EffectController():PlayerDataChest()
    if player_chest:Get_Int( PLAYER_SCRIED ) &gt; 0 then
       player_chest:Int_Dec( PLAYER_SCRIED )
       return true
    end
    return false
    </TRIGGER>
    -- ...code for what Flamespeaker Adept does when you scry
  </TRIGGERED_ABILITY>
PLAYER_SCRIED needs to be defined in a LOL file, of course.

EDIT: I made the register work as a counter rather than just a flag, this should make it compatible with Cryptic Annelid.
< 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: Theros Cards

Postby sumomole » 08 Sep 2013, 10:33

thefiremind wrote:Example:
Card with scry:
Code: Select all
    -- ...scry code
    EffectController():PlayerDataChest():Int_Inc( PLAYER_SCRIED )
Flamespeaker Adept:
Code: Select all
  <TRIGGERED_ABILITY>
    <TRIGGER value="STATE_BASED_EFFECTS">
    local player_chest = EffectController():PlayerDataChest()
    if player_chest:Get_Int( PLAYER_SCRIED ) &gt; 0 then
       player_chest:Int_Dec( PLAYER_SCRIED )
       return true
    end
    return false
    </TRIGGER>
    -- ...code for what Flamespeaker Adept does when you scry
  </TRIGGERED_ABILITY>
PLAYER_SCRIED needs to be defined in a LOL file, of course.
We can't reduce the value of PlayerDataChest, but should increase the value of a LinkedDC that each Flamespeaker Adept own, since there may be two Flamespeaker Adept on the battlefield.
I put Flamespeaker Adept's ability on Cryptic Annelid to test, it seems to work. I use -2626 as my scry id.
Cryptic Annelid | Open
Code: Select all
  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Cryptic Annelid enters the battlefield, scry 1, then scry 2, then scry 3.]]></LOCALISED_TEXT>
    <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
    <RESOLUTION_TIME_ACTION repeating="1">
    return S_ScryFateseal(1, EffectController())
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION repeating="1">
    return S_ScryFateseal(2, EffectController())
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION repeating="1">
    return S_ScryFateseal(3, EffectController())
    </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
  <TRIGGERED_ABILITY linked_ability_group="1">
    <TRIGGER value="STATE_BASED_EFFECTS">
    local player_chest = EffectController():PlayerDataChest()
    if player_chest:Get_Int(-2626) &gt; LinkedDC():Get_Int(-2626) then
       LinkedDC():Int_Inc(-2626)
       return true
    end
    return false
    </TRIGGER>
    <CONTINUOUS_ACTION layer="7C">
    if EffectSource() ~= nil then
       local characteristics = EffectSource():GetCurrentCharacteristics()
       characteristics:Power_Add( 2 )
       characteristics:Toughness_Add( 0 )
    end
    </CONTINUOUS_ACTION>
    <DURATION simple_duration="UntilEOT" />
    <AUTO_SKIP no_effect_source="1" />
  </TRIGGERED_ABILITY>
  <TRIGGERED_ABILITY linked_ability_group="1" replacement_effect="1" priority="20">
    <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
    <RESOLUTION_TIME_ACTION>
    LinkedDC():Set_Int(-2626, EffectController():PlayerDataChest():Get_Int(-2626))
    </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
The following is my scry & fateseal function, player is the owner of the library, in scry it certainly is effect controller.
scry & fateseal function | Open
Code: Select all
S_ScryFateseal = function(index, player)
  if player == nil then
    return false
  end
  local n = MTG():GetActionRepCount()
  local parity = n % 2
  local effectController = EffectController()
  if parity == 0 then
    local filter = ClearFilter()
    filter:SetZone( ZONE_LIBRARY, player )
    if n == 0 then
      local scry_count = filter:CountStopAt(index)
      EffectDC():Set_Int(2, scry_count)
      filter:SetPortion( scry_count )
      effectController:SetItemCount( scry_count )
      for i = 0, (scry_count-1) do
         effectController:SetItemPrompt( i, "CARD_QUERY_CHOOSE_CARD_TO_PUT_ON_BOTTOM_LIBRARY" )
      end       
      effectController:ChooseItems( EffectDC():Make_Targets(100+n/2), QUERY_FLAG_UP_TO )
    else
      local scry_count = EffectDC():Get_Int(2)
      if scry_count > 0 then
        filter:SetPortion( scry_count )
        effectController:SetItemCount( scry_count )
         for i = 0, (scry_count-1) do
           effectController:SetItemPrompt( i, "CARD_QUERY_CHOOSE_CARD_TO_PUT_ONTO_LIBRARY" )
         end
         effectController:ChooseItems( EffectDC():Make_Targets(100+n/2) )
      end
    end
    return true
  else
    local scry_count = EffectDC():Get_Int(2)
    if scry_count > 0 then
      for i = 0, (scry_count-1) do
        local target = EffectDC():Get_Targets(100+n/2):Get_CardPtr(i)
        if target ~= nil then
          if n == 1 then
             target:PutOnBottomOfLibrary()
             scry_count = scry_count - 1
          else
             target:PutOnTopOfLibrary()
          end
        end
       end
    end
    if n == 3 or scry_count < 2 then
      effectController:PlayerDataChest():Int_Inc( -2626 )
       return false
    else
      EffectDC():Set_Int(2, scry_count)
       return true
    end
  end
end
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Theros Cards

Postby BlindWillow » 08 Sep 2013, 18:00

Here's Nylea. Add the following MORE_INFO_TEXT for devotion to green:

Code: Select all
   <Row>
    <Cell ss:StyleID="s62"><Data ss:Type="String">MORE_INFO_BODY_DEVOTION_GREEN</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">More info for devotion to green</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Each {G} in the mana costs of permanents you control counts toward your devotion to green.</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Chaque {G} dans les coûts de mana des permanents que vous contrôlez compte pour votre dévotion au vert.</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Cada {G} en los costes de maná de los permanentes que controlas cuenta para tu devoción al verde.</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Jedes {G} in den Manakosten von bleibenden Karten, die du kontrollierst, erhöht deine Hingabe zu Grün um eins.</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">La tua devozione al verde è la somma dei {G} nel costo di mana dei permanenti che controlli.</Data></Cell>
    <Cell ss:Index="9" ss:StyleID="s62"><Data ss:Type="String">Each {G} in the mana costs of permanents you control counts toward your devotion to green.</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Each {G} in the mana costs of permanents you control counts toward your devotion to green.</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Each {G} in the mana costs of permanents you control counts toward your devotion to green.</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Cada {G} nos custos de mana de permanentes que você controla conta para sua devoção ao verde.</Data></Cell>
   </Row>
   <Row>
    <Cell ss:StyleID="s62"><Data ss:Type="String">MORE_INFO_TITLE_DEVOTION_GREEN</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String"></Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Devotion to green</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Dévotion au vert</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Devoción al verde</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Hingabe zu Grün</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Devozione al verde</Data></Cell>
    <Cell ss:Index="9" ss:StyleID="s62"><Data ss:Type="String">Devotion to green</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Devotion to green</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Devotion to green</Data></Cell>
    <Cell ss:StyleID="s62"><Data ss:Type="String">Devoção ao verde</Data></Cell>
   </Row>
Attachments
nylea.zip
(109.64 KiB) Downloaded 279 times
BlindWillow
 
Posts: 213
Joined: 19 Jul 2012, 00:26
Has thanked: 11 times
Been thanked: 46 times

Re: Theros Cards

Postby gorem2k » 09 Sep 2013, 02:24

A God's weapon, Bident of Thassa. mostly in English. unofficial illustration.
Attachments
bident_of_thassa.zip
(103.35 KiB) Downloaded 323 times
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 9 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form