@mtgame/core 0.0.23 → 0.0.24

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.
@@ -2639,6 +2639,27 @@
2639
2639
  enumerable: true,
2640
2640
  configurable: true
2641
2641
  });
2642
+ Object.defineProperty(HockeyGameStatistic.prototype, "shotsOnGoal", {
2643
+ get: function () {
2644
+ return (this.evShotsOnGoal || 0) + (this.ppShotsOnGoal || 0) + (this.shShotsOnGoal || 0);
2645
+ },
2646
+ enumerable: true,
2647
+ configurable: true
2648
+ });
2649
+ Object.defineProperty(HockeyGameStatistic.prototype, "shotsBlocked", {
2650
+ get: function () {
2651
+ return (this.evShotsBlocked || 0) + (this.ppShotsBlocked || 0) + (this.shShotsBlocked || 0);
2652
+ },
2653
+ enumerable: true,
2654
+ configurable: true
2655
+ });
2656
+ Object.defineProperty(HockeyGameStatistic.prototype, "shotMisses", {
2657
+ get: function () {
2658
+ return (this.evShotMisses || 0) + (this.ppShotMisses || 0) + (this.shShotMisses || 0);
2659
+ },
2660
+ enumerable: true,
2661
+ configurable: true
2662
+ });
2642
2663
  Object.defineProperty(HockeyGameStatistic.prototype, "ppShots", {
2643
2664
  get: function () {
2644
2665
  return (this.ppShotMisses || 0) + (this.ppShotsOnGoal || 0) + (this.ppShotsBlocked || 0);
@@ -2662,7 +2683,7 @@
2662
2683
  });
2663
2684
  Object.defineProperty(HockeyGameStatistic.prototype, "shots", {
2664
2685
  get: function () {
2665
- return this.goals + this.ppShots + this.evShots + this.shShots;
2686
+ return this.ppShots + this.evShots + this.shShots;
2666
2687
  },
2667
2688
  enumerable: true,
2668
2689
  configurable: true