Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Card Vault Forums > Card Vault
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
jim at timewarpcomics.com
Guest
 
Posts: n/a

Old October 5th, 2002, 10:59 PM
I'm trying to implement deck construction rules.

One rule is that a sideboard must be 0 or 15 cards.

The other is that there can't be more than 5 duplicates of any one
card in both in the sideboard and deck combined.

BTW: These are for the data files I'm doing for doomtrooper. (Yes I
still play it).


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home with Ease!
http://us.click.yahoo.com/SrPZMC/kTm...fIAA/WuQolB/TM
---------------------------------------------------------------------~->
  #1 Reply With Quote
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old October 6th, 2002, 02:27 PM
The sideboard size limit should be very simple. Obviously, it's a deck
rule, and the scope of the rule is whichever deck you've designated as the
sideboard (e.g. "deck2"). To impose the sideboard rule, you can use the '$'
term, which reports the total number of cards in the scope. So the rule
should look like:
($ = 0) | ($ = 15)

The second rule is a card scoping rule, since it applies to a single card
at a time. However, since it has to span multiple decks, the proper scope
needs to be "span". Since the limit applies to the count of each card, you
can use the '#' special term for card rules to obtain that count.
Therefore, verifying that you don't have more than 5 of a particular card
across all decks would look like:
(# <= 5)

That should cover both the rules. They're easy ones to implement.

Hope this helps,
Rob

At 06:59 AM 10/6/2002 +0000, you wrote:
>I'm trying to implement deck construction rules.
>
>One rule is that a sideboard must be 0 or 15 cards.
>
>The other is that there can't be more than 5 duplicates of any one
>card in both in the sideboard and deck combined.
>
>BTW: These are for the data files I'm doing for doomtrooper. (Yes I
>still play it).


---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (559) 658-6995
Lone Wolf Development www.wolflair.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Plan to Sell a Home?
http://us.click.yahoo.com/J2SnNA/y.l...fIAA/WuQolB/TM
---------------------------------------------------------------------~->
rob is offline   #2 Reply With Quote
jim at timewarpcomics.com
Guest
 
Posts: n/a

Old October 13th, 2002, 05:44 PM
Yep. that works. thanks rob.



--- In cardvault@y..., Rob Bowes <rob@w...> wrote:
> The sideboard size limit should be very simple. Obviously, it's a deck
> rule, and the scope of the rule is whichever deck you've designated
as the
> sideboard (e.g. "deck2"). To impose the sideboard rule, you can use
the '$'
> term, which reports the total number of cards in the scope. So the rule
> should look like:
> ($ = 0) | ($ = 15)
>
> The second rule is a card scoping rule, since it applies to a single
card
> at a time. However, since it has to span multiple decks, the proper
scope
> needs to be "span". Since the limit applies to the count of each
card, you
> can use the '#' special term for card rules to obtain that count.
> Therefore, verifying that you don't have more than 5 of a particular
card
> across all decks would look like:
> (# <= 5)
>
> That should cover both the rules. They're easy ones to implement.
>
> Hope this helps,
> Rob
>
> At 06:59 AM 10/6/2002 +0000, you wrote:
> >I'm trying to implement deck construction rules.
> >
> >One rule is that a sideboard must be 0 or 15 cards.
> >
> >The other is that there can't be more than 5 duplicates of any one
> >card in both in the sideboard and deck combined.
> >
> >BTW: These are for the data files I'm doing for doomtrooper. (Yes I
> >still play it).
>
>
>
---------------------------------------------------------------------------
> Rob Bowes (rob@w...) (559) 658-6995
> Lone Wolf Development
www.wolflair.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Plan to Sell a Home?
http://us.click.yahoo.com/J2SnNA/y.l...fIAA/WuQolB/TM
---------------------------------------------------------------------~->
  #3 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
card images/ bitmaps to card details? emperor799 at bellsouth.n Card Vault 3 September 23rd, 2003 02:10 PM
Duplicate Special item sheady at xtra.co.nz Army Builder 1 January 3rd, 2000 01:23 PM


All times are GMT -8. The time now is 10:04 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.