Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Necros99
Junior Member
 
Join Date: Jan 2011
Posts: 28

Old March 13th, 2016, 06:22 AM
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?
Necros99 is offline   #1 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old March 13th, 2016, 09:11 AM
I believe the touch attack is "wTouch"
AndrewD2 is offline   #2 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,730

Old March 13th, 2016, 09:44 AM
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.
ShadowChemosh is offline   #3 Reply With Quote
Necros99
Junior Member
 
Join Date: Jan 2011
Posts: 28

Old March 18th, 2016, 11:13 AM
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
Necros99 is offline   #4 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old March 18th, 2016, 11:34 AM
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.
AndrewD2 is offline   #5 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:26 AM.


Powered by vBulletin® - Copyright ©2000 - 2022, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.