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
ErinRigh
Senior Member
 
Join Date: Oct 2016
Posts: 621

Old November 21st, 2017, 01:49 AM
He SC, this code works great but what would I alter so that it only checks for levels in my Gladiator class (cHelpGld/cGladiator)?
ErinRigh is offline   #11 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old November 21st, 2017, 08:58 AM
Quote:
Originally Posted by ErinRigh View Post
He SC, this code works great but what would I alter so that it only checks for levels in my Gladiator class (cHelpGld/cGladiator)?
Nothing it already is doing that. xAllLevels is the field on the custom ability that is pulling the level from the class it gets added too.

In this case the Gladiator. But if an archetype gave the ability to the fighter it would be the fighter class. That is why its better to use generic fields instead of hard-coding to a specific class.

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   #12 Reply With Quote
ErinRigh
Senior Member
 
Join Date: Oct 2016
Posts: 621

Old November 21st, 2017, 03:49 PM
Awesome thanks
ErinRigh is offline   #13 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:36 PM.


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