It is currently 07 Jul 2021, 07:22
   
Text Size

Deck request - Maverick

Moderators: Xander9009, CCGHQ Admins

Deck request - Maverick

Postby missalexis » 12 Aug 2012, 01:33

I hope it's OK for me to post a deck request here? I just watched the latest Inside the Deck #66 http://www.youtube.com/watch?v=S9mvnnJjIlI&feature=player_embedded and thought it looks like a really fun deck that would be fun to play in DOTP. :)
missalexis
 
Posts: 52
Joined: 28 Feb 2011, 00:08
Has thanked: 2 times
Been thanked: 5 times

Re: Deck request - Maverick

Postby RiiakShiNal » 12 Aug 2012, 01:58

If you want to request a deck then either post the card list for the deck or at the very least have a link to the card list. The video you've linked to mentions some of the cards used and shows a rough picture (which is impossible to identify all the cards) of the deck, but doesn't give a usable list for us to work from.

Most of the cards I saw are either possible to make or have already been made so this deck could probably be made given a card list. Some of the cards I didn't see for a long enough period of time to know one way or another and I didn't really want to spend a lot of time moving back and forth through the video.
RiiakShiNal
Programmer
 
Posts: 2160
Joined: 16 May 2011, 21:37
Has thanked: 74 times
Been thanked: 483 times


Re: Deck request - Maverick

Postby RiiakShiNal » 12 Aug 2012, 03:12

Of those cards:

All other cards should be possible to code without work-arounds (if they haven't already).

Cards already coded (that I know of):

So in some respects you could say that there is already a good start on this deck with Cavern of Souls being the only card that should prove to be the only major stumbling block.
RiiakShiNal
Programmer
 
Posts: 2160
Joined: 16 May 2011, 21:37
Has thanked: 74 times
Been thanked: 483 times

Re: Deck request - Maverick

Postby thefiremind » 12 Aug 2012, 08:36

Linvala is also present in my mod (one of the unlockables for the Angelic Might deck).
I coded dredge for DotP2012 using an invisible token that took care of the big work, and using an overly complicated workaround because somehow I made wrong tests and thought that AddCardName actually worked as if it was SetCardName. Now that I know that AddCardName works as intended, I could code it more easily, but I'd like to get rid of the invisible token. The problem is: how can I let only one of the dredge cards in my graveyard ask me if I want to dredge?
< 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: 719 times

Re: Deck request - Maverick

Postby RiiakShiNal » 12 Aug 2012, 12:22

I haven't updated to v5 of your mod yet so I didn't see Linvala in your mod (it wasn't in v4b).

As for letting only one of the cards in the graveyard ask the player to dredge, actually you would want each one to ask the player if he/she wants to dredge until the player says "yes" they want to dredge or they answer no to all of the cards with dredge. Once the player says "yes" then you set an int on the player data chest (in a play time action) which is checked by all cards with dredge (before asking the question on whether to dredge or not) to determine whether to ask the question or not (an int could be set in the EffectDC as to whether the question was asked or not). Any dredge card that doesn't ask the question obviously would also not dredge that time around. That should work.

Though I'm not sure what AddCardName and SetCardName have to do with the dredge mechanic. If you are trying to make sure that only one card out of duplicates asks the user to dredge then that is also possible without using AddCardName or SetCardName. You can store card pointers in a chest in the player data chest and then check the card GetRef() to see if it equals the GetRef() of a card that has already triggered (you could substitute GetCardName() if you wanted) to prevent the duplicates from triggering. It's not particularly difficult now that we have a data chest for each player.
RiiakShiNal
Programmer
 
Posts: 2160
Joined: 16 May 2011, 21:37
Has thanked: 74 times
Been thanked: 483 times

Re: Deck request - Maverick

Postby thefiremind » 12 Aug 2012, 13:27

RiiakShiNal wrote:actually you would want each one to ask the player if he/she wants to dredge until the player says "yes" they want to dredge or they answer no to all of the cards with dredge.
Actually I don't want to answer to dozens of questions once my graveyard gets big, I just need to answer once, and if I answer yes, then I can select which card I want to dredge.

AddCardName could have been useful to create a filter that lets me select only the cards with dredge (if a card has dredge, then all the other cards with the same name have dredge for sure), but with filter evaluation is even better: I can set a register that acts as a custom characteristic in the graveyard, and mark only the cards with dredge.
< 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: 719 times


Return to 2013

Who is online

Users browsing this forum: No registered users and 2 guests


Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 10 minutes)
Most users ever online was 1922 on 07 Jun 2021, 06:01

Users browsing this forum: No registered users and 2 guests

Login Form