Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Army Builder Forums > Army Builder
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Sort-Spion
Junior Member
 
Join Date: Feb 2012
Location: Denmark
Posts: 2

Old February 20th, 2012, 10:47 AM
Is it possible to make a dynamic override?

For example, if a given ruleset is chosen, a given stat should be raised by 1. Or if another ruleset is chosen, the text cost should be 10 higher than usual.

Particularly the last case is of interest to me, especially with more rulesets that individually changes the text cost be some amount. E.g. say three rulesets are defined (A, B and C), and any number of these ruleset can be chosen.
A unit costs 50 pts. If ruleset A or B is chosen, the unit becomes 5 pts. more expensive, and if ruleset C is chosen it becomes 10 pts. more expensive.

I know it could be written as

<override index="0" textcost="55">
<condition>ruleset.A | ruleset.B</condition>
</override>
<override index="1" priority="101" textcost="60">
<condition>ruleset.C | (ruleset.A & ruleset.B)</condition>
</override>
<override index="2" priority="102" textcost="65">
<condition>(ruleset.A | ruleset.B) & ruleset.C</condition>
</override>
<override index="3" priority="103" textcost="70">
<condition>ruleset.A & ruleset.B & ruleset.C</condition>
</override>

but this quickly becomes very tedious. Is it possible to do something like:

<override index="0" textcost="@text+5">
<condition>ruleset.A</condition>
</override>
<override index="1" textcost="@text+5">
<condition>ruleset.B</condition>
</override>
<override index="2" textcost="@text+10">
<condition>ruleset.C</condition>
</override>

or similarly with @cost to avoid problems with formatting?
Sort-Spion is offline   #1 Reply With Quote
Garfunkel
Senior Member
Volunteer Data File Author
 
Join Date: May 2005
Location: Grenoble, France
Posts: 167

Old February 22nd, 2012, 12:30 AM
Hello,

There is no solution to get dynamics on override. You will need to create each one with the right cost.

Regards,
Garfunkel
Garfunkel is offline   #2 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


All times are GMT -8. The time now is 07:00 PM.


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