It is currently 14 May 2025, 22:31
   
Text Size

Expansion Sneak Peek packs!

Moderator: CCGHQ Admins

Re: Expansion Sneak Peek packs!

Postby thefiremind » 05 Sep 2013, 08:34

GrovyleXShinyCelebi wrote:EDIT: I just realized that I made a huge mistake on the Bushido and Takeno's ability, and none of the Bushido effects work!
Bushido is very easy to make in DotP2014 thanks to the new "integer characteristic". So you need 2 parts for Bushido, a static ability that grants the bushido points:
Code: Select all
  <STATIC_ABILITY>
    <CONTINUOUS_ACTION layer="6">
    if EffectSource() ~= nil then
       EffectSource():GetCurrentCharacteristics():Int_Add( INT_CHARACTERISTIC_BUSHIDO, 2 ) -- this is for Bushido 2
    end
    </CONTINUOUS_ACTION>
  </STATIC_ABILITY>
and a triggered ability that actually grants the bonus. You could read the bushido points from the characteristic, but this would interfere with Sensei Golden-Tail (multiple instances of bushido should trigger independently), so it's better if you hard-code the bushido points there as well:
Code: Select all
  <TRIGGERED_ABILITY badge="BADGE_BUSHIDO">
    <TRIGGER value="BLOCKING" simple_qualifier="self" />
    <TRIGGER value="WAS_BLOCKED" simple_qualifier="self" />
    <CONTINUOUS_ACTION layer="7C">
    if EffectSource() ~= nil then
       local bushido = 2 -- this is for Bushido 2
       local characteristics = EffectSource():GetCurrentCharacteristics()
       characteristics:Power_Add( bushido )
       characteristics:Toughness_Add( bushido )
    end
    </CONTINUOUS_ACTION>
    <DURATION simple_duration="UntilEOT" />
  </TRIGGERED_ABILITY>
