diff --git a/battle.js b/battle.js index 6da07df4..9ee19713 100644 --- a/battle.js +++ b/battle.js @@ -58,11 +58,10 @@ function BattleIdol(idol, control) { } self.attack = modStat(idol.attack + idol.attackBonus, 100); - self.defense = modStat(idol.defense + idol.defenseBonus, 50); - self.endurance = modStat(idol.endurance + idol.enduranceBonus, 50); + self.defense = modStat(idol.defense + idol.defenseBonus, 100); self.speed = modStat(idol.speed + idol.speedBonus, 20); - self.maxHp = self.endurance; + self.maxHp = 50; self.hp = self.maxHp; self.abilities = idol.abilities; diff --git a/game.js b/game.js index 194bbefe..7a684c31 100644 --- a/game.js +++ b/game.js @@ -1,7 +1,6 @@ var VOWELS = 'aeiou'; var N = 'n'; var STATS = [ - 'endurance', 'attack', 'speed', 'defense' @@ -59,7 +58,6 @@ var endString = 'end'; var idolSorters = { date: function(a, b) { return b.recruitedAt - a.recruitedAt; }, statSpeed: function(a, b) { return (b.speed + b.speedBonus) - (a.speed + a.speedBonus); }, - statEndurance: function(a, b) { return (b.endurance + b.enduranceBonus) - (a.endurance + a.enduranceBonus); }, statAttack: function(a, b) { return (b.attack + b.attackBonus) - (a.attack + a.attackBonus); }, statDefense: function(a, b) { return (b.defense + b.defenseBonus) - (a.defense + a.defenseBonus); }, unitMembership: function(a, b) { return (Number(b.isInUnit()) - Number(a.isInUnit())); }, @@ -73,7 +71,6 @@ var idolSorters = { var idolSortNames = { date: 'Date recruited', statSpeed: 'Speed', - statEndurance: 'Endurance', statAttack: 'Attack', statDefense: 'Defense', allStats: 'Total of all stats', diff --git a/index.html b/index.html index d6386f66..f9f1c080 100644 --- a/index.html +++ b/index.html @@ -126,8 +126,6 @@
{{rarity}}
@@ -268,8 +266,6 @@