ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Wish List (https://www.esoui.com/forums/forumdisplay.php?f=177)
-   -   [open] New function request - GetUnitIdDifficulty(unitId) (https://www.esoui.com/forums/showthread.php?t=8585)

ArtOfShred 06/06/19 03:10 PM

[open] New function request - GetUnitIdDifficulty(unitId)
 
Currently we can only get the difficulty rating of a unitTag with the function GetUnitDifficulty(unitTag). We only get unitTags from player/playerpet/reticleover/boss/group, or from EVENT_EFFECT_CHANGED with a valid unitTag of that type.

I'd like to be able to get the difficulty of a unit based on the UnitId provided from incoming combat events targeting the player.

Would be useful to check the rank of the unit casting an ability at the player.

New function could be:
GetUnitIdDifficulty(number unitId)
Returns: number UIMonsterDifficulty difficulty


All times are GMT -6. The time now is 03:14 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI