-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Describe the bug
When you get a duplicate of any weapon or armor proficiency from any source (class or race) that is also given by your class, you lose all armor and weapon proficiencies, from every class and race I tested. Getting 3+ copies of the proficiency does not remove the issue, it always happens if you have more than 1 copy of any weapon or armor proficiency. It only happens on exact duplicates of text, such as "Light Armor" occurring twice, getting "martial blasters" from class and "sniper rifle" from race does not cause this issue (despite a sniper rifle being a marital blaster).
If you remove those duplicates from the "Race Info" and/or "Class Info" tabs, or change the races/classes so they have no duplicate armor/weapon proficiencies, this stops happening. Non-duplicate proficiencies given by race or multiclass do not trigger this issue. This happens consistently, on a fully filled out character sheet or a completely fresh copy of the sheet from the link on the avrae workshop page (link just incase).
Severity
High (breaks all armor and weapon proficiencies when triggered, will affect almost every multiclass character, and a number of races even when not multiclassing)
Context
The "none" on the fourth line of the AQ65 code is being triggered, that's as far as my knowledge is able to track it, bug is either in the formula of AQ65 or in another formula that one references.
To Reproduce
- Add any class (operative is the one I used for testing)
- Add any other class that shares at least one armor or weapon proficiency with the first class (fighter is a guaranteed result), or a race like Droid Class IV or Chiss that gives armor/weapon proficiencies that are also given by the class
- Look at the "Proficiencies" box in the lower left, should see "Armor Proficiencies: None" and "Weapon Proficiencies: Autofills based on class & "
- (bonus) add any armor that you should have proficiency with, and get the warning message that "You aren't proficient with your armor/shield!"
- (bonus) add any weapon that you should have proficiency with, and your proficiency bonus will not be added to the attack bonus
Expected behavior
Duplicates should be ignored