• 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

Dynamic Overrides?

Sort-Spion

New member
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?
 
Hello,

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

Regards,
Garfunkel
 
Back
Top