Jump to content

Certain Mobs immune to certain spells


Grizzler

Recommended Posts

Hey been creating my warrior fight class it works pretty well although when it fights elementals or other types that cant be hit with a rend, I tried the "ObjectManager.Me.Entry !=" with the targets ID but still nothing still tries to rend the target anyhelp is appreciated.

Link to comment
Share on other sites

in C# on my free druid FC i use this boolean to not cast the spell on certain mob types.

    private bool CanBleed(WoWUnit unit)
    {
        return unit.CreatureTypeTarget != "Elemental" && unit.CreatureTypeTarget != "Mechanical";
    }

Edited by eeny
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...