Skip to content

Commit 63fe004

Browse files
committed
Fix The Dark Seer's "Unaffected by Blind"
Also rename the old flag "IgnoreBlindHitChance" to "UnaffectedByBlind" for clarity (no functional change)
1 parent ab20e4e commit 63fe004

6 files changed

Lines changed: 10 additions & 8 deletions

File tree

src/Data/ModCache.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12244,6 +12244,7 @@ c["Triggers Level 20 Summon Triggerbots when Allocated"]={{[1]={flags=0,keywordF
1224412244
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}
1224512245
c["Unaffected by Bleeding"]={{[1]={flags=0,keywordFlags=0,name="SelfBleedEffect",type="MORE",value=-100}},nil}
1224612246
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}
12247+
c["Unaffected by Blind"]={{[1]={flags=0,keywordFlags=0,name="UnaffectedByBlind",type="FLAG",value=true}},nil}
1224712248
c["Unaffected by Burning Ground"]={nil,"Unaffected by Burning Ground "}
1224812249
c["Unaffected by Burning Ground while affected by Purity of Fire"]={nil,"Unaffected by Burning Ground while affected by Purity of Fire "}
1224912250
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 "}

src/Data/Uniques/mace.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,14 +402,14 @@ Implicits: 2
402402
{variant:6,7,8,9,10,11}10% Global chance to Blind Enemies on hit
403403
{variant:1,2}Gain 1 Mana on Kill per Level
404404
{variant:1,2}Gain 1 Energy Shield on Kill per Level
405-
Cannot be Blinded
406405
Enemies Blinded by you have Malediction
407406
{variant:4,5,7,8}+1 Maximum Energy Shield per Level
408407
{variant:10,11}+(1-2) Maximum Energy Shield per Level
409408
{variant:3,4,6,7}+1 Maximum Life per Level
410409
{variant:9,10}+(1-2) Maximum Life per Level
411410
{variant:3,5,6,8}+1 Maximum Mana per Level
412411
{variant:9,11}+(1-2) Maximum Mana per Level
412+
Unaffected by Blind
413413
]],[[
414414
Death's Hand
415415
Karui Sceptre

src/Export/Uniques/mace.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ Implicits: 2
398398
{variant:6,7,8,9,10,11}GlobalChanceToBlindOnHitUniqueSceptre8
399399
{variant:1,2}ManaGainedOnEnemyDeathPerLevelUniqueSceptre8
400400
{variant:1,2}EnergyShieldGainedOnEnemyDeathPerLevelUniqueSceptre8
401-
BlindImmunityUnique__1
401+
BlindDoesNotAffectHitChanceUnique__1
402402
MaledictionOnBlindWhileBlindedUnique__1
403403
{variant:4,5,7,8}EnergyShieldPerLevelUnique__1[1,1]
404404
{variant:10,11}EnergyShieldPerLevelUnique__1

src/Modules/CalcPerform.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ local function doActorMisc(env, actor)
800800
modDB:NewMod("ChaosDamage", "MORE", -100, "Excommunicated")
801801
end
802802
if modDB:Flag(nil, "Blind") and not modDB:Flag(nil, "CannotBeBlinded") then
803-
if not modDB:Flag(nil, "IgnoreBlindHitChance") then
803+
if not modDB:Flag(nil, "UnaffectedByBlind") then
804804
local effect = 1 + modDB:Sum("INC", nil, "BlindEffect", "BuffEffectOnSelf") / 100
805805
-- Override Blind effect if set.
806806
if modDB:Override(nil, "BlindEffect") then

src/Modules/CalcSections.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -848,14 +848,14 @@ return {
848848
{ label = "MH Chance to Hit", bgCol = colorCodes.MAINHANDBG, flag = "weapon1Attack", { format = "{0:output:MainHand.AccuracyHitChance}%",
849849
{ breakdown = "MainHand.AccuracyHitChance" },
850850
{ label = "Enemy Evasion modifiers", modName = { "Evasion", "CannotEvade" }, enemy = true },
851-
{ label = "Player modifiers", modName = { "HitChance", "CannotBeEvaded", "IgnoreBlindHitChance" } },
851+
{ label = "Player modifiers", modName = { "HitChance", "CannotBeEvaded", "UnaffectedByBlind" } },
852852
}, },
853853
{ label = "MH Chance to Hit", haveOutput = "MainHand.enemyBlockChance", bgCol = colorCodes.MAINHANDBG, flag = "weapon1Attack", { format = "{0:output:MainHand.HitChance}%",
854854
{ breakdown = "MainHand.HitChance" },
855855
{ label = "Enemy Evasion modifiers", modName = { "Evasion", "CannotEvade" }, enemy = true },
856856
{ label = "Enemy Block", modName = { "BlockChance" }, enemy = true },
857857
{ label = "Block Chance Reduction", cfg = "skill", modName = { "reduceEnemyBlock" } },
858-
{ label = "Player modifiers", modName = { "HitChance", "CannotBeEvaded", "IgnoreBlindHitChance" } },
858+
{ label = "Player modifiers", modName = { "HitChance", "CannotBeEvaded", "UnaffectedByBlind" } },
859859
}, },
860860
{ label = "OH Accuracy", bgCol = colorCodes.OFFHANDBG, flag = "weapon2Attack", { format = "{0:output:OffHand.Accuracy}",
861861
{ breakdown = "OffHand.Accuracy" },
@@ -864,14 +864,14 @@ return {
864864
{ label = "OH Chance to Hit", bgCol = colorCodes.OFFHANDBG, flag = "weapon2Attack", { format = "{0:output:OffHand.AccuracyHitChance}%",
865865
{ breakdown = "OffHand.AccuracyHitChance" },
866866
{ label = "Enemy Evasion modifiers", modName = { "Evasion", "CannotEvade" }, enemy = true },
867-
{ label = "Player modifiers", modName = { "HitChance", "CannotBeEvaded", "IgnoreBlindHitChance" } },
867+
{ label = "Player modifiers", modName = { "HitChance", "CannotBeEvaded", "UnaffectedByBlind" } },
868868
}, },
869869
{ label = "OH Chance to Hit", haveOutput = "OffHand.enemyBlockChance", bgCol = colorCodes.OFFHANDBG, flag = "weapon2Attack", { format = "{0:output:OffHand.HitChance}%",
870870
{ breakdown = "OffHand.HitChance" },
871871
{ label = "Enemy Evasion modifiers", modName = { "Evasion", "CannotEvade" }, enemy = true },
872872
{ label = "Enemy Block", modName = { "BlockChance" }, enemy = true },
873873
{ label = "Block Chance Reduction", cfg = "skill", modName = { "reduceEnemyBlock" } },
874-
{ label = "Player modifiers", modName = { "HitChance", "CannotBeEvaded", "IgnoreBlindHitChance" } },
874+
{ label = "Player modifiers", modName = { "HitChance", "CannotBeEvaded", "UnaffectedByBlind" } },
875875
}, },
876876
{ label = "Effect of Blind", haveOutput = "BlindEffectMod", { format = "{0:output:BlindEffectMod}%", { breakdown = "BlindEffectMod" }, { modName = { "BlindEffect", "BuffEffectOnSelf" }, }, } },
877877
} }

src/Modules/ModParser.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5286,7 +5286,8 @@ local specialModList = {
52865286
["you have resolute technique while you do not have elemental overload"] = { mod("Keystone", "LIST", "Resolute Technique", { neg = true, type = "Condition", var = "HaveElementalOverload" }) },
52875287
["hits ignore enemy monster fire resistance while you are ignited"] = { flag("IgnoreFireResistance", { type = "Condition", var = "Ignited" }) },
52885288
["your hits can't be evaded by blinded enemies"] = { flag("CannotBeEvaded", { type = "ActorCondition", actor = "enemy", var = "Blinded" }) },
5289-
["blind does not affect your chance to hit"] = { flag("IgnoreBlindHitChance") },
5289+
["blind does not affect your chance to hit"] = { flag("UnaffectedByBlind") },
5290+
["unaffected by blind"] = { flag("UnaffectedByBlind") },
52905291
["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 }) },
52915292
["enemies blinded by you have malediction"] = { mod("EnemyModifier", "LIST", { mod = flag("HasMalediction", { type = "Condition", var = "Blinded" }) }) },
52925293
["enemies ignited by you during effect have malediction"] = { mod("EnemyModifier", "LIST", { mod = flag("HasMalediction", { type = "Condition", var = "Ignited" }) }) },

0 commit comments

Comments
 (0)