Originally Posted by LoPony
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.