Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Data/ModCache.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12244,6 +12244,7 @@ c["Triggers Level 20 Summon Triggerbots when Allocated"]={{[1]={flags=0,keywordF
c["Triggers Level 7 Abberath's Fury when Equipped"]={{[1]={flags=0,keywordFlags=0,name="ExtraSkill",type="LIST",value={level=7,skillId="RepeatingShockwave",triggered=true}}},nil}
c["Unaffected by Bleeding"]={{[1]={flags=0,keywordFlags=0,name="SelfBleedEffect",type="MORE",value=-100}},nil}
c["Unaffected by Bleeding while affected by Malevolence"]={{[1]={[1]={type="Condition",var="AffectedByMalevolence"},[2]={effectType="Global",type="GlobalEffect",unscalable=true},flags=0,keywordFlags=0,name="SelfBleedEffect",type="MORE",value=-100}},nil}
c["Unaffected by Blind"]={{[1]={flags=0,keywordFlags=0,name="UnaffectedByBlind",type="FLAG",value=true}},nil}
c["Unaffected by Burning Ground"]={nil,"Unaffected by Burning Ground "}
c["Unaffected by Burning Ground while affected by Purity of Fire"]={nil,"Unaffected by Burning Ground while affected by Purity of Fire "}
c["Unaffected by Burning Ground while affected by Purity of Fire Unaffected by Flammability while affected by Purity of Fire"]={nil,"Unaffected by Burning Ground while affected by Purity of Fire Unaffected by Flammability while affected by Purity of Fire "}
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Uniques/mace.lua
Original file line number Diff line number Diff line change
Expand Up @@ -402,14 +402,14 @@ Implicits: 2
{variant:6,7,8,9,10,11}10% Global chance to Blind Enemies on hit
{variant:1,2}Gain 1 Mana on Kill per Level
{variant:1,2}Gain 1 Energy Shield on Kill per Level
Cannot be Blinded
Enemies Blinded by you have Malediction
{variant:4,5,7,8}+1 Maximum Energy Shield per Level
{variant:10,11}+(1-2) Maximum Energy Shield per Level
{variant:3,4,6,7}+1 Maximum Life per Level
{variant:9,10}+(1-2) Maximum Life per Level
{variant:3,5,6,8}+1 Maximum Mana per Level
{variant:9,11}+(1-2) Maximum Mana per Level
Unaffected by Blind
]],[[
Death's Hand
Karui Sceptre
Expand Down
2 changes: 1 addition & 1 deletion src/Export/Uniques/mace.lua
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ Implicits: 2
{variant:6,7,8,9,10,11}GlobalChanceToBlindOnHitUniqueSceptre8
{variant:1,2}ManaGainedOnEnemyDeathPerLevelUniqueSceptre8
{variant:1,2}EnergyShieldGainedOnEnemyDeathPerLevelUniqueSceptre8
BlindImmunityUnique__1
BlindDoesNotAffectHitChanceUnique__1
MaledictionOnBlindWhileBlindedUnique__1
{variant:4,5,7,8}EnergyShieldPerLevelUnique__1[1,1]
{variant:10,11}EnergyShieldPerLevelUnique__1
Expand Down
2 changes: 1 addition & 1 deletion src/Modules/CalcPerform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@
modDB:NewMod("ChaosDamage", "MORE", -100, "Excommunicated")
end
if modDB:Flag(nil, "Blind") and not modDB:Flag(nil, "CannotBeBlinded") then
if not modDB:Flag(nil, "IgnoreBlindHitChance") then
if not modDB:Flag(nil, "UnaffectedByBlind") then
local effect = 1 + modDB:Sum("INC", nil, "BlindEffect", "BuffEffectOnSelf") / 100
-- Override Blind effect if set.
if modDB:Override(nil, "BlindEffect") then
Expand Down Expand Up @@ -3237,7 +3237,7 @@
enemyDB:ReplaceMod("Multiplier:ImpaleStacks", "BASE", maxImpaleStacks, "Config", { type = "Condition", var = "Combat" })
end

-- Foulborn Choir of the Storm, needs to be after main auras (incase purity of lightning/elements auras) but before extra auras (Radiant Faith)

Check warning on line 3240 in src/Modules/CalcPerform.lua

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (incase)
if modDB:Flag(nil, "ManaIncreasedByOvercappedLightningRes") then
-- Calculate resistances for ManaIncreasedByOvercappedLightningRes without mutating conversion mods on the player ModDB.
local tempResistActor = {
Expand Down
8 changes: 4 additions & 4 deletions src/Modules/CalcSections.lua
Original file line number Diff line number Diff line change
Expand Up @@ -848,14 +848,14 @@ return {
{ label = "MH Chance to Hit", bgCol = colorCodes.MAINHANDBG, flag = "weapon1Attack", { format = "{0:output:MainHand.AccuracyHitChance}%",
{ breakdown = "MainHand.AccuracyHitChance" },
{ label = "Enemy Evasion modifiers", modName = { "Evasion", "CannotEvade" }, enemy = true },
{ label = "Player modifiers", modName = { "HitChance", "CannotBeEvaded", "IgnoreBlindHitChance" } },
{ label = "Player modifiers", modName = { "HitChance", "CannotBeEvaded", "UnaffectedByBlind" } },
}, },
{ label = "MH Chance to Hit", haveOutput = "MainHand.enemyBlockChance", bgCol = colorCodes.MAINHANDBG, flag = "weapon1Attack", { format = "{0:output:MainHand.HitChance}%",
{ breakdown = "MainHand.HitChance" },
{ label = "Enemy Evasion modifiers", modName = { "Evasion", "CannotEvade" }, enemy = true },
{ label = "Enemy Block", modName = { "BlockChance" }, enemy = true },
{ label = "Block Chance Reduction", cfg = "skill", modName = { "reduceEnemyBlock" } },
{ label = "Player modifiers", modName = { "HitChance", "CannotBeEvaded", "IgnoreBlindHitChance" } },
{ label = "Player modifiers", modName = { "HitChance", "CannotBeEvaded", "UnaffectedByBlind" } },
}, },
{ label = "OH Accuracy", bgCol = colorCodes.OFFHANDBG, flag = "weapon2Attack", { format = "{0:output:OffHand.Accuracy}",
{ breakdown = "OffHand.Accuracy" },
Expand All @@ -864,14 +864,14 @@ return {
{ label = "OH Chance to Hit", bgCol = colorCodes.OFFHANDBG, flag = "weapon2Attack", { format = "{0:output:OffHand.AccuracyHitChance}%",
{ breakdown = "OffHand.AccuracyHitChance" },
{ label = "Enemy Evasion modifiers", modName = { "Evasion", "CannotEvade" }, enemy = true },
{ label = "Player modifiers", modName = { "HitChance", "CannotBeEvaded", "IgnoreBlindHitChance" } },
{ label = "Player modifiers", modName = { "HitChance", "CannotBeEvaded", "UnaffectedByBlind" } },
}, },
{ label = "OH Chance to Hit", haveOutput = "OffHand.enemyBlockChance", bgCol = colorCodes.OFFHANDBG, flag = "weapon2Attack", { format = "{0:output:OffHand.HitChance}%",
{ breakdown = "OffHand.HitChance" },
{ label = "Enemy Evasion modifiers", modName = { "Evasion", "CannotEvade" }, enemy = true },
{ label = "Enemy Block", modName = { "BlockChance" }, enemy = true },
{ label = "Block Chance Reduction", cfg = "skill", modName = { "reduceEnemyBlock" } },
{ label = "Player modifiers", modName = { "HitChance", "CannotBeEvaded", "IgnoreBlindHitChance" } },
{ label = "Player modifiers", modName = { "HitChance", "CannotBeEvaded", "UnaffectedByBlind" } },
}, },
{ label = "Effect of Blind", haveOutput = "BlindEffectMod", { format = "{0:output:BlindEffectMod}%", { breakdown = "BlindEffectMod" }, { modName = { "BlindEffect", "BuffEffectOnSelf" }, }, } },
} }
Expand Down
3 changes: 2 additions & 1 deletion src/Modules/ModParser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5286,7 +5286,8 @@ local specialModList = {
["you have resolute technique while you do not have elemental overload"] = { mod("Keystone", "LIST", "Resolute Technique", { neg = true, type = "Condition", var = "HaveElementalOverload" }) },
["hits ignore enemy monster fire resistance while you are ignited"] = { flag("IgnoreFireResistance", { type = "Condition", var = "Ignited" }) },
["your hits can't be evaded by blinded enemies"] = { flag("CannotBeEvaded", { type = "ActorCondition", actor = "enemy", var = "Blinded" }) },
["blind does not affect your chance to hit"] = { flag("IgnoreBlindHitChance") },
["blind does not affect your chance to hit"] = { flag("UnaffectedByBlind") },
["unaffected by blind"] = { flag("UnaffectedByBlind") },
["enemies blinded by you while you are blinded have malediction"] = { mod("EnemyModifier", "LIST", { mod = flag("HasMalediction", { type = "Condition", var = "Blinded" }) }, { type = "Condition", var = "Blinded" }, { type = "Condition", var = "CannotBeBlinded", neg = true }) },
["enemies blinded by you have malediction"] = { mod("EnemyModifier", "LIST", { mod = flag("HasMalediction", { type = "Condition", var = "Blinded" }) }) },
["enemies ignited by you during effect have malediction"] = { mod("EnemyModifier", "LIST", { mod = flag("HasMalediction", { type = "Condition", var = "Ignited" }) }) },
Expand Down
Loading