• 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

Smine's Best

JWMK

Member
Hello,

This is my first time I am trying to add a customer attribute to anything in Hero Lab, so I would appreciate any assistance I can get from those out there who are much more in the know.

I used the Smine's Best boon from Pathfinder Scenario 05-06. It gives a weapon the following abilities:

While wielding that weapon you gain a +1 bonus on performance combat checks as well as a +1 bonus on Intimidate checks made against creatures proficient with that weapon. In addition, increase the weapon's hit point total by 5.​

I started off by adding an Item Power in the editor, but I can't find how to setup the Skill Modifiers for Intimidate and I have no idea where to code the performance combat check. I am not worried about the item hitpoints, as I know that Hero Lab doesn't have that built in (would be a nice feature to add).

Any help with this first mission of customization would be greatly appreciated!


JWMK
 
Here's the code to add the Intimidate bonus. It's a little tricky for some pretty silly reasons.

RENDER/10000
Code:
doneif (parent.field[gIsEquip].value = 0)

var weapon as string

foreach pick in container from BaseWep
  weapon = lowercase(eachpick.field[shortname].text)
nexteach

#situational[hero.childfound[skIntim],"+1 vs. creatures with " & weapon & " proficiency",field[thingname].text]

To explain, the first line up there tells the script to abort if the character hasn't equipped the smine weapon. After that, the script creates a string (text-based) variable called "weapon", before looking at all the components of the smine weapon to figure out which part is the weapon itself (identified because it has the "component.BaseWep" tag) and saving the name of that weapon using that variable. Finally, it adds a situational bonus flag to the Intimidate skill that says the character gets +1 to Intimidate checks against creatures proficient with the appropriate type of weapon.

I hope that helps!
 
Last edited:
The performance combat bonus is actually much easier.

POST-LEVELS/100
Code:
doneif (parent.field[gIsEquip].value = 0)

hero.childfound[PerfCombat].field[Bonus].value += 1

Again, the first line just tells the script to abort if the smine weapon isn't equipped. The second line just increases the untyped bonus to the character's performance combat check by 1.
 
Thank you so much for this... But now I hate to turn around and have to ask, where do I apply this code in the weapon? As I mentioned in the post, this is my first venture into customized stuff in Hero's Lab.

I truly appreciate your help!
 
Thank you so much for this... But now I hate to turn around and have to ask, where do I apply this code in the weapon? As I mentioned in the post, this is my first venture into customized stuff in Hero's Lab.

I truly appreciate your help!
I would recommend reading the Glossary of Terms for the Editor. Then check out FAQ#2 for all the places to learn about the editor including YouTube videos.
 
Figured it all out. Thanks for those links. Having such a supportive user base on these boards have made me feel that much better about investing my $ in Hero Lab.

Thanks so much!
 
Back
Top