@mtgame/core 0.1.139 → 0.1.141

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.
@@ -6602,19 +6602,32 @@
6602
6602
  position_attack_shots: 'positionAttackShots',
6603
6603
  position_attack_goals_percent: 'positionAttackGoalsPercent',
6604
6604
  total_counterattack_goals: 'totalCounterAttackGoals',
6605
+ counterattack_shot_on_goals: 'counterAttackShotOnGoals',
6606
+ counterattack_shot_misses: 'counterAttackShotMisses',
6607
+ counterattack_shots: 'counterAttackShots',
6608
+ counterattack_goals_percent: 'counterAttackGoalsPercent',
6605
6609
  total_maneuver_goals: 'totalManeuverGoals',
6610
+ maneuver_shot_misses: 'maneuverShotMisses',
6611
+ maneuver_shot_on_goals: 'maneuverShotOnGoals',
6612
+ maneuver_shots: 'maneuverShots',
6613
+ maneuver_goals_percent: 'maneuverGoalsPercent',
6606
6614
  total_center_forward_goals: 'totalCenterForwardGoals',
6615
+ center_forward_shot_on_goals: 'centerForwardShotOnGoals',
6616
+ center_forward_shot_misses: 'centerForwardShotMisses',
6617
+ center_forward_shots: 'centerForwardShots',
6618
+ center_forward_goals_percent: 'centerForwardGoalsPercent',
6619
+ total_free_kick_goals: 'totalFreeKickGoals',
6620
+ free_kick_shot_misses: 'freeKickShotMisses',
6621
+ free_kick_on_goals: 'freeKickOnGoals',
6622
+ total_free_kicks: 'totalFreeKicks',
6623
+ free_kick_goals_percent: 'freeKickGoalsPercent',
6624
+ total_corner_goals: 'totalCornerGoals',
6625
+ total_corners: 'totalCorners',
6607
6626
  total_in_game_goals: 'totalInGameGoals',
6608
6627
  in_game_shot_misses: 'inGameShotMisses',
6609
- counterattack_shot_misses: 'counterAttackShotMisses',
6610
- center_forward_shot_misses: 'centerForwardShotMisses',
6611
6628
  total_pp_shot_misses: 'totalPpShotMisses',
6612
- free_kick_shot_misses: 'freeKickShotMisses',
6613
6629
  shot_misses: 'shotMisses',
6614
6630
  total_pp_shots_on_goal: 'totalPpShotsOnGoal',
6615
- counterattack_shot_on_goals: 'counterAttackShotOnGoals',
6616
- center_forward_shot_on_goals: 'centerForwardShotOnGoals',
6617
- free_kick_on_goals: 'freeKickOnGoals',
6618
6631
  in_game_shots_on_goals: 'inGameShotsOnGoals',
6619
6632
  shots_on_goal: 'shotsOnGoal',
6620
6633
  shots_blocked: 'shotsBlocked',
@@ -6625,18 +6638,29 @@
6625
6638
  total_goals_percent: 'totalGoalsPercent',
6626
6639
  face_offs: 'faceOffs',
6627
6640
  face_off_percent: 'faceOffPercent',
6628
- total_free_kick_goals: 'totalFreeKickGoals',
6629
- total_free_kicks: 'totalFreeKicks',
6630
- total_corner_goals: 'totalCornerGoals',
6631
- total_corners: 'totalCorners',
6632
6641
  total_fouls: 'totalFouls',
6633
6642
  total_penalties: 'totalPenalties',
6634
6643
  shootout_shots: 'shootoutShots',
6635
6644
  shootout_goals_percent: 'shootoutGoalsPercent',
6636
6645
  /*goalie stat*/
6646
+ position_attack_saves: 'positionAttackSaves',
6647
+ position_attack_shots_against: 'positionAttackShotsAgainst',
6648
+ position_attack_saves_percent: 'positionAttackSavesPercent',
6637
6649
  counterattack_saves: 'counterAttackSaves',
