Пример #1
0
        public RollService(CharacterService charService, SpecialService specService, SkillsService skillsService, IConfiguration config)
        {
            _charService   = charService;
            _specService   = specService;
            _skillsService = skillsService;
            _config        = config;

            LoadLuckInfluenceConfig();

            _rand = new Random();
        }
Пример #2
0
        public NpcService(NpcPresetService presetService,
                          SkillsService skillsService,
                          StatisticsService statService,
                          Random random)
        {
            _presetService = presetService;
            _skillsService = skillsService;
            _statService   = statService;

            Npcs      = new List <Character>();
            NpcTimers = new Dictionary <Character, Timer>();

            _rand = random;
        }
Пример #3
0
        public ExperienceService(
            CharacterService charService,
            SkillsService skillsService,
            DiscordSocketClient client,
            IConfiguration config)
        {
            _charService   = charService;
            _skillsService = skillsService;
            _client        = client;
            _config        = config;

            cooldownTimers = new Dictionary <ulong, Timer>();
            LoadExperienceEnabledChannels();
            random = new Random();
        }
Пример #4
0
        public RollService(
            EffectsService effectsService,
            RoleplayOptions roleplayOptions,
            SpecialService specService,
            SkillsService skillsService,
            StatisticsService statService,
            Random rand)
        {
            _effectsService  = effectsService;
            _roleplayOptions = roleplayOptions;
            _specService     = specService;
            _skillsService   = skillsService;
            _statService     = statService;

            _rand = rand;
        }
Пример #5
0
 public NpcPresetService(SkillsService skillsService, StatisticsService statsService, IRepository <NpcPreset> presetRepository)
 {
     _presetRepository = presetRepository;
     _skillsService    = skillsService;
     _statsService     = statsService;
 }