Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
jkthomsen9
Senior Member
 
Join Date: Jun 2010
Location: Beaverton, OR
Posts: 267

Old August 22nd, 2010, 10:40 AM
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
jkthomsen9 is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,214

Old August 22nd, 2010, 01:47 PM
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.
Mathias is offline   #2 Reply With Quote
jkthomsen9
Senior Member
 
Join Date: Jun 2010
Location: Beaverton, OR
Posts: 267

Old August 22nd, 2010, 04:52 PM
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'
jkthomsen9 is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,214

Old August 22nd, 2010, 10:58 PM
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
Mathias is offline   #4 Reply With Quote
Savagechap
Junior Member
 
Join Date: Jun 2015
Posts: 1

Old June 1st, 2015, 10:11 AM
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
Savagechap is offline   #5 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 06:37 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.