6650
+ counterattack_shots_against: 'counterAttackShotsAgainst',
6651
+ counterattack_saves_percent: 'counterAttackSavesPercent',
6638
6652
  center_forward_saves: 'centerForwardSaves',
6653
+ center_forward_shots_against: 'centerForwardShotsAgainst',
6654
+ center_forward_saves_percent: 'centerForwardSavesPercent',
6655
+ maneuver_saves: 'maneuverSaves',
6656
+ maneuver_shots_against: 'maneuverShotsAgainst',
6657
+ maneuver_saves_percent: 'maneuverSavesPercent',
6639
6658
  free_kick_saves: 'freeKickSaves',
6659
+ free_kick_shots_against: 'freeKickShotsAgainst',
6660
+ free_kick_saves_percent: 'freeKickSavesPercent',
6661
+ corner_saves: 'cornerSaves',
6662
+ corner_shots_against: 'cornerShotsAgainst',
6663
+ corner_saves_percent: 'cornerSavesPercent',
6640
6664
  in_game_saves: 'inGameSaves',
6641
6665
  total_sh_saves: 'totalShSaves',
6642
6666
  saves: 'saves',
@@ -11161,6 +11185,23 @@
11161
11185
  enumerable: false,
11162
11186
  configurable: true
11163
11187
  });
11188
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "counterAttackShots", {
11189
+ get: function () {
11190
+ return this.counterAttackShotMisses + this.counterAttackShotOnGoals;
11191
+ },
11192
+ enumerable: false,
11193
+ configurable: true
11194
+ });
11195
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "counterAttackGoalsPercent", {
11196
+ get: function () {
11197
+ if (!this.totalCounterAttackGoals || !this.counterAttackShots) {
11198
+ return 0;
11199
+ }
11200
+ return Math.round(1000 * this.totalCounterAttackGoals / this.counterAttackShots) / 10;
11201
+ },
11202
+ enumerable: false,
11203
+ configurable: true
11204
+ });
11164
11205
  Object.defineProperty(WaterpoloGameStatistic.prototype, "totalManeuverGoals", {
11165
11206
  get: function () {
11166
11207
  return (this.ppManeuverGoals || 0) + (this.shManeuverGoals || 0) + (this.evManeuverGoals || 0);
@@ -11203,6 +11244,23 @@
11203
11244
  enumerable: false,
11204
11245
  configurable: true
11205
11246
  });
11247
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "maneuverShots", {
11248
+ get: function () {
11249
+ return this.maneuverShotMisses + this.maneuverShotOnGoals;
11250
+ },
11251
+ enumerable: false,
11252
+ configurable: true
11253
+ });
11254
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "maneuverGoalsPercent", {
11255
+ get: function () {
11256
+ if (!this.totalManeuverGoals || !this.maneuverShots) {
11257
+ return 0;
11258
+ }
11259
+ return Math.round(1000 * this.totalManeuverGoals / this.maneuverShots) / 10;
11260
+ },
11261
+ enumerable: false,
11262
+ configurable: true
11263
+ });
11206
11264
  Object.defineProperty(WaterpoloGameStatistic.prototype, "totalCenterForwardGoals", {
11207
11265
  get: function () {
11208
11266
  return (this.ppCenterForwardGoals || 0) + (this.shCenterForwardGoals || 0) + (this.evCenterForwardGoals || 0);
@@ -11245,6 +11303,23 @@
11245
11303
  enumerable: false,
11246
11304
  configurable: true
11247
11305
  });
11306
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "centerForwardShots", {
11307
+ get: function () {
11308
+ return this.centerForwardShotMisses + this.centerForwardShotOnGoals;
11309
+ },
11310
+ enumerable: false,
11311
+ configurable: true
11312
+ });
11313
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "centerForwardGoalsPercent", {
11314
+ get: function () {
11315
+ if (!this.totalCenterForwardGoals || !this.centerForwardShots) {
11316
+ return 0;
11317
+ }
11318
+ return Math.round(1000 * this.totalCenterForwardGoals / this.centerForwardShots) / 10;
11319
+ },
11320
+ enumerable: false,
11321
+ configurable: true
11322
+ });
11248
11323
  Object.defineProperty(WaterpoloGameStatistic.prototype, "ppShots", {
11249
11324
  get: function () {
11250
11325
  return (this.ppShotMisses || 0) + (this.ppShotsOnGoal || 0) + (this.ppShotsBlocked || 0) +
@@ -11428,6 +11503,16 @@
11428
11503
  enumerable: false,
11429
11504
  configurable: true
11430
11505
  });
11506
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "freeKickGoalsPercent", {
11507
+ get: function () {
11508
+ if (!this.totalFreeKickGoals || !this.totalFreeKicks) {
11509
+ return 0;
11510
+ }
11511
+ return Math.round(1000 * this.totalFreeKickGoals / this.totalFreeKicks) / 10;
11512
+ },
11513
+ enumerable: false,
11514
+ configurable: true
11515
+ });
11431
11516
  Object.defineProperty(WaterpoloGameStatistic.prototype, "totalCornerGoals", {
11432
11517
  get: function () {
11433
11518
  return (this.ppCornerGoals || 0) + (this.shCornerGoals || 0) + (this.evCornerGoals || 0);
@@ -11592,14 +11677,55 @@
11592
11677
  enumerable: false,
11593
11678
  configurable: true
11594
11679
  });
11595
- Object.defineProperty(WaterpoloGameStatistic.prototype, "counterAttackSaves", {
11680
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "positionAttackSaves", {
11596
11681
  /*goalie stat */
11682
+ get: function () {
11683
+ return (this.ppSaves || 0) + (this.shSaves || 0) + (this.evSaves || 0);
11684
+ },
11685
+ enumerable: false,
11686
+ configurable: true
11687
+ });
11688
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "positionAttackShotsAgainst", {
11689
+ get: function () {
11690
+ return this.positionAttackSaves + (this.goalsAgainst || 0);
11691
+ },
11692
+ enumerable: false,
11693
+ configurable: true
11694
+ });
11695
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "positionAttackSavesPercent", {
11696
+ get: function () {
11697
+ if (!this.positionAttackSaves || !this.positionAttackShotsAgainst) {
11698
+ return 0;
11699
+ }
11700
+ return Math.round(1000 * this.positionAttackSaves / this.positionAttackShotsAgainst) / 10;
11701
+ },
11702
+ enumerable: false,
11703
+ configurable: true
11704
+ });
11705
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "counterAttackSaves", {
11597
11706
  get: function () {
11598
11707
  return (this.ppCounterAttackSaves || 0) + (this.shCounterAttackSaves || 0) + (this.evCounterAttackSaves || 0);
11599
11708
  },
11600
11709
  enumerable: false,
11601
11710
  configurable: true
11602
11711
  });
