At 06:41 AM 7/21/2004, you wrote:
>The nearest parallel in a well-known datafile is power dice/dispel dice in
>Warhammer. I have an accumulator set up for rerolls; each army starts with a
>base 4, and I'd like to increase them based both on certain units being added
>to the roster, and also increase the base for each 500 points of roster size.
>
>So, if the roster is 0-499 points, there are 4 rerolls available. If
>500-999, 5
>rerolls are available, etc.
The best way I can think of relies on some user intervention. Have one unit
in the army be able to take an option that increases its "# rerolls" stat
by an amount relevant to one points cost. For example, you'd have one
option for 0-499 points, one for 500-999 points, another for 1000-1499
points, etc. Then simply let the user choose between them (either include
them all or use a table-based option). Have them assign types (reroll1,
reroll2, reroll3 etc) that the unit then checks using umax, as umax is the
only thing I can think of that lets you test based on the roster size.
So to summarise, you'd have some options:
option reroll1: stat:rerolls+1, type:reroll1
option reroll2: stat:rerolls+2, type:reroll2
option reroll3: etc etc
Then on the unit you'd have some external attributes:
umax:0u@500-when=reroll1
umax:1u@500-min-when=reroll2
umax:0u@1000-when=reroll2
umax:1u@1000-min-when=reroll3
umax:0u@1500-when=reroll3
etc etc.
You also need to make sure only one "# rerolls" options is taken for the
whole army. I think this should work adequately. Let me know if there are
issues with it and I'll see what else I can come up with.
Hope this helps,
--
Colen McAlister (colen@wolflair.com)
Lone Wolf Development
www.wolflair.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/IMSolB/TM
--------------------------------------------------------------------~->