Release 1.2.33

- Reimplemented Unwavering Faith and Commander of Darkness to allow aura effectiveness to apply
- Added confirmation roll to crit chance calculation
This commit is contained in:
Openarl
2017-01-21 01:45:08 +10:00
parent b4f10d7866
commit 22d64af183
6 changed files with 43 additions and 11 deletions

View File

@@ -303,7 +303,7 @@ local preFlagList = {
["^socketed curse gems have "] = { tag = { type = "SocketedIn", keyword = "curse" } },
["^socketed melee gems have "] = { tag = { type = "SocketedIn", keyword = "melee" } },
["^your flasks grant "] = { },
["^auras you cast grant "] = { tag = { type = "Multiplier", var = "ActiveAura" } },
["^auras you cast grant "] = { addToAura = true },
["^you and allies affected by your auras have "] = { tag = { type = "Condition", var = "HaveAuraActive" } },
}
@@ -925,6 +925,12 @@ local function parseMod(line, order)
tagList = tagList,
}
end
if modList[1] and modFlag and modFlag.addToAura then
-- Special handling for modifiers that add effects to your auras
for i, effectMod in ipairs(modList) do
modList[i] = mod("ExtraAuraEffect", "LIST", effectMod)
end
end
return modList, line:match("%S") and line
end