Exemplo n.º 1
0
                public async Task addST([Remainder, Summary("stat type")] string stat)
                {
                    if (characters == null)
                    {
                        characters = new List <CharacterNode>();
                    }
                    CharacterNode old = findCharacter(Context.User);

                    if (old == null)
                    {
                        await Context.User.SendMessageAsync("You do not have an active character.");

                        return;
                    }
                    bool s = old.removeSavingThrowProf(stat);

                    if (s)
                    {
                        await Context.User.SendMessageAsync("I added the proficiency for you.");
                    }
                    else
                    {
                        await Context.User.SendMessageAsync("That is not a valid proficiency.");
                    }
                }