ddb-importer
ddb-importer copied to clipboard
Importing Multiclass, Features sorted incorrectly
Describe the bug When importing a multiclass character the subclass features get sorted into the wrong group in the features tab on foundry.
To Reproduce Steps to reproduce the behavior:
- Create a multiclass character in ddb
- Import it into foundry
- check features tab
- See disorganization
Expected behavior Item features should be ordered into their correct class groups
Screenshots
Here are a couple screen shots of the disorganized features on a Rouge 5/Fighter 5.
Environment:
- Browser: chrome
- Foundry Version: 11.315
- 5e System Version: 3.0.3
- Module Version 4.0.13
- Does this behaviour occur with other modules disabled: Yes
Additional context
- A Character URL, if the problem is a character import : https://www.dndbeyond.com/characters/119675084, https://www.dndbeyond.com/characters/119674837/BdfVbQ
- Details of any errors in the browser console (press F12). None that I am aware of.
And how do you wish it to look?
Well a few features were sorted into the wrong group.
In the Rouge/Fighter character the Psionic Power: Psionic Energy should be in the Fighter Features. Both classes actually have that feature but both got put in the Rogue Features when created (not pictured).
In the Ranger/Fighter Fighting Style: Archery was put in the Ranger features when it is a Fighter feature. This may also be because both classes have this feature.
So after looking deeper into this I think the issue is actually that when multiclassing and both classes have the same features those features are not sorting properly.