volleyballsimtypes 0.0.144 → 0.0.145

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.
@@ -1,4 +1,3 @@
1
- import { Player } from '../player';
2
1
  export declare enum EventTypeEnum {
3
2
  LIBERO_REPLACEMENT = 0,
4
3
  SUBSTITUTION = 1,
@@ -9,7 +8,7 @@ export declare enum EventTypeEnum {
9
8
  BLOCK = 6
10
9
  }
11
10
  export interface RallyEventOpts {
12
- readonly player: Player;
11
+ readonly player: string;
13
12
  readonly eventType: EventTypeEnum;
14
13
  }
15
14
  export declare abstract class RallyEvent {
@@ -13,7 +13,7 @@ var EventTypeEnum;
13
13
  })(EventTypeEnum = exports.EventTypeEnum || (exports.EventTypeEnum = {}));
14
14
  class RallyEvent {
15
15
  constructor({ eventType, player }) {
16
- this.player = player.id;
16
+ this.player = player;
17
17
  this.eventType = eventType;
18
18
  }
19
19
  }
@@ -103,7 +103,7 @@ Trait.MARKSMAN = new Trait({
103
103
  stat: 'ATTACK',
104
104
  weight: 5
105
105
  });
106
- // Increases the score of the serve by 25% when serve type is Jumping.
106
+ // Increases the score of the serve by 10% when serve type is Jumping.
107
107
  Trait.METEOR_SERVE = new Trait({
108
108
  id: 'c929a79d-5866-40d6-bbd6-b0b67a929c4c',
109
109
  name: 'Meteor Serve',
@@ -123,13 +123,13 @@ Trait.VIGOROUS = new Trait({
123
123
  stat: 'PHYSICAL',
124
124
  weight: 1
125
125
  });
126
- // Takes place of the receiver and increases reception score by 25%, guaranteeing success. Can only trigger in back-row.
126
+ // Takes place of the receiver and increases reception score by 15%, guaranteeing success. Can only trigger in back-row.
127
127
  Trait.GUARDIAN = new Trait({
128
128
  id: 'c3291953-9256-4559-b5a9-955ccb8f9a6f',
129
129
  name: 'Guardian',
130
- chance: 0.25,
130
+ chance: 0.2,
131
131
  statThreshold: 75,
132
- modifier: 1.25,
132
+ modifier: 1.15,
133
133
  stat: 'DEFENSE',
134
134
  weight: 10
135
135
  });
@@ -1,4 +1,3 @@
1
- import { Player } from '../player';
2
1
  export declare enum EventTypeEnum {
3
2
  LIBERO_REPLACEMENT = 0,
4
3
  SUBSTITUTION = 1,
@@ -9,7 +8,7 @@ export declare enum EventTypeEnum {
9
8
  BLOCK = 6
10
9
  }
11
10
  export interface RallyEventOpts {
12
- readonly player: Player;
11
+ readonly player: string;
13
12
  readonly eventType: EventTypeEnum;
14
13
  }
15
14
  export declare abstract class RallyEvent {
@@ -10,7 +10,7 @@ export var EventTypeEnum;
10
10
  })(EventTypeEnum || (EventTypeEnum = {}));
11
11
  export class RallyEvent {
12
12
  constructor({ eventType, player }) {
13
- this.player = player.id;
13
+ this.player = player;
14
14
  this.eventType = eventType;
15
15
  }
16
16
  }
@@ -76,7 +76,7 @@ Trait.MARKSMAN = new Trait({
76
76
  stat: 'ATTACK',
77
77
  weight: 5
78
78
  });
79
- // Increases the score of the serve by 25% when serve type is Jumping.
79
+ // Increases the score of the serve by 10% when serve type is Jumping.
80
80
  Trait.METEOR_SERVE = new Trait({
81
81
  id: 'c929a79d-5866-40d6-bbd6-b0b67a929c4c',
82
82
  name: 'Meteor Serve',
@@ -96,13 +96,13 @@ Trait.VIGOROUS = new Trait({
96
96
  stat: 'PHYSICAL',
97
97
  weight: 1
98
98
  });
99
- // Takes place of the receiver and increases reception score by 25%, guaranteeing success. Can only trigger in back-row.
99
+ // Takes place of the receiver and increases reception score by 15%, guaranteeing success. Can only trigger in back-row.
100
100
  Trait.GUARDIAN = new Trait({
101
101
  id: 'c3291953-9256-4559-b5a9-955ccb8f9a6f',
102
102
  name: 'Guardian',
103
- chance: 0.25,
103
+ chance: 0.2,
104
104
  statThreshold: 75,
105
- modifier: 1.25,
105
+ modifier: 1.15,
106
106
  stat: 'DEFENSE',
107
107
  weight: 10
108
108
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "volleyballsimtypes",
3
- "version": "0.0.144",
3
+ "version": "0.0.145",
4
4
  "description": "vbsim types",
5
5
  "main": "./dist/cjs/src/index.js",
6
6
  "module": "./dist/esm/src/index.js",