<commit_before>function EnemyRunner(resources, overrides) {
  Entity.call(this, resources, overrides);
  this.width = 24;
  this.height = 24;
  this.health = 3;
  this.speed = 5;
  this.shadow.on = true;
  this.xpGiven = 20;
  this.goldGiven = 10;
  this.sprite = this.sprites.debug4;

  this.alignment = 'enemy';
  this.friendlyPierceChance = 0; // Alignment is relative
  this.enemyPierceChance = 0; // Pierce chance for bullets from player+heroes
}

EnemyRunner.prototype = new Entity();
_.extend(EnemyRunner.prototype, Enemy.prototype);

EnemyRunner.prototype.constructor = EnemyRunner;

EnemyRunner.prototype.tick = function () {
  if (this.age === 0) {
    this.say('Uraaa!', 1);
  }

  this.returnToMap();

  if (this.age > 120) {
    this.highlighted = true;
  }

  this.speed *= 1.01;
  Enemy.prototype.tick.bind(this)();
};

EnemyRunner.prototype.explode = function () {
  this.die();

  // Drop a bomb if killed by player
  if (this.health <= 0) {<commit_msg>Fade runners<commit_after>function EnemyRunner(resources, overrides) {
  Entity.call(this, resources, overrides);
  this.width = 24;
  this.height = 24;
  this.health = 3;
  this.speed = 5;
  this.shadow.on = true;
  this.xpGiven = 20;
  this.goldGiven = 10;
  this.sprite = this.sprites.debug4;

  this.alignment = 'enemy';
  this.friendlyPierceChance = 0; // Alignment is relative
  this.enemyPierceChance = 0; // Pierce chance for bullets from player+heroes

  this.drawFade = true;
}

EnemyRunner.prototype = new Entity();
_.extend(EnemyRunner.prototype, Enemy.prototype);

EnemyRunner.prototype.constructor = EnemyRunner;

EnemyRunner.prototype.tick = function () {
  if (this.age === 0) {
    this.say('Uraaa!', 1);
  }

  this.returnToMap();

  if (this.age > 120) {
    this.highlighted = true;
  }

  this.speed *= 1.01;
  Enemy.prototype.tick.bind(this)();
};

EnemyRunner.prototype.explode = function () {
  this.die();

  // Drop a bomb if killed by player
  if (this.health <= 0) {
{'fraction_non_alphanumeric': 0.14511201629327902, 'fraction_numerical': 0.02240325865580448, 'mean_word_length': 3.5591647331786542, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4203163', 'n_tokens_mistral': 755, 'n_tokens_neox': 686, 'n_words': 149}