Jump to content

Certain Mobs immune to certain spells


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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...