Close
Page 1 of 2 1 2 LastLast
Showing results 1 to 10 of 13
  1. #1

    Default Out of combat hunter mana script

    I'm currently leveling a DK / MM hunter combo, and I've got a pretty high dps macro for my hunter, but it results in him going OOM after 3 mobs, and staying OOM from then on.

    I'm looking for a macro I can run when out of combat that will do the following:

    If (mana < 15%) and (aspect of the hawk is active) then (cast aspect of the viper)
    If (mana > 90%) and (aspect of the viper is active) then (cast aspect of the hawk)

    I think this should be possible using a /script command, and I know it will only work out of combat.

    Unfortunately I don't know enough wow scripts to write this myself.

    Can anyone help please?

  2. #2

    Default

    No macro can EVER check for health or mana (mana <15%, health >50%, etc). They took that out like 2 years ago. When I am killing mobs on my mixed group, I just either----use autoshot on my hunter since it does really good damage anyway therefore no/little mana or just run in viper all the time and not having to watch his mana is kinda nice. No worrying about what he is doing, just blasting away on his own and mobs dying. In an instance, I pick one of my keys to be a recharge button. The hunters switch to viper, the casters switch to wand. I do that when the mob is about 30% since it is going to die anyway. Then right before the pull I push it again and the hunters go back to normal. My mixed group hunters usually get close to pulling aggro, since they do pretty good DPS, so the viper is a nice way to make sure they stay below my tank and never run out of mana.

    Hope that helps and good luck.

  3. #3

    Default

    Ok, I thought you could still do stuff like that, just not in combat.

    Thanks for the help, I'll try your methods or try thinking of something else.

  4. #4

    Default

    You can also just drink out of combat. Water is cheap.
    Blog : Herding Khats
    Team : Kina - Çroaker - Messkit - Lìfetaker - Wìdowmaker
    Newbie Guides : Multiboxing Vol. 1 - Multiboxing Vol. 2 - HotKeyNet - Jamba
    The Almighty Lax made a liar out of me, apparently I DO get prizes for it.
    *Commences Wielding the Banhammer like there's piñatas up in here and I'm Lady Thor*

    _ Forum search letting you down? Use the custom Google search _

  5. #5

    Default

    Quote Originally Posted by 'ElectronDF',index.php?page=Thread&postID=203115#p ost203115
    No macro can EVER check for health or mana (mana <15%, health >50%, etc)
    Not when in combat, but when out of combat you can use a script to write a casting macro based on such a condition.

  6. #6

    Default

    At best, you could write an addon(or use an existing one, like Jamba) that warns you when you (or any other of your characters) are below a certain amount of mana.

  7. #7

    Default

    I think you should be able to run something like:
    Code:
    /script if (UnitPower("player") / UnitPowerMax("player") < 0.5 ) then CastSpellByName("Aspect of the Viper"); else CastSpellByName("Aspect of the Hawk"); end
    I'm at work so can't test any scripts. That's just something off the top of my head...
    Shattered Hand EU - Guilds: Kalmankaarti and Nolife (character park)

  8. #8

    Default

    Quote Originally Posted by 'Nolife',index.php?page=Thread&postID=203121#post2 03121
    I think you should be able to run something like:
    Code:
    /script if (UnitPower("player") / UnitPowerMax("player") < 0.5 ) then CastSpellByName("Aspect of the Viper"); else CastSpellByName("Aspect of the Hawk"); end
    I'm at work so can't test any scripts. That's just something off the top of my head...
    That's never going to work.
    CastSpellByName is a protected script call that can only be called from Blizzard code.

  9. #9

    Default

    Ok, I found a way to make it work. This very much feels like it's leaning on the border of exploits and ToS breaking though.

    See this thread for an explanation of the method used (the original post is linked a few posts down).

    I made one macro that does this and placed it in MacaroonButton101:

    Code:
    /run u=nil w=nil
    /run a={"Aspect of the Viper","Aspect of the Hawk"} if UnitPower("player")/UnitPowerMax("player")*100<=15 then u=a[1] w=a[2] end 
    /run a={"Aspect of the Viper","Aspect of the Hawk"} if UnitPower("player")/UnitPowerMax("player")*100>=90 then u=a[2] w=a[1] end 
    /run if UnitAura("player",w) then EditMacro(GetMacroIndexByName("Manatest"),"Manatest",1,"/cast "..u,1,1)  else EditMacro(GetMacroIndexByName("Manatest"),"Manatest",1,"",1,1)end
    then dragged a macro called Manatest to MacaroonButton99 (using original macro interface),

    then added the following two lines to the top of my dps macro

    Code:
    /click [nocombat] MacaroonButton101
    /click [nocombat] MacaroonButton99
    Testing on some target dummies, this seems to work (only out of combat, which is what I want).

    Edit: Tested out in the real world, changed macro a tiny bit, works like a charm.

  10. #10

    Default

    Nice macro. Will probably come in handy for other multibox problems too.

Similar Threads

  1. Replies: 2
    Last Post: 05-16-2009, 07:24 PM
  2. Combat Mod
    By Phanes in forum Macros and Addons
    Replies: 4
    Last Post: 04-27-2009, 08:46 PM
  3. Hunter + Hunter oder Hunter + Priest ?
    By Tumlol in forum German
    Replies: 1
    Last Post: 03-06-2009, 04:44 PM
  4. Replies: 9
    Last Post: 01-07-2009, 01:58 AM
  5. Combat Res - Aggro
    By Raskaz in forum General WoW Discussion
    Replies: 4
    Last Post: 08-16-2008, 05:28 PM

Posting Rules

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