diff --git a/src/Data/ModCache.lua b/src/Data/ModCache.lua index dd286dd3ef..8910b2ef80 100755 --- a/src/Data/ModCache.lua +++ b/src/Data/ModCache.lua @@ -8609,7 +8609,7 @@ c["Guard Skills have 20% increased Cooldown Recovery Rate"]={{[1]={[1]={skillTyp c["Guard Skills have 25% increased Duration"]={{[1]={[1]={skillType=89,type="SkillType"},flags=0,keywordFlags=0,name="Duration",type="INC",value=25}},nil} c["Guard Skills have 40% increased Duration"]={{[1]={[1]={skillType=89,type="SkillType"},flags=0,keywordFlags=0,name="Duration",type="INC",value=40}},nil} c["Guard Skills have 6% increased Duration"]={{[1]={[1]={skillType=89,type="SkillType"},flags=0,keywordFlags=0,name="Duration",type="INC",value=6}},nil} -c["Half of your Strength is added to your Minions"]={{[1]={flags=0,keywordFlags=0,name="HalfStrengthAddedToMinions",type="FLAG",value=true}},nil} +c["Half of your Strength is added to your Minions"]={{[1]={flags=0,keywordFlags=0,name="StrengthAddedToMinions",type="BASE",value=50}},nil} c["Has 1 Abyssal Socket"]={{[1]={flags=0,keywordFlags=0,name="AbyssalSocketCount",type="BASE",value=1}},nil} c["Has 1 Socket"]={{[1]={flags=0,keywordFlags=0,name="SocketCount",type="BASE",value=1}},nil} c["Has 2 Abyssal Sockets"]={{[1]={flags=0,keywordFlags=0,name="AbyssalSocketCount",type="BASE",value=2}},nil} diff --git a/src/Modules/CalcPerform.lua b/src/Modules/CalcPerform.lua index 2929c8feb1..0f89c7ea7d 100644 --- a/src/Modules/CalcPerform.lua +++ b/src/Modules/CalcPerform.lua @@ -1113,11 +1113,8 @@ function calcs.perform(env, skipEHP) end end end - if modDB:Flag(nil, "StrengthAddedToMinions") then - env.minion.modDB:NewMod("Str", "BASE", round(calcLib.val(modDB, "Str")), "Player") - end - if modDB:Flag(nil, "HalfStrengthAddedToMinions") then - env.minion.modDB:NewMod("Str", "BASE", round(calcLib.val(modDB, "Str") * 0.5), "Player") + if modDB:Sum("BASE", nil, "StrengthAddedToMinions") > 0 then + env.minion.modDB:NewMod("Str", "BASE", round(calcLib.val(modDB, "Str") * modDB:Sum("BASE", nil, "StrengthAddedToMinions") / 100), "Player") end end if env.aegisModList then diff --git a/src/Modules/ModParser.lua b/src/Modules/ModParser.lua index d7f7181613..c4f613364d 100644 --- a/src/Modules/ModParser.lua +++ b/src/Modules/ModParser.lua @@ -3849,8 +3849,8 @@ local specialModList = { ["totems gain %+(%d+)%% to all elemental resistances"] = function(num) return { mod("TotemElementalResist", "BASE", num) } end, ["rejuvenation totem also grants mana regeneration equal to 15%% of its life regeneration"] = { flag("Condition:RejuvenationTotemManaRegen") }, -- Minions - ["your strength is added to your minions"] = { flag("StrengthAddedToMinions") }, - ["half of your strength is added to your minions"] = { flag("HalfStrengthAddedToMinions") }, + ["your strength is added to your minions"] = { mod("StrengthAddedToMinions", "BASE", 100) }, + ["half of your strength is added to your minions"] = { mod("StrengthAddedToMinions", "BASE", 50) }, ["minions' accuracy rating is equal to yours"] = { flag("MinionAccuracyEqualsAccuracy") }, ["minions created recently have (%d+)%% increased attack and cast speed"] = function(num) return { mod("MinionModifier", "LIST", { mod = mod("Speed", "INC", num) }, { type = "Condition", var = "MinionsCreatedRecently" }) } end, ["minions created recently have (%d+)%% increased movement speed"] = function(num) return { mod("MinionModifier", "LIST", { mod = mod("MovementSpeed", "INC", num) }, { type = "Condition", var = "MinionsCreatedRecently" }) } end,