fix/weapon stats
This commit is contained in:
3 files changed
+19
-19
No files matched your search
@@ -184,12 +184,12 @@ module.exports = {
|
|||||||
datasets: [{
|
datasets: [{
|
||||||
label: 'Times Shot',
|
label: 'Times Shot',
|
||||||
data: [
|
data: [
|
||||||
query.timesShotPerBoduPart.Head,
|
query.timesShotPerBodyPart.Head,
|
||||||
query.timesShotPerBoduPart.Torso,
|
query.timesShotPerBodyPart.Torso,
|
||||||
query.timesShotPerBoduPart.LeftArm,
|
query.timesShotPerBodyPart.LeftArm,
|
||||||
query.timesShotPerBoduPart.RightArm,
|
query.timesShotPerBodyPart.RightArm,
|
||||||
query.timesShotPerBoduPart.LeftLeg,
|
query.timesShotPerBodyPart.LeftLeg,
|
||||||
query.timesShotPerBoduPart.RightLeg,
|
query.timesShotPerBodyPart.RightLeg,
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
},
|
},
|
||||||
|
|||||||
+12
-12
@@ -118,22 +118,22 @@ module.exports = {
|
|||||||
datasets: [{
|
datasets: [{
|
||||||
label: `Shots landed with a ${weapon}`,
|
label: `Shots landed with a ${weapon}`,
|
||||||
data: [
|
data: [
|
||||||
player.shotsLandedPerBodyPart.Head,
|
player.weaponStats[weapon].shotsLandedPerBodyPart.Head,
|
||||||
player.shotsLandedPerBodyPart.Torso,
|
player.weaponStats[weapon].shotsLandedPerBodyPart.Torso,
|
||||||
player.shotsLandedPerBodyPart.LeftArm,
|
player.weaponStats[weapon].shotsLandedPerBodyPart.LeftArm,
|
||||||
player.shotsLandedPerBodyPart.RightArm,
|
player.weaponStats[weapon].shotsLandedPerBodyPart.RightArm,
|
||||||
player.shotsLandedPerBodyPart.LeftLeg,
|
player.weaponStats[weapon].shotsLandedPerBodyPart.LeftLeg,
|
||||||
player.shotsLandedPerBodyPart.RightLeg,
|
player.weaponStats[weapon].shotsLandedPerBodyPart.RightLeg,
|
||||||
],
|
],
|
||||||
}, {
|
}, {
|
||||||
label: `Times Shot by a ${weapon}`,
|
label: `Times Shot by a ${weapon}`,
|
||||||
data: [
|
data: [
|
||||||
player.timesShotPerBodyPart.Head,
|
player.weaponStats[weapon].timesShotPerBodyPart.Head,
|
||||||
player.timesShotPerBodyPart.Torso,
|
player.weaponStats[weapon].timesShotPerBodyPart.Torso,
|
||||||
player.timesShotPerBodyPart.LeftArm,
|
player.weaponStats[weapon].timesShotPerBodyPart.LeftArm,
|
||||||
player.timesShotPerBodyPart.RightArm,
|
player.weaponStats[weapon].timesShotPerBodyPart.RightArm,
|
||||||
player.timesShotPerBodyPart.LeftLeg,
|
player.weaponStats[weapon].timesShotPerBodyPart.LeftLeg,
|
||||||
player.timesShotPerBodyPart.RightLeg,
|
player.weaponStats[weapon].timesShotPerBodyPart.RightLeg,
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
},
|
},
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dayzr-bot",
|
"name": "dayzr-bot",
|
||||||
"version": "12.1.4",
|
"version": "12.1.5",
|
||||||
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
|
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"nodemonConfig": {
|
"nodemonConfig": {
|
||||||
|
|||||||
Reference in new issue
Block a user