@mtgame/core 0.2.98 → 0.2.99
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.
- package/bundles/mtgame-core.umd.js +8 -1
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/hockey-game-config.js +10 -3
- package/fesm2015/mtgame-core.js +8 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/hockey-game-config.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2107,7 +2107,12 @@
|
|
|
2107
2107
|
});
|
|
2108
2108
|
Object.defineProperty(HockeyGameConfig.prototype, "playoffBullitsPeriod", {
|
|
2109
2109
|
get: function () {
|
|
2110
|
-
|
|
2110
|
+
if (this.playoffSeriesType === exports.OvertimeTypes.to_first_goal_and_bullitts) {
|
|
2111
|
+
return this.periodsCount + 4;
|
|
2112
|
+
}
|
|
2113
|
+
else {
|
|
2114
|
+
return this.periodsCount + 3;
|
|
2115
|
+
}
|
|
2111
2116
|
},
|
|
2112
2117
|
enumerable: false,
|
|
2113
2118
|
configurable: true
|
|
@@ -2138,10 +2143,12 @@
|
|
|
2138
2143
|
misconduct_penalty_time: 'misconductPenaltyTime',
|
|
2139
2144
|
game_misconduct_penalty_time: 'gameMisconductPenaltyTime',
|
|
2140
2145
|
match_penalty_time: 'matchPenaltyTime',
|
|
2146
|
+
playoff_series_type: 'playoffSeriesType',
|
|
2141
2147
|
},
|
|
2142
2148
|
relation: {
|
|
2143
2149
|
overtimeType: enumField(exports.OvertimeTypes),
|
|
2144
2150
|
gameTimeType: enumField(exports.GameTimeTypes),
|
|
2151
|
+
playoffSeriesType: enumField(exports.OvertimeTypes),
|
|
2145
2152
|
}
|
|
2146
2153
|
})
|
|
2147
2154
|
], exports.HockeyGameConfig);
|