• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Displaying PP for Homebrew Psionic Handbook Mystic

Dragon5e

Active member
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
 
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.
 
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.
 
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.
 
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.
 
Back
Top