diff --git a/.DS_Store b/.DS_Store index d995010..37acef0 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/js/bullet.js b/js/bullet.js index 152df4f..6f662fe 100644 --- a/js/bullet.js +++ b/js/bullet.js @@ -2037,7 +2037,7 @@ const b = { restitution: 1, dmg: 0.24, //damage done in addition to the damage from momentum lookFrequency: 80 + Math.floor(23 * Math.random()), - endCycle: simulation.cycle + Math.floor((1100 + 420 * Math.random()) * tech.isBulletsLastLonger * tech.droneCycleReduction), + endCycle: simulation.cycle + Math.floor((960 + 420 * Math.random()) * tech.isBulletsLastLonger * tech.droneCycleReduction) + 130 + RADIUS * 5, classType: "bullet", collisionFilter: { category: cat.bullet, diff --git a/js/tech.js b/js/tech.js index 7c806fe..a5c2a97 100644 --- a/js/tech.js +++ b/js/tech.js @@ -1757,7 +1757,7 @@ document.getElementById("health-bg").style.display = "inline" document.getElementById("dmg").style.backgroundColor = "#f67"; m.health = Math.max(Math.min(m.maxHealth, m.energy), 0.1); - simulation.mobDmgColor = "rgba(0,0,0,0.7)" + simulation.mobDmgColor = "rgba(255,0,0,0.7)" m.displayHealth(); } }, { @@ -3606,7 +3606,7 @@ } }, { name: "reduced tolerances", - description: "reduce all drone production costs by 300%
reduce the average drone lifetime by 53%", + description: "reduce all drone production costs by 66%
reduce the average drone lifetime by 45%", isGunTech: true, maxCount: 3, count: 0, @@ -3616,9 +3616,8 @@ }, requires: "drones", effect() { - tech.droneCycleReduction = Math.pow(0.47, 1 + this.count) - tech.droneEnergyReduction = Math.pow(0.33, 1 + this.count) - console.log(tech.droneCycleReduction, tech.droneEnergyReduction) + tech.droneCycleReduction = Math.pow(0.55, 1 + this.count) + tech.droneEnergyReduction = Math.pow(0.333, 1 + this.count) for (i = 0, len = b.guns.length; i < len; i++) { //find which gun if (b.guns[i].name === "drones") b.guns[i].ammoPack = b.guns[i].defaultAmmoPack * Math.pow(3, this.count) } @@ -4734,7 +4733,6 @@ } const index = options[Math.floor(Math.random() * options.length)] tech.tech[index].frequency = 100 - console.log(tech.tech[index]) }, remove() {} }, diff --git a/todo.txt b/todo.txt index 52f8a61..0bf10d1 100644 --- a/todo.txt +++ b/todo.txt @@ -1,8 +1,9 @@ ******************************************************** NEXT PATCH ******************************************************** +fixed and renamed the new drone tech (it wasn't working right) + level bosses will do about 50% less damage on collisions, but they will take about 33% more to kill -fixed and renamed the new drone tech ******************************************************** BUGS ********************************************************