Beispiel #1
0
        static float GetComboDamage(AIHeroClient Enemy)
        {
            float damage = 0;

            if (Q.IsReady())
            {
                damage += Q.GetDamage(Enemy);
            }
            if (W.IsReady())
            {
                damage += W.GetDamage(Enemy);
            }
            if (Q2.IsReady())
            {
                damage += Q2.GetDamage(Enemy);
            }
            if (W2.IsReady())
            {
                damage += W2.GetDamage(Enemy);
            }
            if (!Player.Spellbook.IsAutoAttacking)
            {
                damage += (float)ObjectManager.Player.GetAutoAttackDamage(Enemy, true);
            }


            return(damage);
        }
Beispiel #2
0
        /*private static float CalculateCd(float time)
         * {
         *  return time + time*Player.PercentCooldownMod;
         * }*/

        private static float GetComboDamage(Obj_AI_Hero Enemy)
        {
            float damage = 0;

            if (Q.IsReady())
            {
                damage += Q.GetDamage(Enemy);
            }
            if (W.IsReady())
            {
                damage += W.GetDamage(Enemy);
            }
            if (Q2.IsReady())
            {
                damage += Q2.GetDamage(Enemy);
            }
            if (W2.IsReady())
            {
                damage += W2.GetDamage(Enemy);
            }
            if (!Player.IsWindingUp)
            {
                damage += (float)ObjectManager.Player.GetAutoAttackDamage(Enemy, true);
            }


            return(damage);
        }