Elemental and bozjan levels are sometime inverted
bourgeoisor opened this issue · 2 comments
bourgeoisor commented
A couple profiles seems to be displaying an issue where the elemental and bozjan levels are inverted or unavailable. I'm not quite sure if this issue comes from godestone, lodestone-css-selectors, or something else, but XIVAPI returns the correct values (whereas my instance of godestone
doesn't).
This is an example where it's working as expected:
// https://na.finalfantasyxiv.com/lodestone/character/32741501/class_job/
"ClassJobBozjan": {
"Level": 25,
"Mettle": 0,
"Name": "Resistance Rank"
},
"ClassJobElemental": {
"ExpLevel": 5988,
"ExpLevelMax": 157568,
"ExpLevelTogo": 151580,
"Level": 17,
"Name": "Elemental Level"
},
This is one of those very few cases where for some reason it doesn't behave quite right (notice the Eureka level overwrites the Bozja level (which for this character should show 25):
// https://na.finalfantasyxiv.com/lodestone/character/25865622/class_job/
"ClassJobBozjan": {
"Level": 41,
"Mettle": 9338806,
"Name": "Elemental Level"
},
"ClassJobElemental": {
"ExpLevel": 0,
"ExpLevelMax": 0,
"ExpLevelTogo": 0,
"Level": 0,
"Name": ""
},
bourgeoisor commented
I disabled those levels from the Profile in the meantime: 4ac32a1
bourgeoisor commented
Since this fix: xivapi/godestone@66e1212
It seems to work fine again. I've reverted the removal: bfc2525