Skip to content

Commit d5997f6

Browse files
committed
FEAT: Add parsing for Gain 100% of Armour as extra Stun Threshold
Signed-off-by: Paliak <91493239+Paliak@users.noreply.github.com>
1 parent 8d7812e commit d5997f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Modules/ModParser.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4499,6 +4499,9 @@ local specialModList = {
44994499
["gain stun threshold equal to the lowest of evasion and armour on your helmet"] = {
45004500
mod("StunThreshold", "BASE", 1, { type = "PerStat", stat = "LowestOfArmourAndEvasionOnHelmet" }),
45014501
},
4502+
["gain (%d+)%% of (%a+) as extra (%a+) threshold"] = function(num, _, stat, thresholdType) return {
4503+
mod(firstToUpper(thresholdType) .. "Threshold", "BASE", 1, { type = "PercentStat", stat = stat:gsub("^%l", string.upper):gsub(" %l", string.upper):gsub(" ", ""), percent = num })
4504+
} end,
45024505
["your stun threshold is doubled"] = {
45034506
mod("StunThreshold", "MORE", 100),
45044507
},

0 commit comments

Comments
 (0)