Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
nroutasuo committed Aug 10, 2018
1 parent 889dc35 commit de286d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/game/helpers/EnemyHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ define([
var c = EnemyConstants;
var definitions = EnemyConstants.enemyDefinitions;
definitions.global.push(this.createEnemy("huge rat", "global", [c.nPest, c.nAnimal], [c.gPack, c.gMob, c.gHorde], [c.aInfest], [c.dCleared], 1, 5, 0.75));
definitions.global.push(this.createEnemy("poisonous centipede", "global", [c.nPest, c.nAnimal], [c.gSwarm, c.gMob], [c.aInfest], [c.dCleared], 1, 4, 0.4, 50));
definitions.global.push(this.createEnemy("poisonous centipede", "global", [c.nPest, c.nAnimal], [c.gSwarm, c.gMob], [c.aInfest], [c.dCleared], 1, 3, 0.4, 50));
definitions.global.push(this.createEnemy("giant centipede", "global", [c.nPest, c.nAnimal], [c.gSwarm],[c.aInfest], [c.dCleared], 2, 2, 0.4, 30));
definitions.global.push(this.createEnemy("radioactive cockroach", "global", [c.nPest, c.nAnimal], [c.gSwarm], [c.aInfest, c.aCover], [c.dCleared], 2, 3, 0.1));
definitions.global.push(this.createEnemy("cave bat", "global", [c.nPest, c.nAnimal], [c.gPack, c.gSwarm, c.gFlock, c.gHorde], [c.aInfest], [c.dCleared, c.dDrive], 3, 5, 0.6, 20));
Expand Down Expand Up @@ -163,7 +163,7 @@ define([
},

getEnemyDifficultyLevel: function (enemy, groundLevelOrdinal, totalLevels) {
var stats = enemy.att + enemy.def + 1;
var stats = enemy.att + enemy.def;
var level = 0;
var levelDifficulty;
for (var i = 1; i < totalLevels; i++) {
Expand Down
1 change: 0 additions & 1 deletion src/game/systems/ui/UIOutFollowersSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ define([
updateItems: function () {
var itemsComponent = this.itemNodes.head.items;
var items = itemsComponent.getAllByType(ItemConstants.itemTypes.follower);
console.log("update followers items: "+ items.length)
$("#list-followers").empty();
for (var i = 0; i < items.length; i++) {
var item = items[i];
Expand Down
2 changes: 1 addition & 1 deletion src/game/worldcreator/WorldCreator.js
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ define([
if (globalE.length > 0) {
enemies.push(globalE[0]);
} else {
console.log("WARN: No valid enemies defined for sector " + sectorVO.position);
console.log("WARN: No valid enemies defined for sector " + sectorVO.position + " difficulty " + enemyDifficulty);
}
}

Expand Down

0 comments on commit de286d4

Please sign in to comment.