Thread Tools Display Modes
Prev Previous Post   Next Post Next
05/12/14, 01:16 AM   #1
LoPony
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 10
Possibility to get changes in unit stats

Hi,

I was searching for a possibility to get an units (player/target or group member) stats or the changed amount of it while under some kind of effect.

Mainly I'm searching for a solution to get the information if a player has an increased armor value.
Something like this maybe:
Code:
GetUnitAttributeVisualizerEffectInfo( 'player', ATTRIBUTE_VISUAL_POWER_SHIELDING, STAT_MITIGATION, ATTRIBUTE_HEALTH, POWERTYPE_HEALTH )
Only thing I found so far was:
Code:
GetPlayerStat(STAT_ARMOR_RATING, STAT_BONUS_OPTION_APPLY_BONUS, STAT_SOFT_CAP_OPTION_APPLY_SOFT_CAP )
But this works only for the player and returns only the current value not the changed amount.

Any ideas?

Thx!
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » Possibility to get changes in unit stats


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