From 1c41d8053423229375cc5a1351ac8d91f26b434b Mon Sep 17 00:00:00 2001 From: h-yasha Date: Mon, 16 Sep 2019 10:44:15 +0300 Subject: [PATCH] Add Prosperity Skill Levels Values --- src/global_const.js | 5 +++++ src/global_logic.js | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/global_const.js b/src/global_const.js index 47e74bc77..7da30dede 100644 --- a/src/global_const.js +++ b/src/global_const.js @@ -1911,6 +1911,11 @@ var skillAmounts = { }, "normalHigo": { "S": [0.5, 0.8, 1.1, 1.4, 1.7, 2.0, 2.3, 2.6, 2.7, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0] + }, + "darkOpusElementATK": { + //per turn increase, maximum 10 turns + //"L": [0.0055, 0.0060, 0.0065, 0.0070, 0.0075, 0.0080, 0.0085, 0.0090, 0.0095, 0.0100, 0.0105, 0.0110, 0.0115, 0.0120, 0.0125, 0.0130, 0.0135, 0.0140, 0.0145, 0.0150], + "L": [0.055, 0.060, 0.065, 0.070, 0.075, 0.080, 0.085, 0.090, 0.095, 0.100, 0.105, 0.110, 0.115, 0.120, 0.125, 0.130, 0.135, 0.140, 0.145, 0.150], } }; diff --git a/src/global_logic.js b/src/global_logic.js index d7ccb3bef..6ed1a6fdd 100644 --- a/src/global_logic.js +++ b/src/global_logic.js @@ -2026,9 +2026,9 @@ module.exports.addSkilldataToTotals = function (totals, comb, arml, buff) { totals[key]["magna"] += comb[i] * skillAmounts["magna"][amount][slv - 1]; } } else if (stype == 'opusnormalElement') { - totals[key][stype] += 0.15; + totals[key][stype] += skillAmounts["darkOpusElementATK"][amount][slv - 1]; } else if (stype == 'opusmagnaElement') { - totals[key][stype] += 0.15; + totals[key][stype] += skillAmounts["darkOpusElementATK"][amount][slv - 1]; } else if (stype == 'shinTenNoInori') { totals[key][stype] = [amount, Math.max(totals[key][stype][1], arm[skillkey + "Detail"])]; } else {