volleyballsimtypes 0.0.152 → 0.0.153
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/dist/cjs/src/data/models/player.d.ts +1 -1
- package/dist/cjs/src/data/models/player.js +1 -1
- package/dist/cjs/src/data/transformers/role.js +0 -2
- package/dist/cjs/src/formula/role.formula.json +0 -16
- package/dist/cjs/src/formula/roles.js +1 -1
- package/dist/cjs/src/service/coach/formation.d.ts +0 -1
- package/dist/cjs/src/service/coach/formation.js +20 -23
- package/dist/cjs/src/service/player/role.d.ts +0 -1
- package/dist/cjs/src/service/player/role.js +1 -3
- package/dist/esm/src/data/models/player.d.ts +1 -1
- package/dist/esm/src/data/models/player.js +1 -1
- package/dist/esm/src/data/transformers/role.js +0 -2
- package/dist/esm/src/formula/role.formula.json +0 -16
- package/dist/esm/src/formula/roles.js +1 -1
- package/dist/esm/src/service/coach/formation.d.ts +0 -1
- package/dist/esm/src/service/coach/formation.js +20 -23
- package/dist/esm/src/service/player/role.d.ts +0 -1
- package/dist/esm/src/service/player/role.js +1 -3
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ export interface PlayerAttributes {
|
|
|
11
11
|
MatchSetStats?: MatchSetStatsAttributes[];
|
|
12
12
|
}
|
|
13
13
|
export type PlayerPk = 'player_id';
|
|
14
|
-
export type RoleType = 'SETTER' | 'LIBERO' | 'OUTSIDE_HITTER' | 'OPPOSITE_HITTER' | 'MIDDLE_BLOCKER'
|
|
14
|
+
export type RoleType = 'SETTER' | 'LIBERO' | 'OUTSIDE_HITTER' | 'OPPOSITE_HITTER' | 'MIDDLE_BLOCKER';
|
|
15
15
|
export type PlayerId = PlayerModel[PlayerPk];
|
|
16
16
|
export type PlayerCreationAttributes = PlayerAttributes;
|
|
17
17
|
export declare class PlayerModel extends Model<PlayerAttributes, PlayerCreationAttributes> implements PlayerAttributes {
|
|
@@ -11,7 +11,7 @@ class PlayerModel extends sequelize_1.Model {
|
|
|
11
11
|
primaryKey: true
|
|
12
12
|
},
|
|
13
13
|
roles: {
|
|
14
|
-
type: sequelize_1.DataTypes.ARRAY(sequelize_1.DataTypes.ENUM('SETTER', 'LIBERO', 'OUTSIDE_HITTER', 'OPPOSITE_HITTER', 'MIDDLE_BLOCKER'
|
|
14
|
+
type: sequelize_1.DataTypes.ARRAY(sequelize_1.DataTypes.ENUM('SETTER', 'LIBERO', 'OUTSIDE_HITTER', 'OPPOSITE_HITTER', 'MIDDLE_BLOCKER')),
|
|
15
15
|
allowNull: false
|
|
16
16
|
},
|
|
17
17
|
first_name: {
|
|
@@ -6,8 +6,6 @@ function transformToType(role) {
|
|
|
6
6
|
switch (role) {
|
|
7
7
|
case service_1.Role.SETTER:
|
|
8
8
|
return 'SETTER';
|
|
9
|
-
case service_1.Role.DEFENSIVE_SPECIALIST:
|
|
10
|
-
return 'DEFENSIVE_SPECIALIST';
|
|
11
9
|
case service_1.Role.LIBERO:
|
|
12
10
|
return 'LIBERO';
|
|
13
11
|
case service_1.Role.MIDDLE_BLOCKER:
|
|
@@ -78,21 +78,5 @@
|
|
|
78
78
|
"defense": 0.075,
|
|
79
79
|
"stamina": 0.05
|
|
80
80
|
}
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"role": "DEFENSIVE_SPECIALIST",
|
|
84
|
-
"weight": {
|
|
85
|
-
"serve": 0.005,
|
|
86
|
-
"setting": 0.025,
|
|
87
|
-
"pass": 0.06,
|
|
88
|
-
"reception": 0.33,
|
|
89
|
-
"spike": 0,
|
|
90
|
-
"backAttack": 0,
|
|
91
|
-
"jump": 0.005,
|
|
92
|
-
"block": 0.025,
|
|
93
|
-
"awareness": 0.25,
|
|
94
|
-
"defense": 0.25,
|
|
95
|
-
"stamina": 0.05
|
|
96
|
-
}
|
|
97
81
|
}
|
|
98
82
|
]
|
|
@@ -5,5 +5,5 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.rolesFormula = exports.ALL_ROLES = void 0;
|
|
7
7
|
const role_formula_json_1 = __importDefault(require("./role.formula.json"));
|
|
8
|
-
exports.ALL_ROLES = ['SETTER', 'LIBERO', 'OUTSIDE_HITTER', 'OPPOSITE_HITTER', 'MIDDLE_BLOCKER'
|
|
8
|
+
exports.ALL_ROLES = ['SETTER', 'LIBERO', 'OUTSIDE_HITTER', 'OPPOSITE_HITTER', 'MIDDLE_BLOCKER'];
|
|
9
9
|
exports.rolesFormula = role_formula_json_1.default;
|
|
@@ -21,23 +21,23 @@ Formation['5-1'] = new Formation({
|
|
|
21
21
|
initialRotation: {
|
|
22
22
|
1: [player_1.Role.SETTER],
|
|
23
23
|
2: [player_1.Role.OUTSIDE_HITTER],
|
|
24
|
-
3: [player_1.Role.MIDDLE_BLOCKER
|
|
24
|
+
3: [player_1.Role.MIDDLE_BLOCKER],
|
|
25
25
|
4: [player_1.Role.OPPOSITE_HITTER],
|
|
26
26
|
5: [player_1.Role.OUTSIDE_HITTER],
|
|
27
|
-
6: [player_1.Role.MIDDLE_BLOCKER
|
|
27
|
+
6: [player_1.Role.MIDDLE_BLOCKER]
|
|
28
28
|
},
|
|
29
29
|
base: {
|
|
30
30
|
1: [player_1.Role.OPPOSITE_HITTER, player_1.Role.SETTER],
|
|
31
31
|
2: [player_1.Role.OPPOSITE_HITTER],
|
|
32
|
-
3: [player_1.Role.MIDDLE_BLOCKER
|
|
32
|
+
3: [player_1.Role.MIDDLE_BLOCKER],
|
|
33
33
|
4: [player_1.Role.OUTSIDE_HITTER],
|
|
34
34
|
5: [player_1.Role.OUTSIDE_HITTER],
|
|
35
|
-
6: [player_1.Role.LIBERO
|
|
35
|
+
6: [player_1.Role.LIBERO]
|
|
36
36
|
},
|
|
37
37
|
draftingPriorities: [
|
|
38
38
|
[player_1.Role.SETTER, player_1.Role.OPPOSITE_HITTER],
|
|
39
39
|
[player_1.Role.OPPOSITE_HITTER],
|
|
40
|
-
[player_1.Role.MIDDLE_BLOCKER
|
|
40
|
+
[player_1.Role.MIDDLE_BLOCKER],
|
|
41
41
|
[player_1.Role.MIDDLE_BLOCKER],
|
|
42
42
|
[player_1.Role.OUTSIDE_HITTER],
|
|
43
43
|
[player_1.Role.OUTSIDE_HITTER],
|
|
@@ -47,15 +47,14 @@ Formation['5-1'] = new Formation({
|
|
|
47
47
|
MIDDLE_BLOCKER: 1,
|
|
48
48
|
OUTSIDE_HITTER: 10,
|
|
49
49
|
OPPOSITE_HITTER: 100,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
LIBERO: 100000
|
|
50
|
+
SETTER: 1000,
|
|
51
|
+
LIBERO: 10000
|
|
53
52
|
}
|
|
54
53
|
});
|
|
55
54
|
Formation['4-2'] = new Formation({
|
|
56
55
|
name: '4-2',
|
|
57
56
|
initialRotation: {
|
|
58
|
-
1: [player_1.Role.MIDDLE_BLOCKER
|
|
57
|
+
1: [player_1.Role.MIDDLE_BLOCKER],
|
|
59
58
|
2: [player_1.Role.SETTER],
|
|
60
59
|
3: [player_1.Role.OUTSIDE_HITTER],
|
|
61
60
|
4: [player_1.Role.MIDDLE_BLOCKER],
|
|
@@ -65,15 +64,15 @@ Formation['4-2'] = new Formation({
|
|
|
65
64
|
base: {
|
|
66
65
|
1: [player_1.Role.SETTER],
|
|
67
66
|
2: [player_1.Role.OPPOSITE_HITTER, player_1.Role.SETTER],
|
|
68
|
-
3: [player_1.Role.MIDDLE_BLOCKER
|
|
67
|
+
3: [player_1.Role.MIDDLE_BLOCKER],
|
|
69
68
|
4: [player_1.Role.OUTSIDE_HITTER],
|
|
70
69
|
5: [player_1.Role.OUTSIDE_HITTER],
|
|
71
|
-
6: [player_1.Role.LIBERO
|
|
70
|
+
6: [player_1.Role.LIBERO]
|
|
72
71
|
},
|
|
73
72
|
draftingPriorities: [
|
|
74
73
|
[player_1.Role.SETTER, player_1.Role.OPPOSITE_HITTER],
|
|
75
74
|
[player_1.Role.SETTER],
|
|
76
|
-
[player_1.Role.MIDDLE_BLOCKER
|
|
75
|
+
[player_1.Role.MIDDLE_BLOCKER],
|
|
77
76
|
[player_1.Role.MIDDLE_BLOCKER],
|
|
78
77
|
[player_1.Role.OUTSIDE_HITTER],
|
|
79
78
|
[player_1.Role.OUTSIDE_HITTER],
|
|
@@ -83,9 +82,8 @@ Formation['4-2'] = new Formation({
|
|
|
83
82
|
MIDDLE_BLOCKER: 1,
|
|
84
83
|
OUTSIDE_HITTER: 10,
|
|
85
84
|
OPPOSITE_HITTER: 100,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
LIBERO: 100000
|
|
85
|
+
SETTER: 1000,
|
|
86
|
+
LIBERO: 10000
|
|
89
87
|
}
|
|
90
88
|
});
|
|
91
89
|
Formation['6-2'] = new Formation({
|
|
@@ -93,7 +91,7 @@ Formation['6-2'] = new Formation({
|
|
|
93
91
|
initialRotation: {
|
|
94
92
|
1: [player_1.Role.OPPOSITE_HITTER, player_1.Role.SETTER],
|
|
95
93
|
2: [player_1.Role.OUTSIDE_HITTER],
|
|
96
|
-
3: [player_1.Role.MIDDLE_BLOCKER
|
|
94
|
+
3: [player_1.Role.MIDDLE_BLOCKER],
|
|
97
95
|
4: [player_1.Role.OPPOSITE_HITTER, player_1.Role.SETTER],
|
|
98
96
|
5: [player_1.Role.OUTSIDE_HITTER],
|
|
99
97
|
6: [player_1.Role.MIDDLE_BLOCKER]
|
|
@@ -101,16 +99,16 @@ Formation['6-2'] = new Formation({
|
|
|
101
99
|
base: {
|
|
102
100
|
1: [player_1.Role.SETTER],
|
|
103
101
|
2: [player_1.Role.OPPOSITE_HITTER, player_1.Role.SETTER],
|
|
104
|
-
3: [player_1.Role.MIDDLE_BLOCKER
|
|
102
|
+
3: [player_1.Role.MIDDLE_BLOCKER],
|
|
105
103
|
4: [player_1.Role.OUTSIDE_HITTER],
|
|
106
104
|
5: [player_1.Role.OUTSIDE_HITTER],
|
|
107
|
-
6: [player_1.Role.LIBERO
|
|
105
|
+
6: [player_1.Role.LIBERO]
|
|
108
106
|
},
|
|
109
107
|
draftingPriorities: [
|
|
110
108
|
[player_1.Role.SETTER, player_1.Role.OPPOSITE_HITTER],
|
|
111
109
|
[player_1.Role.OPPOSITE_HITTER, player_1.Role.SETTER],
|
|
112
|
-
[player_1.Role.MIDDLE_BLOCKER
|
|
113
|
-
[player_1.Role.
|
|
110
|
+
[player_1.Role.MIDDLE_BLOCKER],
|
|
111
|
+
[player_1.Role.MIDDLE_BLOCKER],
|
|
114
112
|
[player_1.Role.OUTSIDE_HITTER],
|
|
115
113
|
[player_1.Role.OUTSIDE_HITTER],
|
|
116
114
|
[player_1.Role.LIBERO]
|
|
@@ -119,8 +117,7 @@ Formation['6-2'] = new Formation({
|
|
|
119
117
|
MIDDLE_BLOCKER: 1,
|
|
120
118
|
OUTSIDE_HITTER: 10,
|
|
121
119
|
OPPOSITE_HITTER: 100,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
LIBERO: 100000
|
|
120
|
+
SETTER: 1000,
|
|
121
|
+
LIBERO: 10000
|
|
125
122
|
}
|
|
126
123
|
});
|
|
@@ -6,7 +6,6 @@ export declare class Role {
|
|
|
6
6
|
static readonly OUTSIDE_HITTER: Role;
|
|
7
7
|
static readonly OPPOSITE_HITTER: Role;
|
|
8
8
|
static readonly MIDDLE_BLOCKER: Role;
|
|
9
|
-
static readonly DEFENSIVE_SPECIALIST: Role;
|
|
10
9
|
private static readonly ROLES;
|
|
11
10
|
readonly name: Roles;
|
|
12
11
|
private constructor();
|
|
@@ -41,6 +41,4 @@ Role.LIBERO = new Role('LIBERO');
|
|
|
41
41
|
Role.OUTSIDE_HITTER = new Role('OUTSIDE_HITTER');
|
|
42
42
|
Role.OPPOSITE_HITTER = new Role('OPPOSITE_HITTER');
|
|
43
43
|
Role.MIDDLE_BLOCKER = new Role('MIDDLE_BLOCKER');
|
|
44
|
-
Role.
|
|
45
|
-
Role.ROLES = [Role.LIBERO, Role.SETTER, Role.OPPOSITE_HITTER, Role.OUTSIDE_HITTER, Role.MIDDLE_BLOCKER,
|
|
46
|
-
Role.DEFENSIVE_SPECIALIST];
|
|
44
|
+
Role.ROLES = [Role.LIBERO, Role.SETTER, Role.OPPOSITE_HITTER, Role.OUTSIDE_HITTER, Role.MIDDLE_BLOCKER];
|
|
@@ -11,7 +11,7 @@ export interface PlayerAttributes {
|
|
|
11
11
|
MatchSetStats?: MatchSetStatsAttributes[];
|
|
12
12
|
}
|
|
13
13
|
export type PlayerPk = 'player_id';
|
|
14
|
-
export type RoleType = 'SETTER' | 'LIBERO' | 'OUTSIDE_HITTER' | 'OPPOSITE_HITTER' | 'MIDDLE_BLOCKER'
|
|
14
|
+
export type RoleType = 'SETTER' | 'LIBERO' | 'OUTSIDE_HITTER' | 'OPPOSITE_HITTER' | 'MIDDLE_BLOCKER';
|
|
15
15
|
export type PlayerId = PlayerModel[PlayerPk];
|
|
16
16
|
export type PlayerCreationAttributes = PlayerAttributes;
|
|
17
17
|
export declare class PlayerModel extends Model<PlayerAttributes, PlayerCreationAttributes> implements PlayerAttributes {
|
|
@@ -8,7 +8,7 @@ export class PlayerModel extends Model {
|
|
|
8
8
|
primaryKey: true
|
|
9
9
|
},
|
|
10
10
|
roles: {
|
|
11
|
-
type: DataTypes.ARRAY(DataTypes.ENUM('SETTER', 'LIBERO', 'OUTSIDE_HITTER', 'OPPOSITE_HITTER', 'MIDDLE_BLOCKER'
|
|
11
|
+
type: DataTypes.ARRAY(DataTypes.ENUM('SETTER', 'LIBERO', 'OUTSIDE_HITTER', 'OPPOSITE_HITTER', 'MIDDLE_BLOCKER')),
|
|
12
12
|
allowNull: false
|
|
13
13
|
},
|
|
14
14
|
first_name: {
|
|
@@ -78,21 +78,5 @@
|
|
|
78
78
|
"defense": 0.075,
|
|
79
79
|
"stamina": 0.05
|
|
80
80
|
}
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"role": "DEFENSIVE_SPECIALIST",
|
|
84
|
-
"weight": {
|
|
85
|
-
"serve": 0.005,
|
|
86
|
-
"setting": 0.025,
|
|
87
|
-
"pass": 0.06,
|
|
88
|
-
"reception": 0.33,
|
|
89
|
-
"spike": 0,
|
|
90
|
-
"backAttack": 0,
|
|
91
|
-
"jump": 0.005,
|
|
92
|
-
"block": 0.025,
|
|
93
|
-
"awareness": 0.25,
|
|
94
|
-
"defense": 0.25,
|
|
95
|
-
"stamina": 0.05
|
|
96
|
-
}
|
|
97
81
|
}
|
|
98
82
|
]
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import roles from './role.formula.json';
|
|
2
|
-
export const ALL_ROLES = ['SETTER', 'LIBERO', 'OUTSIDE_HITTER', 'OPPOSITE_HITTER', 'MIDDLE_BLOCKER'
|
|
2
|
+
export const ALL_ROLES = ['SETTER', 'LIBERO', 'OUTSIDE_HITTER', 'OPPOSITE_HITTER', 'MIDDLE_BLOCKER'];
|
|
3
3
|
export const rolesFormula = roles;
|
|
@@ -17,23 +17,23 @@ Formation['5-1'] = new Formation({
|
|
|
17
17
|
initialRotation: {
|
|
18
18
|
1: [Role.SETTER],
|
|
19
19
|
2: [Role.OUTSIDE_HITTER],
|
|
20
|
-
3: [Role.MIDDLE_BLOCKER
|
|
20
|
+
3: [Role.MIDDLE_BLOCKER],
|
|
21
21
|
4: [Role.OPPOSITE_HITTER],
|
|
22
22
|
5: [Role.OUTSIDE_HITTER],
|
|
23
|
-
6: [Role.MIDDLE_BLOCKER
|
|
23
|
+
6: [Role.MIDDLE_BLOCKER]
|
|
24
24
|
},
|
|
25
25
|
base: {
|
|
26
26
|
1: [Role.OPPOSITE_HITTER, Role.SETTER],
|
|
27
27
|
2: [Role.OPPOSITE_HITTER],
|
|
28
|
-
3: [Role.MIDDLE_BLOCKER
|
|
28
|
+
3: [Role.MIDDLE_BLOCKER],
|
|
29
29
|
4: [Role.OUTSIDE_HITTER],
|
|
30
30
|
5: [Role.OUTSIDE_HITTER],
|
|
31
|
-
6: [Role.LIBERO
|
|
31
|
+
6: [Role.LIBERO]
|
|
32
32
|
},
|
|
33
33
|
draftingPriorities: [
|
|
34
34
|
[Role.SETTER, Role.OPPOSITE_HITTER],
|
|
35
35
|
[Role.OPPOSITE_HITTER],
|
|
36
|
-
[Role.MIDDLE_BLOCKER
|
|
36
|
+
[Role.MIDDLE_BLOCKER],
|
|
37
37
|
[Role.MIDDLE_BLOCKER],
|
|
38
38
|
[Role.OUTSIDE_HITTER],
|
|
39
39
|
[Role.OUTSIDE_HITTER],
|
|
@@ -43,15 +43,14 @@ Formation['5-1'] = new Formation({
|
|
|
43
43
|
MIDDLE_BLOCKER: 1,
|
|
44
44
|
OUTSIDE_HITTER: 10,
|
|
45
45
|
OPPOSITE_HITTER: 100,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
LIBERO: 100000
|
|
46
|
+
SETTER: 1000,
|
|
47
|
+
LIBERO: 10000
|
|
49
48
|
}
|
|
50
49
|
});
|
|
51
50
|
Formation['4-2'] = new Formation({
|
|
52
51
|
name: '4-2',
|
|
53
52
|
initialRotation: {
|
|
54
|
-
1: [Role.MIDDLE_BLOCKER
|
|
53
|
+
1: [Role.MIDDLE_BLOCKER],
|
|
55
54
|
2: [Role.SETTER],
|
|
56
55
|
3: [Role.OUTSIDE_HITTER],
|
|
57
56
|
4: [Role.MIDDLE_BLOCKER],
|
|
@@ -61,15 +60,15 @@ Formation['4-2'] = new Formation({
|
|
|
61
60
|
base: {
|
|
62
61
|
1: [Role.SETTER],
|
|
63
62
|
2: [Role.OPPOSITE_HITTER, Role.SETTER],
|
|
64
|
-
3: [Role.MIDDLE_BLOCKER
|
|
63
|
+
3: [Role.MIDDLE_BLOCKER],
|
|
65
64
|
4: [Role.OUTSIDE_HITTER],
|
|
66
65
|
5: [Role.OUTSIDE_HITTER],
|
|
67
|
-
6: [Role.LIBERO
|
|
66
|
+
6: [Role.LIBERO]
|
|
68
67
|
},
|
|
69
68
|
draftingPriorities: [
|
|
70
69
|
[Role.SETTER, Role.OPPOSITE_HITTER],
|
|
71
70
|
[Role.SETTER],
|
|
72
|
-
[Role.MIDDLE_BLOCKER
|
|
71
|
+
[Role.MIDDLE_BLOCKER],
|
|
73
72
|
[Role.MIDDLE_BLOCKER],
|
|
74
73
|
[Role.OUTSIDE_HITTER],
|
|
75
74
|
[Role.OUTSIDE_HITTER],
|
|
@@ -79,9 +78,8 @@ Formation['4-2'] = new Formation({
|
|
|
79
78
|
MIDDLE_BLOCKER: 1,
|
|
80
79
|
OUTSIDE_HITTER: 10,
|
|
81
80
|
OPPOSITE_HITTER: 100,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
LIBERO: 100000
|
|
81
|
+
SETTER: 1000,
|
|
82
|
+
LIBERO: 10000
|
|
85
83
|
}
|
|
86
84
|
});
|
|
87
85
|
Formation['6-2'] = new Formation({
|
|
@@ -89,7 +87,7 @@ Formation['6-2'] = new Formation({
|
|
|
89
87
|
initialRotation: {
|
|
90
88
|
1: [Role.OPPOSITE_HITTER, Role.SETTER],
|
|
91
89
|
2: [Role.OUTSIDE_HITTER],
|
|
92
|
-
3: [Role.MIDDLE_BLOCKER
|
|
90
|
+
3: [Role.MIDDLE_BLOCKER],
|
|
93
91
|
4: [Role.OPPOSITE_HITTER, Role.SETTER],
|
|
94
92
|
5: [Role.OUTSIDE_HITTER],
|
|
95
93
|
6: [Role.MIDDLE_BLOCKER]
|
|
@@ -97,16 +95,16 @@ Formation['6-2'] = new Formation({
|
|
|
97
95
|
base: {
|
|
98
96
|
1: [Role.SETTER],
|
|
99
97
|
2: [Role.OPPOSITE_HITTER, Role.SETTER],
|
|
100
|
-
3: [Role.MIDDLE_BLOCKER
|
|
98
|
+
3: [Role.MIDDLE_BLOCKER],
|
|
101
99
|
4: [Role.OUTSIDE_HITTER],
|
|
102
100
|
5: [Role.OUTSIDE_HITTER],
|
|
103
|
-
6: [Role.LIBERO
|
|
101
|
+
6: [Role.LIBERO]
|
|
104
102
|
},
|
|
105
103
|
draftingPriorities: [
|
|
106
104
|
[Role.SETTER, Role.OPPOSITE_HITTER],
|
|
107
105
|
[Role.OPPOSITE_HITTER, Role.SETTER],
|
|
108
|
-
[Role.MIDDLE_BLOCKER
|
|
109
|
-
[Role.
|
|
106
|
+
[Role.MIDDLE_BLOCKER],
|
|
107
|
+
[Role.MIDDLE_BLOCKER],
|
|
110
108
|
[Role.OUTSIDE_HITTER],
|
|
111
109
|
[Role.OUTSIDE_HITTER],
|
|
112
110
|
[Role.LIBERO]
|
|
@@ -115,8 +113,7 @@ Formation['6-2'] = new Formation({
|
|
|
115
113
|
MIDDLE_BLOCKER: 1,
|
|
116
114
|
OUTSIDE_HITTER: 10,
|
|
117
115
|
OPPOSITE_HITTER: 100,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
LIBERO: 100000
|
|
116
|
+
SETTER: 1000,
|
|
117
|
+
LIBERO: 10000
|
|
121
118
|
}
|
|
122
119
|
});
|
|
@@ -6,7 +6,6 @@ export declare class Role {
|
|
|
6
6
|
static readonly OUTSIDE_HITTER: Role;
|
|
7
7
|
static readonly OPPOSITE_HITTER: Role;
|
|
8
8
|
static readonly MIDDLE_BLOCKER: Role;
|
|
9
|
-
static readonly DEFENSIVE_SPECIALIST: Role;
|
|
10
9
|
private static readonly ROLES;
|
|
11
10
|
readonly name: Roles;
|
|
12
11
|
private constructor();
|
|
@@ -37,6 +37,4 @@ Role.LIBERO = new Role('LIBERO');
|
|
|
37
37
|
Role.OUTSIDE_HITTER = new Role('OUTSIDE_HITTER');
|
|
38
38
|
Role.OPPOSITE_HITTER = new Role('OPPOSITE_HITTER');
|
|
39
39
|
Role.MIDDLE_BLOCKER = new Role('MIDDLE_BLOCKER');
|
|
40
|
-
Role.
|
|
41
|
-
Role.ROLES = [Role.LIBERO, Role.SETTER, Role.OPPOSITE_HITTER, Role.OUTSIDE_HITTER, Role.MIDDLE_BLOCKER,
|
|
42
|
-
Role.DEFENSIVE_SPECIALIST];
|
|
40
|
+
Role.ROLES = [Role.LIBERO, Role.SETTER, Role.OPPOSITE_HITTER, Role.OUTSIDE_HITTER, Role.MIDDLE_BLOCKER];
|