Loading character with unchained levels disregards levels for Favored Class

Description

Create a rogue, unchained type, with several levels (So, Rogue 3, for instance).
Set "Rogue" as favoured class, and add Favored Class options (for example, Bonus HP)
Add Unchained class type, and add options and bonuses.
Save (valid) character, close character, load saved character.
Summary now reports "Too many favored class bonuses) and "Too many unchained class bonuses" despite them being valid when saved.

Putting as Code rather than data, because the data appears to be working on creation, it's the saving/loading that's causing the issue.

Environment

None

Activity

Show:
Andrew Maitland
January 30, 2016, 10:49 PM

Confirmed.

can you take a look. I have a bunch of loop issues:

Connor Petty
January 30, 2016, 11:53 PM

There seems to be a loop in the bonus resolution system.

Oddly enough.
I commented out the trapfinding ability from the cr_abilities_class and the issue went away.
My idea is that sneak attack and trap finding are somehow interlinked with eachother.
Of course this doesn't fix the issue but maybe sheds some light on what is causing it.

James Dempsey
January 31, 2016, 10:48 PM

Yes, these errors indicate a cycle in the data, where A refers to B which refers to A (or perhaps a longer chain e.g. ABCA). While a lot of effort has gone into the bonus system to accomodate complex data structures, this sort of thing cannot be corrected reliably within the code and it would be of extreme risk to attempt it in the RC stage.

Flagged

Assignee

Andrew Maitland

Reporter

Robert Johnston

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

No

Fix versions

Affects versions

Priority

Major
Configure