Skip to content

Commit 8818be1

Browse files
committed
fix: crash on selecting the black cane
1 parent f58f47a commit 8818be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CalcPerform.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ local function doActorMisc(env, actor)
495495
modDB:NewMod("MovementSpeed", "INC", 20, "Her Embrace")
496496
end
497497
if modDB:Flag(nil, "Condition:PhantasmalMight") then
498-
modDB.multipliers["BuffOnSelf"] = (modDB.multipliers["BuffOnSelf"] or 0) + output.ActivePhantasmLimit - 1 -- slight hack to not double count the initial buff
498+
modDB.multipliers["BuffOnSelf"] = (modDB.multipliers["BuffOnSelf"] or 0) + (output.ActivePhantasmLimit or 1) - 1 -- slight hack to not double count the initial buff
499499
end
500500
if modDB:Flag(nil, "Elusive") then
501501
local effect = 1 + modDB:Sum("INC", nil, "ElusiveEffect", "BuffEffectOnSelf") / 100

0 commit comments

Comments
 (0)