Repository navigation
Let the parser mark the Hunting Falcon's attack and the Adventurer's skills - #3900
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 15 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
261618e to
1c39359
Compare
|
Review: OK in substance, three things:
🤖 Generated with Claude Code https://claude.ai/code/session_01CUfJ46iekh4rbiCyoTamtn Generated by Claude Code |
1c39359 to
baf2d89
Compare
|
Addressed the review:
Solution builds with 0 warnings. Generated by Claude Code |
Client testClient test: ClientLab browser build of the current client against a local stack (master vs this branch, each with its own database; the branch's database migrated and the parser re-run as the PR asks). Step: create a new adventurer and enter the world.
Generated by Claude Code |
9d60156 to
b0aaa4e
Compare
…skills The falcon's attack is found through a new Skill.Trigger and the Adventurer's skills through Skill.IsAdventurerSkill, both written by SkillParser, so the server no longer carries either list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014gSmkWXTgUQrkqCGdu31CL
b0aaa4e to
cfed349
Compare

Requested by Erwan · project thread
What
Two pieces of game data move out of
NosCore.GameObjectand intoSkillParser:Skill.Triggercolumn (SkillTriggerenum, same shape asCard.Trigger). The parser setsHuntingFalconAttackon 1249;FalconServiceasksISkillCatalog.GetTriggeredSkill(SkillTrigger.HuntingFalconAttack)instead of holding the vnum.Skill.IsAdventurerSkillcolumn. Skill.dat files these under class 0 together with emotes, courses and passives, and no column tells them apart (the LEVEL adventurer field is set on 142 class-0 rows and is 0 on 210), so the list now lives in the parser.SkillServicefilters on the flag.One migration (
MoveSkillRolesToParser) adds both columns.Before deploy
Run the parser again before deploying this. Until it has run on the migrated database, no skill carries
IsAdventurerSkillor aTrigger, so Adventurers learn no skills and the Hunting Falcon does not strike.Rerun safety
The parser sets both values on every skill row on each run and upserts, so a second run writes the same values. An existing database needs a parser run after migrating; until then no skill carries the flag, so an Adventurer would learn no class skills and the falcon would not strike.
Tests
SkillCatalogTests: trigger lookup.FalconSkillTests,ClassSkillLearningTests,SpecialistSkillTestsand the E2E world data now carry the parser's values; 79 skill and falcon tests pass locally.Behaviour is unchanged when the parser has run. Manual checks from
documentation/manual-test-plan.mdthat still apply: Falcon skills (cast Spy Out 1117, click Hunting Falcon, the monster is hit by 1249) and the Adventurer skill checks (Shout of Morale 207, Charged Attack 208 at job 14).Generated by Claude Code