Skip to content

Commit d5c31da

Browse files
github-actions[bot]avtobus32LocalIdentity
authored
[pob2-port] Fix "against Enemies within 2m" mods not applying unless distance was exactly 2m (#9871)
* Apply changes from PathOfBuildingCommunity/PathOfBuilding-PoE2#1949 * Fix merge --------- Co-authored-by: avtobus32 <avtobus32@users.noreply.github.com> Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent 4ca48e5 commit d5c31da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Classes/ModStore.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ function ModStoreClass:EvalMod(mod, cfg, globalLimits)
420420
mult = GetMultiplier(target, tag.var, cfg)
421421
end
422422
local threshold = tag.threshold or GetMultiplier(tag.thresholdActor and thresholdTarget or target, tag.thresholdVar, cfg)
423-
if (tag.upper and mult > threshold) or (tag.equals and mult ~= threshold) or (not (tag.upper and tag.exact) and mult < threshold) then
423+
if (tag.upper and mult > threshold) or (tag.equals and mult ~= threshold) or (not tag.upper and mult < threshold) then
424424
return
425425
end
426426
elseif tag.type == "PerStat" then

0 commit comments

Comments
 (0)