From ef692ec62edc4ce688afeea4bc90ff5d767acd4d Mon Sep 17 00:00:00 2001 From: Jose Abelardo Gutierrez Date: Tue, 17 Apr 2018 19:40:33 -0500 Subject: [PATCH] Fix errors from previous merge & fixes potency roll --- New World of Darkness Official/NWoD_Official.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/New World of Darkness Official/NWoD_Official.html b/New World of Darkness Official/NWoD_Official.html index 53f1fd75da..b56131180a 100644 --- a/New World of Darkness Official/NWoD_Official.html +++ b/New World of Darkness Official/NWoD_Official.html @@ -2937,18 +2937,17 @@ on("change:defense_select", function(eventInfo) { updateDefense(eventInfo); }); - - on("sheet:opened", function() { - updateDefaultDefense(); on("change:iron_stamina", function() { updateWoundPenalties(); + }); on("change:potency change:potency_flag", function() { updateRolls("potency"); }); on("sheet:opened", function() { + updateDefaultDefense(); updatePotencyName(); }); @@ -2970,6 +2969,9 @@ rarray.splice(rarray.indexOf(stat), 1); } } + else if (stat === "potency") { + type = "potency"; + } else if (stat != "potency") { if(attributes.indexOf(stat) > -1) { type = "attribute";