Guest
Posts: n/a
|
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 |
#1 |
Guest
Posts: n/a
|
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 |
#2 |
Guest
Posts: n/a
|
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 |
#3 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New version post | thebutcher | Warmachine & Hordes | 47 | October 20th, 2014 06:59 PM |
D&D 4Edition- 1st post ever | blackknight182 | HL - d20 System | 1 | July 19th, 2008 09:46 AM |