1. #1

    TellMeWhen condition problem Monk Gruard

    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

    Here's the function:
    (1+Resolve /100) * AttackPower * 18 * (1 + Versatility / 100)

  2. #2
    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))

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •