• 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

First post-and a problem already!

  • Thread starter Thread starter wulfc at wulf.demon.co.uk
  • Start date Start date
W

wulfc at wulf.demon.co.uk

Guest
Hi
While waiting for my AB CD to arrive, I'm using ABLite and the
Construction Kit. Here is my first problem...

I want to take a stat (say ST), divide by 4, round that up, then
multiply by 75, and apply that as the cost of the ability.

cost:expr=ST/4-roundup*75
cost:expr=ST/4*75-clipup

both sound credible to me, but are deemed illegal. What's the
solution, oh assembled gurus?

Wulf
 
One fine day in the middle of the night, wulfc@wulf.demon.co.uk got up
to write:

>Hi
>While waiting for my AB CD to arrive, I'm using ABLite and the
>Construction Kit. Here is my first problem...
>
>I want to take a stat (say ST), divide by 4, round that up, then
>multiply by 75, and apply that as the cost of the ability.
>
>cost:expr=ST/4-roundup*75

This won't work, because the -roundup has to come after all the
arithmetic stuff.

>cost:expr=ST/4*75-clipup
>
>both sound credible to me, but are deemed illegal. What's the
>solution, oh assembled gurus?

-roundup and -clipup can only be used on stat operations, not costs.
You'd need to create another stat, called perhaps Temp1, and use that,
like so:

stat:Temp1=(ST/4*75)-clipup
cost:stat@Temp1 or expr=Temp1

--
'Not Colin' McAlister | License to Skrill
Email: demandred@skrill.org | Visit http://www.skrill.org/ today!
-----------------------------+------------------------------------
"Dovie'andi se tovya sagain" - Robert Jordan's Wheel Of Time
 
On Sat, 5 May 2001 18:14:31 +0100, Colen 'Skrillboy' McAlister
<demandred@skrill.org> wrote:

>-roundup and -clipup can only be used on stat operations, not costs.
>You'd need to create another stat, called perhaps Temp1, and use that,
>like so:
>
>stat:Temp1=(ST/4*75)-clipup
>cost:stat@Temp1 or expr=Temp1

Ah, got it. Thanks.

Wulf
 
Back
Top