[PLUA/MACRO] Unofficial PLUA/MACRO Thread menu

User Tag List

Page 5 of 8 FirstFirst 12345678 LastLast
Results 61 to 75 of 106
  1. #61
    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)
    Originally Posted by SprayPlaster View Post
    Is there a way to know if you're behind or not? For example for a feral druid, use shred as a combo point builder if at the back otherwise use mangle if not.
    You have to have that built into the hack you are using, or a separate program running that has the math built in.

    [PLUA/MACRO] Unofficial PLUA/MACRO Thread
  2. #62
    SprayPlaster's Avatar Sergeant Major
    Reputation
    13
    Join Date
    Feb 2010
    Posts
    164
    Thanks G/R
    0/0
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by demisehi View Post
    You have to have that built into the hack you are using, or a separate program running that has the math built in.
    Hmm, I guess the only way around is to make two macros, one with shred and one with mangle? I wonder how much the dps loss will be if you only use mangle...

  3. #63
    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)
    @SprayPlaster:

    Code:
    	local a = CreateFrame("Frame")
    	a:SetScript("OnEvent", function(self, event, ...)
    		local arg = {...}
    		if arg[2] == "SPELL_CAST_FAILED" and arg[12] == "You must be behind your target." then
    			CastSpellByName("Mangle")
    			a:UnregisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
    		end
    	end)
    
    	a:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED");
    
    	CastSpellByName("Shred");
    Not the best way to do it, but the easiest. If someone knows how to reduce the frame lag, please leave a comment.

  4. #64
    Parrky's Avatar Contributor
    Reputation
    146
    Join Date
    Aug 2010
    Posts
    270
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Probably not the best macros in the thread but here's some quick stuff I stuck together for my hunter.

    Bosses:
    Code:
    /run if not UnitDebuff("Target","Hunter's Mark") then CastSpellByName("Hunter's Mark") end
    /run if not UnitBuff("player","Rapid Fire") and IsUsableSpell("Rapid Fire") then CastSpellByName("Rapid Fire") end
    /run if UnitBuff("player","Fire!") then CastSpellByName("Aimed Shot") end
    /run if UnitPower("player")<50 then CastSpellByName("Steady Shot") end
    /run if not UnitDebuff("Target","Serpent Sting") then CastSpellByName("Serpent Sting") end
    /run if GetSpellCooldown("Chimera Shot")==0 and UnitPower("player")>44 then CastSpellByName("Chimera Shot") else end
    /run local HP=(UnitHealth("target")/UnitHealthMax("Target")); local f=UnitPower("player"); if HP>0.91 and f>50 and GetSpellCooldown("Chimera Shot")>0 then CastSpellByName("Aimed Shot") end
    /run local HP=(UnitHealth("target")/UnitHealthMax("Target")); local f=UnitPower("player"); if HP<0.91 and HP>0.20 and f>22 and GetSpellCooldown("Chimera Shot")>0 then CastSpellByName("Arcane Shot") end
    /run local HP=(UnitHealth("target")/UnitHealthMax("Target")); if HP<0.20 and GetSpellCooldown("Chimera Shot")>0 and GetSpellCooldown("Kill Shot")==0 then CastSpellByName("Kill Shot") end
    Trash
    Code:
    /run if not UnitDebuff("Target","Hunter's Mark") then CastSpellByName("Hunter's Mark") end
    /run if UnitBuff("player","Fire!") then CastSpellByName("Aimed Shot") end
    /run if UnitPower("player")<50 then CastSpellByName("Steady Shot") end
    /run if GetSpellCooldown("Chimera Shot")==0 and UnitPower("player")>44 then CastSpellByName("Chimera Shot") else end
    /run local HP=(UnitHealth("target")/UnitHealthMax("Target")); local f=UnitPower("player"); if HP>0.20 and f>22 and GetSpellCooldown("Chimera Shot")>0 then CastSpellByName("Arcane Shot") end
    /run local HP=(UnitHealth("target")/UnitHealthMax("Target")); if HP<0.20 and GetSpellCooldown("Chimera Shot")>0 and GetSpellCooldown("Kill Shot")==0 then CastSpellByName("Kill Shot") end
    AoE
    Code:
    /run if UnitBuff("player","Bombardment") and UnitPower("player")>20 then CastSpellByName("Multi-Shot") end
    /run if UnitBuff("player","Bombardment") and UnitPower("player")<20 then CastSpellByName("Steady Shot") end
    /run if UnitPower("player")<40 then CastSpellByName("Steady Shot") else CastSpellByName("Multi-Shot") end
    Travel time and logic dependencies on focus are a problem for these.
    Last edited by Parrky; 07-18-2011 at 03:04 PM.

  5. #65
    CrazyCactuaR's Avatar Contributor
    Reputation
    84
    Join Date
    Sep 2008
    Posts
    201
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sikas what you done to the layout it looks horrid

  6. #66
    hotpocket's Avatar Master Sergeant
    Reputation
    19
    Join Date
    Dec 2010
    Posts
    77
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice Topic, just what i'm lookin for ;p

    Pretty new to this and i can't find a Frost Mage macro that i could use as base.
    If anyone out there has a basic SDM Frost Mage macro that is PVP aimed i'd really appreciate.
    I'll finetune it to my needs and share it back.

    I could post a logic too but i prefer figuring out how stuiff works based on some existing one and adding then my 5 cents.
    Starting from scratch aint an option, lua noob here.

    feel free to pm me if u can help out on Frost mage plua macros

  7. #67
    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)
    For some reason, I can't create blank new lines.. it just jumbles it up.. So I can't edit what happened. :/

    Line Test

    Line Test

  8. #68
    ntsmarkv's Avatar Active Member
    Reputation
    30
    Join Date
    Dec 2006
    Posts
    266
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    WTB OP update. From that, there is not 1 fully supported class, and only 1 partially tested. I know there must be at least 1 fully supported.

  9. #69
    ossuaire's Avatar Active Member
    Reputation
    16
    Join Date
    Jan 2009
    Posts
    65
    Thanks G/R
    3/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there a way to add a modifier condition in a script?

    For exemple: /run local _,t,_,_ = GetTotemInfo(3); if t==nil or t=="" or [modifier=alt] then CastSpellByName("Call of the Elements") end

  10. #70
    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)
    Originally Posted by ossuaire View Post
    Is there a way to add a modifier condition in a script?

    For exemple: /run local _,t,_,_ = GetTotemInfo(3); if t==nil or t=="" or [modifier=alt] then CastSpellByName("Call of the Elements") end
    Code:
    /run local _,t,_,_ = GetTotemInfo(3); if t==nil or t=="" or IsAltKeyDown() then CastSpellByName("Call of the Elements") end
    There.

  11. #71
    ossuaire's Avatar Active Member
    Reputation
    16
    Join Date
    Jan 2009
    Posts
    65
    Thanks G/R
    3/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank you

  12. #72
    Merve's Avatar Private
    Reputation
    1
    Join Date
    Jul 2011
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK OK i did not read all Threats

    I only want to use conditionals macros, noting more, no superjumps or so on, and i play in a WOW private server 4.06 .

    only 2 Questions:

    1 - where can i find a tiny "UNLOCKS THE PROTECTED LUA" ( you can PM me)

    2 - for to use the addons "hack" or "devpad" do i have to "unlock the protected lua" too? ( i think yes, because i try to use without and had the error " blizzard "

    THANKS for all

    best regards
    Merve

  13. #73
    rainamnkk's Avatar Member
    Reputation
    3
    Join Date
    Jul 2011
    Posts
    8
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    found out that the lua unlocker doenst work o0 ...

    my fail, sry
    Last edited by rainamnkk; 07-30-2011 at 05:57 AM.

  14. #74
    j0eL's Avatar Contributor
    Reputation
    245
    Join Date
    Nov 2009
    Posts
    312
    Thanks G/R
    15/44
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by cdmichaelb View Post
    [SUB]SDM Spell Steal Macro
    This macro allows you to spam spellsteal key but only spell steal if something is stealable. Has a 0.5 second "fake cooldown" to prevent double casting.
    Code:
    /run if lastSS==nil then lastSS=0 end; if (lastSS+0.5)<=GetTime() and IsUsableSpell('Spellsteal') then for i=0,40 do if select(9,UnitAura('target',i))==1 or select(9,UnitBuff('target',i))==1 then SpellStopCasting() CastSpellByName('Spellsteal') lastSS=GetTime() end end end
    [COLOR="Silver"]
    If some one can make this same theory but for defensive dispels, such as Cleanse, Decurse, Etc. (preferably cleanse if need to be precised) I would be eternally grateful. Basically it would be the same as what Cleanse used to be in WOTLK.

    so a spammable macro would be like this:
    1) If there is no magic debuff do not Cleanse. (I would prefer magic only over including poison and disease)
    2) If there is a magic debuff, cast Cleanse.

  15. #75
    CrazyCactuaR's Avatar Contributor
    Reputation
    84
    Join Date
    Sep 2008
    Posts
    201
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by j0eL View Post
    If some one can make this same theory but for defensive dispels, such as Cleanse, Decurse, Etc. (preferably cleanse if need to be precised) I would be eternally grateful. Basically it would be the same as what Cleanse used to be in WOTLK.

    so a spammable macro would be like this:
    1) If there is no magic debuff do not Cleanse. (I would prefer magic only over including poison and disease)
    2) If there is a magic debuff, cast Cleanse.
    Code:
    i=1
    while(i<=40) do a={UnitDebuff("player",i)} 
    	if a[5]=="Magic" then cast("Cleanse") break end 
    	i=i+1
    end

Page 5 of 8 FirstFirst 12345678 LastLast

Similar Threads

  1. Funny/Best Macro THREAD
    By VersaGER in forum WoW UI, Macros and Talent Specs
    Replies: 0
    Last Post: 10-01-2012, 03:21 AM
  2. Rift Macro Thread
    By Jbob in forum Rift
    Replies: 9
    Last Post: 03-22-2011, 01:41 AM
  3. LuaNinja Dks Macro Thread
    By angusm in forum WoW UI, Macros and Talent Specs
    Replies: 11
    Last Post: 12-29-2009, 10:01 AM
  4. OFFICIAL G15 Macro Thread
    By Anarchy in forum World of Warcraft General
    Replies: 0
    Last Post: 03-18-2008, 12:36 AM
  5. why not make a Macros thread
    By bait in forum World of Warcraft General
    Replies: 0
    Last Post: 01-22-2007, 07:05 PM
All times are GMT -5. The time now is 10:42 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