Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD

Notices

Reply
 
Thread Tools Display Modes
Dragon5e
Member
 
Join Date: May 2021
Location: San Angelo
Posts: 35

Old May 28th, 2021, 10:42 AM
I looked at the Psi Points for the UA Mystic and tried to use it for the homebrew mystic. I have to give up. Any idea?

Here's the UA mystic snippet for Psi Points

~ If we're disabled, do nothing
~ doneif (tagis[Helper.Disable] <> 0)
if (#levelcount[Mystic] >= 1) then
field[trkMax].value += 4

Something about the homebrew Mystic choke on that and keep insisting there's like 0 mystic level and display a blank where the pp total would go. I thought mebbe homebrew mystic cannot count the levelcount. I don't know enough about levelcount. Thanks
Dragon5e is offline   #1 Reply With Quote
dungeonguru
Senior Member
 
Join Date: May 2016
Posts: 608

Old May 29th, 2021, 08:29 AM
Jave you checked out all of the Editor help files? Have you looked at the wiki over on github?

#levelcount[NAME] is a macro that counts all the tags that match Classes.NAME where NAME is the name you typed in when you created your class. If you changed the NAME of 'Mystic" to something like 'Homebrew_Mystic' then you would need to call #levelcount[Homebrew_Mystic].

Macroes and a lot of stuff are dependent on timing. If you run your script too early in timing then the fields may contain zero values. Make sure you are counting you level at least Post-Levels.

If you're not sure what I'm talking about for timing, search the forums - I think the Pathfinder forum has a couple of articles on timing.
dungeonguru is offline   #2 Reply With Quote
Dragon5e
Member
 
Join Date: May 2021
Location: San Angelo
Posts: 35

Old May 29th, 2021, 11:44 AM
Thanks. I tried the Homebrew_Mystic and it didn't go. Next I tried was the class id like cHomeMys and levelcount took it. Well I learned levelcount can take class name and class id like cHomeMys. What I learned levelcount[Mystic] do is to look at the class id associated with that class Mystic and your new class may have the name but not the class id. If you use the class id it should work now.
Dragon5e is offline   #3 Reply With Quote
Dragon5e
Member
 
Join Date: May 2021
Location: San Angelo
Posts: 35

Old May 29th, 2021, 12:49 PM
All right. I have since extended the Psi points and pp limit to the homebrew lurk and psychic warrior in Psionics handbook. At least these were easier as I can do a levelcount on fighter and rogue.
Dragon5e is offline   #4 Reply With Quote
Dami
Senior Member
 
Join Date: Mar 2013
Location: Melbourne, Australia
Posts: 1,082

Old May 29th, 2021, 09:14 PM
Quote:
Originally Posted by Dragon5e View Post
Thanks. I tried the Homebrew_Mystic and it didn't go. Next I tried was the class id like cHomeMys and levelcount took it.
Macros that aren't checking a number will be looking for an ID, not names. This is for classes, abilities, types, etc.

Current RPG's: Pathfinder (GM), Pathfinder (Player), Gamma World (GM, Pathfinder homebrew).
HeroLab: 3.5 & Pathfinder. HL User Files for PF: Greyhawk Setting, Gamma World (WIP).

DM and player of D&D since 1980.
Dami 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 12:20 PM.


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