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!