示例#1
0
文件: Game.cs 项目: FeLL1kS/Game
        public void Atack(Hero attacking, Hero attacked)
        {
            int damage;

            if (attacking.buf)
            {
                attacking.Atack(out damage);
                logger.Atack(attacking, attacked, damage);
                attacked.GetDamage(damage + attacking.bufDamage);
            }
            else
            {
                attacking.Atack(out damage);
                logger.Atack(attacking, attacked, damage);
                attacked.GetDamage(damage);
            }
        }