public static float CalculateComboDamage(Obj_AI_Hero target, bool ignite, bool smite)
 {
     try
     {
         var damage = 0f;
         if (ignite && Ignite.Exists() && Ignite.IsReady() &&
             target.Position.Distance(ObjectManager.Player.Position) <= Ignite.Range)
         {
             damage += (float)ObjectManager.Player.GetSummonerSpellDamage(target, Damage.SummonerSpell.Ignite);
         }
         if (smite)
         {
             if (BlueSmite.Exists() && BlueSmite.IsReady() &&
                 target.Position.Distance(ObjectManager.Player.Position) <= BlueSmite.Range)
             {
                 damage += CalculateBlueSmiteDamage();
             }
             else if (RedSmite.Exists() && RedSmite.IsReady() &&
                      target.Position.Distance(ObjectManager.Player.Position) <= RedSmite.Range)
             {
                 damage += CalculateRedSmiteDamage();
             }
         }
         return(damage);
     }
     catch (Exception ex)
     {
         Global.Logger.AddItem(new LogItem(ex));
     }
     return(0f);
 }