aboutsummaryrefslogtreecommitdiffstats
path: root/js/craftmine.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/craftmine.js')
-rw-r--r--js/craftmine.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/js/craftmine.js b/js/craftmine.js
index ffc9b5e..9af9b9f 100644
--- a/js/craftmine.js
+++ b/js/craftmine.js
@@ -3,8 +3,8 @@ data = {
gold: 0,
mine: 0,
miners: 0,
- level: 1,
- hp: 1,
+ level: 4,
+ hp: 5,
icon : "H"
}
@@ -56,7 +56,8 @@ function initCraftMine() {
data.mine = 0; // Reset mine
if(ret.shop) displayShop(ret.shop);
displayInventory(ret.inventory);
- if(ret.dungeon) displayDungeon();
+ if(typeof ret.dungeon.mob == "undefined") displayDungeon(0,1,true);
+ else displayDungeon(ret.dungeon.mob,ret.dungeon.flat,true);
data.miners = parseInt(ret.miners);
updateData("gold", "mine", "miners");
})