Skip to content

Commit

Permalink
fixed shortestcd on pots
Browse files Browse the repository at this point in the history
  • Loading branch information
ollidiemaus committed Aug 29, 2024
1 parent b640844 commit 1c818f4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions code.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ local function addPotIfAvailable()
for i, value in ipairs(ham.getPots()) do
if value.getCount() > 0 then
table.insert(ham.itemIdList, value.getId())
-- if healthstone does not has priority, remember healing potion's CD
if isRetail and HAMDB.raidStone and IsInInstance() then
shortestCD = 300 --potion CD
end
--we break because all Pots share a cd so we only want the highest healing one
break;
end
Expand Down

0 comments on commit 1c818f4

Please sign in to comment.