Junior Member
Join Date: Jul 2017
Posts: 1
|
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. |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
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. |
#2 |
|
|