Close
Showing results 1 to 3 of 3

Thread: lua script help

  1. #1

    Default lua script help

    Hello,

    Need some help with a lua script that keeps giving me a nil value.

    Using [redacted] for my macro addon.

    function slh()
    if buffed("Holy Word: Shield") then cast("Lesser Heal") end
    if not buffed("Holy Word: Shield") then cast("Holy Word: Shield") end
    end

    Basically I want my priest to cast shield on my tank after it fades but if he has shield on than just go straight to casting lesser heal.

    I had it working but after casting lesser heal once it stops waiting for shield to come up again instead of going straight to lesser heal.

    Any help would be great, Thanks.
    Last edited by MiRai : 11-23-2018 at 12:50 PM

  2. #2

    Default

    if I remember correctly, this is a behaviour which blizzard broke long time ago.

  3. #3
    Multiboxologist MiRai's Avatar
    Join Date
    Apr 2009
    Location
    Winter Is Coming
    Posts
    6815

    Default

    Cool story, but discussion of private servers are not allowed on this forum.
    Do not send me a PM if what you want to talk about isn't absolutely private.
    Ask your questions on the forum where others can also benefit from the information.

    Author of the almost unknown and heavily neglected blog: Multiboxology

Posting Rules

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