Healer specialization menu

User Tag List

Results 1 to 2 of 2
  1. #1
    deChad's Avatar Member
    Reputation
    1
    Join Date
    Aug 2010
    Posts
    13
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Healer specialization

    Hello guys,
    please can someone help me?

    I will check the spezialization of the units and when the unit is a healer, then give him the Earth Shield.

    My script makes on each unit where I click the earth shield… Not my vision!
    Code:
    function Ake.SpecID(unit)
    
        local specID = GetSpecializationInfo(GetSpecialization())
    
        if not UnitExists(unit) then
            return false
        end
    
        if specID == 65 or specID == 105 or specID == 256 or specID == 257 or specID == 264 or specID == 270 then
            return true 
        end
        return false
    end
    Code:
    ProbablyEngine.condition.register("healer", function(target)
        if not UnitExists(target) then
            return false
        end
    
        if Ake.SpecID(target) then
            return true
        else
            return false
        end
    end)
    Code:
    { "Earth Shield", { "!target.buff(Earth Shield)", "target.healer" }, "target" },
    What am I doing wrong?

    Best Regards
    dechad
    Last edited by deChad; 02-03-2016 at 12:39 PM.

    Healer specialization
  2. #2
    akeon1's Avatar Contributor
    Reputation
    103
    Join Date
    Sep 2011
    Posts
    265
    Thanks G/R
    3/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not sure if i understand you correctly but are you saying you want to cast earthshield only if the target role is a healer?

    then use this:

    { "Earth Shield", { "!target.buff(Earth Shield)", "target.role(Healer)" }, "target" },

Similar Threads

  1. mmowned special: custom item names
    By Relz in forum World of Warcraft Guides
    Replies: 58
    Last Post: 09-27-2006, 11:51 PM
  2. Nogg-aholic special privilages?
    By dela in forum World of Warcraft General
    Replies: 7
    Last Post: 09-23-2006, 03:40 PM
  3. Healer/Sniper spot (BG=Arathi)
    By GtR[MoÐ] in forum World of Warcraft Exploits
    Replies: 7
    Last Post: 09-16-2006, 11:08 AM
  4. Funny Way To Gank Your Own Faction (Healer)
    By =sinister= in forum World of Warcraft General
    Replies: 3
    Last Post: 07-19-2006, 10:33 AM
  5. Special grinding spots.
    By Cush in forum World of Warcraft Guides
    Replies: 4
    Last Post: 06-14-2006, 04:40 AM
All times are GMT -5. The time now is 02:50 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