It is currently 25 Jun 2025, 22:28
   
Text Size

Kieran: Taken deck request (2014)

Moderator: CCGHQ Admins

Re: Kieran: Taken deck request (2014)

Postby GrovyleXShinyCelebi » 29 Sep 2013, 03:18

I just had an inspiration on how Patron of the Kitsune can be made. First off, I need to be sure I have the right idea with how <COST type="Generic"> works. Does it work that all effects in all RESOLUTION_TIME_ACTIONs have to resolve in the COST block before the card "activates"? What functions/blocks can work inside a COST block (i.e. do TARGET blocks work?) And why is the PREREQUISITE block with "return true" necessary?

Opal-Eye doesn't look too complex, just set a variable to Damage():RedirectAll(), and have the trigger object deal that damage to Opal-Eye. As for the "next time" part I'd just make a delayed trigger upon ability activation (cause I'm crazy for those now :lol: ).

Last thing, in a COST block, would "return false" stop the rest of the RESOLUTION_TIME_ACTIONs and cancel the attempt at casting the spell?
User avatar
GrovyleXShinyCelebi
 
Posts: 294
Joined: 12 Jun 2013, 18:23
Has thanked: 14 times
Been thanked: 37 times

Re: Kieran: Taken deck request (2014)

Postby Pheonix56 » 29 Sep 2013, 04:11

Oh oops I thought flip cards work similarly to werewolves and other transform cards. Can it be made that way? Again I am just guessing here...

Thanks for making the other cards guys! You're awesome!
Pheonix56
 
Posts: 15
Joined: 01 Sep 2013, 10:58
Has thanked: 4 times
Been thanked: 0 time

Re: Kieran: Taken deck request (2014)

Postby MC Brodie » 29 Sep 2013, 04:30

GrovyleXShinyCelebi wrote:I just had an inspiration on how Patron of the Kitsune can be made. First off, I need to be sure I have the right idea with how <COST type="Generic"> works. Does it work that all effects in all RESOLUTION_TIME_ACTIONs have to resolve in the COST block before the card "activates"? What functions/blocks can work inside a COST block (i.e. do TARGET blocks work?) And why is the PREREQUISITE block with "return true" necessary?
It should work like that. You can specify what you need sacrificed. The problem that I figured I run into at some point was checking the availability to cast the spell since it would have to consider the cmc (including number of {W}) of foxes on the battlefield. I guess it should be possible. Just wasn't thinking

GrovyleXShinyCelebi wrote:Opal-Eye doesn't look too complex, just set a variable to Damage():RedirectAll(), and have the trigger object deal that damage to Opal-Eye. As for the "next time" part I'd just make a delayed trigger upon ability activation (cause I'm crazy for those now :lol: ).
Yea for some reason I thought you had to target the ability while it's on the stack. I guess you are supposed to target the permanent that activated/triggered the ability.

Pheonix56 wrote:Oh oops I thought flip cards work similarly to werewolves and other transform cards. Can it be made that way? Again I am just guessing here...

Thanks for making the other cards guys! You're awesome!
They are similar. But for some reason I think the person that created the transform card approximations said that flip cards wouldn't work as well. Either that, or I'm misquoting him entirely.
-----------------------------------------------------------------------
Song of the Day: 46 and 2 (cover)
MC Brodie
 
Posts: 310
Joined: 01 Jun 2013, 00:10
Has thanked: 44 times
Been thanked: 34 times

Re: Kieran: Taken deck request (2014)

Postby jacque » 29 Sep 2013, 04:49

GrovyleXShinyCelebi wrote:I just had an inspiration on how Patron of the Kitsune can be made. First off, I need to be sure I have the right idea with how <COST type="Generic"> works. Does it work that all effects in all RESOLUTION_TIME_ACTIONs have to resolve in the COST block before the card "activates"? What functions/blocks can work inside a COST block (i.e. do TARGET blocks work?) And why is the PREREQUISITE block with "return true" necessary?
The first thing that came to my mind was, though we can get the CMC of the spells, but how would it be able to differentiate how many colored mana lacking, since I assume CMC converts the whole thing into a number, and it'll be colourless...

Would the GetConvertedManaCost function be able to differentiate {3} {W} {W} from {2} {W} and returns {1} {W} as the mana lacking?

I've worked on cards which has 2 RESOLUTION_TIME_ACTIONs under the <COST> block... of which must be fulfilled before the spell/ability is resolved...

The <PREREQUISITE> doesn't have to always return a true/false... *from what I've seen thus far*... It can also return a "value" something like this:
Code: Select all
return filter:CountStopAt(1) == 1
Please correct me if I'm wrong... I am still learning =)
Learn making your own cards today!!!

Click on Image if a post/reply helped you.

I stitch old cards together to make new ones...

~ Jacque, the confused
jacque
 
Posts: 217
Joined: 07 Jun 2013, 20:11
Has thanked: 26 times
Been thanked: 44 times

Re: Kieran: Taken deck request (2014)

Postby MC Brodie » 29 Sep 2013, 07:39

jacque wrote:
GrovyleXShinyCelebi wrote:I just had an inspiration on how Patron of the Kitsune can be made. First off, I need to be sure I have the right idea with how <COST type="Generic"> works. Does it work that all effects in all RESOLUTION_TIME_ACTIONs have to resolve in the COST block before the card "activates"? What functions/blocks can work inside a COST block (i.e. do TARGET blocks work?) And why is the PREREQUISITE block with "return true" necessary?
The first thing that came to my mind was, though we can get the CMC of the spells, but how would it be able to differentiate how many colored mana lacking, since I assume CMC converts the whole thing into a number, and it'll be colourless...

Would the GetConvertedManaCost function be able to differentiate {3} {W} {W} from {2} {W} and returns {1} {W} as the mana lacking?
You could count the colored mana symbols using ChromaCount so there would be a way to figure it out. Don't know if that's the best way but it's possible.

jacque wrote:The <PREREQUISITE> doesn't have to always return a true/false... *from what I've seen thus far*... It can also return a "value" something like this:
Code: Select all
return filter:CountStopAt(1) == 1
Please correct me if I'm wrong... I am still learning =)
Well technically that still returns true :). And don't worry, we all are still learning.
-----------------------------------------------------------------------
Song of the Day: 46 and 2 (cover)
MC Brodie
 
Posts: 310
Joined: 01 Jun 2013, 00:10
Has thanked: 44 times
Been thanked: 34 times

Re: Kieran: Taken deck request (2014)

Postby thefiremind » 29 Sep 2013, 09:11

GrovyleXShinyCelebi wrote:why is the PREREQUISITE block with "return true" necessary?
Because the developers coded the generic costs this way. If you don't include the PREREQUISITE block, the default is "return false", and the cost will be considered not affordable.

Pheonix56 wrote:Oh oops I thought flip cards work similarly to werewolves and other transform cards. Can it be made that way? Again I am just guessing here...
There's an important difference: a copy of a flipped permanent is born unflipped and can be flipped later, while a copy of a transformed card is born transformed and can't be transformed again. This makes flip cards impossible to code properly by using clone effects.

MC Brodie wrote:You could count the colored mana symbols using ChromaCount so there would be a way to figure it out. Don't know if that's the best way but it's possible.
It's not the best way... it's the only way. :lol: There's no function in any DotP game that retrieves the exact cost of a card. Of course ChromaCount can't handle hybrid mana (even by using the converted mana cost as additional information, {1} {BR} {BR} will return the same result as {BR} {B} {R} ), but I think there are no Fox creatures with hybrid mana, so it's OK.
I made an approximation of Patron of the Moon for DotP2013 so I can take a look at it and try to come up with something, but it will take some time.
EDIT: It took less than expected, look here. :wink:

MC Brodie wrote:I guess you are supposed to target the permanent that activated/triggered the ability.
A source could potentially be in any zone, so you need to let the player choose the zone. Luckily it isn't targetted, so a query will suffice (without the need to use modes).
< 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: Kieran: Taken deck request (2014)

Postby sumomole » 29 Sep 2013, 16:26

thefiremind wrote:It's not the best way... it's the only way. :lol: There's no function in any DotP game that retrieves the exact cost of a card. Of course ChromaCount can't handle hybrid mana (even by using the converted mana cost as additional information, {1} {BR} {BR} will return the same result as {BR} {B} {R} ), but I think there are no Fox creatures with hybrid mana, so it's OK.
I made an approximation of Patron of the Moon for DotP2013 so I can take a look at it and try to come up with something, but it will take some time.
EDIT: It took less than expected, look here. :wink:
If we count colorless mana symbol first, we can distinguish between {1} {BR} {BR} and {BR} {B} {R} .
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Kieran: Taken deck request (2014)

Postby RiiakShiNal » 29 Sep 2013, 17:49

sumomole wrote:If we count colorless mana symbol first, we can distinguish between {1} {BR} {BR} and {BR} {B} {R} .
Does ChromaCount() work for COLOUR_COLOURLESS? If it does that definitely helps, but could still pose a problem with costs like: {2} {WB} {U}, {2/W}{2/W}{2/W}, {2/W}{2/U}{2/B}{2/R}{2/G}.
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Kieran: Taken deck request (2014)

Postby sumomole » 29 Sep 2013, 18:22

RiiakShiNal wrote:
sumomole wrote:If we count colorless mana symbol first, we can distinguish between {1} {BR} {BR} and {BR} {B} {R} .
Does ChromaCount() work for COLOUR_COLOURLESS? If it does that definitely helps, but could still pose a problem with costs like: {2} {WB} {U}, {2/W}{2/W}{2/W}, {2/W}{2/U}{2/B}{2/R}{2/G}.
In DotP2013 is yes, I have updated firemind's mana functions and coded Flash, it can work for all existing cards. But I haven't test in DotP2014, since I no longer need Flash and we have a official Snapcaster Mage. :lol:
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Kieran: Taken deck request (2014)

Postby thefiremind » 01 Oct 2013, 10:15

sumomole wrote:In DotP2013 is yes, I have updated firemind's mana functions and coded Flash, it can work for all existing cards. But I haven't test in DotP2014, since I no longer need Flash and we have a official Snapcaster Mage. :lol:
As RiiakShiNal already pointed out, there are some cards where knowing the amount of colorless mana won't help. Marisi's Twinclaws, for example, could have another combination of hybrid and non-hybrid mana: {2} {RG} {W} or {2} {GW} {R}, and you can't tell with ChromaCount.

However, I was wondering: if COLOUR_COLOURLESS works in ChromaCount, does COLOUR_X work as well?
EDIT: No, it doesn't. :(
< 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: Kieran: Taken deck request (2014)

Postby sylento22 » 03 Oct 2013, 03:25

how are those decks comin i sent ya Kieran ?
sylento22
 
Posts: 26
Joined: 21 Sep 2013, 09:19
Has thanked: 0 time
Been thanked: 0 time

Re: Kieran: Taken deck request (2014)

Postby Kieran » 03 Oct 2013, 06:59

I'm currently working to get decks out and I'll make a list of the cards you'll need (if any) and post them in the opening thread. However, if I have the cards I'll go ahead and complete your decks. Expect to see your decks listed in the opening thread later on. And thanks for submitting your requests.
Kieran
 
Posts: 232
Joined: 03 Nov 2012, 01:09
Has thanked: 21 times
Been thanked: 16 times

Re: Kieran: Taken deck request (2014)

Postby sylento22 » 03 Oct 2013, 07:04

Thankx man i got alot more to put up as well i own 67 decks and all decks i put up are owned by me just kool to ahve my decks playable on DOTP 2014 :)
sylento22
 
Posts: 26
Joined: 21 Sep 2013, 09:19
Has thanked: 0 time
Been thanked: 0 time

Re: Kieran: Taken deck request (2014)

Postby Kieran » 03 Oct 2013, 07:18

It's good to know that we can provide a way for you to port your RL decks to digital format. That's one of the purposes of this topic.
Kieran
 
Posts: 232
Joined: 03 Nov 2012, 01:09
Has thanked: 21 times
Been thanked: 16 times

Re: Kieran: Taken deck request (2014)

Postby sylento22 » 03 Oct 2013, 10:12

the amount of money i have shelled out on MTG over the years (1994-2014) they should call me up in RL and ask me what i want in the game lol......
sylento22
 
Posts: 26
Joined: 21 Sep 2013, 09:19
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 25 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form