1. #1

    [WeakAura] Chat message when boss at 5% HP

    -----------------------------
    Last edited by Roflomnom; 2015-10-08 at 08:15 AM. Reason: Answered

  2. #2
    Stood in the Fire
    15+ Year Old Account
    Join Date
    Mar 2007
    Location
    Denmark
    Posts
    413
    Why are you doing it with LUA instead of just just using a 5% HP trigger?

  3. #3
    -----------------------------
    Last edited by Roflomnom; 2015-10-08 at 08:15 AM. Reason: Answered

  4. #4
    Brewmaster Ogait's Avatar
    10+ Year Old Account
    Join Date
    Jul 2009
    Location
    Portugal
    Posts
    1,343
    I don't have access to Weak Auras right now since I'm at work, but you can try this (hope I remember all the names) and I hope it works:

    Trigger:
    Status Health - < 5%
    Specific Unit: boss1 (or you change it to the name you want)
    Action:
    Send Message to Chat: "Boss below 5%"

    I'm going home in 1h50 and I'll be online in 2h30 hours roughly.
    Incase you still need it, I can do it and share the String here if it works.

    - - - Updated - - -

    I created a simple macro to say Below 5% when boss1 is below 5%.

    Weakaura: link.

    You just've to edit the text message on "Actions" Tab and the text on Display Tab, if you want the aura to write something on your screen.
    | Realm First Monk | Dragonflight Beta Tester ( ty Blizzard! ) |

  5. #5
    I'm pretty sure this works. It doesn't throw any errors, but give me about 20 minutes to test it and I'll see what works. The custom LUA is in the trigger tab.

    Code:
    dauudaGiL0OOkofPQvbQOzbQKBHIAxuv8lqvmmH6yqSmL4zOstJixJkSnuqFtrmof6COe3dL0brrSqqv6HOaMikqxevSrsfFKQKrsvPtIczLaUjvP2jkv)KuPLQi9urtfORIs5SOqTxv)ffPbJCyu1Ivu9yIAYKYLHAZe8zqz0uPtl41Gk1Sj0TfYUvQFdYWPIwUcEojtNY1H02bvLVdQQgVIY5PQA9GkSFPpYbFg9u7P2bFkaTTmah4Z(cdFQfuof59dINzpbNYiV8IZuom4t0TneGbdpCWNYOkdk6Pa6w2cqBp6lqPsLknGn0HDjbErfUa4TwbkqbkqbkqbkqbkWTN2qagm8WbFA(DIFkJQmOONYOkdkIPUbn8tleH1EkJQmOONcOBzlaT9OVaLkvQKiKmVyP5qkLRZsSwYdB7G5lMx0C9SohsPqw1dpSTdMVyErZ1B(zEwNdPuiR61dNiXXfOuPsLeHK5flj7YBLyT0kJyp5mfSeJ1LTPL8MtMmXloL8LZuoRfOuPsLccLMdPuUolXkRLCuYCX7cuQuPsLkvQuqOeB7GXzwqzkpRZHukKv9Lmx8UaLkvQuPsLkvQuPsjERXaU8M3yLIhg2JSlVbxLwtMW4v9fOuPsLkvQuj8wRaLkvQeERva8w7PmQYGIyQ53j(PY4nu1tzxSmC)e1PgVHV9CadlaTb97e)0WZSNWFqZCVoo4kngVmzrcz0XK4fPlWSKJNB0iWHamy4b1zh5zq7j8cPuLaXk7PloaZ1Uot4ImYvAK7s8eUow4UCbMLgFotxbbf2UoJiSmHfggpkjHmI4aH7fyws6PieV2bFQfeecYOIM)d(mcv0ch82TNdqI4d(mcv0ch82TNgViEBh8zeQOfo4TBph4LXh8zeQOfo4TB3E6xxbbf2UooKIJhJJJLqgzH7illxGzjPBpvpx8bXNyFqKEcFNDePfKB)a
    Last edited by aranduh; 2015-10-07 at 10:01 PM.

  6. #6
    Quote Originally Posted by aranduh View Post
    I'm pretty sure this works. It doesn't throw any errors, but give me about 20 minutes to test it and I'll see what works. The custom LUA is in the trigger tab.

    Code:
    dauudaGiL0OOkofPQvbQOzbQKBHIAxuv8lqvmmH6yqSmL4zOstJixJkSnuqFtrmof6COe3dL0brrSqqv6HOaMikqxevSrsfFKQKrsvPtIczLaUjvP2jkv)KuPLQi9urtfORIs5SOqTxv)ffPbJCyu1Ivu9yIAYKYLHAZe8zqz0uPtl41Gk1Sj0TfYUvQFdYWPIwUcEojtNY1H02bvLVdQQgVIY5PQA9GkSFPpYbFg9u7P2bFkaTTmah4Z(cdFQfuof59dINzpbNYiV8IZuom4t0TneGbdpCWNYOkdk6Pa6w2cqBp6lqPsLknGn0HDjbErfUa4TwbkqbkqbkqbkqbkWTN2qagm8WbFA(DIFkJQmOONYOkdkIPUbn8tleH1EkJQmOONcOBzlaT9OVaLkvQKiKmVyP5qkLRZsSwYdB7G5lMx0C9SohsPqw1dpSTdMVyErZ1B(zEwNdPuiR61dNiXXfOuPsLeHK5flj7YBLyT0kJyp5mfSeJ1LTPL8MtMmXloL8LZuoRfOuPsLccLMdPuUolXkRLCuYCX7cuQuPsLkvQuqOeB7GXzwqzkpRZHukKv9Lmx8UaLkvQuPsLkvQuPsjERXaU8M3yLIhg2JSlVbxLwtMW4v9fOuPsLkvQuj8wRaLkvQeERva8w7PmQYGIyQ53j(PY4nu1tzxSmC)e1PgVHV9CadlaTb97e)0WZSNWFqZCVoo4kngVmzrcz0XK4fPlWSKJNB0iWHamy4b1zh5zq7j8cPuLaXk7PloaZ1Uot4ImYvAK7s8eUow4UCbMLgFotxbbf2UoJiSmHfggpkjHmI4aH7fyws6PieV2bFQfeecYOIM)d(mcv0ch82TNdqI4d(mcv0ch82TNgViEBh8zeQOfo4TBph4LXh8zeQOfo4TB3E6xxbbf2UooKIJhJJJLqgzH7illxGzjPBpvpx8bXNyFqKEcFNDePfKB)a
    Works a charm. Much appreciated!

Posting Permissions

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