private void UseGhostWolf()
 {
     if (string.IsNullOrWhiteSpace(wManagerSetting.CurrentSetting.GroundMountName) &&
         !new Regeneration().NeedToRun&&
         !Me.HasBuff("Ghost Wolf") &&
         ExampleSettings.CurrentSetting.GhostWolf &&
         !Me.InCombat)
     {
         RotationCombatUtil.CastSpell(GhostWolf, Me);
         Thread.Sleep(Usefuls.Latency);
         Usefuls.WaitIsCasting();
     }
 }
    private void UseBuffs()
    {
        if (Me.IsMounted || Me.InCombatFlagOnly || Fight.InFight || Me.HasBuff("Resurrection Sickness") || Me.HasBuff("Ghost Wolf"))
        {
            return;
        }

        if (Me.HasDebuffType("Poison"))
        {
            RotationCombatUtil.CastSpell(CurePoison, Me);
        }

        if (Me.HasDebuffType("Disease"))
        {
            RotationCombatUtil.CastSpell(CureDisease, Me);
        }

        if (Me.HealthPercent < 60)
        {
            RotationCombatUtil.CastSpell(HealingWave, Me);
        }

        if (Me.HasBuff("Lightning Shield"))
        {
            RotationCombatUtil.CastBuff(LightningShield);
        }

        if (!HasMainHandEnchant())
        {
            UseEnchants();
        }

        if (HasOffhand() && !HasOffhandEnchant())
        {
            UseEnchants();
        }

        if (!HasMainHandEnchant())
        {
            UseEnchants();
        }
    }