• 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

Eval Script

blzbob

Well-known member
I'm trying to get this to come out right but I seem to be off with my math somewhere.

Here is the ability:

Voice of Power (Su): By focusing all your mystic power into a single, short utterance you can use a power word spell as a swift action. This takes all your mystic power, making it impossible to do on the same round you cast any other spell or use a spell-like ability. You can do this once per day at 1st level, plus an additional time per day at 6th, 12th, and 18th level.

Here is what I have:

~we can use this 1/day at 1st level + 1 /6 levels after
var bonus as number
bonus = field[xAllLev].value / 6
field[trkMax].value += maximum(round(bonus,0,-1) - 1,1)

field[livename].text = "Voice of Power " & field[trkMax].value & "/day."
I can't seem to have this apply at levels 6, 12, and 18.
 
Try this, make sure you run it in Post Levels:

~we can use this 1/day at 1st level + 1 /6 levels after
var bonus as number
~This will give us one at 6th, 2 at 12th, and 3 at 18th.
bonus = round(field[xAllLev].value / 6,0,-1)

~And this is the one we start off with at 1st level
bonus += 1

field[trkMax].value += bonus

field[livename].text = "Voice of Power " & field[trkMax].value & "/day."
 
Back
Top