diff --git a/Classes/SliderControl.lua b/Classes/SliderControl.lua index d9828894..33572728 100644 --- a/Classes/SliderControl.lua +++ b/Classes/SliderControl.lua @@ -38,9 +38,12 @@ function SliderClass:IsMouseOver() end function SliderClass:SetValFromKnobX(knobX) - self.val = m_max(0, m_min(1, knobX / self.knobTravel)) - if self.changeFunc then - self.changeFunc(self.val) + local newVal = m_max(0, m_min(1, knobX / self.knobTravel)) + if newVal ~= self.val then + self.val = newVal + if self.changeFunc then + self.changeFunc(self.val) + end end end diff --git a/Data/2_6/Minions.lua b/Data/2_6/Minions.lua index 43c9beaf..c6f5ac1e 100644 --- a/Data/2_6/Minions.lua +++ b/Data/2_6/Minions.lua @@ -174,6 +174,7 @@ minions["SummonedEssenceSpirit"] = { }, modList = { mod("Speed", "MORE", 40, ModFlag.Attack), + mod("Condition:FullLife", "FLAG", true), }, } minions["SummonedSpectralWolf"] = { diff --git a/Data/3_0/Minions.lua b/Data/3_0/Minions.lua index bfb220d3..e9ce3b89 100644 --- a/Data/3_0/Minions.lua +++ b/Data/3_0/Minions.lua @@ -174,6 +174,7 @@ minions["SummonedEssenceSpirit"] = { }, modList = { mod("Speed", "MORE", 40, ModFlag.Attack), + mod("Condition:FullLife", "FLAG", true), }, } minions["SummonedSpectralWolf"] = { diff --git a/Data/3_0/Skills/sup_int.lua b/Data/3_0/Skills/sup_int.lua index 7aa87e5e..9299fe59 100644 --- a/Data/3_0/Skills/sup_int.lua +++ b/Data/3_0/Skills/sup_int.lua @@ -152,7 +152,7 @@ skills["SupportArcaneSurge"] = { levelMods = { [1] = nil, --[2] = "support_arcane_surge_%_chance_to_gain_buff_on_skill_use" - [3] = mod("Damage", "MORE", nil, ModFlag.Spell, 0, { type = "GlobalEffect", effectType = "Buff", effectName = "Arcane Surge" }), --"support_arcane_surge_spell_damage_+%_final" + [3] = mod("Damage", "MORE", nil, ModFlag.Spell, 0, { type = "GlobalEffect", effectType = "Buff", effectName = "Arcane Surge", allowTotemBuff = true }), --"support_arcane_surge_spell_damage_+%_final" }, levels = { [1] = { 1, 30, 30, }, diff --git a/Export/Skills/statmap.ini b/Export/Skills/statmap.ini index bcbd44d3..589ae065 100644 --- a/Export/Skills/statmap.ini +++ b/Export/Skills/statmap.ini @@ -734,7 +734,7 @@ mod = mod("LightningDamage", "MORE", {val}, ModFlag.Spell, 0, { type = "GlobalEf # # Arcane Surge [support_arcane_surge_spell_damage_+%_final] -mod = mod("Damage", "MORE", {val}, ModFlag.Spell, 0, { type = "GlobalEffect", effectType = "Buff", effectName = "Arcane Surge" }) +mod = mod("Damage", "MORE", {val}, ModFlag.Spell, 0, { type = "GlobalEffect", effectType = "Buff", effectName = "Arcane Surge", allowTotemBuff = true }) # Bloodlust [support_bloodlust_melee_physical_damage_+%_final_vs_bleeding_enemies] mod = mod("PhysicalDamage", "MORE", {val}, ModFlag.Melee, 0, { type = "EnemyCondition", var = "Bleeding" }) diff --git a/Modules/CalcActiveSkill.lua b/Modules/CalcActiveSkill.lua index 513460d2..35409cb3 100644 --- a/Modules/CalcActiveSkill.lua +++ b/Modules/CalcActiveSkill.lua @@ -472,11 +472,12 @@ function calcs.buildActiveSkillModList(env, actor, activeSkill) -- Separate global effect modifiers (mods that can affect defensive stats or other skills) local i = 1 while skillModList[i] do - local effectType, effectName + local effectType, effectName, allowTotemBuff for _, tag in ipairs(skillModList[i].tagList) do if tag.type == "GlobalEffect" then effectType = tag.effectType effectName = tag.effectName or activeSkill.activeGem.grantedEffect.name + allowTotemBuff = tag.allowTotemBuff break end end @@ -492,6 +493,7 @@ function calcs.buildActiveSkillModList(env, actor, activeSkill) buff = { type = effectType, name = effectName, + allowTotemBuff = allowTotemBuff, modList = { }, } t_insert(activeSkill.buffList, buff) diff --git a/Modules/CalcPerform.lua b/Modules/CalcPerform.lua index 4f4f5737..9fc01fbe 100644 --- a/Modules/CalcPerform.lua +++ b/Modules/CalcPerform.lua @@ -555,7 +555,7 @@ function calcs.perform(env) local skillCfg = activeSkill.skillCfg for _, buff in ipairs(activeSkill.buffList) do if buff.type == "Buff" then - if env.mode_buffs and (not activeSkill.skillFlags.totem or activeSkill.skillData.allowTotemBuff) then + if env.mode_buffs and (not activeSkill.skillFlags.totem or activeSkill.skillData.allowTotemBuff or buff.allowTotemBuff) then if not activeSkill.skillData.buffNotPlayer then activeSkill.buffSkill = true local srcList = common.New("ModList") diff --git a/Modules/ModParser-3_0.lua b/Modules/ModParser-3_0.lua index f435ef84..3567ac51 100644 --- a/Modules/ModParser-3_0.lua +++ b/Modules/ModParser-3_0.lua @@ -857,7 +857,7 @@ local specialModList = { ["skills fire an additional projectile"] = { mod("ProjectileCount", "BASE", 1) }, ["spells have an additional projectile"] = { mod("ProjectileCount", "BASE", 1, nil, ModFlag.Spell) }, ["projectiles pierce (%d+) targets?"] = function(num) return { mod("PierceCount", "BASE", num) } end, - ["arrows pierce one target"] = function(num) return { mod("PierceCount", "BASE", num, nil, ModFlag.Attack) } end, + ["arrows pierce one target"] = { mod("PierceCount", "BASE", 1, nil, ModFlag.Attack) }, ["arrows pierce (%d+) targets?"] = function(num) return { mod("PierceCount", "BASE", num, nil, ModFlag.Attack) } end, ["arrows always pierce"] = { flag("PierceAllTargets", nil, ModFlag.Attack) }, ["arrows pierce all targets"] = { flag("PierceAllTargets", nil, ModFlag.Attack) }, diff --git a/README.md b/README.md index ad53eea2..eb045f9a 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,12 @@ If you'd like to help support the development of Path of Building, I have a [Pat ![ss3](https://cloud.githubusercontent.com/assets/19189971/18089780/f0ff234a-6f04-11e6-8c88-6193fe59a5c4.png) ## Changelog +### 1.4.43 - 2017/07/06 + * Spectral Spirits (from Essence of Insanity) are now considered to always be on Full Life +For 3.0 builds: + * Arcane Surge can now applied by Totem skills (as placing the totem can trigger the buff) + * Fixed error when trying to use the 3.0 version of Drillneck + ### 1.4.42 - 2017/07/06 For 3.0 builds: * Applied the skill, passive tree, and unique changes from the Beta patch diff --git a/changelog.txt b/changelog.txt index df0d2bf2..855db912 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,8 @@ +VERSION[1.4.43][2017/07/06] + * Spectral Spirits (from Essence of Insanity) are now considered to always be on Full Life +For 3.0 builds: + * Arcane Surge can now applied by Totem skills (as placing the totem can trigger the buff) + * Fixed error when trying to use the 3.0 version of Drillneck VERSION[1.4.42][2017/07/06] For 3.0 builds: * Applied the skill, passive tree, and unique changes from the Beta patch diff --git a/manifest.xml b/manifest.xml index bd0900dd..a2a0cabe 100644 --- a/manifest.xml +++ b/manifest.xml @@ -1,13 +1,13 @@ - + - + @@ -45,19 +45,19 @@ - + - + - + @@ -68,7 +68,7 @@ - + @@ -101,7 +101,7 @@ - + @@ -142,7 +142,7 @@ - + @@ -177,7 +177,7 @@ - +