View Single Post
05/12/14, 04:41 PM   #3
stjobe
 
stjobe's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 60
Originally Posted by LoPony View Post
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!
For the player you should probably use
Code:
GetPlayerStat(STAT_PHYSICAL_RESIST, STAT_BONUS_OPTION_APPLY_BONUS, STAT_SOFT_CAP_OPTION_APPLY_SOFT_CAP)
as that will give the same value as what's displayed in the character window (i.e. an armour buff will increase the value).

(I also made the error of thinking STAT_ARMOR_RATING was, you know, the armour rating when I developed OmniStats).

For other players, no clue.
  Reply With Quote