From c5f9fc229192aeb572a870fd894034e63d020aea Mon Sep 17 00:00:00 2001 From: Plidian <42590260+Plidian@users.noreply.github.com> Date: Fri, 10 Jan 2020 10:00:29 -0800 Subject: [PATCH] AddedDoors Added unit doors to the export --- src/facebook/popup.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/facebook/popup.js b/src/facebook/popup.js index 0070612..50da041 100644 --- a/src/facebook/popup.js +++ b/src/facebook/popup.js @@ -116,7 +116,14 @@ mag:parseInt(unitToken["Y9H6TWnv"].split("-")[1]), spr:parseInt(unitToken["sa8Ewx3H"].split("-")[1]) } - + var doors = { + hp:parseInt(unitToken["em5hx4FX"].split("-")[2]), + mp:parseInt(unitToken["L0MX7edB"].split("-")[2]), + atk:parseInt(unitToken["o7Ynu1XP"].split("-")[2]), + def:parseInt(unitToken["6tyb58Kc"].split("-")[2]), + mag:parseInt(unitToken["Y9H6TWnv"].split("-")[2]), + spr:parseInt(unitToken["sa8Ewx3H"].split("-")[2]) + } var skillEnhancements = []; if (unitSublimiation[unitUniqueId]) { unitSublimiation[unitUniqueId].forEach(function(skillInfo){ @@ -128,6 +135,7 @@ 'uniqueId': unitUniqueId, 'level': parseInt(unitToken["7wV3QZ80"]), 'pots': pots, + 'doors':doors, 'enhancements': skillEnhancements, 'tmr': parseInt(unitToken["f17L8wuX"]), 'stmr': parseInt(unitToken["o6m7L38B"]) @@ -201,4 +209,4 @@ }); -})(); \ No newline at end of file +})();