@mtgame/core 0.1.71 → 0.1.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4469,6 +4469,20 @@
|
|
|
4469
4469
|
enumerable: false,
|
|
4470
4470
|
configurable: true
|
|
4471
4471
|
});
|
|
4472
|
+
Object.defineProperty(FootballStatistic.prototype, "penalties", {
|
|
4473
|
+
get: function () {
|
|
4474
|
+
return (this.penaltyGoals || 0) + (this.penaltyAttempts || 0);
|
|
4475
|
+
},
|
|
4476
|
+
enumerable: false,
|
|
4477
|
+
configurable: true
|
|
4478
|
+
});
|
|
4479
|
+
Object.defineProperty(FootballStatistic.prototype, "smallPenalties", {
|
|
4480
|
+
get: function () {
|
|
4481
|
+
return (this.smallPenaltyGoals || 0) + (this.smallPenaltyAttempts || 0);
|
|
4482
|
+
},
|
|
4483
|
+
enumerable: false,
|
|
4484
|
+
configurable: true
|
|
4485
|
+
});
|
|
4472
4486
|
Object.defineProperty(FootballStatistic.prototype, "tournamentTeamPoints", {
|
|
4473
4487
|
get: function () {
|
|
4474
4488
|
return this.tournamentTeam && this.tournamentTeam.points;
|