Skip to content

Commit b7cb052

Browse files
LocalIdentityLocalIdentity
andauthored
Fix Ascendant/Gladiator Block Chance when using Necromantic Aegis (#8944)
The node should not be granting the 50% block chance to the player if you are using Necromantic Aegis with it Co-authored-by: LocalIdentity <[email protected]>
1 parent 613c48d commit b7cb052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Modules/CalcDefence.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ function calcs.defence(env, actor)
652652
baseBlockChance = baseBlockChance + actor.itemList["Weapon 3"].armourData.BlockChance
653653
end
654654
output.ShieldBlockChance = baseBlockChance
655-
baseBlockChance = modDB:Override(nil, "ReplaceShieldBlock") or baseBlockChance
655+
baseBlockChance = not env.keystonesAdded["Necromantic Aegis"] and modDB:Override(nil, "ReplaceShieldBlock") or baseBlockChance
656656

657657
-- Apply player block overrides if Necromantic Aegis allocated
658658
baseBlockChance = actor == env.minion and env.keystonesAdded["Necromantic Aegis"] and env.player.modDB:Override(nil, "ReplaceShieldBlock") or baseBlockChance

0 commit comments

Comments
 (0)