Unit frames addons - hunters worst enemy?!
naw already for like two days i've ben trying to find a nice unit frames that wold display my pet happynes lvl,so far oly ones has ben Perl classic unit frames,and frankly i cinda dislike them,iam thinking here shold i be missing something and havent noticed some cind of mystic option to check to enable pet happynes lvl in for example AG_unitframes?
|
Im pretty certain AG_UF changes the colour of the pet bar depending on happiness same goes for Sage and Pitbull if memory serves me right.
|
Discord Unit Frames shows the happiness icon.
|
XPerl Unitframes also shows pet happiness. Fizzwidget's Feed-o-matic will also handle that if your unitframes won't (or you don't want them to)
|
You can also use DogTags in Pitbull to customize a text to display happiness.
|
He's looking for the specific happiness.
All unitframes show the pet icon. The way I see him decribing, he means in between the "Green", "Yellow, and "Red" colors. But I may be wrong. |
Quote:
|
Quote:
http://www.wowwiki.com/API_GetPetHappiness |
Quote:
Although I think the decay is affected by combat, so the addon would need to include that in the calculation. Do we have a viable idea for an addon here? |
Quote:
Need to record things like: Total time from max happiness (3) to Neutral (2) to unhappy (1). total time in-combat time out of combat, damage taken by pet during time that time. happiness gained by food (include interrupted feedings and such.) Unfortunately, I've presently got my plate full w/ Relational DKP to work on a happiness addon, as much as I might want one for my hunter. |
There are other things that affect happiness, too, like dismissing your pet, it dieing, etc.
|
Quote:
|
Quote:
http://www.wowwiki.com/Formulas:Happiness Which should aid in the process. |
Ok, because I'm neurotic or something, I started some very basic work on this. Here's the list of events I *think* need to be tracked:
self:RegisterEvent("CHAT_MSG_COMBAT_CREATURE_VS_SELF_HITS") self:RegisterEvent("CHAT_MSG_COMBAT_PET_MISSES") self:RegisterEvent("CHAT_MSG_SPELL_CREATURE_VS_CREATURE_DAMAGE") self:RegisterEvent("CHAT_MSG_SPELL_PET_BUFF") self:RegisterEvent("CHAT_MSG_SPELL_PET_DAMAGE") self:RegisterEvent("CONFIRM_PET_UNLEARN") self:RegisterEvent("PET_ATTACK_START") self:RegisterEvent("PET_ATTACK_STOP") self:RegisterEvent("PET_STABLE_UPDATE_PAPERDOLL") self:RegisterEvent("UNIT_HAPPINESS") self:RegisterEvent("UNIT_PET") self:RegisterEvent("UNIT_PET_EXPERIENCE") self:RegisterEvent("PLAYER_REGEN_DISABLED") self:RegisterEvent("PLAYER_REGEN_ENABLED") self:RegisterEvent("UNIT_COMBAT") self:RegisterEvent("UNIT_AURA") obviously, this is the registration code for the mock up addon to do what we're talking about here. Can anyone else think of an event that I may be missing? Shazear |
Like Seerah said,
Dismissing and Death? |
Doh! Right... I knew I was missing something, now just to figure out what events actually fire when the pet is dismissed... It may be UNIT_PET but not sure. I'll give it some testing on the PTR. I'm hoping that CHAT_MSG_COMBAT_FRIENDLY_DEATH will work for pets as well.
Thanks! |
wouldn't HuntersWorstEnemy be a cracking name for this addon? or am I just drunk?
(I am just drunk, a hell of a lot of editing went into the last two scentences, more than you could possibly imagine. no seriously, more... more... more... close... nearly there... closer... there, that much editing. I really should just press the back button on IE and forget about this... but no! 'Hunters Worst Enemy' would rock as an addon name!) |
ag_Unitframes
Hmmmm, my ag_Unitframes does it automatically without me having to set an option.
Green health bar for happy Yellow health bar for contented Red health bar for unhappy I know as soon as it hits yellow, it's time to feed. |
I hope something gets out of this, people have been trying to figure out some sort of formula for a long time now without much success as far as I know. In the best case it's mostly time-based with only fixed amount removed per a small number of specific events. But after grinding a lot with my hunter I sometimes have the impression it goes as far as to depend on the health level you keep your pet while fighting. I mean if you take time to heal your pet and keep him high on health during fights it seems to me the happiness goes down a lot slower. So you may have to record a massive amount of data including damage taken per HP remaining (just like XPerl Grim Reaper would do). I hope you have some good spare time and like data analysis :rolleyes:
|
Quote:
|
All times are GMT -6. The time now is 06:59 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI