LuaNinja Macro Collection menu

Shout-Out

User Tag List

Page 37 of 42 FirstFirst ... 333435363738394041 ... LastLast
Results 541 to 555 of 629
  1. #541
    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)
    [quote=Viral Fly-by;1773661]
    Originally Posted by Elitetech View Post
    As for your first example, spell reflecting a poly would be possible. Using the gettime function on castingtime, if less than 0.5 seconds of casting time on polymorph, change to def stance and spell reflect, wait 1 second, if not spell reflect buff, change to battle stance again and pew. But you're 80% right, PvP can't be macroed, sure you can do macros for your spell priority, but CD's and stuff like that would still have to be manually done.

    Even then...you'd have to constantly scan all enemies checking if they are casting a CC spell (a huge list), and check if they are casting in you....it'd be a massive undertaking for even that simple thing. You can play it off like it's not, but it is.



    Faceroll is faceroll. You probably play either melee cleave or Shadowcleave where the warlock does the work. =) Or it's 2s...which is LOL...who cares 2200 in 2s. =)
    DK/Warr/Holy pala Also, what's wrong with 2s?
    Knowledge is often mistaken for intelligence. This is like mistaking a cup of milk for a cow.

    LuaNinja Macro Collection
  2. #542
    Viral Fly-by's Avatar Contributor
    Reputation
    136
    Join Date
    Dec 2009
    Posts
    376
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by garyrbaker View Post
    Viral Fly-by if you have any suggestions on the resto druid, ill keep working on it. it mostly works already other than rebuffing rejuvenation
    I'm going to write a pretty complex Resto Druid one that accounts for haste and different hots and tons of checks and all that stuff. Have you massively improved yours from the last time you posted it...because it had a while to go last time...

  3. #543
    kakamonster's Avatar Member
    Reputation
    3
    Join Date
    Aug 2008
    Posts
    50
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Viral Fly-by can you help me yet again, what i want to do is if my target has Frost Fever and Blood Plague debuffs on it and time to end is less than 4 seconds then cast Pestilence to refresh both buffs.
    I know the code below is wrong but it will give you a sense of what im trying to accomplish

    Code:
    /run i=1 while(i<=40) do a={UnitDebuff("target",i)} if(a[1]=="Frost Fever" and a[8]=="player" and (a[7]-GetTime())>3) and (a[1]=="Blood Plague" and a[8]=="player" and (a[7]-GetTime())>3)then break elseif(i==40) and IsSpellInRange("Pestilence", "target")==1 and GetSpellCooldown("Pestilence")==0 and IsUsableSpell("Pestilence")==1 then CastSpellByName("Pestilence") i=i+1 else i=i+1 end end
    Any help whould be appreciated.

  4. #544
    Viral Fly-by's Avatar Contributor
    Reputation
    136
    Join Date
    Dec 2009
    Posts
    376
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by kakamonster View Post
    Viral Fly-by can you help me yet again, what i want to do is if my target has Frost Fever and Blood Plague debuffs on it and time to end is less than 4 seconds then cast Pestilence to refresh both buffs.
    I know the code below is wrong but it will give you a sense of what im trying to accomplish

    Code:
    /run i=1 while(i<=40) do a={UnitDebuff("target",i)} if(a[1]=="Frost Fever" and a[8]=="player" and (a[7]-GetTime())>3) and (a[1]=="Blood Plague" and a[8]=="player" and (a[7]-GetTime())>3)then break elseif(i==40) and IsSpellInRange("Pestilence", "target")==1 and GetSpellCooldown("Pestilence")==0 and IsUsableSpell("Pestilence")==1 then CastSpellByName("Pestilence") i=i+1 else i=i+1 end end
    Any help whould be appreciated.
    Code:
    /run local i,p,ff,bp = 1,0,0,0; while(i<=40) do local a={UnitDebuff("target",i)} if a[1]=="Frost Fever" and a[8]=="player" then ff=1 if a[7]-GetTime()<4 then p=1 end elseif a[1]=="Blood Plague" and a[8]=="player" then bp=1 if a[7]-GetTime()<4 then p=1 end end i=i+1 end; if ff==1 and bp==1 and p==1 and IsSpellInRange("Pestilence", "target")==1 and GetSpellCooldown("Pestilence")==0 and IsUsableSpell("Pestilence") then CastSpellByName("Pestilence") end
    If the target has both debuffs and either of them has less than 4 seconds remaining, it will Pestilence assuming it's off cooldown and in range.

  5. #545
    Jibberish's Avatar Member
    Reputation
    12
    Join Date
    Jan 2008
    Posts
    130
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How would I have my macro include a break for food?

    I think I have a general idea, but I am not quite sure

    Code:
    /run if UnitHealth("player")/UnitHealthMax("player")<0.30 and UnitAffectingCombat==nil then RunMacroText("/use Clefthoof Ribs") end
    /run if UnitBuff("player", "Food") then _How do I tell it to wait until player does not have the buff?_
    Any help?

    EDIT: I ask this because I am planning to use an auto-clicker with this code, and I don't want it spamming attacks etc while my character is attempting to eat.
    Last edited by Jibberish; 12-30-2009 at 01:10 AM.

  6. #546
    Viral Fly-by's Avatar Contributor
    Reputation
    136
    Join Date
    Dec 2009
    Posts
    376
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Jibberish View Post
    How would I have my macro include a break for food?

    I think I have a general idea, but I am not quite sure

    Code:
    /run if UnitHealth("player")/UnitHealthMax("player")<0.30 and UnitAffectingCombat==nil then RunMacroText("/use Clefthoof Ribs") end
    /run if UnitBuff("player", "Food") then _How do I tell it to wait until player does not have the buff?_
    Any help?

    EDIT: I ask this because I am planning to use an auto-clicker with this code, and I don't want it spamming attacks etc while my character is attempting to eat.

    I'm not sure...I don't care to bother such full automation that is so automated it's just silly. But I would guess:
    Code:
    /run if UnitBuff("player", "Food") then StopMacro() end
    So if you're eating, the macro will just end right there.

  7. #547
    Jibberish's Avatar Member
    Reputation
    12
    Join Date
    Jan 2008
    Posts
    130
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm having trouble with the /run RunMacro("NAMEHERE") function...

    does the /run RunMacro have to go at the very end of the macro? Or can it be placed anywhere in your first macro?
    Do I refer to the name I gave the second macro or its placement on the normal /macro window (which all are the same SDM icons)?

  8. #548
    pinhe1ro's Avatar Member
    Reputation
    7
    Join Date
    Jun 2009
    Posts
    18
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Viral Fly-by View Post
    Ok so here's my Holy Paladin macro... It uses your focus as the person to keep up Beacon and Sacred Shield. So you basically focus the tank and let the macro work. It will keep BoL and SS on the tank, and it will heal accordingly. If no one needs healing, it will Cleanse debuffs. It will also judge light on the focus target (tank's target). It will also pop Divine Plea if low on mana and it will bubble if you get low on health.

    Also it fully uses Beacon of Light. It will always heal a different target and let Beacon heal the tank. If the tank needs much more healing than any other target, it will still heal someone else because Beacon will heal the tank...but it will use a larger spell because the tank needs it.

    Code:
    /run if UnitHealth("player")/UnitHealthMax("player")<0.10 and GetSpellCooldown("Divine Shield")==0 and IsUsableSpell("Divine Shield") then CastSpellByName("Divine Shield") end;
    /run if GetSpellCooldown("Divine Plea") ==0 and UnitPower("player")/UnitPowerMax("player")<=0.10 then CastSpellByName("Divine Plea") end;
    /run f=0; if UnitExists("focus") then for i=1,40 do d={UnitBuff("focus",i)}; if d~=nil and d[1]=="Beacon of Light" and d[8]=="player" and d[7]-GetTime()>=3 then f=1; break end end if f==0 then RunMacroText("/cast [@focus] Beacon of Light") end end;
    /run FoL=3000; HS=6000; HL=8000; t="raid"; nps=1; npe=GetNumRaidMembers(); if npe==0 then t="party"; nps=0; npe=GetNumPartyMembers() end; e=UnitExists; n=UnitName; h=UnitHealth; hm=UnitHealthMax; s=nil; f="focus"; fh=0; if e(f) then fh=hm(f)-h(f) end; m=0; w=f; for i=nps,npe do if i==0 then tt="player" else tt=t..i end; if e(tt) and (e(f)==nil or n(tt)~=n(f)) then a=hm(tt)-h(tt); if a>m and UnitInRange(tt)==1 and UnitIsDeadOrGhost(tt)~=1 then m=a w=tt end end end; if fh>2*m then m=fh end; if GetSpellCooldown("Holy Shock")==0 and m>=HS then s="Holy Shock" elseif m>=HL then s="Holy Light" elseif m>=FoL then s="Flash of Light" end; if s~=nil then RunMacroText("/cast [@"..w.."] "..s) end;
    /run if GetSpellCooldown("Judgement of Light") == 0 then RunMacroText("/cast [@focustarget] Judgement of Light") end;
    /run f=0; if UnitExists("focus") then for i=1,40 do d={UnitBuff("focus",i)}; if d~=nil and d[1]=="Sacred Shield" and d[8]=="player" and d[7]-GetTime()>=3 then f=1; break end end if f==0 then RunMacroText("/cast [@focus] Sacred Shield") end end;
    /run t="raid"; nps=1; npe=GetNumRaidMembers(); if npe==0 then t="party"; nps=0; npe=GetNumPartyMembers() end; w=nil; m=0; for i=nps,npe do if i==0 then tt="player" else tt=t..i end; if UnitExists(tt) and UnitInRange(tt)==1 and UnitIsDeadOrGhost(tt)~=1 then for j=1,40 do d={UnitDebuff(tt,j)}; if d~=nil and (d[5]=="Magic" or d[5]=="Poison" or d[5]=="Disease") and d[7]>m then w=tt; m=d[7] end end end end; if w~=nil then RunMacroText("/cast [@"..w.."] Cleanse") end;
    /run StaticPopup_Hide("MACRO_ACTION_FORBIDDEN");

    The Overall Logic:
    1. If you are under 10% health and Divine Shield is available, then Divine Shield.
    2. If you are under 10% mana and Divine Plea is available, then Divine Plea.
    3. If your Beacon of Light is not present on your focus or it has 3 seconds or less remaining, then Beacon of Light your focus.
    4. If a party/raid member needs healing, heal them.
    5. If Judgement of Light is ready, then Judge your focus's target.
    6. If your Sacred Shield is not present on your focus or it has 3 seconds or less remaining, then Sacred Shield your focus.
    7. If a party/raid member has a debuff, Cleanse.


    The Healing Logic:
    1. If Holy Shock is ready and the target needs 6000 or more healing, then Holy Shock.
    2. If target needs 8000 or more healing, then Holy Light.
    3. If target needs 3000 or more healing, then Flash of Light.
    4. If no target needs at least 3000 healing, do nothing.


    Customization:
    There are 3 variables at the beginning of the 4th line. These control which spell is chosen for which situation and should be adjusted for how big your heals hit.
    1. FoL: The minimum damage taken to be healed by a Flash of Light (3000 in code above).
    2. HS: The minimum damage taken to be healed by Holy Shock (6000 in code above).
    3. HL: The minimum damage taken to be healed by Holy Light (8000 in code above).

    Viral Fly-by i already tested it in icc10 and works good, but have you tested this in toc10? for some reason the healing macro dont work there (tested in Gormok the Impaler), the macro does jol and beacon in tank but dont heal the raid /=
    If you can see the post of Mynewt it has a similar problem...
    Last edited by pinhe1ro; 12-30-2009 at 06:52 AM.

  9. #549
    kakamonster's Avatar Member
    Reputation
    3
    Join Date
    Aug 2008
    Posts
    50
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Viral Fly-by View Post
    Code:
    /run local i,p,ff,bp = 1,0,0,0; while(i<=40) do local a={UnitDebuff("target",i)} if a[1]=="Frost Fever" and a[8]=="player" then ff=1 if a[7]-GetTime()<4 then p=1 end elseif a[1]=="Blood Plague" and a[8]=="player" then bp=1 if a[7]-GetTime()<4 then p=1 end end i=i+1 end; if ff==1 and bp==1 and p==1 and IsSpellInRange("Pestilence", "target")==1 and GetSpellCooldown("Pestilence")==0 and IsUsableSpell("Pestilence") then CastSpellByName("Pestilence") end
    If the target has both debuffs and either of them has less than 4 seconds remaining, it will Pestilence assuming it's off cooldown and in range.
    Works like a charm, thanks

  10. #550
    kaych's Avatar Member
    Reputation
    1
    Join Date
    Jan 2009
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Destruction Warlock Macro:
    What this does:
    Casts Fel Armor if missing
    Casts Life Tap for the buff (remove this line if no glyph)
    Casts Immolate
    Casts Conflagrate and Chaos Bolt when off cool down.
    Uses Incinerate for filler spell.
    This will not do curses! You must press Curse of Doom or Elements yourself!

    Code:
    #showtooltip Immolate
    /run if not UnitBuff("player", "Life Tap") then CastSpellByName("Life Tap") end
    /run if UnitPower("Player") < 3000 then CastSpellByName("Life Tap") end
    /run if not UnitBuff ("player", "Fel Armor") then CastSpellByName "Fel Armor" end 
    /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") ()
    /run CastSpellByName ("Incinerate")
    For trinkets, add

    Code:
    /use 13
    /use 14
    If you would like this to auto cast without spamming your macro key, add
    Code:
    /run if UnitAffectingCombat("player") then RunMacroText("/in 0.5 /run RunMacro(\"Destro\")") end
    at the end of the macro and name the macro "Destro"
    However, you can not stop casting until you're out of combat that I am aware of (or I haven't figured it out)
    If you need tp stop DPS without exiting combat, put yoru imp to passive and target another raid member or yourself.

    Also, if you spam this too fast you might get 2 immolates because of travel time.

    Please +rep if this works for you
    Last edited by kaych; 12-30-2009 at 07:49 AM.

  11. #551
    Tardo's Avatar Member
    Reputation
    6
    Join Date
    Sep 2009
    Posts
    28
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just need to take time and thank again for the Enhancement Shaman macro.
    It's so ****ing epic I'm able to reach almost 8k DPS on the heroic dummy at peaks and keep it at stable 6k

    10k DPS on Lord Marrowgar, no BL!

    edit: I'M A STUPID RETARD. Video removed.

    ^LuaNinja in action.
    Last edited by Tardo; 12-30-2009 at 09:31 AM.

  12. #552
    Viral Fly-by's Avatar Contributor
    Reputation
    136
    Join Date
    Dec 2009
    Posts
    376
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by pinhe1ro View Post
    Viral Fly-by i already tested it in icc10 and works good, but have you tested this in toc10? for some reason the healing macro dont work there (tested in Gormok the Impaler), the macro does jol and beacon in tank but dont heal the raid /=
    If you can see the post of Mynewt it has a similar problem...
    It worked fine for me in ToC. Grab the latest version from my post because I have made some minor changes. It used to get very confused if you were out of range of the focus. Are you staying in range of the people that need healing? People tend to run around like idiots on that fight.

    Regardless there's absolutely zero reason it would work on one fight (or instance) and not on another.

  13. #553
    Viral Fly-by's Avatar Contributor
    Reputation
    136
    Join Date
    Dec 2009
    Posts
    376
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Tardo View Post
    Just need to take time and thank again for the Enhancement Shaman macro.
    It's so ****ing epic I'm able to reach almost 8k DPS on the heroic dummy at peaks and keep it at stable 6k

    10k DPS on Lord Marrowgar, no BL!
    Wow...make a YouTube video? That's pretty retarded bro. If you havea brain you'll take that down and sit in quiet contemplation about how silly you are.

    Also, I've got an even better enhancement macro that I'm going to post. It will work like my elemental one with single target mode and aoe mode. Normally it will just single target meaning it won't use Fire Nova and will use LB with 5xMW. But if you drop a Magma it switches to AOE mode and will start using Fire Nova and switch to using CL with 5xMW.

  14. #554
    Tardo's Avatar Member
    Reputation
    6
    Join Date
    Sep 2009
    Posts
    28
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Viral Fly-by View Post
    Wow...make a YouTube video? That's pretty retarded bro. If you havea brain you'll take that down and sit in quiet contemplation about how silly you are.

    Also, I've got an even better enhancement macro that I'm going to post. It will work like my elemental one with single target mode and aoe mode. Normally it will just single target meaning it won't use Fire Nova and will use LB with 5xMW. But if you drop a Magma it switches to AOE mode and will start using Fire Nova and switch to using CL with 5xMW.
    Yeah, whatever, I figured this would happen.

    Anyways, about your next macro... Enhancement Shamans use Magma Totem on single target aswell, just saying. Otherwise, keep up the flawless work! ^^

  15. #555
    Viral Fly-by's Avatar Contributor
    Reputation
    136
    Join Date
    Dec 2009
    Posts
    376
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Tardo View Post
    Yeah, whatever, I figured this would happen.

    Anyways, about your next macro... Enhancement Shamans use Magma Totem on single target aswell, just saying. Otherwise, keep up the flawless work! ^^
    Not always...what if there is no other shaman in the raid in a 10 man? You really going to be that guy who drops magma rather than flametongue? And are you the guy always breaking sheep/shackle with your magma totem?

Page 37 of 42 FirstFirst ... 333435363738394041 ... 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 10:54 AM. 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