aboutsummaryrefslogtreecommitdiff
path: root/build/database.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/database.js')
-rw-r--r--build/database.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/database.js b/build/database.js
index 967828e..e889f1e 100644
--- a/build/database.js
+++ b/build/database.js
@@ -81,10 +81,10 @@ function getMemberSlayerAttributes(member) {
slayer_total_kills: member.slayers.kills,
};
for (const slayer of member.slayers.bosses) {
- slayerAttributes[`slayer_${slayer.name}_total_xp`] = slayer.xp;
- slayerAttributes[`slayer_${slayer.name}_total_kills`] = slayer.kills;
+ slayerAttributes[`slayer_${slayer.raw_name}_total_xp`] = slayer.xp;
+ slayerAttributes[`slayer_${slayer.raw_name}_total_kills`] = slayer.kills;
for (const tier of slayer.tiers) {
- slayerAttributes[`slayer_${slayer.name}_${tier.tier}_kills`] = tier.kills;
+ slayerAttributes[`slayer_${slayer.raw_name}_${tier.tier}_kills`] = tier.kills;
}
}
return slayerAttributes;