Fix Arsene dragon stories not unlocked on receipt - #1504
Conversation
|
@claude Respond to comments on this PR |
|
Claude finished @SapiensAnatis's task in 3m 30s —— View job Todo List
Changes made
Debug.Assert(
storyData.StoryIds.Length == 2,
"Expected all dragons to have exactly two stories"
);
int storiesToUnlock = reliabilityLevel >= 15 ? 2 : 1;
Blocked stepsI was unable to run any Additionally, pushing the commit failed: The commit ( |
a220277 to
e8c599b
Compare
|
@claude Try and commit again |
|
Claude finished @SapiensAnatis's task in 1m 59s —— View job Todo List
SummaryCommit
Not doneI was unable to run |
2c568c9 to
216e979
Compare
|
@claude Respond to review comments |
|
Claude finished @SapiensAnatis's task in 3m 6s —— View job Todo List
SummaryCommit
Not doneI still don't have permission to run |
c92f878 to
e1b681a
Compare
|
@claude Try running CSharpier now |
|
Claude finished @SapiensAnatis's task in 2m 40s —— View job Todo List
Result: still blockedI tried several This means the
I don't have a way to self-approve these commands or edit No file changes were made — working tree is still clean at |
Unlocking stories based on bond levels only fires via DragonService bond progression, so dragons with a high DefaultReliabilityLevel (e.g. Arsene at 30) never had their stories unlocked when first received. - DragonHandler now unlocks stories based on DefaultReliabilityLevel when a dragon's reliability entry is first created (mirrors CharaHandler) - V28Update retroactively unlocks stories for players whose dragons are at bond >= 5 but are missing the corresponding story states Fixes #1503 Co-authored-by: Jay Malhotra <SapiensAnatis@users.noreply.github.com>
…sene Co-authored-by: Jay Malhotra <SapiensAnatis@users.noreply.github.com>
… test Co-authored-by: Jay Malhotra <SapiensAnatis@users.noreply.github.com>
e1b681a to
d6fb50d
Compare
|
@claude Try again |
|
Claude finished @SapiensAnatis's task in 5m 46s —— View job Todo List
ResultsFormatting:
Ran Build: Unit tests: Integration tests: Attempted to run Not done
Branch: |
Co-authored-by: Jay Malhotra <SapiensAnatis@users.noreply.github.com>
| return resultDict; | ||
| } | ||
|
|
||
| private void AddDefaultLevelStories(DragonId dragon, int reliabilityLevel) |
There was a problem hiding this comment.
Add a test for this in the present tests
Fixes #1503
Root cause:
DragonHandlercreated thePlayerDragonReliabilityentry but never unlocked dragon stories (unlikeCharaHandlerwhich unlocks the first story on receipt). Arsene hasDefaultReliabilityLevel = 30, so his bond starts at 30, but story unlocks only fire through bond level progression inDragonService.Changes:
DragonHandler.cs: AddedAddDefaultLevelStories()called when the reliability entry is first created. Unlocks story 1 (bond ≥ 5) and story 2 (bond ≥ 15) based onDefaultReliabilityLevel. Generic fix for any dragon with a high default bond.V28Update.cs: Retroactively unlocks stories for existing users whose dragons are at bond ≥ 5 but missing the corresponding story states.Generated with Claude Code