Release 1.4.2
- Added more spectres - Added support for Beacon of Corruption's Caustic Cloud - Fixed mana Grant Spectrum
This commit is contained in:
@@ -494,6 +494,9 @@ function calcs.createMinionSkills(env, activeSkill)
|
||||
if env.modDB:Sum("FLAG", nil, "MinionInstability") then
|
||||
t_insert(skillIdList, "MinionInstability")
|
||||
end
|
||||
if env.modDB:Sum("FLAG", nil, "MinionCausticCloudOnDeath") then
|
||||
t_insert(skillIdList, "BeaconCausticCloud")
|
||||
end
|
||||
for _, skillId in ipairs(skillIdList) do
|
||||
local gem = {
|
||||
name = data.skills[skillId].name,
|
||||
|
||||
@@ -250,8 +250,6 @@ local function doActorMisc(env, actor)
|
||||
condList[value.var] = true
|
||||
elseif value.type == "EnemyCondition" then
|
||||
enemyDB.conditions[value.var] = true
|
||||
elseif value.type == "Multiplier" then
|
||||
modDB.multipliers[value.var] = (modDB.multipliers[value.var] or 0) + value.value
|
||||
end
|
||||
end
|
||||
-- Process enemy modifiers last in case they depend on conditions that were set by misc modifiers
|
||||
@@ -365,6 +363,13 @@ function calcs.perform(env)
|
||||
end
|
||||
end
|
||||
|
||||
-- Set multipliers
|
||||
for _, value in ipairs(modDB:Sum("LIST", nil, "Misc")) do
|
||||
if value.type == "Multiplier" then
|
||||
modDB.multipliers[value.var] = (modDB.multipliers[value.var] or 0) + value.value
|
||||
end
|
||||
end
|
||||
|
||||
-- Merge flask modifiers
|
||||
if env.mode_combat then
|
||||
local effectInc = modDB:Sum("INC", nil, "FlaskEffect")
|
||||
|
||||
@@ -654,6 +654,7 @@ local specialModList = {
|
||||
["warcries cost no mana"] = { mod("ManaCost", "MORE", -100, nil, 0, KeywordFlag.Warcry) },
|
||||
["enemies you taunt take (%d+)%% increased damage"] = function(num) return { mod("Misc", "LIST", { type = "EnemyModifier", mod = mod("DamageTaken", "INC", num, { type = "Condition", var = "Taunted" }) }) } end,
|
||||
["you have phasing while at maximum frenzy charges"] = { mod("Misc", "LIST", { type = "Condition", var = "Phasing" }, { type = "Condition", var = "AtMaxFrenzyCharges" }) },
|
||||
["your minions spread caustic cloud on death, dealing 10%% of their maximum life as chaos damage per second"] = { flag("MinionCausticCloudOnDeath") },
|
||||
-- Item local modifiers
|
||||
["has no sockets"] = { },
|
||||
["has 1 socket"] = { },
|
||||
|
||||
Reference in New Issue
Block a user