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
Enforcer84
Senior Member
 
Join Date: Oct 2011
Location: Portland
Posts: 313

Old October 4th, 2015, 11:06 PM
I'm looking at the raGRjTRage to add something similar to a race.

the issue I'm having is that if the race takes a level of barbarian this should disappear and the barbarian rage rounds should go up 2 rounds a day.

So, in the "doneif" section can I have more than one evaluation?
Enforcer84 is offline   #1 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old October 5th, 2015, 08:02 AM
Why not use a if/then with a done inside instead of a doneif?

Code:
if (#levelcount[Barbarian] <> 0) then
  hero.childfound[cBbnRage].field[trkMax].value += 2
  done
  endif
Aaron is offline   #2 Reply With Quote
Enforcer84
Senior Member
 
Join Date: Oct 2011
Location: Portland
Posts: 313

Old October 5th, 2015, 10:04 AM
I will give that a go! Thanks Aaron.
Enforcer84 is offline   #3 Reply With Quote
Enforcer84
Senior Member
 
Join Date: Oct 2011
Location: Portland
Posts: 313

Old October 5th, 2015, 05:03 PM
So that works great, adding to the class rage feature.
How do I hide my "fake" rage?

This is the script for the racial rage:
Post-Levels 10000 Index 2
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)

~ If we're enraged, apply the stat modifiers for that
var attrbonus as number
var savebonus as number
attrbonus = 4
savebonus = 2

if (field[abilActive].value <> 0) then
hero.child[aSTR].field[Bonus].value += attrbonus
hero.child[aCON].field[Bonus].value += attrbonus
#applybonus[BonMorale, hero.child[svWill], savebonus]
hero.child[ArmorClass].field[Penalty].value -= 2
endif

~ Set up our text fields
field[abSumm].text = "+" & attrbonus & " Str, +" & attrbonus & " Con, +" & savebonus & " to Will saves, -2 to AC when enraged."


Post Levels 10000 Index 3
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)

if (field[abilAct2].value <> 0) then
hero.child[aSTR].field[Penalty].value -= 2
hero.child[aDEX].field[Penalty].value -= 2
perform assign[Helper.ChgDisab1]
endif

Final Phase 100 Index 4

field[trkMax].value += 1 (this was something else originally)

First 680 Index 1


if (field[abilActive].value <> 0) then
perform hero.assign[Hero.Raging]
endif


So the race gets 2 rounds of rage regardless of class but if they're actually a barbarian it adds 2 (which your if statement did wonderfully) what I'd like to do is remove the tracker for the racial version which is subsumed by the class feature.
Enforcer84 is offline   #4 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old October 5th, 2015, 05:59 PM
So, look at the tags on your thing. Do you see any that could be related to it showing on the in-play tab tracked resources table? Once you discern that, then you'll know what to delete before you do the "done" in the eval script.
Aaron 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 04:15 PM.


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