Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
Programming Talk



for sunburst decks
Moderator: CCGHQ Admins
for sunburst decks
by BlindWillow » 12 Sep 2012, 14:19
Came across this in the .exe file on the never-ending search to override card frames (still no luck on that front
): ignoreCmcOver.
Apparently if you set that attribute to 1 as part of your LandConfig tag, that bypasses the automatically calculated land insertions and puts a flat amount of each type of basic land in, which you can then play around with using minPlains, minIsland, etc. Not terribly useful for decks that don't want at least one of each type of basic land, as it doesn't appear you can have less than one of each. But for those building Sunburst-type decks, you don't have to include all five colors of spells if you don't want now.

Apparently if you set that attribute to 1 as part of your LandConfig tag, that bypasses the automatically calculated land insertions and puts a flat amount of each type of basic land in, which you can then play around with using minPlains, minIsland, etc. Not terribly useful for decks that don't want at least one of each type of basic land, as it doesn't appear you can have less than one of each. But for those building Sunburst-type decks, you don't have to include all five colors of spells if you don't want now.
- BlindWillow
- Posts: 213
- Joined: 19 Jul 2012, 00:26
- Has thanked: 11 times
- Been thanked: 46 times
Re: for sunburst decks
by thefiremind » 12 Sep 2012, 14:31
ignoreCmcOver="1" probably means "ignore cards with converted mana cost higher than 1", so if the only colored cards fall into that category, they will be ignored and the deck won't consider them for deciding the color. Anyway it's a really good discovery!
EDIT: I tried to use ignoreCmcOver="0" in my sunburst test deck and it works perfectly! (The attribute works perfectly, the deck doesn't, but that's another story.
)
EDIT: I tried to use ignoreCmcOver="0" in my sunburst test deck and it works perfectly! (The attribute works perfectly, the deck doesn't, but that's another story.

< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: for sunburst decks
by BlindWillow » 12 Sep 2012, 14:37
That makes a great deal of sense. Glad it works (the code at least).thefiremind wrote:ignoreCmcOver="1" probably means "ignore cards with converted mana cost higher than 1"

- BlindWillow
- Posts: 213
- Joined: 19 Jul 2012, 00:26
- Has thanked: 11 times
- Been thanked: 46 times
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 9 guests