How to detect how many enemies are around your current player
I've been trying to create my own rotation addon just like hekili and its going okay but my only issue is aoe, how do i go about finding out how many enemies are around my player?
|
Quote:
|
Quote:
|
Quote:
Unfortunately I haven't played with the combat log much and definitely not the new way of doing things. You will have to test the functionality yourself. Look at an addon that access the combat log in recent times and test it out with some low powered mobs that won't kill you while you test it out. Or look at an existing rotation helper and see if that does something similar. How much you will be able to do UI wise once combat starts I don't know but rotation helpers do seem to work during combat, so it may be just how they find the information out. They may be ignoring the combat log and relying on cooldowns and auras on you or the target. |
Have you looked at the code in Hekili? They can display an AOE rotation.
|
Quote:
|
Hekili explains what they do to track melee enemies in the settings. It's a heuristic process that combines nameplate counting and a timer of damage. If a melee ability hits an enemy, that enemy's guid is counted for a few seconds. If you don't hit it again and its nameplate can't be found, or it records that unit's death in the combat log, it drops the enemy.
|
Quote:
|
All times are GMT -6. The time now is 01:21 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI