-   Wish List (
-   -   [open] New function request - GetUnitIdDifficulty(unitId) (

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 06:52 PM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2014 - 2020 MMOUI