Junior Member
Join Date: Jan 2011
Posts: 28
|
My group has added a set of items that will add an enhancement bonus Ranged and Melee Touch Attack To Hit numbers. I have been looking and I can't seem to find a way to make this modification.
Any help out there? |
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
I believe the touch attack is "wTouch"
|
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Are you trying to just get the unique id's or help writing the script? Any adjustments ignore the touch attack weapons so you will need to use the editor to write a custom script.
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. 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. |
#3 |
Junior Member
Join Date: Jan 2011
Posts: 28
|
Writing the script. I have done quite a bit of it over the years, but I just don't seem to be able to get the id's to make this one work. Here is what I have atm:
Phase: Final Priority: 100000 doneif (field[gIsEquip].value = 0) #enhancementbonus[hero.child[wTouch], 2] #enhancementbonus[hero.child[wRay], 2] It seems to pass validation, but is not modifying Ranged or Melee Touch Attack values |
#4 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
have you tried different timings? Maybe move it to Post-Level. Also test it without the doneif statement just to see if it works when you put the item on.
|
#5 |
|
|