Skip to content

Commit f5a84a6

Browse files
committed
Add support for "per two fortification on you"
NOTE: This doesn't correctly work when putting the item on an AG because actor = "player" is necessary. actor = "enemy" did also not work and is less safe. Not specifying an actor would make it based on monster fortification stacks in some cases. "player" is the best solution until we have actor = "self"
1 parent 953e7da commit f5a84a6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Modules/ModParser.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,6 +1395,7 @@ local modTagList = {
13951395
["per (%d+)%% missing cold resistance, up to a maximum of (%d+)%%"] = function(num, _, limit) return { tag = { type = "PerStat", stat = "MissingColdResist", div = num, globalLimit = tonumber(limit), globalLimitKey = "ReplicaNebulisCold" } } end,
13961396
["per endurance, frenzy or power charge"] = { tag = { type = "PerStat", stat = "TotalCharges" } },
13971397
["per fortification"] = { tag = { type = "PerStat", stat = "FortificationStacks" } },
1398+
["per two fortification on you"] = { tag = { type = "PerStat", stat= "FortificationStacks", div=2, actor = "player" } },
13981399
["per fortification above 20"] = { tag = { type = "PerStat", stat = "FortificationStacksOver20" } },
13991400
["per totem"] = { tag = { type = "PerStat", stat = "TotemsSummoned" } },
14001401
["per summoned totem"] = { tag = { type = "PerStat", stat = "TotemsSummoned" } },

0 commit comments

Comments
 (0)