Help plz,Lua code menu

User Tag List

Results 1 to 1 of 1
  1. #1
    Lololo2016's Avatar Member
    Reputation
    1
    Join Date
    Jul 2016
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help plz,Lua code

    Hi gus,I use addon AdiButtonAuras and I need to get some effect on Templars Verdict(on screenshot) when i have 3 or more holy power,but it need to write on Lua in addon, help please, guys )
    I have example for dks soul reaper :

    -- Sample rule using Configure
    -- See https://github.com/Adirelle/AdiButto.../Rules.textile for more details

    return Configure {

    -- Unique Id
    "SoulReaper",

    -- Description
    "Shows Hint when target is below 35% health.",

    -- Spells to modify
    {
    114866, -- Soul Reaper (Blood)
    130735, -- Soul Reaper (Frost)
    130736, -- Soul Reaper (Unholly)
    },

    -- Unit(s) to watch
    "enemy",

    -- Event(s) to watch
    { "UNIT_HEALTH", "UNIT_MAXHEALTH" },

    -- Callback
    function(units, model)
    if UnitHealth(units.enemy) / UnitHealthMax(units.enemy) < 0.35 then
    model.hint = true
    end
    end
    screenshot
    Help plz,Lua code-verdict-jpg

    Help plz,Lua code

Similar Threads

  1. need help on lua code~~
    By sky2009 in forum WoW UI, Macros and Talent Specs
    Replies: 0
    Last Post: 03-01-2016, 11:27 AM
  2. [Request] Help with lua code (Glyph of Fetch)
    By dehahn in forum PE Support forum
    Replies: 2
    Last Post: 11-20-2014, 10:02 AM
  3. [lua] alittle help plz?
    By MCdeathMC in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 04-06-2010, 10:31 AM
  4. Replies: 8
    Last Post: 01-06-2009, 06:08 PM
  5. [Help] Need someone to test a lua code
    By dude891 in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 04-12-2008, 09:59 PM
All times are GMT -5. The time now is 06:51 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search