Esempio n. 1
0
        private static Card SetAffects(Card card)
        {
            Card copy = card.Copy();

            if (card.Position == InGamePosition.Table)
            {
                foreach (Card creature in GameManager.ActivePlayer.Table)
                {
                    foreach (Affect affect in creature.GetAffects())
                    {
                        affect.SetAffect(copy);
                    }
                }

                foreach (Card creature in GameManager.PassivePlayer.Table)
                {
                    foreach (Affect affect in creature.GetAffects())
                    {
                        affect.SetAffect(copy);
                    }
                }
            }

            return(copy);
        }