Member
Join Date: May 2021
Location: San Angelo
Posts: 35
|
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 |
#1 |
Senior Member
Join Date: May 2016
Posts: 608
|
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. |
#2 |
Member
Join Date: May 2021
Location: San Angelo
Posts: 35
|
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.
|
#3 |
Member
Join Date: May 2021
Location: San Angelo
Posts: 35
|
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.
|
#4 |
Senior Member
Join Date: Mar 2013
Location: Melbourne, Australia
Posts: 1,100
|
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. |
#5 |
Thread Tools | |
Display Modes | |
|
|