Esempio n. 1
0
            public async Task setDex(int num)
            {
                if (characters == null)
                {
                    characters = new List <CharacterNode>();
                }
                CharacterNode character = findCharacter(Context.User);

                if (character == null)
                {
                    await Context.User.SendMessageAsync("You have no active character.");
                }
                else
                {
                    character.setDex(num);
                    await Context.User.SendMessageAsync("You have updated your Dexterity to " + num);
                }
            }