Just a quick question here in regards of the Ascendant Council Heroic's "Frost Beacon" I notice that the warning is available, but is it possible to add a if target is self warning? Just wondering, if it's possible so I could give myself a try into using some other code within the lua and set it as a self warning.
I've made a slight change to the add-on, due to the error that's showing everytime I call my pet as a hunter. The pet happiness was removed, placed a ticket, but it seems like the author is busy at the moment. If anyone's interested for a quick fix until shadow unit-frame makes another official update, please help yourself by editing your health.lua file.
Edit as of 5/6/11 - Confirmed with many other pet users, this temp fix DOES WORK for priest, shaman, warlock, DK, and any other classes that uses pet.
Please make a backup of your health.lua before proceeding to the next step!
The health.lua is in "...\ShadowedUnitFrames\modules\" open the lua then use your search feature and look for the code I posted below.
OLD:
elseif( unit == "pet" and reactionType == "happiness" and GetPetHappiness() ) then
local happiness = GetPetHappiness()
if( happiness == 3 ) then
color = ShadowUF.db.profile.healthColors.friendly
elseif( happiness == 2 ) then
color = ShadowUF.db.profile.healthColors.neutral
elseif( happiness == 1 ) then
color = ShadowUF.db.profile.healthColors.hostile
end
--- Change it to:
NEW:
elseif( unit == "pet" and reactionType == "happiness" ) then
if( happiness == nil ) then
color = ShadowUF.db.profile.healthColors.friendly
end
This is just a quick fix, and I have only tested this on my hunter. If this doesn't work for other classes, then please wait for the official update on the add-on.
0
0
Thanks
0
Edit as of 5/6/11 - Confirmed with many other pet users, this temp fix DOES WORK for priest, shaman, warlock, DK, and any other classes that uses pet.
Please make a backup of your health.lua before proceeding to the next step!
The health.lua is in "...\ShadowedUnitFrames\modules\" open the lua then use your search feature and look for the code I posted below.
OLD:
--- Change it to:
NEW:
This is just a quick fix, and I have only tested this on my hunter. If this doesn't work for other classes, then please wait for the official update on the add-on.