Quantcast [open] New function request - GetUnitIdDifficulty(unitId) - ESOUI
Thread Tools Display Modes
06/06/19, 03:10 PM   #1
ArtOfShred
 
ArtOfShred's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 79
[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
  Reply With Quote

ESOUI » Developer Discussions » Wish List » [open] New function request - GetUnitIdDifficulty(unitId)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off