fix/weapon stats

This commit is contained in:
SowinskiBraeden committed 2023-11-01 14:39:29 -07:00
1 parent 77a7654f1a
commit 961df69cb4
3 files changed
+19 -19

No files matched your search

+6 -6
View File
@@ -184,12 +184,12 @@ module.exports = {
datasets: [{
label: 'Times Shot',
data: [
query.timesShotPerBoduPart.Head,
query.timesShotPerBoduPart.Torso,
query.timesShotPerBoduPart.LeftArm,
query.timesShotPerBoduPart.RightArm,
query.timesShotPerBoduPart.LeftLeg,
query.timesShotPerBoduPart.RightLeg,
query.timesShotPerBodyPart.Head,
query.timesShotPerBodyPart.Torso,
query.timesShotPerBodyPart.LeftArm,
query.timesShotPerBodyPart.RightArm,
query.timesShotPerBodyPart.LeftLeg,
query.timesShotPerBodyPart.RightLeg,
],
}],
},
+12 -12
View File
@@ -118,22 +118,22 @@ module.exports = {
datasets: [{
label: `Shots landed with a ${weapon}`,
data: [
player.shotsLandedPerBodyPart.Head,
player.shotsLandedPerBodyPart.Torso,
player.shotsLandedPerBodyPart.LeftArm,
player.shotsLandedPerBodyPart.RightArm,
player.shotsLandedPerBodyPart.LeftLeg,
player.shotsLandedPerBodyPart.RightLeg,
player.weaponStats[weapon].shotsLandedPerBodyPart.Head,
player.weaponStats[weapon].shotsLandedPerBodyPart.Torso,
player.weaponStats[weapon].shotsLandedPerBodyPart.LeftArm,
player.weaponStats[weapon].shotsLandedPerBodyPart.RightArm,
player.weaponStats[weapon].shotsLandedPerBodyPart.LeftLeg,
player.weaponStats[weapon].shotsLandedPerBodyPart.RightLeg,
],
}, {
label: `Times Shot by a ${weapon}`,
data: [
player.timesShotPerBodyPart.Head,
player.timesShotPerBodyPart.Torso,
player.timesShotPerBodyPart.LeftArm,
player.timesShotPerBodyPart.RightArm,
player.timesShotPerBodyPart.LeftLeg,
player.timesShotPerBodyPart.RightLeg,
player.weaponStats[weapon].timesShotPerBodyPart.Head,
player.weaponStats[weapon].timesShotPerBodyPart.Torso,
player.weaponStats[weapon].timesShotPerBodyPart.LeftArm,
player.weaponStats[weapon].timesShotPerBodyPart.RightArm,
player.weaponStats[weapon].timesShotPerBodyPart.LeftLeg,
player.weaponStats[weapon].timesShotPerBodyPart.RightLeg,
],
}],
},