I am using pf2 remastered
Printable View
Hi, sorry on the delay looking into this... Just back home and catching up with things..
I had a quick look and I can create an NPC with spells that show up. ( I checked all the rulesets to make sure the tokens show up and they seem to. )
In pf2 you can see that your creature it does not show up on, and in my created version they do.. Maybe something to do with innate spells ?
Attachment 61300
I'll take a further look into this in the tomorrow and see if I can see what the issue is. Maybe its a different layout for the divine spells from normal spells..
Its an odd one... Have a look at some of the other npc's and see if they get spells... ( I dont play pf2 so not familiar with which creates cast spells... again I'll have a play tomorrow. )
Thanks, Pete
I found tempest-sun mage from the lost-omens character guide that has the same problem, but with arcane spells
Attachment 61307
Attachment 61312
So the issue is not about the spells, as you can see on an edited version of the pit fiend, adding in the 'fireball (at will)' does show the spell token... ( I then hand edited the db.xml file to 'correct' the level 8 version. )
Basically the issue is like on a player character, if you add a spell with no defined spell token you obviously do not get a spell token... If you then change the spell token configuration and add a spell token... the player does not get that spell token showing until 'reparse spell' ( radial menu, reparse spell.. )
This is what is happening with the NPC... basically the 'module' is pre-made and hence needs to have the equivalent of 'reparse spell' to get the database to have the required extra information.
I can probably add some lua code on 'npc spell window open' to cause a 'reparse' to get the system to update the data and show the icon.
Now I know the issue it should be a quick fix, provided I can find a suitable point to add some extra code into the ruleset.. ( Which normally is the time taking thing... finding a good spot to poke the code !! )
-pete
I have a sort of fix for this issue.... But the main issue I have is that adding spell tokens into the pit fiend ( or any NPC ) requires me to create/add/set database nodes in the npc 'read only' data !!!!
So it has issues with things like shared npc sheets... as obviously a 'client' will get error spam in the console when setting database nodes they dont own...
On the host, adding nodes into a ready only database 'seems' to not give issues, it just forgets the changes on the next load/reload of the game. But as I set these nodes when you open the spells page of the npc it will re-add them on the first open of this part of that npc.
So it should be ok, but might have some issue on shared npcs...
I also need to re-check each ruleset to make sure other rulesets do not have issues or spam errors into the console..
I'll try and check all the rulesets over the next day or so, as I get time..
-pete
v7.26 Added power on initialisation to try and set the defined spell token.
Used for NPC's when sheet is opened it should now auto add the configured spell token from the name matching of the power.
Because a lot of the NPC's are set in 'read only' modules this data will be 'lost' on a reload, hence why the system will re-add the configured spell token when you init the spell/powers page.
Let me know if this causes any other issues conflicts I've not spotted, as I have limited data available on some of the rulesets the extension supports, so can not do a lot of testing.
-pete
Seems to be working today. The Pit Fiend fireball and true-seeing tokens appear now. Thanks very much.
Hi,
Tokens are displaying on character sheets and in combat tracker as expected. When dragged onto a map they aren't showing.
I feel like this may be something i'm doing wrong but i cannot find a setting that i could adjust that would affect tokens.
I'm using 5e ruleset and have this extension enabled through FGU Forge.
Help.
Apologies nevermind, i had some incompatible extensions which i've now disabled and it's working perfectly.
@danielMorley what did you disable.