Skip to content

Commit

Permalink
Fix Arrogance Support not working with blasphemy curses (#4394)
Browse files Browse the repository at this point in the history
* Fix Arrogance Support not working with blasphemy curses

The increased effect of auras from arrogance support is meant to be additive with curse effect for curses supported by Blasphemy
Also fixes aura effect for non-curse auras

* Remove exposure change meant for separate PR

Co-authored-by: LocalIdentity <localidentity2@gmail.com>
  • Loading branch information
LocalIdentity and LocalIdentity committed May 29, 2022
1 parent 75f5778 commit 25017ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Data/SkillStatMap.lua
Expand Up @@ -1602,7 +1602,7 @@ return {
},
-- Aura
["non_curse_aura_effect_+%"] = {
mod("AuraEffect", "INC", nil),
mod("AuraEffect", "INC", nil, 0, 0, { type = "SkillType", skillType = SkillType.AppliesCurse, neg = true }),
},
["base_mana_reservation_+%"] = {
mod("ManaReserved", "INC", nil)
Expand Down
3 changes: 3 additions & 0 deletions src/Modules/CalcPerform.lua
Expand Up @@ -1877,6 +1877,9 @@ function calcs.perform(env, avoidCache)
socketedCursesHexLimit = modDB:Flag(activeSkill.skillCfg, "SocketedCursesAdditionalLimit")
}
local inc = skillModList:Sum("INC", skillCfg, "CurseEffect") + enemyDB:Sum("INC", nil, "CurseEffectOnSelf")
if activeSkill.skillTypes[SkillType.Aura] then
inc = inc + skillModList:Sum("INC", skillCfg, "AuraEffect")
end
local more = skillModList:More(skillCfg, "CurseEffect")
-- This is non-ideal, but the only More for enemy is the boss effect
if not curse.isMark then
Expand Down
2 changes: 1 addition & 1 deletion src/Modules/ModParser.lua
Expand Up @@ -902,7 +902,7 @@ local preFlagList = {
["^area skills [hd][ae][va][el] "] = { tag = { type = "SkillType", skillType = SkillType.Area } },
["^prismatic skills [hd][ae][va][el] "] = { tag = { type = "SkillType", skillType = SkillType.RandomElement } },
["^warcry skills have "] = { tag = { type = "SkillType", skillType = SkillType.Warcry } },
["^non%-curse aura skills have "] = { tag = { type = "SkillType", skillType = SkillType.Aura } },
["^non%-curse aura skills have "] = { tag = { type = "SkillType", skillType = SkillType.Aura }, { type = "SkillType", skillType = SkillType.AppliesCurse, neg = true } },
["^non%-channelling skills have "] = { tag = { type = "SkillType", skillType = SkillType.Channel, neg = true } },
["^non%-vaal skills deal "] = { tag = { type = "SkillType", skillType = SkillType.Vaal, neg = true } },
["^skills [hdfg][aei][vari][eln] "] = { },
Expand Down

0 comments on commit 25017ce

Please sign in to comment.