Repository navigation
Tell both players how much reputation a player kill moved - #3970
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 41 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. |
|
Review: OK after one fix. 🤖 Generated with Claude Code https://claude.ai/code/session_01CUfJ46iekh4rbiCyoTamtn Generated by Claude Code |
Client check, master (left) vs this branch (right)Tester kills Buddy (level 10, 60 000 reputation) on Chicken Farm Path, with a local-only build where every map is PvP (not committed). Killer's chat: master shows nothing, the branch shows Reputation increased: +500. Buddy kills Tester (level 10, 60 000 reputation). Victim's chat: master only shows Dignity reduced: -10, the branch adds Reputation reduced: -500. Generated by Claude Code |
|
Review: MERGE The earlier note is applied: the killer goes through Fixed: nothing. Left:
Screenshots: done. Killer and victim chat are posted, master next to the branch. 🤖 Generated with Claude Code Generated by Claude Code |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014gSmkUFm47YpWmkSProLQ6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014gSmkUFm47YpWmkSProLQ6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CUfJ46iekh4rbiCyoTamtn
148cadc to
594d401
Compare


Requested by Erwan · project thread
Fixes #3969
What changes
A player kill outside an arena already moved level × 50 reputation from a victim with at least 50 000 to the killer, silently. Now:
sayi"Reputation reduced: -N", with N = 0 when it had under 50 000 and kept everything;sayi"Reputation increased: +N" next to itsfdrefresh when it gained something.Arena falls are unchanged (no reputation, no line).
Tests
PlayerRevivalHandlerTests: the two transfer specs now also check both chat lines, and that a spared victim gives the killer no line.Manual test plan
Added "Reputation moved by a player kill" to
documentation/manual-test-plan.md. Client screenshots will follow in a comment.Generated by Claude Code