示例#1
0
        public static async Task SkipTurn(CombatInstance inst, BasicCard player)
        {
            player.IsTurn = false;
            await player.TurnTick();

            await NextTurn(inst);
        }
示例#2
0
        public static async Task UseMove(CombatInstance inst, BasicCard owner, BasicMove move, List <BasicCard> targets)
        {
            await move.MoveEffect(inst, targets);

            if (owner.Actions <= 0)
            {
                await owner.TurnTick();

                owner.Actions = owner.TotalActions;
                owner.IsTurn  = false;
                await NextTurn(inst);
            }
            else
            {
                await MessageHandler.SendMessage(inst.Location, $"It is {owner.Signature}'s turn... Again!");
            }
        }