Now Takeno will just read the INT_CHARACTERISTIC_BUSHIDO in order to grant his bonus (you need to use Int_Get because Get_Int isn't defined for the characteristics), while Sensei Golden-Tail will grant both those abilities (with Bushido 1, of course). Put the ability text in any one of the 2 abilities, there's no difference.

GrovyleXShinyCelebi wrote:-I couldn't find any high-quality art for Hand of Honor, so the deckbox image is Kitsune Blademaster. If anyone can get some some good medium-large sized (about the size of in-game art images should do) Hand of Honor art by tomorrow, I'll make that the deckbox in the patch.
If I search for Hand of Honor in my web generator and follow the MagicVille link, I find a good art for it. :wink:
< 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: Expansion Sneak Peek packs!

Postby GrovyleXShinyCelebi » 05 Sep 2013, 21:52

thefiremind wrote:
GrovyleXShinyCelebi wrote:EDIT: I just realized that I made a huge mistake on the Bushido and Takeno's ability, and none of the Bushido effects work!
Bushido is very easy to make in DotP2014 thanks to the new "integer characteristic". So you need 2 parts for Bushido, a static ability that grants the bushido points:
Code: Select all
  <STATIC_ABILITY>
    <CONTINUOUS_ACTION layer="6">
    if EffectSource() ~= nil then
       EffectSource():GetCurrentCharacteristics():Int_Add( INT_CHARACTERISTIC_BUSHIDO, 2 ) -- this is for Bushido 2
    end
    </CONTINUOUS_ACTION>
  </STATIC_ABILITY>
and a triggered ability that actually grants the bonus. You could read the bushido points from the characteristic, but this would interfere with Sensei Golden-Tail (multiple instances of bushido should trigger independently), so it's better if you hard-code the bushido points there as well:
Code: Select all
  <TRIGGERED_ABILITY badge="BADGE_BUSHIDO">
    <TRIGGER value="BLOCKING" simple_qualifier="self" />
    <TRIGGER value="WAS_BLOCKED" simple_qualifier="self" />
    <CONTINUOUS_ACTION layer="7C">
    if EffectSource() ~= nil then
       local bushido = 2 -- this is for Bushido 2
       local characteristics = EffectSource():GetCurrentCharacteristics()
       characteristics:Power_Add( bushido )
       characteristics:Toughness_Add( bushido )
    end
    </CONTINUOUS_ACTION>
    <DURATION simple_duration="UntilEOT" />
  </TRIGGERED_ABILITY>
Now Takeno will just read the INT_CHARACTERISTIC_BUSHIDO in order to grant his bonus (you need to use Int_Get because Get_Int isn't defined for the characteristics), while Sensei Golden-Tail will grant both those abilities (with Bushido 1, of course). Put the ability text in any one of the 2 abilities, there's no difference.

GrovyleXShinyCelebi wrote:-I couldn't find any high-quality art for Hand of Honor, so the deckbox image is Kitsune Blademaster. If anyone can get some some good medium-large sized (about the size of in-game art images should do) Hand of Honor art by tomorrow, I'll make that the deckbox in the patch.
If I search for Hand of Honor in my web generator and follow the MagicVille link, I find a good art for it. :wink:
I hard-coded in Bushido, and it worked, but the issue was that then Takeno, Samurai General wouldn't be able to read the Bushido, so I, in my rush, searched for pre-coded Takeno, accidently stumbled upon a version from 2013, and from there I just made a mess.

Today I actually wanted to use Riiak Shi Nal's ObjectDC function to store a Bushido value for each card with it and then have Takeno retrieve it. Again, huge thanks for pointing the bushido points code out and saving me, as always! :D
User avatar
GrovyleXShinyCelebi
 
Posts: 294
Joined: 12 Jun 2013, 18:23
Has thanked: 14 times
Been thanked: 37 times

Re: Expansion Sneak Peek packs!

Postby GrovyleXShinyCelebi » 05 Sep 2013, 23:49

Alright, after a TON of work on this deck, Swords of the Samurai is up. Ugh, on top of Takeno, Yosei, the Morning Star and Ronin Warclub also gave me some moar headaches.

Also, does the deck still crash occasionally when you start it up? I thought Yosei and Warclub might have caused it, so I, again, remade the cards. Tell me if there's any other issues.

Next up, Sylvan Might.
User avatar
GrovyleXShinyCelebi
 
Posts: 294
Joined: 12 Jun 2013, 18:23
Has thanked: 14 times
Been thanked: 37 times

Re: Expansion Sneak Peek packs!

Postby GrovyleXShinyCelebi » 06 Sep 2013, 22:19

Alright, it turns out the crashing issue still happened, so I made one last check on my mod and fixed a few things, then tested it immensely. My reupload of Swords of the Samurai should have zero crashes.

Now, I can finally code in Spire Tracer (and see if "CHARACTERISTIC_CANT_BE_BLOCKED_EXCEPT_BY_CREATURES_WITH_FLYING_OR_REACH" works or not)
User avatar
GrovyleXShinyCelebi
 
Posts: 294
Joined: 12 Jun 2013, 18:23
Has thanked: 14 times
Been thanked: 37 times

Re: Expansion Sneak Peek packs!

Postby Shinneh » 06 Sep 2013, 22:51

Thank you so much, I really wanted to try the samurai deck.
Shinneh
 
Posts: 6
Joined: 09 Jul 2013, 00:07
Has thanked: 1 time
Been thanked: 1 time

Re: Expansion Sneak Peek packs!

Postby GrovyleXShinyCelebi » 06 Sep 2013, 23:51

Did it work? Are there any crashing or freezing or anything like that? This is my third attempt, and I really want to get it right this time.
User avatar
GrovyleXShinyCelebi
 
Posts: 294
Joined: 12 Jun 2013, 18:23
Has thanked: 14 times
Been thanked: 37 times

Re: Expansion Sneak Peek packs!

Postby GrovyleXShinyCelebi » 07 Sep 2013, 15:47

Alright, presenting the newest edition to Duels 2014's mono-color, tribal aggro god-tier, Sylvan Might!

Just a little heads-up, Wizards is remodeling their community site on Monday, September 9, and not only will the site be down but all posts made after August 26 will be erased, including the spoiled decklists. Therefore, I will post the decklists here just so you have access to them during the downtime.

Also, reuploaded Swords of the Samurai to fix a bug with Ronin Warclub.
User avatar
GrovyleXShinyCelebi
 
Posts: 294
Joined: 12 Jun 2013, 18:23
Has thanked: 14 times
Been thanked: 37 times

Re: Expansion Sneak Peek packs!

Postby GrovyleXShinyCelebi » 10 Sep 2013, 23:37

Dodge and Burn is up! Presenting Dack Fayden's Izzet burn deck (with a disappointing lack of a certain Firemind ;)).

Well, I just have one deck left to code, so I'm putting Lords of Darkness' decklist on here.
User avatar
GrovyleXShinyCelebi
 
Posts: 294
Joined: 12 Jun 2013, 18:23
Has thanked: 14 times
Been thanked: 37 times

Re: Expansion Sneak Peek packs!

Postby GrovyleXShinyCelebi » 12 Sep 2013, 22:32

ANNNNNNNNNNND finally, the last deck in the expansion, the very spaventoso mono-black demon deck, Lords of Darkness, is finally up! Don't hurt yourself with it (literally)!

Anyways, enjoy the decks and don't forget to catch the expansion on Wednesday, September 18! If you have any opinions/comments about the decks or want to report any bugs (highly unlikely as I did an extremely extensive round of debugging), feel free to talk about them here.

Image
User avatar
GrovyleXShinyCelebi
 
Posts: 294
Joined: 12 Jun 2013, 18:23
Has thanked: 14 times
Been thanked: 37 times

Previous

Return to 2014

Who is online

Users browsing this forum: No registered users and 38 guests


Who is online

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

Users browsing this forum: No registered users and 38 guests

Login Form