made draft mode default, bug fixes

This commit is contained in:
landgreen
2019-12-30 11:10:36 -08:00
parent 45b87e8c72
commit 2073ae2279
8 changed files with 88 additions and 181 deletions

View File

@@ -2,8 +2,6 @@
/* TODO: *******************************************
*****************************************************
make draft mode default and add in negative mods
field: catch mobs in your field and make them into guardian bullets
negative mod effect ideas
@@ -11,6 +9,8 @@ negative mod effect ideas
-fire rate
-slow life decay
mod: gain an extra choice of power ups
mod: if you fire when out of ammo you gain 1 ammo pack at the cost of
10% max health
20% of your current health
@@ -104,12 +104,6 @@ const cat = {
}
document.getElementById("draft-button").addEventListener("click", () => {
game.isDraftMode = true;
game.startGame();
});
//build build grid display
const build = {
isShowingBuilds: false,
@@ -163,7 +157,6 @@ const build = {
document.getElementById("build-button").addEventListener("click", () => {
document.getElementById("build-button").style.display = "none";
document.getElementById("draft-button").style.display = "none";
const el = document.getElementById("build-grid")
if (build.isShowingBuilds) {
el.style.display = "none"