Repository navigation
Show the right gun for every weapon in replays - #308
Conversation
The weapon table guessed eight folders wrong, so the Judge, Guardian, Marshal, Outlaw, Operator and Frenzy showed no weapon, the Shorty showed as the Bandit and the Bandit as nothing. Its folders now come from valorant-api.com's asset paths, checked against the economy weapons and kill sources of three 13.0x replays (every gun in their 478 kills now maps), and match ignoring case since replays carry both DMR and Dmr. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
In the replay viewer, six guns showed no weapon at all (Judge, Guardian, Marshal, Outlaw, Operator, Frenzy), the Shorty showed as the Bandit, and the Bandit showed nothing. The table that turns a replay's equippable path into an Icarus weapon guessed eight folder names wrong. This fixes the roster's weapon column and the weapon on each agent's badge. Captured pages carry the same weapons.
What changed
Sidearms/Slimis the Shorty,Sidearms/Compactthe Bandit,Sidearms/AutoPistolthe Frenzy,Shotguns/AutoShotgunthe Judge, andSniperRifles/DMR,LeverSniper,DoubleSniperandBoltSniperthe Guardian, Marshal, Outlaw and Operator.DMRand asDmr.How it was checked
test/replay_weapons_test.dartpins each folder, including both spellings of the Guardian's.ci: analyze test
🤖 Generated with Claude Code
Summary by CodeRabbit