Page 3 of 9

Re: 03/10/2012 DOTP 2012 Eglin's Decks v0.93

PostPosted: 11 Mar 2012, 01:03
by CWheezy
That card that is supposed to autoplay if it starts in your hand doesn't work, I think

Re: 03/10/2012 DOTP 2012 Eglin's Decks v0.93

PostPosted: 11 Mar 2012, 02:21
by Eglin
CWheezy wrote:That card that is supposed to autoplay if it starts in your hand doesn't work, I think
Whoops! Sorry about that. Nabe has made working leylines - I'll switch Kev's out for Nabes on the next release.

Re: 03/10/2012 DOTP 2012 Eglin's Decks v0.93

PostPosted: 11 Mar 2012, 09:28
by thefiremind
My leyline implementation worked quite well, too, in case you want to try:
viewtopic.php?f=63&t=5778
The only approximation, as I said in the topic, is that it all happens during the upkeep of the first turn rather than the beginning, but at the beginning it wasn't working, and anyway it's highly unlikely that something has to happen before the first upkeep in the game... :wink:

Re: 03/10/2012 DOTP 2012 Eglin's Decks v0.93

PostPosted: 11 Mar 2012, 14:55
by Eglin
thefiremind wrote:My leyline implementation worked quite well, too, in case you want to try:
viewtopic.php?f=63&t=5778
The only approximation, as I said in the topic, is that it all happens during the upkeep of the first turn rather than the beginning, but at the beginning it wasn't working, and anyway it's highly unlikely that something has to happen before the first upkeep in the game... :wink:
Nabe's doesn't require any addons or XML statics, plus it's already been integrated. In fact, it was included in the last mod - I must've just forgotten to switch around the treefolk deck. Thanks, though. As an aside, have you considered using static strings instead of identifiers as indexes into Nabe's storage? "COMPARTMENT_LOST_CHANCE" would work just as well as COMPARTMENT_ID_LOST_CHANCE and eliminate the additional XML dependency.

Re: 03/10/2012 DOTP 2012 Eglin's Decks v0.93

PostPosted: 13 Mar 2012, 18:50
by Persee
For Doran, the Siege Tower,

Use Trigger "CREATURE_DEALT_COMBAT_DAMAGE" for all creature
In the resolution, use something like that :
Damage():SetAmount(TriggerObject():GetCurrentCharacteristics():GetCurrentToughness())

Re: 03/10/2012 DOTP 2012 Eglin's Decks v0.93

PostPosted: 13 Mar 2012, 18:59
by thefiremind
Persee wrote:For Doran, the Siege Tower,

Use Trigger "CREATURE_DEALT_COMBAT_DAMAGE" for all creature
In the resolution, use something like that :
Damage():SetAmount(TriggerObject():GetCurrentCharacteristics():GetCurrentToughness())
It's not necessary: Doran's ability is already coded in the game.
Code: Select all
  <STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Each creature assigns combat damage equal to its toughness rather than its power.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[]]></LOCALISED_TEXT>
    <FILTER>
    return (FilteredCard() ~= nil and
    FilteredCard():GetCardType():Test( CARD_TYPE_CREATURE ) ~= 0 and
    FilteredCard():GetZone() == ZONE_IN_PLAY)
    </FILTER>
    <CONTINUOUS_ACTION>
    FilteredCard():GetCurrentCharacteristics():Bool_Set( CHARACTERISTIC_USE_TOUGHNESS_FOR_COMBAT_DAMAGE, 1 )
    </CONTINUOUS_ACTION>
  </STATIC_ABILITY>
You don't need anything else. :)

Re: 03/10/2012 DOTP 2012 Eglin's Decks v0.93

PostPosted: 13 Mar 2012, 20:04
by Persee
And I didn't saw that. #-o

Re: 03/10/2012 DOTP 2012 Eglin's Decks v0.93

PostPosted: 13 Mar 2012, 20:15
by Eglin
thefiremind wrote:
Persee wrote:For Doran, the Siege Tower,

Use Trigger "CREATURE_DEALT_COMBAT_DAMAGE" for all creature
In the resolution, use something like that :
Damage():SetAmount(TriggerObject():GetCurrentCharacteristics():GetCurrentToughness())
It's not necessary: Doran's ability is already coded in the game.
Code: Select all
  <STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Each creature assigns combat damage equal to its toughness rather than its power.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[]]></LOCALISED_TEXT>
    <FILTER>
    return (FilteredCard() ~= nil and
    FilteredCard():GetCardType():Test( CARD_TYPE_CREATURE ) ~= 0 and
    FilteredCard():GetZone() == ZONE_IN_PLAY)
    </FILTER>
    <CONTINUOUS_ACTION>
    FilteredCard():GetCurrentCharacteristics():Bool_Set( CHARACTERISTIC_USE_TOUGHNESS_FOR_COMBAT_DAMAGE, 1 )
    </CONTINUOUS_ACTION>
  </STATIC_ABILITY>
You don't need anything else. :)
Haha... I actually saw that characteristic, but I didn't assume it was implemented. Is it? Have you tested it and found that it works?

Re: 03/10/2012 DOTP 2012 Eglin's Decks v0.93

PostPosted: 13 Mar 2012, 22:50
by thefiremind
Yes, it works perfectly.

Re: 03/10/2012 DOTP 2012 Eglin's Decks v0.93

PostPosted: 13 Mar 2012, 22:57
by Eglin
thefiremind wrote:Yes, it works perfectly.
Haha, that's awesome! Thanks very much for the heads-up. As hard as it is trying to write decks w/o being able to see the engine implementation or having proper debug support, I've gotta' hand it to Stainless - they have created a truly magnificent game engine for what is arguably the most complicated game in existence to program.

Re: 03/10/2012 DOTP 2012 Eglin's Decks v0.93

PostPosted: 14 Mar 2012, 03:06
by CWheezy
EDIT: Nevermind

Re: 03/10/2012 DOTP 2012 Eglin's Decks v0.93

PostPosted: 14 Mar 2012, 05:27
by Triadasoul
Any chance of the link to DOTP 2012 Custom DLC 1, because without that we couldn't give a try to your amazing work.

Re: 03/10/2012 DOTP 2012 Eglin's Decks v0.93

PostPosted: 14 Mar 2012, 06:51
by Eglin
Triadasoul wrote:Any chance of the link to DOTP 2012 Custom DLC 1, because without that we couldn't give a try to your amazing work.
There's a link to it in the first page: http://www.slightlymagic.net/forum/viewtopic.php?f=62&t=6057 I just checked it two minutes ago, and the link is still working. You don't need to install Kev's 2012 mods incrementally, like you apparently had to for the last game - just install the 1.2 mod and drop my .wad in your game directory.

Re: 03/10/2012 DOTP 2012 Eglin's Decks v0.93

PostPosted: 14 Mar 2012, 08:14
by Triadasoul
Thank you! [-o<

Re: 03/10/2012 DOTP 2012 Eglin's Decks v0.93

PostPosted: 15 Mar 2012, 19:22
by ptisan35700
The "I'll Take It" deck seems really interesting, but the Lux Cannon and Jinxed Idol cards don't seem to work right.

For me, Lux Cannon will charge but won't discharge. And Jinxed Idol won't change players after a creature sacrifice. Are you getting the same issues?


Love the interesting new cards you are putting out, Eglin! Keep up the great work!