[Release] Hunter Lua Macro menu

Shout-Out

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    Sikas's Avatar Active Member
    Reputation
    69
    Join Date
    Feb 2007
    Posts
    386
    Thanks G/R
    6/2
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could be that 'UnitExists' doesn't check if target is alive and active, only if your target is.. dead or alive? O.o If dead, then the code won't follow through.

    [Release] Hunter Lua Macro
  2. #17
    k4hn's Avatar Sergeant
    Reputation
    15
    Join Date
    Sep 2010
    Posts
    43
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Sikas View Post
    Could be that 'UnitExists' doesn't check if target is alive and active, only if your target is.. dead or alive? O.o If dead, then the code won't follow through.
    Really no clue.. Any ideas on how to fix the bug? Fixing it would make it a complete rotation macro

  3. #18
    Ultraviolence's Avatar Active Member
    Reputation
    15
    Join Date
    Aug 2008
    Posts
    102
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sikas is right, try this:

    Code:
    ------PET HEAL------
    if UnitExists("pet") and not UnitIsDeadOrGhost("pet") then
      if UnitHealth("pet")/UnitHealthMax("pet")<0.60 and not UnitBuff("pet","Mend Pet") then
        cast("Mend Pet")
      end
    end

  4. #19
    k4hn's Avatar Sergeant
    Reputation
    15
    Join Date
    Sep 2010
    Posts
    43
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ultraviolence View Post
    Sikas is right, try this:

    Code:
    ------PET HEAL------
    if UnitExists("pet") and not UnitIsDeadOrGhost("pet") then
      if UnitHealth("pet")/UnitHealthMax("pet")<0.60 and not UnitBuff("pet","Mend Pet") then
        cast("Mend Pet")
      end
    end
    That fixed it. Cheers +rep

  5. #20
    demisehi's Avatar Member
    Reputation
    50
    Join Date
    Jun 2009
    Posts
    147
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I haven't played my hunter in a while, so I never did think about that check, and all the times I did play him, my pet always stayed alive.

    I might start playing him again and if so, will probably recode the macro a little better and add in specific encounter flags.

  6. #21
    ask1666's Avatar Private
    Reputation
    1
    Join Date
    Dec 2011
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it doesnt work?

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Release] Feral DPS Druid Lua Macro
    By demisehi in forum WoW UI, Macros and Talent Specs
    Replies: 9
    Last Post: 06-03-2013, 11:56 PM
  2. [Release] Mutilate Rogue Lua Macro
    By demisehi in forum WoW UI, Macros and Talent Specs
    Replies: 1
    Last Post: 10-20-2011, 01:13 PM
  3. [Release] Portal Lua Event
    By Spartansp in forum World of Warcraft Emulator Servers
    Replies: 28
    Last Post: 02-04-2008, 09:46 AM
  4. Hunter MD macro
    By kartok in forum WoW UI, Macros and Talent Specs
    Replies: 4
    Last Post: 01-24-2008, 02:21 PM
  5. [RELEASE??] Hunter starting with stealth & pickpocket
    By pepsi1x1 in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 12-04-2007, 11:06 PM
All times are GMT -5. The time now is 11:59 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search