示例#1
0
        public async Task StartRaid()
        {
            ContextIds idList = new ContextIds(Context);
            var        user   = UserHandler.GetUser(idList.UserId);

            var combat = CombatHandler.GetInstance(user.CombatID);

            if (!combat.IsDuel && combat.RoundNumber == 0)
            {
                await CombatHandler.InitiateRaid(combat);
            }
        }