Jump to content
  • Condition suggestion


    Bear T.O.E.
    • Product: WRobot General Type: Suggestion Status: Fixed

    Ok for a Death Knight there is a spell called Control Undead. So what Im suggesting is a condition ( Target is Undead ). This can be usefull in PVP instances as well. But otherwise its best used in dungeons.



    User Feedback

    Recommended Comments

    Hello,

     

    For the moment you can use lua condition with UnitRace.

     

    Sample:

    IsUndead = 0;
    local race, raceEn = UnitRace("target");
    if (raceEn == "Scourge") then IsUndead = 1; end
    

    I'll add this condition directly in fightclass creator during next update.

    Link to comment
    Share on other sites

    Sweet ty, I was also thinking about adding in to the condition Me is Stunned the other styles of stuns like Fear, Sleep, and so on.  Cause there are alot of abilities and specs that could benefit from this.

    Link to comment
    Share on other sites

    Hello,

     

    For the moment you can use lua condition with UnitRace.

     

    Sample:

    IsUndead = 0;
    local race, raceEn = UnitRace("target");
    if (raceEn == "Scourge") then IsUndead = 1; end
    

    I'll add this condition directly in fightclass creator during next update.

    Will this work for NPC's as well?

    Link to comment
    Share on other sites

    Well by the example you posted I should be able to change the creature type to Undead

     

    isUndead = 0;

     

    local creatureType = UnitCreatureType(Undead);

     

    if (creaturetype ==  "Undead") then isUndead = 1; end

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...