diff --git a/src/Data/ModCache.lua b/src/Data/ModCache.lua index 0f8d49d5cf..a7daf9f59f 100755 --- a/src/Data/ModCache.lua +++ b/src/Data/ModCache.lua @@ -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 "} diff --git a/src/Data/Uniques/mace.lua b/src/Data/Uniques/mace.lua index 684eb4bdad..83e7d285a9 100644 --- a/src/Data/Uniques/mace.lua +++ b/src/Data/Uniques/mace.lua @@ -402,7 +402,6 @@ 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 @@ -410,6 +409,7 @@ Enemies Blinded by you have Malediction {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 diff --git a/src/Export/Uniques/mace.lua b/src/Export/Uniques/mace.lua index b7321ccd25..0fcb9e0955 100644 --- a/src/Export/Uniques/mace.lua +++ b/src/Export/Uniques/mace.lua @@ -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 diff --git a/src/Modules/CalcPerform.lua b/src/Modules/CalcPerform.lua index 03ab616ab8..bd45b113b3 100644 --- a/src/Modules/CalcPerform.lua +++ b/src/Modules/CalcPerform.lua @@ -800,7 +800,7 @@ local function doActorMisc(env, actor) 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 diff --git a/src/Modules/CalcSections.lua b/src/Modules/CalcSections.lua index 7ed5469a94..a78fc49b13 100644 --- a/src/Modules/CalcSections.lua +++ b/src/Modules/CalcSections.lua @@ -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" }, @@ -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" }, }, } }, } } diff --git a/src/Modules/ModParser.lua b/src/Modules/ModParser.lua index 2438ab4ec8..6471314014 100644 --- a/src/Modules/ModParser.lua +++ b/src/Modules/ModParser.lua @@ -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" }) }) },