modality/charred-black

Custom wises missing after uploading from a .char file

Opened this issue · 1 comments

Note: This bug is also present in Charred

When downloading a character from Charred Black, custom wises are successfully saved to the .char file. However, if I upload that .char file in a new Charred Black page, the custom wise is missing, and any associated skill points spent are now unspent.

To reproduce:

  • Load a new Charred Black page
  • Under Lifepaths, next to Born Peasant, click Add
  • (optional) Under Stats and Attributes, click Distribute
  • Under Skills, in the Add Custom -Wise field, enter "Roman", and click "Add"
  • Above, in the "Shade and Exponent" column for the "Roman-wise" skill, click "+" to open the skill
  • At the top of the page, click Download Character, and save the .char file
  • Open a new Charred Black page
  • Click Upload Character, and upload the saved .char file
  • Expected: The "Roman-wise" skill should appear in the Skills list, with 1 general skill point spent to open it.
    • Observed: The Skills list is empty.

@modality: I've got Charred Black running on my local computer, so I'm going to try to track this down and see if I can fix it myself. I have limited experience with Ruby (and JavaScript), but hopefully I can figure it out.