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
Helix42
Junior Member
 
Join Date: Jul 2017
Posts: 1

Old July 27th, 2017, 07:38 AM
I have been searching the forums hoping to locate an answer but I am unable to. I am writing a custom ability that is essentially a copy of the Assassin's death attack for a custom class. There are some additional restrictions etc, but I have one issue. I can't get hero.tagcount[Classes.<myclassname>] to work in the eval script. The whole script is as follows:

Original:
field[abDC].value += 10 + field[xTotalLev].value + hero.child[aINT].field[aModBonus].value + hero.tagcount[Classes.Assassin]

The above works.

However I need to change the "hero.tagcount[Classes.Assassin]" to
count my custom class levels (Adrestia). I cannot find a group to replace "Classes" with that contains the definition for my custom class. I get a syntax error that tells me Adrestia is not defined in the group Classes. I have tried to find a group that works and even looked in the user file's xml to try to get it work.

Is there some group that hero labs puts custom classes in, or some way to count the levels of Adrestia to get this simple little script to compile?

I have attached the .user file for reference. The class is Adrestia

Any help would be appreciated.

Thanks.
Helix42 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 July 27th, 2017, 12:05 PM
The easy way to find this tag is to do the following:

1) add a level of your new class to new character.
2) Go to "Develop->Floating Info Windows->Show Hero Tags".
3) In the new window that opens type in "classes" into the top left search box.
4) The Classes.? tag will display for you and that is the tag that you need to use for the script.

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   #2 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 08:59 AM.


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