yolkbot 0.1.1-alpha.23 → 0.1.1-alpha.24

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yolkbot",
3
3
  "description": "create a shell shockers (self) bot in under 10 lines.",
4
- "version": "0.1.1-alpha.23",
4
+ "version": "0.1.1-alpha.24",
5
5
  "keywords": [
6
6
  "shell shockers",
7
7
  "shellshock.io",
package/src/bot.js CHANGED
@@ -979,13 +979,13 @@ export class Bot {
979
979
  killed.playing = false;
980
980
  killed.streak = 0;
981
981
  killed.lastDeathTime = Date.now();
982
- // console.log(`Player ${killed.name} died.`);
982
+ killed.hp = 100;
983
+ killed.hpShield = 0;
983
984
  }
984
985
 
985
986
  if (killer) killer.streak++;
986
- // console.log(`Player ${killer.name} is on a streak of ${killer.streak} kills.`);
987
987
 
988
- this.emit('playerDeath', killed, killer); // killed, killer
988
+ this.emit('playerDeath', killed, killer);
989
989
  }
990
990
 
991
991
  #processFirePacket() {