Repository navigation
Give a member who knows the Collector's Guide its chance of a second raid box - #3919
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 28 minutes. View limit details
No actionable comments were generated in the recent review. WalkthroughThe parser maps Collector’s Guide’s DATA c2 value to an extra-raid-box chance. On raid success, RaidService uses matching passive-skill and active-buff B-cards to determine whether to grant a second raid box. ChangesCollector’s Guide raid box chance
Estimated code review effort: 2 (Simple) | ~12 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant RaidService
participant PassiveSkillService
participant IBuffService
participant IRandomProvider
RaidService->>PassiveSkillService: Read passive-skill B-cards
RaidService->>IBuffService: Read active-buff B-cards
RaidService->>IRandomProvider: Draw value from 0 through 99
RaidService->>RaidService: Grant another box if roll is below chance
Possibly related issues
Suggested reviewers: Merge Risk:
|
a8da924 to
282606d
Compare
c4cfdf2 to
64a8de7
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014gSmkVYHFq6wdFRBtmzrW5
|
Review: keep this one for #3905 (#3921 is closed as a duplicate). It is stacked on #3906, so it lands after #3906, retargeted to master. Please add a manual-test-plan check for the second raid box. 🤖 Generated with Claude Code https://claude.ai/code/session_01CUfJ46iekh4rbiCyoTamtn Generated by Claude Code |
|
Client test (cloud client, Mother Cuby raid)
For a solo run, the raid script was set to Generated by Claude Code |
c54552b to
3474c97
Compare
64a8de7 to
ecd9a2d
Compare
…raid box Fixes #3905 (box part) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014gSmkSvJzdfRqygoWXMEUM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014gSmkVYHFq6wdFRBtmzrW5
ecd9a2d to
0fe0adf
Compare


Requested by Erwan · project thread
Part of #3905. Stacked on #3906 (base
claude/project-thread-dmsvm2), because it adds one row to the tome table that PR introduces; retarget tomasteronce #3906 merges.What changed
Collector's Guide (skill 136, passive kind 39) carries
DATA 0 5 5. BCard.dat does cover both chances, contrary to the issue text: type 126 sub-type 4 reads "There is a %s%% chance that you'll get an additional raid box." (BCardEffect.ExtraRaidBoxChance), and sub-type 3 is the extra raid token excluding hardcore tokens (ExtraRaidTokenChance).ExtraRaidBoxChancewith DATA c2 (5), through Give champion tomes their bonuses and read monster MODE settings from the right columns #3906's tome table.ExtraRaidBoxChanceon their passive skills and active buffs. On a hit they get the raid's reward box a second time, with the sameivnand "received" line.Not done
ExtraRaidTokenChancefrom c3.Tests
RaidServiceTests.TheCollectorsGuideCanGiveASecondBox: a winner who knows the guide gets two boxes when the roll comes up, and the member without it gets one.RaidServiceTests.TheCollectorsGuideGivesNoSecondBoxOnAMissedRoll.SkillParserTests.ATomeRaisesItsStatByItsSecondDataFieldcovers kind 39.NosCore.GameObject.Tests: 3563 passed.SkillParserTests: 36 passed.Client check (still to run)
Teach skill 136 to a character (
$AddSkill 136) and win the Mother Cuby raid with the chance forced to 100% in the database (skill 136's BCardFirstData). That character should get two Raid Boxes of Mother Cuby (4684), each with its own green "received" line.Generated by Claude Code
Summary by CodeRabbit