Skip to content

Commit

Permalink
Merge branch 'hotfix/6.10.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
Alar of Runetotem committed Aug 17, 2024
2 parents c71fcba + b41c56a commit 9f8db39
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 11 additions & 2 deletions PetCare.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ local GrowlId=2649
local Growl=''
local BeastCleaveId=118455
local BeastCleave=''
local function GetSpellInfo(id)
local a=C_Spell.GetSpellInfo(id)
if (a) then
return a.name,a.castTime,a.iconID
else
return '','',''
end
end
local GetSpellTexture=C_Spell.GetSpellTexture
local MultiShotId=2643
-- call pet 1 883
-- call pet 2 83242
Expand Down Expand Up @@ -94,7 +103,7 @@ function addon:OnInitialized()
else
print(L['This addon is meaningless for non hunter'])
self:Disable()
DisableAddOn(me)
C_AddOns.DisableAddOn(me)
end
return true
end
Expand Down Expand Up @@ -151,7 +160,7 @@ function addon:GenerateFrame()
widget:SetTitle(UnitName("pet") or "Pet")
-- SetModifiedCast(modifier,actiontype,button,value)
local tooltip=''
widget:SetModifiedCast('','macrotext','1','/cast [@pet,dead] '.. RevivePet .. '; [pet] ' .. MendPet)
widget:SetModifiedCast('','macrotext','1','/cast [@pet,dead] '.. RevivePet .. '; [pet] ' .. MendPet)
tooltip=tooltip .. KEY_BUTTON1 .. ': ' .. MendPet .. "/" .. RevivePet .."\n"
widget:SetModifiedCast('','spell','2',Misdirection)
tooltip=tooltip .. KEY_BUTTON2 .. ': ' .. Misdirection .. "\n"
Expand Down
4 changes: 4 additions & 0 deletions RelNotes.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
local me=...
---@class AceAddon
local hlp=LibStub("AceAddon-3.0"):GetAddon(me)
function hlp:loadHelp()
self:HF_Title("Pet Care",'RELNOTES')
Expand All @@ -13,6 +14,9 @@ can play a sound if you enter a non PVP instance with Growl active
alerts can be disabled in PVP
]])
self:HF_Paragraph("Release Notes")
self:RelNotes(6,10,3,[[
Fix: was not loading
]])
self:RelNotes(6,10,2,[[
Library update
]])
Expand Down

0 comments on commit 9f8db39

Please sign in to comment.