Skip to content

Commit 92cad24

Browse files
lucs66LocalIdentity
andauthored
Add Damage Buff for fully broken enemy armour (#876)
* Armour break multiplier 20 increased * Move condition to CalcPerform Better to have it here with other similar buffs and debuffs Also makes it a mod so it shows up nicely in the breakdown --------- Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent 1aa95bf commit 92cad24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Modules/CalcPerform.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,9 @@ local function doActorMisc(env, actor)
499499
local effect = 5 * (100 + modDB:Sum("INC", nil, "WitherEffectOnSelf")) / 100 * modDB:More(nil, "WitherEffectOnSelf")
500500
modDB:NewMod("ChaosDamageTaken", "INC", effect, "Withered", { type = "Multiplier", var = "WitheredStack", limit = 10 } )
501501
end
502+
if enemyDB:Flag(nil, "Condition:ArmourFullyBroken") then
503+
enemyDB:NewMod("PhysicalDamageTaken", "INC", 20, "Fully Broken Armour")
504+
end
502505
if modDB:Flag(nil, "Blind") and not modDB:Flag(nil, "CannotBeBlinded") then
503506
if not modDB:Flag(nil, "IgnoreBlindHitChance") then
504507
local effect = 1 + modDB:Sum("INC", nil, "BlindEffect", "BuffEffectOnSelf") / 100

0 commit comments

Comments
 (0)