11712
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "counterAttackShotsAgainst", {
11713
+ get: function () {
11714
+ return this.counterAttackSaves + (this.counterAttackGoalsAgainst || 0);
11715
+ },
11716
+ enumerable: false,
11717
+ configurable: true
11718
+ });
11719
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "counterAttackSavesPercent", {
11720
+ get: function () {
11721
+ if (!this.counterAttackSaves || !this.counterAttackShotsAgainst) {
11722
+ return 0;
11723
+ }
11724
+ return Math.round(1000 * this.counterAttackSaves / this.counterAttackShotsAgainst) / 10;
11725
+ },
11726
+ enumerable: false,
11727
+ configurable: true
11728
+ });
11603
11729
  Object.defineProperty(WaterpoloGameStatistic.prototype, "centerForwardSaves", {
11604
11730
  get: function () {
11605
11731
  return (this.ppCenterForwardSaves || 0) + (this.shCenterForwardSaves || 0) + (this.evCenterForwardSaves || 0);
@@ -11607,6 +11733,23 @@
11607
11733
  enumerable: false,
11608
11734
  configurable: true
11609
11735
  });
11736
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "centerForwardShotsAgainst", {
11737
+ get: function () {
11738
+ return this.centerForwardSaves + (this.centerForwardGoalsAgainst || 0);
11739
+ },
11740
+ enumerable: false,
11741
+ configurable: true
11742
+ });
11743
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "centerForwardSavesPercent", {
11744
+ get: function () {
11745
+ if (!this.centerForwardSaves || !this.centerForwardShotsAgainst) {
11746
+ return 0;
11747
+ }
11748
+ return Math.round(1000 * this.centerForwardSaves / this.centerForwardShotsAgainst) / 10;
11749
+ },
11750
+ enumerable: false,
11751
+ configurable: true
11752
+ });
11610
11753
  Object.defineProperty(WaterpoloGameStatistic.prototype, "maneuverSaves", {
11611
11754
  get: function () {
11612
11755
  return (this.ppManeuverSaves || 0) + (this.shManeuverSaves || 0) + (this.evManeuverSaves || 0);
@@ -11614,6 +11757,23 @@
11614
11757
  enumerable: false,
11615
11758
  configurable: true
11616
11759
  });
11760
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "maneuverShotsAgainst", {
11761
+ get: function () {
11762
+ return this.maneuverSaves + (this.maneuverGoalsAgainst || 0);
11763
+ },
11764
+ enumerable: false,
11765
+ configurable: true
11766
+ });
11767
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "maneuverSavesPercent", {
11768
+ get: function () {
11769
+ if (!this.maneuverSaves || !this.maneuverShotsAgainst) {
11770
+ return 0;
11771
+ }
11772
+ return Math.round(1000 * this.maneuverSaves / this.maneuverShotsAgainst) / 10;
11773
+ },
11774
+ enumerable: false,
11775
+ configurable: true
11776
+ });
11617
11777
  Object.defineProperty(WaterpoloGameStatistic.prototype, "freeKickSaves", {
11618
11778
  get: function () {
11619
11779
  return (this.ppFreeKickSaves || 0) + (this.shFreeKickSaves || 0) + (this.evFreeKickSaves || 0);
@@ -11621,6 +11781,23 @@
11621
11781
  enumerable: false,
11622
11782
  configurable: true
11623
11783
  });
11784
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "freeKickShotsAgainst", {
11785
+ get: function () {
11786
+ return this.freeKickSaves + (this.freeKickGoalsAgainst || 0);
11787
+ },
11788
+ enumerable: false,
11789
+ configurable: true
11790
+ });
11791
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "freeKickSavesPercent", {
11792
+ get: function () {
11793
+ if (!this.freeKickSaves || !this.freeKickShotsAgainst) {
11794
+ return 0;
11795
+ }
11796
+ return Math.round(1000 * this.freeKickSaves / this.freeKickShotsAgainst) / 10;
11797
+ },
11798
+ enumerable: false,
11799
+ configurable: true
11800
+ });
11624
11801
  Object.defineProperty(WaterpoloGameStatistic.prototype, "cornerSaves", {
11625
11802
  get: function () {
11626
11803
  return (this.ppCornerSaves || 0) + (this.shCornerSaves || 0) + (this.evCornerSaves || 0);
@@ -11628,6 +11805,23 @@
11628
11805
  enumerable: false,
11629
11806
  configurable: true
11630
11807
  });
11808
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "cornerShotsAgainst", {
11809
+ get: function () {
11810
+ return this.cornerSaves + (this.cornerGoalsAgainst || 0);
11811
+ },
11812
+ enumerable: false,
11813
+ configurable: true
11814
+ });
11815
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "cornerSavesPercent", {
11816
+ get: function () {
11817
+ if (!this.cornerSaves || !this.cornerShotsAgainst) {
11818
+ return 0;
11819
+ }
11820
+ return Math.round(1000 * this.cornerSaves / this.cornerShotsAgainst) / 10;
11821
+ },
11822
+ enumerable: false,
11823
+ configurable: true
11824
+ });
11631
11825
  Object.defineProperty(WaterpoloGameStatistic.prototype, "totalShSaves", {
11632
11826
  get: function () {
11633
11827
  return (this.shCounterAttackSaves || 0) + (this.shManeuverSaves || 0) + (this.shCenterForwardSaves || 0) +