LuaNinja Macro Collection menu

User Tag List

Page 3 of 42 FirstFirst 1234567 ... LastLast
Results 31 to 45 of 629
  1. #31
    mrbob's Avatar Member
    Reputation
    1
    Join Date
    May 2006
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use macaroon so have unlimited Macro length, some Macros I have put together for my priest and mage Multibox team.

    Priest Shadow one button farming.
    Code:
    /run c=CastSpellByName;if (UnitHealth("target")/UnitHealthMax("target")<0.2) then (GetSpellCooldown("Shadow word: death") == 0) (c("Shadow word: death"))() elseif (UnitMana("player")/UnitManaMax("Player")
    
    <0.5) then (GetSpellCooldown("Shadowfiend") == 0) (c("Shadowfiend"))() elseif not UnitDebuff("target", "Vampiric Embrace",unitCaster~="player") then c("Vampiric Embrace") elseif not UnitDebuff("target", 
    
    "Shadow Word: Pain",unitCaster~="player") then c("Shadow Word: Pain") elseif (GetSpellCooldown("Inner Focus") == 0)  then c("Inner Focus") elseif (GetSpellCooldown("Mind Blast") == 0)  then c("Mind Blast") 
    
    elseif not UnitDebuff("target", "Mind Flay",unitCaster~="player") then c("Mind Flay") end
    Mage Frost
    Code:
    /run c=CastSpellByName;if UnitHealth("target")/UnitHealthMax("target")<0.1) then c("Ice Lance") elseif UnitDebuff("target", "Frostbite",unitCaster~="player") then c("Deep Freeze") elseif UnitDebuff 
    
    ("target", "Deep Freeze",unitCaster~="player") then c("Ice lance") elseif UnitDebuff("target", "Frostbite",unitCaster~="player") then c("Ice Lance") elseif (GetSpellCooldown("Summon Water Elemental") == 0) 
    
    then c("Summon Water Elemental") elseif not UnitBuff("player", "Ice Barrier") then (GetSpellCooldown("Ice Barrier") == 0) (c("Ice Barrier"))() elseif (GetSpellCooldown("Icy Veins") == 0)  then c("Icy Veins") 
    
     else c("FrostBolt") end
    Mage Arcane
    Code:
    /run c=CastSpellByName;if UnitCastingInfo("target") then SpellStopCasting() c("Counterspell") elseif not UnitDebuff("target", "slow",unitCaster~="player") then c("slow") elseif UnitBuff("player", "Missile 
    
    Barrage") then SpellStopCasting() c("Arcane Missiles") elseif (GetSpellCooldown("Arcane Barrage") == 0) then c("Arcane Barrage") elseif not UnitDebuff("Player", "Arcane Blast",unitCaster~="player") then c
    
    ("Arcane Blast") end
    If your runing two toons together remove SWP from the priest code and you shall drop mobs in a second and hardly ever run out of mana.

    Hope there of use to some one.
    Last edited by mrbob; 11-13-2009 at 12:42 PM.

    LuaNinja Macro Collection
  2. #32
    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)
    Wow, cannot get this to work at all. I combined the Hunter and Rogue macro mechanics to try and get a rotation. I am under the assumption that this would handle it automatically correct?

    Code:
    /startattack
    /petattack
    /run RunMacro("a")
    /run RunMacro("b")
    Code:
    /run if not UnitDebuff("target", "Hunter's Mark") then CastSpellByName("Hunter's Mark") end
    /run if not UnitDebuff("target", "Serpent Sting") then CastSpellByName("Serpent Sting") else RunMacro"b" end
    Pressing attack will only process the attack and pet attack commands. If I move the "A" macro to my hotkeys and press it, it throws hunters mark up and then serpent sting. But it won't run B.

    Not sure what the deal is...I know I am probably missing something easy.

  3. #33
    reveng_'s Avatar Member
    Reputation
    5
    Join Date
    May 2006
    Posts
    145
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Macro name is case sensitive.

  4. #34
    Elitetech's Avatar Contributor
    Reputation
    98
    Join Date
    Oct 2008
    Posts
    279
    Thanks G/R
    3/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've put useful macros in first post.
    Knowledge is often mistaken for intelligence. This is like mistaking a cup of milk for a cow.

  5. #35
    GliderPro's Avatar Member
    Reputation
    -1
    Join Date
    Mar 2009
    Posts
    93
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is LuaNinja only useful for macros or can it be used to call protected functions in an AddOn? I can't think of any reason why you couldn't use it with an addon but, since nobody has shared one, I thought I'd ask before I started working on one.

  6. #36
    Fropper's Avatar Member
    Reputation
    8
    Join Date
    Mar 2008
    Posts
    66
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it works with addons GliderPro
    nothing here

  7. #37
    Rombot's Avatar Active Member
    Reputation
    18
    Join Date
    Jul 2006
    Posts
    48
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sup, adding my destro macro**
    Immo* -> Conf -> CB -> Ince -> repeat
    It will check CD on Conf and CB if both available it will cast Conf -> CB else it will spam Ince while Immo is up.

    *note: Immo takes raw 0.2 sec to appear
    you still can spam macro brainlessly but it = dps loss

    **note: This is only basic rotation. It doesn't have Curses and LT

    How to bypass it?
    try to "track" immo a little

    Code:
    #showtooltip Chaos bolt
    /run loadstring("local _,_,_,_,_,_,_,caster,_ = UnitDebuff(\"target\", \"Immolate\")if(caster~=\"player\")then  CastSpellByName(\"Immolate\") end") ()
    /run loadstring("local _, d, _ = GetSpellCooldown(\"Conflagrate\") if (d == 0) then  CastSpellByName(\"Conflagrate\") end") ()
    /run loadstring("local _, d, _ = GetSpellCooldown(\"Chaos bolt\") if (d == 0) then CastSpellByName(\"Chaos bolt\") end") ()
    /cast Incinerate
    EDIT: if any1 know how to add LT to macro feel free to post. All what i have tryed failed.
    Glyph of Life Tap - Item - World of Warcraft
    Last edited by Rombot; 11-14-2009 at 03:23 AM.

  8. #38
    reveng_'s Avatar Member
    Reputation
    5
    Join Date
    May 2006
    Posts
    145
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Rombot:
    /run loadstring("local d = UnitPower(\"player\") if (d<=2000) then CastSpellByName(\"Life Tap\") end") ()

    Casts LT if your mana is less than 2000. Not sure if it'll work, but do try it!
    Last edited by reveng_; 11-14-2009 at 01:10 PM. Reason: typo

  9. #39
    Rombot's Avatar Active Member
    Reputation
    18
    Join Date
    Jul 2006
    Posts
    48
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmmm, thanks. Do you think it's possible to add stig with following:
    LT glypt(buff).
    missing?
    yes- cast LT
    no - check power,less than 4k then cast LT AND make the whole macro HP limited? (aka if power less than 4k BUT HP is less that 8k IGNORE CASTING LT and vice versa)
    Thanks in advice
    Last edited by Rombot; 11-15-2009 at 09:32 AM. Reason: gramma fail

  10. #40
    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)
    @Rombot: Remove your \ from your code, you don't need it anymore. xD

  11. #41
    Rombot's Avatar Active Member
    Reputation
    18
    Join Date
    Jul 2006
    Posts
    48
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Sikas
    I don't really care) It works with \ and i'am happy with it

  12. #42
    spudstar99's Avatar Member
    Reputation
    12
    Join Date
    Aug 2008
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @ rombot
    yes this is possible try UnitAura("player","buffname")

    search wowapi for right use ... but think of times when you don't want to life tap

    it's not that useful ...

  13. #43
    ganzerker's Avatar Member
    Reputation
    1
    Join Date
    Jul 2009
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok so im makin a bm macro for my jr huntard (61), its basically my leveling rotation, heres what i have so far


    Code:
    /petattack
    /run if not UnitDebuff("target", "Hunter's Mark",unitCaster~="player") then CastSpellByName("Hunter's Mark") elseif (GetSpellCooldown("Bestial Wrath") == 0)  then CastSpellByName("Bestial Wrath") elseif (GetSpellCooldown("Arcane Shot") == 0)  then CastSpellByName("Arcane Shot") elseif (GetSpellCooldown("Multi Shot") == 0)  then CastSpellByName("Multi Shot") else CastSpellByName("Steady Shot") end
    what i wanna know is there a way to implement aspect of viper as in if mana > say, 2800 use aspect of the hawk, if mana < 500 use aspect of the viper, i tryed figuring out myself but... no luck

  14. #44
    spudstar99's Avatar Member
    Reputation
    12
    Join Date
    Aug 2008
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @ ganzerker

    this is a part from my paladin addon ( but i changed stuff in this post because i'm paranoid, so you have to edit the stuff...)

    if ((not playerhasbuff("Seal of Vengeance")) and (PlayerhasPower()>=90)) then Castspellbyname("Seal of Vengeance") end;
    if ((not playerhasbuff("Seal of Wisdom")) and (PlayerhasPower()<=30)) then CastSpellbyName("Seal of Wisdom") end;

    playerhaspower is a function to determind the mana in percentage

    player has buff function
    _,_,_,_,_,_,_,c,_=UnitBuff("player",name);
    if(c) then
    return true;
    else
    return false;
    end;
    end;

    have fun

    sincery spud
    Last edited by spudstar99; 11-18-2009 at 04:32 AM.

  15. #45
    ganzerker's Avatar Member
    Reputation
    1
    Join Date
    Jul 2009
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by spudstar99 View Post
    @ ganzerker

    this is a part from my paladin addon ( but i changed stuff in this post because i'm paranoid, so you have to edit the stuff...)

    if ((not playerhasbuff("Seal of Vengeance")) and (PlayerhasPower()>=90)) then Castspellbyname("Seal of Vengeance") end;
    if ((not playerhasbuff("Seal of Wisdom")) and (PlayerhasPower()<=30)) then CastSpellbyName("Seal of Wisdom") end;

    playerhaspower is a function to determind the mana in percentage

    player has buff function
    _,_,_,_,_,_,_,c,_=UnitBuff("player",name);
    if(c) then
    return true;
    else
    return false;
    end;
    end;

    have fun

    sincery spud
    i cudn't quite get ur way to work, but u did point something out to me, i needed to have a buff check to make sure aspect isn't already on otherwise my macro would freeze there and keep using aspect. what i did was i put this into my macro;

    /run if not UnitBuff("player", "Aspect of the Hawk") and UnitPower("Player") > 2000 then CastSpellByName("Aspect of the Hawk") elseif not UnitBuff("player", "Aspect of the Viper") and UnitPower("Player") < 500 then CastSpellByName("Aspect of the Viper")


    thx for pointin out i need to buff check +rep

    alright so with a bit more modifications in my macro i've come up with an all in one button mashed for BM hunts leveling

    /petattack
    /run p=(UnitPower("Player")/UnitPowerMax("Player"))*100; if not UnitBuff("player", "Aspect of the Hawk") and p > 90 then CastSpellByName("Aspect of the Hawk") elseif not UnitBuff("player", "Aspect of the Viper") and p < 10 then CastSpellByName("Aspect of the Viper") elseif not UnitBuff("Pet", "Mend Pet") and ((UnitHealth("Pet")/UnitHealthMax("Pet")) * 100) < 50 then CastSpellByName("Mend Pet") elseif not UnitDebuff("target", "Hunter's Mark",unitCaster~="player") then CastSpellByName("Hunter's Mark") elseif (GetSpellCooldown("Bestial Wrath") == 0) then CastSpellByName("Bestial Wrath") elseif (GetSpellCooldown("Arcane Shot") == 0) then CastSpellByName("Arcane Shot") elseif (GetSpellCooldown("Multi-Shot") == 0) then CastSpellByName("Multi-Shot") else CastSpellByName("Steady Shot") end

    this will; in order;

    Send pet to attack
    check to see if ur mana is >90% or < 10% and use aspect of the hawk/viper respectivly (parts in red are the pct, feel free to change
    check to make sure pets hp is > 50% if not will cast mend pet unless mend pet is already active on the pet (pct will be marked in blue)
    Cast hunter's Mark(if the debuff "Hunter's Mark" is not already on)
    cast bestial wrath if its off cooldown (i always forget to pop so i added it in)
    Cast arcane shot if off cooldown
    cast multi shot if off cooldown
    if nothing avalible, cast steady shot

    If any hunter would like me to add in features i will see what i can do
    Last edited by ganzerker; 11-18-2009 at 11:49 AM.

Page 3 of 42 FirstFirst 1234567 ... LastLast

Similar Threads

  1. [Macro-Collection] All-In-One-Button Macro for all Classes from Level 15-90!
    By Classicclean in forum WoW UI, Macros and Talent Specs
    Replies: 21
    Last Post: 01-21-2014, 08:16 AM
  2. Addon For LuaNinja Macros
    By Tracerv0 in forum WoW UI, Macros and Talent Specs
    Replies: 7
    Last Post: 01-06-2010, 02:21 PM
  3. /Dump Macro Collection (WIP at mo!)
    By Anotherfox in forum WoW UI, Macros and Talent Specs
    Replies: 97
    Last Post: 01-04-2010, 03:21 PM
  4. [HOW TO] Ascii Macro + my collection
    By wickermanz in forum World of Warcraft Guides
    Replies: 12
    Last Post: 01-05-2009, 12:58 PM
  5. Macro Love - My Collection of useful and/or Space saving Macro's!
    By Anotherfox in forum World of Warcraft Guides
    Replies: 15
    Last Post: 12-28-2008, 12:29 AM
All times are GMT -5. The time now is 07:50 PM. 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