public async Task Tavern(SocketReaction reaction, IUserMessage msg) { if (EUI.Dice(reaction.Emote.ToString()) == 1) { await GamblingCommands.TavernGames(player, reaction.Channel); return; } switch (reaction.Emote.ToString()) { case EUI.sideQuest: { var qt = User.DailyQuestBoard.Load(player._id); await qt.ShowBoard(player, reaction.Channel); } break; case EUI.bounties: { Areas.AreaPartials.Area tavern = player.Area; if (tavern.parent != null) { tavern = Areas.AreaPartials.Area.LoadArea(tavern.GeneratePath(false) + tavern.parent); } await TavernInteractive.GenerateBountyFile(player, tavern, -1, reaction.Channel); } break; } }
internal void Respawn() { health = Health(); Areas.AreaPartials.Area birthPlace = Areas.AreaPartials.Area.LoadArea(origin); if (birthPlace == null) { origin = "Neitsillia\\Casdam Ilse\\Central Casdam\\Atsauka\\Atsauka"; birthPlace = Areas.AreaPartials.Area.LoadArea(origin); } PopulationHandler.Add(birthPlace, this); }