javierriveracastro / betteroll-swade

A Better Rolls port for SWADE
GNU General Public License v3.0
16 stars 32 forks source link

Niche issue with powers and attributes #529

Closed Cosmic-Lattee closed 1 year ago

Cosmic-Lattee commented 1 year ago

So this is a super niche thing that could very easily just be ignored if you don't want to mess with it. I know this isn't intended to be how spellcasting typically works with savage worlds. :)

So I running a game that uses Spirit as the spellcasting power stat. This means that it will be looking for an attribute instead of a skill when generating the spell card. Not surprisingly this brings up an error:

image

Which points to this code:

image

Now what makes this interesting is this error only shows up with the electron client. When I use say chrome it works a treat. Here is a gif showing that in practice:

Showing

javierriveracastro commented 1 year ago

It looks like you have an old electron client that doesn't support structuredClone.

You should update it (the easiest way is to reinstall Foundry) as it probably lacks support for something else that core Foundry uses.

As a general rule, when updating a full version of Foundry (v9 to v10) in Windows, reinstalling is better.

I'm closing it as it is not an issue, Chromium versions under 98 (Electron 17) are not supported either by Foundry v10 or BR2.