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

    Bear T.O.E.

    Posted

    I just thought of another one. For Necrotic Strike to be used properly with the bot there would need to be a ( Target is Self Healing ). Now this is used in PVP situations.

    Droidz

    Posted

    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.

    Bear T.O.E.

    Posted

    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.

    Bear T.O.E.

    Posted

    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?

    Bear T.O.E.

    Posted

    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



    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...