LuaNinja Macro Collection menu

Shout-Out

User Tag List

Page 17 of 42 FirstFirst ... 131415161718192021 ... LastLast
Results 241 to 255 of 629
  1. #241
    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 Evilphtbstrd View Post
    ok thx to viral and this post http://www.mmowned.com/forums/ui-mac...ion-macro.html , i have come up with this macro , standard 969 rotation , with divine plea thrown in and hammer of wrath , nt my creation more of a mish mash if anyone wants it take it

    Code:
    /startattack
    /run if GetSpellCooldown("Divine Plea") ==0 and UnitPower("Player")<=1500 then CastSpellByName("Divine Plea") end
    /run if (UnitHealth("target")/UnitHealthMax("target")<0.2) and GetSpellCooldown("Hammer of Wrath") ==0 then CastSpellByName("Hammer of Wrath") end
    /run if _G["ProtTS"]==nil then _G["ProtTS"]=GetTime() end; if _G["Prot6"]==nil then _G["Prot6"]=0 end; if _G["Prot9"]==nil then _G["Prot9"]=0 end; if _G["Prot969"]==nil then _G["Prot969"]=9 end; 
    /run if GetTime()-_G["ProtTS"]>9 then _G["Prot6"]=0; _G["Prot9"]=0; _G["Prot969"]=9; end; _G["ProtTS"]=GetTime();
    /run if _G["Prot969"]==9 and _G["Prot9"]==0 and GetSpellCooldown("Judgement of Wisdom")==0 then CastSpellByName("Judgement of Wisdom"); _G["Prot9"]=1; _G["Prot969"]=6; end;
    /run if _G["Prot969"]==9 and _G["Prot9"]==1 and GetSpellCooldown("Holy Shield")==0 then CastSpellByName("Holy Shield"); _G["Prot9"]=2; _G["Prot969"]=6; end;
    /run if _G["Prot969"]==9 and _G["Prot9"]==2 and GetSpellCooldown("Consecration")==0 then CastSpellByName("Consecration"); _G["Prot9"]=0; _G["Prot969"]=6; end;
    /run if _G["Prot969"]==6 and _G["Prot6"]==0 and GetSpellCooldown("Hammer of the Righteous")==0 then CastSpellByName("Hammer of the Righteous"); _G["Prot6"]=1; _G["Prot969"]=9; end;
    /run if _G["Prot969"]==6 and _G["Prot6"]==1 and GetSpellCooldown("Shield of Righteousness")==0 then CastSpellByName("Shield of Righteousness"); _G["Prot6"]=0; _G["Prot969"]=9; end;
    /run StaticPopup_Hide("MACRO_ACTION_FORBIDDEN");

    I had intentionally left out Divine Plea becaus a prot pally shouldn't need it. You should be popping it before you pull and keeping it permanently refreshed thanks to Guarded by the Light.


    Also always using hammer everytime it's up is actually suboptimal for the rotation. It actually hurts the damage and threat to use it like that. The preferred use of HoW is to use it in the 3rd 9-second spot (usually used for Consecration) or in place of every other judgement (since it hits harder than Judgement but you want to judge every other to maintain the effect).

    In one of my macros I had set it up to HoW every other judge and was using the 3rd 9-second spot to refresh Sacred Shield instead. If you really want lots of HoW, you could try to do it both in place of judgement and in place of hte 3rd 9-second spot. If HoW replaces Judgement in a particular rotation, then it will also replace the 3rd 9s spot...that means a rotation with no judgement and no consecration and no attempt to refresh Sacred Shield...that would mean the next rotation Judges and uses 3rd spot to refresh sacred shield...so you'd have no consecration for 20+ seconds. Regardless I definitely don't think always using it as top priority is a good idea.

    See this thread on Tankspot for more info.

    LuaNinja Macro Collection
  2. #242
    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 spudstar99 View Post
    @ Viral Fly-by

    there is a smarter debuffing method ...
    check if you are in raid or not (GetNumRaidMembers() when this is ~= 0 then you are in raid .. else not)
    when in raid
    GetNumRaidMembers();
    else GetNumPartyMembers

    for x="1",maxplayer do

    and so on

    Yea I know but in a party you as the player don't appear...so you have player,party1-4....but in raid everyone is raid1-N...plus the switching of party vs raid.

    It just makes the lines a long longer to deal with... I do the full logic in my actual macros I was just giving an example of a simple party one whether than an even longer line that does the whole thing.

  3. #243
    Evilphtbstrd's Avatar Active Member
    Reputation
    77
    Join Date
    Feb 2008
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok thank you very much for the tips viral

  4. #244
    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)
    This crashes my game client every time i press it.
    Code:
    /run i=1; while(i<=40)do a={UnitDebuff("player", 1)} if(a[5]=="Magic" or a[5]=="Disease" or a[5]=="Poison") and IsUsableSpell("Cleanse") then RunMacroText("/cast [@player] Cleanse") end end
    

  5. #245
    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
    This crashes my game client every time i press it.
    Code:
    /run i=1; while(i<=40)do a={UnitDebuff("player", 1)} if(a[5]=="Magic" or a[5]=="Disease" or a[5]=="Poison") and IsUsableSpell("Cleanse") then RunMacroText("/cast [@player] Cleanse") end end
    
    That's because I'm an idiot. I just added on to yours but the logic was slightly different than my normal way so it was looping forever so game crashed.

    It will work like this:
    Code:
    /run i=1 while(i<=40)do a={UnitDebuff("player", i)} if (a[5]=="Magic" or a[5]=="Disease" or a[5]=="Poison") then break else i=i+1 end end; if i<=40 and IsUsableSpell("Cleanse") then RunMacroText("/cast [@player] Cleanse") end
    Sorry I fouled it up so bad the first time. (Original reply also updated.)

  6. #246
    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)
    Viral - Your info on Divine Plea is a little wrong. Never pop before a fight because the mana regain is wasted, and quite frankly if you need the less dmg from having it up at the beginning of a fight, you need to replace your healers.

    Start your rotation and build up a threat lead. Once lead established, pop it. Then it will always be refreshed, you regain your mana used in building the threat lead, and all is happy.

    Use it to the fullest.

    Now on another note, I refuse to use Lua for Prot Pally unlike my other classes I play. Interestingly, I don't know why. Maybe because Prot pally is so EASY a caveman can do it without the need for having to build the macro for it....funny though I am like that.

  7. #247
    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)
    Originally Posted by demisehi View Post
    Viral - Your info on Divine Plea is a little wrong. Never pop before a fight because the mana regain is wasted, and quite frankly if you need the less dmg from having it up at the beginning of a fight, you need to replace your healers.

    Start your rotation and build up a threat lead. Once lead established, pop it. Then it will always be refreshed, you regain your mana used in building the threat lead, and all is happy.

    Use it to the fullest.

    Now on another note, I refuse to use Lua for Prot Pally unlike my other classes I play. Interestingly, I don't know why. Maybe because Prot pally is so EASY a caveman can do it without the need for having to build the macro for it....funny though I am like that.
    Glyph of Divine Plea would like a word with you.

  8. #248
    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 demisehi View Post
    Viral - Your info on Divine Plea is a little wrong. Never pop before a fight because the mana regain is wasted, and quite frankly if you need the less dmg from having it up at the beginning of a fight, you need to replace your healers.

    Start your rotation and build up a threat lead. Once lead established, pop it. Then it will always be refreshed, you regain your mana used in building the threat lead, and all is happy.

    Use it to the fullest.

    Now on another note, I refuse to use Lua for Prot Pally unlike my other classes I play. Interestingly, I don't know why. Maybe because Prot pally is so EASY a caveman can do it without the need for having to build the macro for it....funny though I am like that.

    ROFL...this makes no sense at all. With Guarded by the Light, you should have 100% uptime of Divine Plea as a prot pally...so popping it at the beginning and have it always up is "using it to the fullest".

    Also...you talk about "building a threat lead"...well building a threat lead is just doing the 969 rotation...there is no "special opener" that use to build a threat lead at the beginning. Your rotation is the 969 rotation from the very beginning to the very end...there are no changes. So that said, your mana usage is constant across the fight because your ability usage is constant across the fight. You seem to imply you use more mana at the beginning to "build a threat lead" but that's not true. By waiting to pop Plea in the middle of the fight, you are actually wasting a GCD to activate it...so you are costing yourself damage and threat. Also by waiting you are giving up the mana regenned at the beginning.

    It has a 100% uptime as long as you are hitting something...so there is no reason not to keep it up all the time. It acts basically like a passive buff for mana regen that will also reduce damage taken if glyphed.

    There's just no reason whatsoever to waste a damage-dealing threat-generating GCD midfight to pop Plea. Do you have your other paladins wait until partway through the fight to buff you with Blessing of Wisdom? After all, that mana regen is wasted before the fight...lol.


    Edit: One case I could make for "special opener" that uses more mana is pulling with Exo and then Avenger's Shield...or using AS in place of the first Holy Shield for more initial threat. But if you're using slightly more mana at the beginning, it's an even BIGGER argument for already having divine plea activated since it will be up 100% anyway. Also if you happen to use AS instead of the first Holy Shield in the rotation, then you probably DO want the mitigation from Glyph of Divine Plea.
    Last edited by Viral Fly-by; 12-22-2009 at 01:03 PM.

  9. #249
    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 Viral Fly-by View Post
    Yea I know but in a party you as the player don't appear...so you have player,party1-4....but in raid everyone is raid1-N...plus the switching of party vs raid.

    It just makes the lines a long longer to deal with... I do the full logic in my actual macros I was just giving an example of a simple party one whether than an even longer line that does the whole thing.


    For the curious...here's the Cleanse macro for paladins that handles all situations (solo, parties of 2 to 5, raids of any size). It cleanses the person whoever has the debuff with most duration remaining:

    Code:
    /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;


    Resto Shaman version for Cleanse Spirit:
    Code:
    /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]=="Curse" 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 Spirit") end;

    Priest version (Dispel Magic only):
    Code:
    /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" and d[7]>m then w=tt; m=d[7] end end end end; if w~=nil then RunMacroText("/cast [@"..w.."] Dispel Magic") end;
    Priest version (does Dispel Magic or Abolish Disease appropriately)(will apply Abolish even if already present):
    Code:
    /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]=="Disease") and d[7]>m then w=tt; m=d[7]; if d[5]=="Magic" then s="Dispel Magic" else s="Abolish Disease" end end end end end; if w~=nil then RunMacroText("/cast [@"..w.."] "..s) end;
    Druid version (Remove Curse only) (works for Mages as well):
    Code:
    /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]=="Curse" and d[7]>m then w=tt; m=d[7] end end end end; if w~=nil then RunMacroText("/cast [@"..w.."] Remove Curse") end;
    Druid version (does Remove Curse or Abolish Poison appropriately)(will apply Abolish even if already present):
    Code:
    /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]=="Curse" or d[5]=="Poison") and d[7]>m then w=tt; m=d[7]; if d[5]=="Curse" then s="Remove Curse" else s="Abolish Poison" end end end end end; if w~=nil then RunMacroText("/cast [@"..w.."] "..s) end;
    Last edited by Viral Fly-by; 12-23-2009 at 12:02 AM. Reason: Typo!

  10. #250
    Evilphtbstrd's Avatar Active Member
    Reputation
    77
    Join Date
    Feb 2008
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    awesome cheers viral , your macros are great , went to rep you again but apparently i have to spread the rep lol

    and the main reason i want to macro the prot pala is for pvp , i can get move around more spamming 1 or 2 buttons than i can with 6 - 9

  11. #251
    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 Evilphtbstrd View Post
    awesome cheers viral , your macros are great , went to rep you again but apparently i have to spread the rep lol

    and the main reason i want to macro the prot pala is for pvp , i can get move around more spamming 1 or 2 buttons than i can with 6 - 9
    I believe I read there is some kind cooldown on rep...I'm not sure tbh.

    Aw I gotcha...for pvp, I would change the 3rd 9-second spot entirely...even as prot I find consecration wasteful of mana in the arena...you could change that spot in the rotation to refrehs sacred shield if necessary or try to cleanse instead...if SS is still up and nothing need to cleanse, then it could just do nothing... /shrug

  12. #252
    Evilphtbstrd's Avatar Active Member
    Reputation
    77
    Join Date
    Feb 2008
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    been tankign PoS , HoR and FoS with your macros viral , they work great thanks again

  13. #253
    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
    That's because I'm an idiot. I just added on to yours but the logic was slightly different than my normal way so it was looping forever so game crashed.

    It will work like this:
    Code:
    /run i=1 while(i<=40)do a={UnitDebuff("player", i)} if (a[5]=="Magic" or a[5]=="Disease" or a[5]=="Poison") then break else i=i+1 end end; if i<=40 and IsUsableSpell("Cleanse") then RunMacroText("/cast [@player] Cleanse") end
    Sorry I fouled it up so bad the first time. (Original reply also updated.)
    np =) gonna test it now, btw RunMacroText("/cast [@player] Cleanse") cast it on me only`? why not use castspellbyname?

  14. #254
    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
    np =) gonna test it now, btw RunMacroText("/cast [@player] Cleanse") cast it on me only`? why not use castspellbyname?
    Well your original macro was only testing debuffs on yourself (unit="player") so I was just keeping with that same functionality. I assumed you wanted a spammable "cleanse me" button.

    If you want a more generic "cleanse anyone" macro, see my previous post for those...

    Also, I use the RunMacroText rather than CastSpellByName so it can cast on a specific unit without targeting. I prefer to use RunMacroText to be able to cast on focus or party3 or raid17 rather than have to target them first. Not messing with your target is a win IMO.

  15. #255
    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
    Well your original macro was only testing debuffs on yourself (unit="player") so I was just keeping with that same functionality. I assumed you wanted a spammable "cleanse me" button.

    If you want a more generic "cleanse anyone" macro, see my previous post for those...

    Also, I use the RunMacroText rather than CastSpellByName so it can cast on a specific unit without targeting. I prefer to use RunMacroText to be able to cast on focus or party3 or raid17 rather than have to target them first. Not messing with your target is a win IMO.
    ahh ok, i was looking for this but couldent get CastSpellByName to work on me only

Page 17 of 42 FirstFirst ... 131415161718192021 ... 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