Exclude Spell on Boss? Is it possible (Lua Macro)? menu

These ads disappear when you log in.

Results 1 to 3 of 3
  1. #1
    Totoy Tulog's Avatar Member
    Reputation
    1
    Join Date
    May 2015
    Posts
    18
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)

    Exclude Spell on Boss? Is it possible (Lua Macro)?

    This is my 1 Button Macro. The problem is that if the mob is boss and immune to Movement Effect, the macro stop/stutter and wont cast arcane shot/steady shot.

    /run if not UnitDebuff("target", "Serpent Sting") then CastSpellByName("Serpent Sting") end
    /run if not UnitDebuff("target", "Widow Venom") then CastSpellByName("Widow Venom") end
    /run if not UnitDebuff("target", "Concussive Shot") then CastSpellByName("Concussive Shot") end
    /run local _,d,_ = GetSpellCooldown("Arcane Shot") if (d == 0) then CastSpellByName("Arcane Shot") end
    /run local _,d,_ = GetSpellCooldown("Steady Shot") if (d == 0) then CastSpellByName("Steady Shot") end
    Is there alternative way to make it Not cast Concussive Shot on Boss target? "if not target unit boss" or something maybe there

  2. #2
    Eryxon's Avatar Administrator ✲ B26354 ✲ CoreCoins User Authenticator enabled
    Reputation
    867
    Join Date
    Jul 2011
    Posts
    3,800
    Thanks G/R
    488/261
    Trade Feedback
    1 (100%)
    Not sure if how it works in a macro but you can try to comment it out with something like this:
    /run if not UnitDebuff("target", "Serpent Sting") then CastSpellByName("Serpent Sting") end
    /run if not UnitDebuff("target", "Widow Venom") then CastSpellByName("Widow Venom") end
    --[[/run if not UnitDebuff("target", "Concussive Shot") then CastSpellByName("Concussive Shot") end]]
    /run local _,d,_ = GetSpellCooldown("Arcane Shot") if (d == 0) then CastSpellByName("Arcane Shot") end
    /run local _,d,_ = GetSpellCooldown("Steady Shot") if (d == 0) then CastSpellByName("Steady Shot") end
    Follow me on Twitter: EryxonOC

  3. #3
    Totoy Tulog's Avatar Member
    Reputation
    1
    Join Date
    May 2015
    Posts
    18
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    After almost a week of trying to find it.. I manage to get it to work.

    /run if ( UnitClassification("target") == "normal" or UnitIsPlayer("target") ) and not UnitDebuff("target", "Concussive Shot") then CastSpellByName("Concussive Shot") end

    Conccusive Shot can only be used if its Normal Mob or Player *PVP*. it wont be casted on elite/boss ^_^

    So if you have any Spell Debuff that doesnt work on elite/boss.. you can just replace that spell the one i had before was UnitIsPlusMob but never work on 4.3.4
    Last edited by Totoy Tulog; 5 Days Ago at 07:10 PM.

Similar Threads

  1. Changing character appearance by spell or command, is it possible?
    By Rexxar123 in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 11-14-2014, 05:02 PM
  2. Changing character appearance by spell or command, is it possible?
    By Rexxar123 in forum World of Warcraft Model Editing
    Replies: 2
    Last Post: 11-14-2014, 03:55 PM
  3. Spell Colour Swapping, is it possible?
    By shujinko90 in forum World of Warcraft Model Editing
    Replies: 1
    Last Post: 08-12-2010, 07:37 AM
  4. [Question] Is it possible to edit spell damage on boss?
    By Ellenor in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 02-28-2008, 12:54 AM
  5. is it possible to change to name of the on the account
    By Nightrider in forum World of Warcraft General
    Replies: 6
    Last Post: 09-19-2007, 12:04 PM
All times are GMT -5. The time now is 07:01 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved. Digital Point modules: Sphinx-based search