made draft mode default, bug fixes
This commit is contained in:
11
js/index.js
11
js/index.js
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user