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

User Tag List

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

    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

    Exclude Spell on Boss? Is it possible (Lua Macro)?
  2. #2
    Eryx's Avatar Former Staff ✲ B26354 ✲ CoreCoins Purchaser Authenticator enabled
    Reputation
    894
    Join Date
    Jul 2011
    Posts
    3,815
    Thanks G/R
    574/277
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  3. #3
    Totoy Tulog's Avatar Member
    Reputation
    3
    Join Date
    May 2015
    Posts
    43
    Thanks G/R
    1/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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; 10-09-2019 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:17 AM. 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