Skip to content

Commit 731c479

Browse files
authored
Fix kaom's spirit rage regen calculation behaviour (#5951)
Co-authored-by: Gabriel Bélanger <belg2210@usherbrooke.ca>
1 parent 7754249 commit 731c479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Modules/ModParser.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4013,7 +4013,7 @@ local specialModList = {
40134013
flag("Condition:CanGainRage", { type = "Condition", varList = { "UsingAxe", "UsingSword" } }),
40144014
},
40154015
["regenerate (%d+) rage per second for every (%d+) life recovery per second from regeneration"] = function(num, _, div) return {
4016-
mod("RageRegen", "BASE", num, {type = "PerStat", stat = "LifeRegen", div = tonumber(div) }),
4016+
mod("RageRegen", "BASE", num, {type = "PercentStat", stat = "LifeRegen", percent = tonumber(num/div*100) }),
40174017
flag("Condition:CanGainRage"),
40184018
} end,
40194019
["when you lose temporal chains you gain maximum rage"] = { flag("Condition:CanGainRage") },

0 commit comments

Comments
 (0)