Skip to content

Commit

Permalink
added Silas' Vial of Continuous Curing
Browse files Browse the repository at this point in the history
added Silas' Vial of Continuous Curing eventhough this is a test
  • Loading branch information
ollidiemaus authored Mar 25, 2019
1 parent 3a1137e commit 6827763
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ local HealPotMacroIcon = CreateFrame("Frame")
HealPotMacroIcon:RegisterEvent("BAG_UPDATE")
HealPotMacroIcon:RegisterEvent("PLAYER_LOGIN")
HealPotMacroIcon:SetScript("OnEvent",function(self,event,...)
item = GetItemCount("Healthstone")==0 and "Coastal Healing Potion" or "Healthstone"
pot = GetItemCount("Healthstone")==0 and "Coastal Healing Potion" or "Healthstone"
item = GetItemCount("Silas' Vial of Continuous Curing")==0 and pot or "Silas' Vial of Continuous Curing"
EditMacro("HAMHealthPot", "HAMHealthPot", nil, "#showtooltip \n/use " .. item, 1, nil)
end)

end
end

0 comments on commit 6827763

Please sign in to comment.