Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
psych777
Senior Member
 
Join Date: Aug 2011
Posts: 362

Old January 17th, 2016, 12:56 PM
so i'm working on a feat that allows you to combine the levels of two classes for the determination of the bonus for the Trapfinding skill. i can't figure out how to get the bonus to show correctly. the two classes are Cryptic and Ranger. Cryptic has the Trapfinding feature. i've tried adding in cRogTrapfn to the fields:
xAllLev
xMaxLev
xTotalLev
abValue

adding to the first three did nothing. (well it adds to the value in that field but does nothing to change the situational total in Perception)
adding to the abValue changed the sbName to "trapfinding +7", but shortname, trkBaseNm and actName still say "Trapfinding +5" which is also what shows in Perception's situational.

how do i get Perceptions situational "Trapfinding" bonus to be increased based on my Ranger levels?
psych777 is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,188

Old January 17th, 2016, 12:59 PM
Looking at the scripts on the at Thing:

Post-Level/10000:
Code:
      ~ If we're not shown, just get out now
      doneif (tagis[Helper.ShowSpec] = 0)

      ~ If we're disabled, do nothing
      doneif (tagis[Helper.SpcDisable] <> 0)

      ~ Only do it for the first copy.
      doneif (tagis[Helper.FirstCopy] = 0)

      ~ our bonus is level /2, min 1
      field[abValue].value += maximum(round(field[xAllLev].value / 2,0,-1),1)
      field[livename].text = field[thingname].text & " " & signed(field[abValue].value)

      #skillbonus[skDisable] += field[abValue].value
      #situational_nonstatblock[hero.child[skPercep],signed(field[abValue].value) & " to locate traps",field[thingname].text]
Render/10000
Code:
field[sbName].text = lowercase(field[thingname].text) & " " & signed(field[abValue].value)
Based on the above the value is being stored in the abValue. If you had been adding to the abValue then I would have to "assume" you did it after Post-Level/10000 or at the exact same time. You need to be BEFORE PostLevel/10000. Try PostLevel/9000.

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #2 Reply With Quote
psych777
Senior Member
 
Join Date: Aug 2011
Posts: 362

Old January 17th, 2016, 01:21 PM
sweet, that worked. i had the script in pre-attributes
thanks!
psych777 is offline   #3 Reply With Quote
Reply

Thread Tools
Display Modes

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 07:23 PM.


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