Added support for Primordial Eminence's buff effect mod
This commit is contained in:
@@ -1165,8 +1165,11 @@ local function performCalcs(env)
|
||||
if activeSkill.buffModList and (not activeSkill.skillFlags.totem or activeSkill.skillData.allowTotemBuff) and (not activeSkill.skillData.offering or modDB:Sum("FLAG", nil, "OfferingsAffectPlayer")) then
|
||||
activeSkill.buffSkill = true
|
||||
local inc = modDB:Sum("INC", skillCfg, "BuffEffect")
|
||||
if activeSkill.activeGem.data.golem and modDB:Sum("FLAG", skillCfg, "LiegeOfThePrimordial") and (activeSkill.activeGem.data.fire or activeSkill.activeGem.data.cold or activeSkill.activeGem.data.lightning) then
|
||||
inc = inc + 100
|
||||
if activeSkill.activeGem.data.golem then
|
||||
inc = inc + modDB:Sum("INC", skillCfg, "GolemBuffEffect")
|
||||
if modDB:Sum("FLAG", skillCfg, "LiegeOfThePrimordial") and (activeSkill.activeGem.data.fire or activeSkill.activeGem.data.cold or activeSkill.activeGem.data.lightning) then
|
||||
inc = inc + 100
|
||||
end
|
||||
end
|
||||
modDB:ScaleAddList(activeSkill.buffModList, 1 + inc / 100)
|
||||
end
|
||||
|
||||
@@ -133,6 +133,7 @@ local modNameList = {
|
||||
["radius of curses"] = { "AreaOfEffect", keywordFlags = KeywordFlag.Curse },
|
||||
["buff effect"] = "BuffEffect",
|
||||
["effect of buffs on you"] = "BuffEffect",
|
||||
["effect of buffs granted by your golems"] = "GolemBuffEffect",
|
||||
["effect of the buff granted by your stone golems"] = { "BuffEffect", tag = { type = "SkillName", skillName = "Summon Stone Golem" } },
|
||||
["effect of the buff granted by your lightning golems"] = { "BuffEffect", tag = { type = "SkillName", skillName = "Summon Lightning Golem" } },
|
||||
["effect of the buff granted by your ice golems"] = { "BuffEffect", tag = { type = "SkillName", skillName = "Summon Ice Golem" } },
|
||||
|
||||
Reference in New Issue
Block a user