![]() |
Pet Health Bar Always Up
I'm a magicka sorcerer who loves to solo difficult content with his clannfear. As such, I would REALLY like to be able to track my pet's health continuously so I know when to heal him and when I can save my magicka for other uses. Normally I can see the enemy health bar and my own but not Clanny's. If there's a way to add a continuously visible health bar to the GUI, I would love it!
|
There is no add-ons with combat pet HP. Because combat pet it is just NPC. NPCs HP can be obtained only when 'reticleover' them. So there is no "simple" way to do what you want. Just forget or pay to someone who can do "huge" work.
|
This should be the "pet" unit tag.
|
Quote:
|
Quote:
i tested arround today. the unitTag pet doesn't exists for publics. i tested with EVENT_POWER_UPDATE and it does only trigger "player" tag |
Hm, okay. I'll see why it isn't working.
|
Question tho, once it works, how would it deal with multiple pets up at once? Or are they like pet1, pet2, ...
Edit: From the same player ofc |
So it seems like the code that did this was ancient and it isn't hooked up at all after allowing more than one pet. So yeah it would have to be some new code like pet1, pet2, etc. Though it could also be followers which are any NPCs that follow you around (like some quest NPCs) in addition to your ability pets and your pets from item set procs.
|
ok, that seems to be interesting....
example: pet 1 - summoned pet (monster set) pet 2 - summoned pet (5pcs set) pet 3 - summoned pet 1 (skill) pet 4 - summoned pet 2 (skill) pet 5 - quest npc 1 pet 6 - quest npc 2 ... is there a MAX_PET value somewhere? what about "NPC1" "NPC2" instead of "PET1" "PET2" for quest npc? i think summoned pets should be handled different than quest pets, because they can have all player buffs/debuffs and are game relevant. npc are just nice to have but pretty useless |
I added unit tags for playerpet1-playerpet7. Once a pet is assigned to a unit tag it should be the same unit tag until it despawns. We can tune what "pet" means here if what I have right now isn't the best set of rules.
|
wow cool.
in general i guess (my opinion), nobody cares about "quest npc's". the most people want to know the health of summoned pets and maaaaybe gear pet's. example: netchbull and the orb of "ball of lightning" (sorc skill) is counting as pet as well. that's strange but i think nobody wants to know the health, because the "health" is always 100%. i think we have to focus on killable "pets" and that means only summoned and gear pet's... |
Some of that is knowable from the unit info, but I think a lot of that kind of filtering will come down to the addon code.
|
ok, that's not a problem in general. the important thing is the new unittag we can track. thanks
|
So there'd be something in there that would specify in some regard if it's killable? That's probably all the info I'd need to filter properly.
|
the worst case would be to filter by name...
edit: i hope there is another opinion |
Maybe have the invulnerable pets flag IsUnitInvulnerableGuard() or a more generalized version of it.
For backwards compatibility, maybe have an alias of it named IsUnitInvulnerable(). |
All times are GMT -6. The time now is 01:33 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI