Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Maidhc O Casain
Senior Member
 
Join Date: Nov 2009
Location: Jonesboro, AR (USA)
Posts: 858

Old October 23rd, 2010, 05:24 AM
Is there a way to make temporary (or permanent) adjustment to the touch AC? If not, is there a way this functionality could be added to the adjustments tab?
Maidhc O Casain is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old October 23rd, 2010, 09:15 AM
In the editor create a New(Copy) of the Armor Class adjustment in the Adjustment Tab. Then over write the Eval Script with the following:
Code:
~Pre-Levels 10,000
      ~ If we're not enabled, get out now
      doneif (field[pIsOn].value = 0)

~ Add to our TOUCH armor class only
hero.child[ArmorClass].field[tACTouch].value += field[pAdjust].value

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.

Last edited by ShadowChemosh; October 23rd, 2010 at 12:22 PM. Reason: Stupid mistake...
ShadowChemosh is offline   #2 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,217

Old October 23rd, 2010, 12:08 PM
+= field[pAdjust].value, not = field[pAdjust].value
Mathias is offline   #3 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old October 23rd, 2010, 12:21 PM
Quote:
Originally Posted by Mathias View Post
+= field[pAdjust].value, not = field[pAdjust].value
Doh... Thanks Mathias.

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   #4 Reply With Quote
Maidhc O Casain
Senior Member
 
Join Date: Nov 2009
Location: Jonesboro, AR (USA)
Posts: 858

Old October 24th, 2010, 04:41 AM
Awesome! Thanks so much, guys!
Maidhc O Casain is offline   #5 Reply With Quote
Reply


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 09:14 AM.


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