FightClub5eXML icon indicating copy to clipboard operation
FightClub5eXML copied to clipboard

Spells Double Occurence

Open Sindarin27 opened this issue 4 years ago • 2 comments

First of all, thank you for the files. I've been playing with them for a while now, and it's a lifesaver.

Now, I've recently ran into a problem. When scrolling through the spell lists per class, some spells appear double. For example, the Artificer spell list contains Acid Splash twice. This is with the Complete.xml, but may happen with other collections as well.

A look into the generated XML makes me think I've found the problem: In the spell tag of Acid Splash, the following has been generated: <classes>Sorcerer, Wizard, Artificer, Artificer, Artificer (Revisited) (UA), Druid</classes> Artificer appears twice in the class list for this spell, making the spell appear twice in their spell list. I can only assume this is caused by two files both adding this spell to the artificer, and no check to merge this double occurrence.

I hope this can be fixed soon. Thank you!

Sindarin27 avatar Jan 15 '21 13:01 Sindarin27

Only spells from XGE aren't duplicates 🤔

mattszcz avatar Jan 24 '21 07:01 mattszcz

#111 -- same issue, I think. Does the resolution listed there work?

ebullient avatar Feb 13 '21 21:02 ebullient