Jump to content

Existe t il un moyen de gerer l'aggro ?


PierreDeRosette

Recommended Posts

Salut.

 

Généralement quand le perso perd l'aggro c'est que la cible ne le focus plus, donc:

        var reckoningSpell = new Spell("Reckoning"); // http://www.wowhead.com/spell=62124
        var target = ObjectManager.Target; // Utilise la cible que tu veux

        if (target.IsValid && !target.IsTargetingMe)
        {
            if (reckoningSpell.KnownSpell && reckoningSpell.IsSpellUsable && reckoningSpell.IsDistanceGood)
            {
                reckoningSpell.Launch();
            }
        }

Il y a aussi des fonctions lua si tu veux être plus précis.

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