Skip to content

Commit

Permalink
Remove misleading comment
Browse files Browse the repository at this point in the history
  • Loading branch information
QuickStick123 committed Dec 27, 2024
1 parent 5ca4b7d commit e77fb00
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Classes/TradeQueryGenerator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -539,9 +539,6 @@ function TradeQueryGeneratorClass:GenerateModWeights(modsToTest)
modLine = entry.tradeMod.text
end

-- swap lines here to avoid leading to modLine's that the Item parser can't handle,
-- this assume swapping will always tend to make values greater than 1 i.e.
-- there are no mods where it naturally will occur for e.g. -10% reduced attack speed
if entry.invertOnNegative and modValue < 0 then
modLine = swapInverse(modLine)
modValue = -1 * modValue
Expand Down

0 comments on commit e77fb00

Please sign in to comment.