Exemplo n.º 1
0
        protected override bool ShouldDecrepify(out TrinityActor target)
        {
            target = null;
            if (!Skills.Necromancer.Decrepify.CanCast())
            {
                return(false);
            }

            if (Skills.Necromancer.LandOfTheDead.IsBuffActive)
            {
                return(false);
            }

            if (Skills.Necromancer.Decrepify.TimeSinceUse < 350)
            {
                return(false);
            }

            target = TargetUtil.BestDecrepifyTarget(60f);
            return(target != null);
        }