Hello Community. I need help with an Icon in the addon "TellmeWhen. I want to display the guard icon only when the projected absorb amount exceed 500k. I believe I need to do this with lua in condition section. However, I know nothing about lua. Could somebody help me on this?
All I know is the function for projecting guard absorb amount, but I don't know how to write it in lua language
I managed to solve this on my own.
Here's the Lua condition
(1+(select(15, UnitBuff("Player", "Resolve")))/100)*UnitAttackPower("player")*18*(1+(GetCombatRating(29)/100/130))