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); }
private void _updateMoveSpeed() { CurrentSpeed = speed; CurrentSpeed += _player.GetBuffSumValue(_buffs, x => x.MechanicsType == MechanicsType.MoveSpeed); }