Powers > Actions & Effects > Trait: Stripped & Made Case Sensitive
Environment Details
- Foundry VTT Version: 0.8.9
- Operating System: Windows
- How Are You Using Foundry: Chrome
- Modules Enabled?: [yes] Instance 1: Savage Pathfinder, SWADE Core Rules, Compendium Folders, libwrapper Instance 2: SWADE Core Rules, Compendium Folders, libwrapper
Issue Description
After updating to the latest version of SWADE (0.21.0), I noted that I was having some trouble using character Powers. I noted the following issues:
- In Instance 1, I imported one of the "Iconic Characters" from Savage Pathfinder's Beastiary, which had the Actions & Effects Trait field filled out, but used lowercase words for the relevant traits (for example, the skill trait "Spellcasting" was written here as "spellcasting"). In this case, the spell could be cast normally, but it would register as "unskilled" and be rolled as such.
- In Instance 2, where I was running with no modules other than SWADE Core Rules, all Actors with Arcane Backgrounds and Powers could no longer roll them as before. When I edited an individual Power, looked at the Actions & Effects section, the Trait field was now blank. This was consistent across every Power that character and every other character had.
Relevant logs and/or screenshots
If you have them, please provide relevant logs or screenshots
Savage Pathfinder: I imported Ezren, who comes stock with an Arcane Background, spells, and the Spellcasting skill. Each spell comes with with the Actions & Effects, Trait field entered as "spellcaster" (without quotes - note the lower case s). My roll produced the following:
When I corrected the case to a capital S, it performed as expected:
I attempted to see if this was somehow related to Savage Pathfinder, so I opened a Foundry instance that I had run before the release of Savage Pathfinder, which was only using the SWADE system along with the SWADE Core rules, and found the same problems - except there, I had existing characters that were of the Legendary rank with tons of spells. All of the Powers had been stripped completely of the associated arcane Trait.
And I could not roll them, as such:
This character had the Miracles AB, relying on the Faith skill. I tried to see how it would work in lowercase, so I used the word "faith."
As in the Savage Pathfinder environment, it didn't work, giving me an Unskilled roll. Then I capitalized it to "Faith."
After this, it worked. I tried all of this without either the SWADE Core Rules or Savage Pathfinder rules applied, and it remaiend the same as detailed above.
Possible Solution and/or Root Cause
As noted above, it seems that the latest update to the SWADE system has: (a) stripped existing Actors of the Traits associated with their Powers (b) made the Trait field case sensitive