Ejemplo n.º 1
0
 internal static async Task LoadChosenSpec(Player player, int specindex, ISocketMessageChannel chan)
 {
     player.Specialization = new Specialization(specindex, player.level);
     player.SaveFileMongo();
     await chan.SendMessageAsync($"{player.name} is now specialized as a {player.Specialization.specType} with {player.Specialization.specPoints} spendable Spec Points"
                                 + Environment.NewLine + $"A new reaction option ({EUI.SpecIcon((int)player.Specialization.specType)}) is available under ``~xp``, use it to purchase perks and abilities.");
 }