Open macniel opened 1 month ago
Hi, thank you for using my module!
Having any number of pets/familiars/companions etc. should not effect the import. As it stands, the import will ONLY attempt to parse 'actor.1' from the exported JSON, which corresponds to the character itself. (I don't know if/when I will be able to support importing those as it would require the PF2e Companion Compendia and a whole bunch more work from me. Companions are kind of a nightmare to support.)
Your issue seems to be stemming from the fact that the character class is listed as "Elementalist Sorcerer 3" instead of just "Sorcerer 3". The way my import works is to simply try to find the class in the PF2E Compendiums, and add it to the actor. In your case, there is no "Elementalist Sorcerer" class, and I'm not sure why your export is listed as such. I am unable to reproduce that, even when selecting Element as the bloodline. Unless I am mistaken, that is not a separate class available in PF2e. Did you make a custom class? Or perhaps edit the name of the class for personal preference?
Heya sorry for the late response (somehow I didn't got a notification),
No, that isn't a custom class. When i go into the charactersheet (build) the class simply show as Sorcerer, so I don't know where the Elementalist Sorcerer comes from. Must be a bug in HLO then :)
First of all, I Love that you took on the mantel to bring this (hlo to foundry) feature back to live!
I wanted to use it to import the characters of my campaign and it works pretty much flawlessly EXCEPT on a character with two pets.
I made a dummy character in herolab for which I can provide the elementToken if it would make it easier to you debugging this.
When I try to import said character, the json i receive via POST /api.herolab.online/v1/character/get shows me three actors in the export. Perhaps that may be the issue?
This is the stacktrace (removed my domain):
And this is the json I get from the herolab.online api