Closed Qowy closed 1 year ago
Spells remain at 0 after adding an ancient profession.
I guess this is because this lines
https://github.com/Plushtoast/dsk-foundryVTT/blob/eaecba3f64abc112e71ffdf44b689d4e1c28ead3/modules/wizards/career_wizard.js#L56
https://github.com/Plushtoast/dsk-foundryVTT/blob/eaecba3f64abc112e71ffdf44b689d4e1c28ead3/modules/wizards/career_wizard.js#L68
are not executed for item.system.level == 0
I am not sure what the intent is here but maybe it needs to be. if(item.system.level != undefined) item.system.level = parsed.step
if(item.system.level != undefined) item.system.level = parsed.step
Spells remain at 0 after adding an ancient profession.
I guess this is because this lines
https://github.com/Plushtoast/dsk-foundryVTT/blob/eaecba3f64abc112e71ffdf44b689d4e1c28ead3/modules/wizards/career_wizard.js#L56
https://github.com/Plushtoast/dsk-foundryVTT/blob/eaecba3f64abc112e71ffdf44b689d4e1c28ead3/modules/wizards/career_wizard.js#L68
are not executed for item.system.level == 0
I am not sure what the intent is here but maybe it needs to be.
if(item.system.level != undefined) item.system.level = parsed.step