public Card Duplicate(bool amountCopy = false) { MagicCard mc = new MagicCard(IsCardUp) { Rule = Rule, ManaCost = ManaCost, PowTgh = PowTgh, Name = Name, Type = Type, Multiverseid = Multiverseid, Rarity = Rarity, Extension = Extension, IsCardUp = IsCardUp, IsInSideboard = IsInSideboard, }; if (amountCopy) { mc.Amount = Amount; } else { mc.Amount = 1; } return(mc); }
public static Card BuildCard(string cardName, string cost, string powTgh, string rulesText, string type, string rarity, string extension, int multiverseid) { MagicCard card = new MagicCard(cardName, true); card.ManaCost = cost; card.PowTgh = powTgh; card.Rule = rulesText; card.Type = type; card.Rarity = rarity; card.Extension = extension; card.Multiverseid = multiverseid; return(card); }