Exemplo n.º 1
0
        private void _updateAttackAndAttackSpeed()
        {
            currentBetweenBulletsTime = timeBetweenBullets;

            currentBetweenBulletsTime -= Player.GetBuffSumValue <IMechanicBuff>(_buff, x => x.MechanicsType == MechanicsType.AttackSpeed);

            currentdamagePerShot = damagePerShot;

            currentdamagePerShot += Player.GetBuffSumValue <IMechanicBuff>(_buffs, x => x.MechanicsType == MechanicsType.Attack);
        }
Exemplo n.º 2
0
        private void _updateMoveSpeed()
        {
            CurrentSpeed = speed;

            CurrentSpeed += _player.GetBuffSumValue(_buffs, x => x.MechanicsType == MechanicsType.MoveSpeed);
        }