/// <summary>
        /// TRUE if you can cast the debuff on the target
        ///   * Do you have a target
        ///   * Can you cast the spell
        ///   * Is the debuff already on the target
        /// </summary>
        /// <param name="spellName">Debuff spell to cast on the target</param>
        /// <returns></returns>
        public static bool CanDebuffTarget(string spellName)
        {
            if (!Me.GotTarget)
            {
                return(false);
            }
            if (!Spell.CanCast(spellName))
            {
                return(false);
            }
            if (CT.HasAura(spellName))
            {
                return(false);
            }
            if (CT.Distance > Spell.MaxDistance(spellName))
            {
                return(false);
            }

            return(true);
        }
 /// <summary>
 /// TRUE is the debuff is on the target.
 /// Similar to CanDebuffTarget except this does not check if you can cast the spell
 /// </summary>
 /// <param name="debuffName"></param>
 /// <returns></returns>
 public static bool IsDebuffOnTarget(string debuffName)
 {
     return(Me.GotTarget && CT.HasAura(debuffName));
 }                                                                                                          //.HasAura(DebuffName)); }