Junior Member
Join Date: Oct 2015
Posts: 12
|
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 |
#1 |
Senior Member
Join Date: Jul 2010
Posts: 149
|
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] I hope that helps! Last edited by Redcap's Corner; October 28th, 2015 at 09:54 PM. |
#2 |
Senior Member
Join Date: Jul 2010
Posts: 149
|
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 |
#3 |
Junior Member
Join Date: Oct 2015
Posts: 12
|
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! |
#4 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
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. |
|
#5 |
Junior Member
Join Date: Oct 2015
Posts: 12
|
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! |
#6 |
|
|