fix(hiscores): count equipped throwing weapon stacks once

This commit is contained in:
max bittker committed 2026-10-08 12:20:25 -04:00
1 parent 415491a1cc
commit 1bc50391c8
1 file changed
+2 -1
@@ -225,7 +225,8 @@ async function updateWealthHiscores(account: HiscoreAccount, player: Player, pro
if (item) {
const objType = ObjType.get(item.id);
if (objType) {
const value = objType.cost * item.count;
// Equipment scores count one item per slot, including stacked throwing weapons.
const value = objType.cost;
items.push({ id: item.id, name: objType.name || `obj_${item.id}`, value });
totalValue += value;
}