• 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

Bootstaping Barbarian rage

jkthomsen9

Well-known member
I have a prestige class that uses magical tatoos. One of the tatoos can be activated once a day and will give you the ability to rage like a 1st level barbarian. I have bootstaped cBbnRage to the custom ablity, with a tag ClSpecWhen of 1 and a condition First 400 of fieldval:abilActive<>0.

This almost works perfectly except for the trkMax on the rage is wrong and giving too many rounds of rage/ day. It should be 4 + CON mod. It is adding 2 to this for every level of the prestige class. The CON mod is working correctly.

What do I need to do to set the rage round/day to 4+Con but allow things like extra rage to effect it?

Thanks in advanced.

James
 
The way barbarian rage works is to grant 2 + CON Mod + 2/level rounds of rage.

So, what you can do is add a script to the class itself to subtract (level - 1) * 2 uses from barbarian rage, leaving it at 4 all the time.

Code:
var bonus as number
bonus = field[cTotalLev].value - 1
bonus *= 2
#trkmax[cBbnRage] -= bonus

Any priority in the Post-Levels or Final phases should work for this.
 
I tried putting the code in both the Totemic Demonslayer class and the badger tatoo custom ability. In both cases I got the following errors. These are not fatal errors.

Attempt to access non-live child pick 'cBbnRage' from script
Attempt to access non-live pick via script fails for pick'cBbnRage'
Attempt to access non-live child pick 'cBbnRage' from script
Attempt to access non-live pick via script fails for pick'cBbnRage'
 
Hmmm - I thought I had trkmax[] properly set up to not do anything if the target isn't available. In that case, you'll have to make sure cBbnRage is there before modifying it:

Code:
var bonus as number
bonus = field[cTotalLev].value - 1
bonus *= 2
if (hero.childlives[cBbnRage] <> 0) then
  #trkmax[cBbnRage] -= bonus
  endif
 
Totemic Demonslayer

Were you ever able to create the Totemic Demonslayer prestige class for herolab? If so would you be willing to share it with me?
Savage Chap
 
Back
Top