Senior Member
Join Date: Aug 2011
Posts: 363
|
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? |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
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] Code:
field[sbName].text = lowercase(field[thingname].text) & " " & signed(field[abValue].value) 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. |
#2 |
Senior Member
Join Date: Aug 2011
Posts: 363
|
sweet, that worked. i had the script in pre-attributes
thanks! |
#3 |
|
|