From c272d10cf53f3fdccdf501d8e874d6f61a38ff3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AC=E5=AD=90=E7=BE=BD?= <63553100@qq.com> Date: Mon, 11 Mar 2019 19:07:51 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20data-buildings.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/data-buildings.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/data/data-buildings.js b/data/data-buildings.js index accc7d9..068db44 100644 --- a/data/data-buildings.js +++ b/data/data-buildings.js @@ -162,10 +162,10 @@ const BUILDINGS = {//function context == point return "产出: " + displayNumber(this.production(point)) }, build(point) { - game.growth["力量"] += this.production(point) + game.growth["power"] += this.production(point) }, destroy(point) { - game.growth["力量"] -= this.production(point) + game.growth["power"] -= this.production(point) }, iconText : "P", iconColor : "#888833" @@ -184,10 +184,10 @@ const BUILDINGS = {//function context == point return "产出: " + displayNumber(this.production(point)) }, build(point) { - game.growth["精神"] += this.production(point) + game.growth["spirit"] += this.production(point) }, destroy(point) { - game.growth["精神"] -= this.production(point) + game.growth["spirit"] -= this.production(point) }, iconText : "S", iconColor : "#338833" @@ -207,17 +207,17 @@ const BUILDINGS = {//function context == point }, build(point) { const value = this.production(point) - game.growth["火焰"] += value - game.growth["冰"] += value - game.growth["血液"] += value - game.growth["金属"] += value + game.growth["fire"] += value + game.growth["ice"] += value + game.growth["blood"] += value + game.growth["metal"] += value }, destroy(point) { const value = this.production(point) - game.growth["火焰"] -= value - game.growth["冰"] -= value - game.growth["血液"] -= value - game.growth["金属"] -= value + game.growth["fire"] -= value + game.growth["ice"] -= value + game.growth["blood"] -= value + game.growth["metal"] -= value }, iconText : "R", iconColor : "#FF8844" -- Gitee From 3e41e6b57eb10e029c8bba89d61897fe08f490a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AC=E5=AD=90=E7=BE=BD?= <63553100@qq.com> Date: Mon, 11 Mar 2019 19:20:18 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20data-buildings.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/data-buildings.js | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/data/data-buildings.js b/data/data-buildings.js index 068db44..1cdd321 100644 --- a/data/data-buildings.js +++ b/data/data-buildings.js @@ -12,7 +12,7 @@ const BUILDINGS = {//function context == point return point.depth * 68400 }, info(point) { - return "产出: " + displayNumber(this.production(point)) + "/s" + return "Production: " + displayNumber(this.production(point)) + "/s" }, build(point) { game.production.gold += this.production(point) @@ -34,7 +34,7 @@ const BUILDINGS = {//function context == point return point.depth * point.map.level ** 2 / 1e5 * ((point.level || 0) + 1) * (game.skills.magicBoost1 && (point.distance < point.map.ownedRadius)?point.map.ownedRadius * (point.map.ownedRadius - point.distance + 1):1) * (point.enchanted == ENCHANT_DOOM?point.map.level:1) }, info(point) { - return "产出: " + displayNumber(this.production(point)) + return "Production: " + displayNumber(this.production(point)) }, build(point) { game.production.science += this.production(point) @@ -53,7 +53,7 @@ const BUILDINGS = {//function context == point return (point.depth * point.outs * 1000000) || -1 }, info(point) { - return "精神增强: x" + ((point.level || 0) + 1) + return "Spirit bonus: x + ((point.level || 0) + 1) }, build(point) {}, destroy(point) {}, @@ -71,7 +71,7 @@ const BUILDINGS = {//function context == point return (point.depth * point.bonus) ** 0.5 / 1e5 }, info(point) { - return "增强倍率: x" + displayNumber(this.production(point)) + return "Power bonus: x" + displayNumber(this.production(point)) }, build(point) { game.multi.power = (game.multi.power || 1) + this.production(point) @@ -93,7 +93,7 @@ const BUILDINGS = {//function context == point return 1e-10 * point.map.level ** 6 }, info(point) { - return "产出: " + displayNumber(this.production(point)) + return "Production: " + displayNumber(this.production(point)) }, build(point) { game.production.fears += this.production(point) @@ -115,7 +115,7 @@ const BUILDINGS = {//function context == point return 2e-11 * point.map.level ** 6 }, info(point) { - return "产出: " + displayNumber(this.production(point)) + return "Production: " + displayNumber(this.production(point)) }, build(point) { game.production.clouds += this.production(point) @@ -137,7 +137,7 @@ const BUILDINGS = {//function context == point return point.distance < point.map.ownedRadius?1e15:-1 }, info(point) { - return "产出: " + displayNumber(this.production(point)) + return "Production: " + displayNumber(this.production(point)) }, build(point) { game.production.mana += this.production(point) @@ -159,7 +159,7 @@ const BUILDINGS = {//function context == point return point.totalBonus }, info(point) { - return "产出: " + displayNumber(this.production(point)) + return "Production: " + displayNumber(this.production(point)) }, build(point) { game.growth["power"] += this.production(point) @@ -181,8 +181,7 @@ const BUILDINGS = {//function context == point return point.totalBonus }, info(point) { - return "产出: " + displayNumber(this.production(point)) - }, + return "Production: " + displayNumber(this.production(point)) build(point) { game.growth["spirit"] += this.production(point) }, @@ -203,7 +202,7 @@ const BUILDINGS = {//function context == point return point.totalBonus }, info(point) { - return "产出: " + displayNumber(this.production(point)) + return "Production: " + displayNumber(this.production(point)) }, build(point) { const value = this.production(point) @@ -233,7 +232,7 @@ const BUILDINGS = {//function context == point return (point.map.level - 10) ** 5 / 1e6 * point.depth }, info(point) { - return "产出: " + displayNumber(this.production(point)) + return "Production: " + displayNumber(this.production(point)) }, build(point) { game.production.thunderstone += this.production(point) -- Gitee From acaca22422a84e860e73a3fbcfa9aa030e80676c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AC=E5=AD=90=E7=BE=BD?= <63553100@qq.com> Date: Mon, 11 Mar 2019 19:44:32 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20data-buildings.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/data-buildings.js | 1 + 1 file changed, 1 insertion(+) diff --git a/data/data-buildings.js b/data/data-buildings.js index 1cdd321..d7d28c8 100644 --- a/data/data-buildings.js +++ b/data/data-buildings.js @@ -182,6 +182,7 @@ const BUILDINGS = {//function context == point }, info(point) { return "Production: " + displayNumber(this.production(point)) + }, build(point) { game.growth["spirit"] += this.production(point) }, -- Gitee From 8b03c9ceeea95e9152c64a98beea780393d528af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AC=E5=AD=90=E7=BE=BD?= <63553100@qq.com> Date: Mon, 11 Mar 2019 19:49:52 +0800 Subject: [PATCH 4/6] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20data-buildings.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/data-buildings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/data-buildings.js b/data/data-buildings.js index d7d28c8..55997eb 100644 --- a/data/data-buildings.js +++ b/data/data-buildings.js @@ -182,7 +182,7 @@ const BUILDINGS = {//function context == point }, info(point) { return "Production: " + displayNumber(this.production(point)) - }, + }, build(point) { game.growth["spirit"] += this.production(point) }, -- Gitee From 11bb20784884a37e4649f5954c880f7c2ddc10ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AC=E5=AD=90=E7=BE=BD?= <63553100@qq.com> Date: Mon, 11 Mar 2019 19:55:59 +0800 Subject: [PATCH 5/6] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20data-buildings.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/data-buildings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/data-buildings.js b/data/data-buildings.js index 55997eb..0cc9be1 100644 --- a/data/data-buildings.js +++ b/data/data-buildings.js @@ -53,7 +53,7 @@ const BUILDINGS = {//function context == point return (point.depth * point.outs * 1000000) || -1 }, info(point) { - return "Spirit bonus: x + ((point.level || 0) + 1) + return "Spirit bonus: x" + ((point.level || 0) + 1) }, build(point) {}, destroy(point) {}, -- Gitee From 724fb862717bafd86003c255b71c386611f1ac7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AC=E5=AD=90=E7=BE=BD?= <63553100@qq.com> Date: Tue, 12 Mar 2019 11:18:59 +0800 Subject: [PATCH 6/6] 1 --- data/data-buildings.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/data/data-buildings.js b/data/data-buildings.js index 0cc9be1..2a64a6d 100644 --- a/data/data-buildings.js +++ b/data/data-buildings.js @@ -12,7 +12,7 @@ const BUILDINGS = {//function context == point return point.depth * 68400 }, info(point) { - return "Production: " + displayNumber(this.production(point)) + "/s" + return "生产: " + displayNumber(this.production(point)) + "/s" }, build(point) { game.production.gold += this.production(point) @@ -34,7 +34,7 @@ const BUILDINGS = {//function context == point return point.depth * point.map.level ** 2 / 1e5 * ((point.level || 0) + 1) * (game.skills.magicBoost1 && (point.distance < point.map.ownedRadius)?point.map.ownedRadius * (point.map.ownedRadius - point.distance + 1):1) * (point.enchanted == ENCHANT_DOOM?point.map.level:1) }, info(point) { - return "Production: " + displayNumber(this.production(point)) + return "生产: " + displayNumber(this.production(point)) }, build(point) { game.production.science += this.production(point) @@ -53,7 +53,7 @@ const BUILDINGS = {//function context == point return (point.depth * point.outs * 1000000) || -1 }, info(point) { - return "Spirit bonus: x" + ((point.level || 0) + 1) + return "精神增强: x" + ((point.level || 0) + 1) }, build(point) {}, destroy(point) {}, @@ -71,7 +71,7 @@ const BUILDINGS = {//function context == point return (point.depth * point.bonus) ** 0.5 / 1e5 }, info(point) { - return "Power bonus: x" + displayNumber(this.production(point)) + return "力量增强: x" + displayNumber(this.production(point)) }, build(point) { game.multi.power = (game.multi.power || 1) + this.production(point) @@ -93,7 +93,7 @@ const BUILDINGS = {//function context == point return 1e-10 * point.map.level ** 6 }, info(point) { - return "Production: " + displayNumber(this.production(point)) + return "生产: " + displayNumber(this.production(point)) }, build(point) { game.production.fears += this.production(point) @@ -137,7 +137,7 @@ const BUILDINGS = {//function context == point return point.distance < point.map.ownedRadius?1e15:-1 }, info(point) { - return "Production: " + displayNumber(this.production(point)) + return "生产: " + displayNumber(this.production(point)) }, build(point) { game.production.mana += this.production(point) @@ -159,7 +159,7 @@ const BUILDINGS = {//function context == point return point.totalBonus }, info(point) { - return "Production: " + displayNumber(this.production(point)) + return "生产: " + displayNumber(this.production(point)) }, build(point) { game.growth["power"] += this.production(point) @@ -181,7 +181,7 @@ const BUILDINGS = {//function context == point return point.totalBonus }, info(point) { - return "Production: " + displayNumber(this.production(point)) + return "生产: " + displayNumber(this.production(point)) }, build(point) { game.growth["spirit"] += this.production(point) @@ -203,7 +203,7 @@ const BUILDINGS = {//function context == point return point.totalBonus }, info(point) { - return "Production: " + displayNumber(this.production(point)) + return "生产: " + displayNumber(this.production(point)) }, build(point) { const value = this.production(point) @@ -233,7 +233,7 @@ const BUILDINGS = {//function context == point return (point.map.level - 10) ** 5 / 1e6 * point.depth }, info(point) { - return "Production: " + displayNumber(this.production(point)) + return "生产: " + displayNumber(this.production(point)) }, build(point) { game.production.thunderstone += this.production(point) -- Gitee