First post-and a problem already!
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 |
First post-and a problem already!
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 |
First post-and a problem already!
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 |
All times are GMT -8. The time now is 05:28 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.