• 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

Experise (Double Proficiency)

Mergon

Well-known member
ShadowChemosh:

Could you please take a look at this script and maybe tell me where I am going wrong.

Phase: Post-level, Priority: 10000
Timing: (Before script) Calc skProfBon

doneif (tagis[Helper.ShowSpec] = 0)

doneif (tagis[Helper.Disable] <> 0)

if (hero.child[skAcrobat].tagis[Helper.Proficient] = 0) then
perform hero.child[skAcrobat].assign[Helper.Proficient]
else
perform hero.child[skAcrobat].assign[Helper.ProfDouble]
endif

This script is supposed to check to see if the hero has Proficiency with Acrobatics, if he doesn't it should grant the hero that Proficiency. If he does then grant Double Proficiency.

They changed how this is done. I've looked at how Expertise is handled by the Rogue and bard. As far as I can see this script should work . . . but it doesn't <cry> :(
 
I don't see anything wrong from just the point of view of the script.

My advice would be to start with Debug lines to see what is really going on:
Code:
doneif (tagis[Helper.ShowSpec] = 0)
debug "ShowSpec"
doneif (tagis[Helper.Disable] <> 0)
debug "Disable"

debug "Helper.Proficient " & hero.child[skAcrobat].tagis[Helper.Proficient]

if (hero.child[skAcrobat].tagis[Helper.Proficient] = 0) then
perform hero.child[skAcrobat].assign[Helper.Proficient]
debug "assigned Proficient"
else
perform hero.child[skAcrobat].assign[Helper.ProfDouble]
debug "assigned ProfDouble"
endif

My guess would be that Helper.Proficient tag is not yet on the skAcrobat skill at Post-Level/10000
 
Here is how I have made it work with some of the custom feat I have worked on. This feat is also adding an attribute to the feat as well, so I included it.

I am doing it Post-Attributes at 10000
Code:
~ If we're not shown, just get out now
      doneif (tagis[Helper.ShowSpec] <> 1)
      ~ if we've been disabled, get out now
      doneif (tagis[Helper.Disable] <> 0)

      ~ Add 1 to Dexterity score
      hero.child[aDEX].field[aStartMod].value += 1

if (hero.tagis[ProfSkill.skAcrobat] <> 0) then
       perform hero.assign[ProfDouble.skAcrobat]
else
       perform hero.childfound[skAcrobat].assign[Helper.Proficient]
endif
 
Last edited:
For whatever reason, your script doesn't work for me. I'll go back to kooking at it tomorrow.

Thanks for trying.
 
Back
Top