• 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

how to affect the trapfinding bonus

psych777

Well-known member
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?
 
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
      [B]field[abValue].value += maximum(round(field[xAllLev].value / 2,0,-1),1)[/B]
      field[livename].text = field[thingname].text & " " & signed(field[abValue].value)

      #skillbonus[skDisable] += field[abValue].value
      #situational_nonstatblock[hero.child[skPercep],signed(field[[B]abValue[/B]].value) & " to locate traps",field[thingname].text]
Render/10000
Code:
field[sbName].text = lowercase(field[thingname].text) & " " & signed(field[[B]abValue[/B]].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.
 
Back
Top