• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Sideboard and max duplicate card rules.

  • Thread starter Thread starter jim at timewarpcomics.com
  • Start date Start date
J

jim at timewarpcomics.com

Guest
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/kTmEAA/MVfIAA/WuQolB/TM
---------------------------------------------------------------------~->
 
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.lEAA/MVfIAA/WuQolB/TM
---------------------------------------------------------------------~->
 
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.lEAA/MVfIAA/WuQolB/TM
---------------------------------------------------------------------~->
 
Back
Top