1. #1
    Brewmaster Malefic's Avatar
    15+ Year Old Account
    Join Date
    Dec 2007
    Location
    England, UK.
    Posts
    1,282

    Weak Aura Custom Lua

    Wondering if anyone has a custom lua that can announce a debuff value in /say. For example if you have 5 stacks of a debuff it would announce "5" or something in say, or, say you have a healing absorption it would announce the absorb amount in /say whenever they receive it or something.

  2. #2
    For the stacking debuff announce you can get around having to use lua, you just need multiple weakauras. For every stack you want to announce, you'll need another weakaura.

    Example for Kromog's Tank debuff:
    WA Stack 1
    Trigger Tab:
    Aura - Warped Armor
    Unit - Player
    Type - Debuff
    Stack count - Checked ||| Operator - = ||| Stack count - 1

    Actions Tab:
    Under On Show:
    Chat message - Checked ||| Message Type - Say
    Message Box - 1 STACK

    WA Stack 2
    Trigger Tab:
    Aura - Warped Armor
    Unit - Player
    Type - Debuff
    Stack count - Checked ||| Operator - = ||| Stack count - 2

    Actions Tab:
    Under "On Show":
    Chat message - Checked ||| Message Type - Say
    Message Box - 2 STACKS

    Etc, etc.

    The first WA will announce, "1 STACK" in say chat when you get your first stack, the second will announce, "2 STACKS" in say chat. Just keep copying the weakaura and changing the message/stack count values to reflect the stack you want announced. (To copy a weakaura, open your list of weakauras and right click the one you wish to copy, then click on Duplicate.)

    I do not know how to create the absorb amount announce WA you were asking about in the second half of your question.
    Last edited by bushes; 2015-05-09 at 12:33 AM.

Posting Permissions

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