Exemple #1
0
        protected override bool SetChoice()
        {
            var profession = UserQuest.GetProfession(Choice);

            if (profession != UserQuest.UserProfession.None)
            {
                User.Profession = profession;
            }
            if (User.Profession == UserQuest.UserProfession.Loli && Descriptor.GetAct6Choice() == "true")
            {
                User.AddTitle(UserQuest.UserProfession.ShiroiStocking);
            }
            return(true);
        }
Exemple #2
0
        protected override bool SetChoice()
        {
            var profession = UserQuest.GetProfession(Choice);

            if (profession == UserQuest.UserProfession.None)
            {
                return(false);
            }
            User.Profession = profession;
            User.AddTitle(profession);
            int    count = 0;
            string key   = profession.ToString().ToLower();

            _professionStats.TryGetValue(key, out count);
            _professionStats[key] = count + 1;
            return(true);
        }