yolkbot 1.5.0 → 1.5.1

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/bot.d.ts CHANGED
@@ -265,7 +265,7 @@ export interface GameKOTC {
265
265
  stage: number;
266
266
  zoneIdx: number;
267
267
  activeZone: Zone[];
268
- capturing: number;
268
+ teamCapturing: number;
269
269
  captureProgress: number;
270
270
  numCapturing: number;
271
271
  capturePercent: number;
package/dist/bot.js CHANGED
@@ -171,7 +171,7 @@ export class Bot {
171
171
  stage: CoopState.Capturing,
172
172
  zoneIdx: 0,
173
173
  activeZone: [],
174
- capturing: 0,
174
+ teamCapturing: 0,
175
175
  captureProgress: 0,
176
176
  numCapturing: 0,
177
177
  capturePercent: 0
@@ -22,7 +22,7 @@ const processGameActionPacket = (bot) => {
22
22
  bot.game.kotc.stage = CoopState.Capturing;
23
23
  bot.game.kotc.zoneIdx = 0;
24
24
  bot.game.kotc.activeZone = null;
25
- bot.game.kotc.capturing = 0;
25
+ bot.game.kotc.teamCapturing = 0;
26
26
  bot.game.kotc.captureProgress = 0;
27
27
  bot.game.kotc.numCapturing = 0;
28
28
  bot.game.kotc.capturePercent = 0;
@@ -22,7 +22,7 @@ const processMetaGameStatePacket = (bot) => {
22
22
  const oldPlayersOnZone = Object.values(bot.players).filter((p) => p.inKotcZone && p.playing);
23
23
  bot.game.kotc.stage = CommIn.unPackInt8U();
24
24
  bot.game.kotc.zoneIdx = CommIn.unPackInt8U();
25
- bot.game.kotc.capturing = CommIn.unPackInt8U();
25
+ bot.game.kotc.teamCapturing = CommIn.unPackInt8U();
26
26
  bot.game.kotc.captureProgress = CommIn.unPackInt16U();
27
27
  bot.game.kotc.numCapturing = CommIn.unPackInt8U();
28
28
  bot.game.teamScore[1] = CommIn.unPackInt8U();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yolkbot",
3
3
  "description": "yolkbot builds your dream shell shockers bot.",
4
- "version": "1.5.0",
4
+ "version": "1.5.1",
5
5
  "keywords": [
6
6
  "shell shockers",
7
7
  "league bot",