Example #1
0
        private JsonResult AddContributor(int id, SearchAddModel m, int origin)
        {
            if (id > 0)
            {
                var p = m.List[0];
                var c = DbUtil.Db.Contributions.Single(cc => cc.ContributionId == id);
                AddPerson(p, m.List, origin, m.EntryPointId);
                c.PeopleId = p.PeopleId;

                if (c.BankAccount.HasValue())
                {
                    var ci = DbUtil.Db.CardIdentifiers.SingleOrDefault(k => k.Id == c.BankAccount);
                    if (ci == null)
                    {
                        ci = new CardIdentifier
                        {
                            Id        = c.BankAccount,
                            CreatedOn = Util.Now,
                        };
                        DbUtil.Db.CardIdentifiers.InsertOnSubmit(ci);
                    }
                    ci.PeopleId = p.PeopleId;
                }
                DbUtil.Db.SubmitChanges();
                return(Json(new { close = true, how = "addselected", cid = id, pid = p.PeopleId, name = p.person.Name2 }));
            }
            return(Json(new { close = true, how = "addselected" }));
        }
Example #2
0
        private ReturnResult AddContributor(int id, int origin)
        {
            var c = DbUtil.Db.Contributions.SingleOrDefault(cc => cc.ContributionId == id);

            if (c != null)
            {
                var p = PendingList[0];
                AddPerson(p, PendingList, origin, EntryPointId);
                c.PeopleId = p.PeopleId;

                if (c.BankAccount.HasValue())
                {
                    var ci = DbUtil.Db.CardIdentifiers.SingleOrDefault(k => k.Id == c.BankAccount);
                    if (ci == null)
                    {
                        ci = new CardIdentifier
                        {
                            Id        = c.BankAccount,
                            CreatedOn = Util.Now
                        };
                        DbUtil.Db.CardIdentifiers.InsertOnSubmit(ci);
                    }
                    ci.PeopleId = p.PeopleId;
                }
                DbUtil.Db.SubmitChanges();
                DbUtil.LogActivity("AddContributor " + c.ContributionId, peopleid: p.PeopleId);
                return(new ReturnResult {
                    close = true, how = "addselected", cid = id, pid = p.PeopleId, name = p.Person.Name2, from = AddContext
                });
            }
            return(new ReturnResult {
                close = true, how = "addselected", from = AddContext
            });
        }
Example #3
0
        public ContentResult NewKeyCard(int pid, string KeyCode)
        {
            if (!Authenticate())
            {
                return(Content("not authorized"));
            }
            var p = DbUtil.Db.LoadPersonById(pid);

            if (p == null)
            {
                return(Content("No person to associate card with"));
            }
            var q = from kc in DbUtil.Db.CardIdentifiers
                    where KeyCode == kc.Id
                    select kc;
            var card = q.SingleOrDefault();

            if (card == null)
            {
                card = new CardIdentifier {
                    Id = KeyCode
                };
                DbUtil.Db.CardIdentifiers.InsertOnSubmit(card);
            }
            card.PeopleId = pid;
            DbUtil.Db.SubmitChanges();
            return(Content("Card Associated"));
        }
Example #4
0
        public ContentResult AddIDCard(string cardid, int personid, bool overwrite = false)
        {
            var error = ADD_ERROR_NONE;

            var card = (from e in DbUtil.Db.CardIdentifiers
                        where e.Id == cardid
                        select e).FirstOrDefault();

            if (card == null)
            {
                var ci = new CardIdentifier();
                ci.Id       = cardid;
                ci.PeopleId = personid;

                DbUtil.Db.CardIdentifiers.InsertOnSubmit(ci);
                DbUtil.Db.SubmitChanges();
            }
            else if (overwrite)
            {
                card.PeopleId = personid;
                DbUtil.Db.SubmitChanges();
            }
            else
            {
                error = ADD_ERROR_EXISTS;
            }

            return(Content(error.ToString()));
            // Error return: 0 = None, 1 = Exists, 2 = Other
        }
 public DataTransfer(CardIdentifier _cardID, GameAction _gameAction, int _other1, int _other2, int _other3, string _str1)
 {
     cardID = _cardID;
     gameAction = _gameAction;
     other1 = _other1;
     other2 = _other2;
     other3 = _other3;
     str1 = _str1;
 }
        public void ExtractCardImageTest()
        {
            Mat definitionImage         = new Mat("testRes\\captured.jpg");
            Mat testImage               = new Mat("testRes\\original.jpg");
            CameraController camera     = new CameraController();
            CardIdentifier   identifier = new CardIdentifier("imageHashMap.json");

            Mat returnedImage = camera.GetCardImage(testImage);

            Assert.AreEqual(identifier.getHash(definitionImage), identifier.getHash(returnedImage));
        }
 public CardInformation(int _grade, TriggerIcon _trigger, SkillIcon _skill, int _shield, string _name, string _race, string _clan, int _critical, int _power, string _mat, CardIdentifier _cardID, string _secondaryClan = "None", bool _bSentinel = false)
 {
     grade = _grade;
     trigger = _trigger;
     skill = _skill;
     shield = _shield;
     name = _name;
     race = _race;
     critical = _critical;
     power = _power;
     clan = _clan;
     mat = _mat;
     cardID = _cardID;
     secondaryClan = _secondaryClan;
     bSentinel = _bSentinel;
 }
Example #8
0
    //load information
    public bool Load(string _file)
    {
        if (0 == _file.Length)
        {
            return(false);
        }

        //create a reader and opne the file
        StreamReader ifs = new StreamReader(Application.dataPath + "/Resources/" + _file);

        //temporary string for reading values
        string line;

        string[] lineParse;
        char[]   delims = { '\n', '\r', '-', '\t' };

        //read the first line : ID
        line = ifs.ReadLine();
        //parse until EOF
        while (line != null)
        {
            //line data : ID
            lineParse = line.Split(delims);
            //confirm the size
            if (4 == lineParse.Length)
            {
                VisualInfo     visualData = new VisualInfo();
                CardIdentifier cardID     = new CardIdentifier(lineParse[0], lineParse[2], lineParse[1]);

                string spritePath   = SpriteFolderPath + cardID.FactionID + "/" + cardID.UniqueID;
                string animatorPath = AnimationControllerFolderPath + cardID.FactionID + "/" + cardID.UniqueID + "_0";

                //load visual information
                if (visualData.Load(spritePath, animatorPath))
                {
                    //add into database
                    spriteDatabase.AddEntry(cardID.ID, ref visualData);
                }
            }
            //read the next line
            line = ifs.ReadLine();
        }

        ifs.Close();

        return(true);
    }
Example #9
0
        public ReturnResult AddContributor(int id, int origin)
        {
            var c = CurrentDatabase.Contributions.SingleOrDefault(cc => cc.ContributionId == id);

            if (c != null)
            {
                var p = PendingList[0];
                AddPerson(p, PendingList, origin, EntryPointId);

                var pushpayev = CurrentDatabase.PeopleExtras.SingleOrDefault(ev => ev.PeopleId == c.PeopleId && ev.Field == "PushPayKey");
                if (pushpayev != null && (c.PeopleId != p.PeopleId))
                {
                    // move the pushpay key with the contribution
                    CurrentDatabase.AddExtraValueDataIfNotExist(p.PeopleId, "PushPayKey", null, null, pushpayev.Data, null, null);
                    CurrentDatabase.PeopleExtras.DeleteOnSubmit(pushpayev);
                }
                c.PeopleId = p.PeopleId;

                if (c.BankAccount.HasValue())
                {
                    var ci = CurrentDatabase.CardIdentifiers.SingleOrDefault(k => k.Id == c.BankAccount);
                    if (ci == null)
                    {
                        ci = new CardIdentifier
                        {
                            Id        = c.BankAccount,
                            CreatedOn = Util.Now
                        };
                        CurrentDatabase.CardIdentifiers.InsertOnSubmit(ci);
                    }
                    ci.PeopleId = p.PeopleId;
                }
                CurrentDatabase.SubmitChanges();
                DbUtil.LogActivity("AddContributor " + c.ContributionId, peopleid: p.PeopleId);
                return(new ReturnResult {
                    close = true, how = "addselected", cid = id, pid = p.PeopleId, name = p.Person.Name2, from = AddContext
                });
            }
            return(new ReturnResult {
                close = true, how = "addselected", from = AddContext
            });
        }
Example #10
0
 public Card SearchInDropZone(CardIdentifier id)
 {
     for(int i =0; i < DropZone.Count; i++)
     {
         if(id == DropZone[i].cardID)
         {
             return DropZone[i];
         }
     }
     return null;
 }
Example #11
0
 public bool IsInSoul(CardIdentifier id)
 {
     return 	Game.field.GetSoulByID(id) != null;
 }
Example #12
0
 public void FromDeckToHand(CardIdentifier id)
 {
     Card tmpCard = Game.playerDeck.RemoveFromDeck(Game.playerDeck.SearchForID_GetIndex(id));
     Game.SendPacket(GameAction.DRAW_FROM_DECK, 1);
     Game.playerHand.AddToHand(tmpCard);
     Game.SendPacket(GameAction.SHOW_CARD_HAND, tmpCard.cardID, Game.playerHand.Size() - 1);
 }
Example #13
0
 public void SendPacket(GameAction action, CardIdentifier cardID, int value)
 {
     if(PlayerVariables.bPlayingOnServer)
     {
         networkView.RPC("SendInformationToOpponent_Server", RPCMode.Server, (int)cardID, (int)action, value, 0, "", 0, Network.player);
     }
     else
     {
         networkView.RPC("SendInformationToOpponent", opponent, (int)cardID, (int)action, value, 0, "", 0);
     }
 }
 public bool HasInHandEffect(Card card)
 {
     Game._LastUnitAbilityCard = card;
     id = card.cardID;
     return CheckHandAbility(id);
 }
    public bool CheckHandAbility(CardIdentifier _id)
    {
        if(_id == CardIdentifier.SOLITARY_KNIGHT_GANCELOT)
        {
            return CheckHandGancelot();
        }
        else if(_id == CardIdentifier.CHAOS_DRAGON_DINOCHAOS)
        {
            return ChaosDragon_Hand();
        }
        else if(_id == CardIdentifier.EDEL_ROSE)
        {
            return EdelRose_Hand();
        }
        else if(_id == CardIdentifier.DESTRUCTION_DRAGON__DARK_REX)
        {
            return DestructionDragonDarkRex_Hand();
        }
        else if(_UnitObject != null)
        {
            return _UnitObject.EffectOnHand();
        }

        return false;
    }
 int GetNumUnits(CardIdentifier id)
 {
     int n = 0;
     if(GetVanguard().cardID == id) n = 1;
     return GetNumRear(id) + n;
 }
Example #17
0
    public void ViewDeck(CardIdentifier cardID1, CardIdentifier cardID2)
    {
        BeginViewDeck(1);
        for(int i = 0; i < cards.Count; i++)
        {
            if(cards[i].cardID == cardID1 || cards[i].cardID == cardID2)
            {
                TotalCards.Add(new Game2DCard(_Game.Data.GetCardInfo(cards[i].cardID)));
            }
        }

        FillDeckView();
    }
Example #18
0
    public int SearchForID_GetIndex(CardIdentifier id)
    {
        for(int i = cards.Count - 1; i >= 0; i--)
        {
            if(cards[i].cardID == id)
            {
                return i;
            }
        }

        /*
        for(int i = 0; i < cards.Count; i++)
        {
            if(cards[i].cardID == id)
            {
                return i;
            }
        }
        */

        return -1;
    }
Example #19
0
    public Card SearchForID(CardIdentifier id)
    {
        for(int i = cards.Count - 1; i >= 0; i--)
        {
            if(cards[i].cardID == id)
            {
                return cards[i];
            }
        }

        return null;
    }
Example #20
0
    public void CloseDeck()
    {
        bViewingDeck = false;
        if(cur2DCardSelected >= 0 && cur2DCardSelected < CardsWatching.Count)
        {
            LastID = CardsWatching[cur2DCardSelected]._CardInfo.cardID;
        }
        _Game.GameChat.ClearChat();

        if(bOrderRemaining)
        {
            for(int i = 0; i < TotalCards.Count; i++)
            {
                if(bUseBottomOrder)
                {
                    AddToBottom(DrawCard());
                }
                else
                {
                    AddCard(DrawCard());
                }
            }
        }
    }
    private void AddSpecialConditions(Card _card, CardIdentifier id)
    {
        //Limit Break 4
        if(id == CardIdentifier.SHURA_STEALTH_DRAGON__KUJIKIRICONGO
           || id == CardIdentifier.STRONGEST_BEAST_DEITY__ETHICS_BUSTER_EXTREME
           || id == CardIdentifier.MACHINING_SPARK_HERCULES
           || id == CardIdentifier.DEADLIEST_BEAST_DEITY__ETHICS_BUSTER______REVERSE_____
           || id == CardIdentifier.DARK_DIMENSIONAL_ROBO_______REVERSE______DAIYUSHA
           || id == CardIdentifier.ORIGINAL_SAVER__ZERO
           || id == CardIdentifier.STAR_VADER__CHAOS_BREAKER_DRAGON
           || id == CardIdentifier.BLUE_WAVE_DRAGON__TETRA_DRIVE_DRAGON
           || id == CardIdentifier.SHURA_STEALTH_DRAGON__KABUKICONGO
           || id == CardIdentifier.LORD_OF_THE_SEVEN_SEAS__NIGHTMIST
           || id == CardIdentifier.ICE_PRISON_HADES_EMPEROR__COCYTUS______REVERSE_____
           || id == CardIdentifier.COBALT_WAVE_DRAGON
           || id == CardIdentifier.SCHOOL_PUNISHER__LEO_PALD______REVERSE_____
           || id == CardIdentifier.HONORARY_PROFESSOR__CHATNOIR
           || id == CardIdentifier.STEALTH_FIEND_DAIDARAHOUSHI
           || id == CardIdentifier.SPACE_DRAGON__DOGURUMADORA
           || id == CardIdentifier.BROKEN_HEART_JEWEL_KNIGHT__ASHLEI________EVERSE_____
           || id == CardIdentifier.LIBERATOR_OF_BONDS__GANCELOT_ZENITH
           || id == CardIdentifier.SALVATION_LION__GRAND_EZEL_SCISSORS
           || id == CardIdentifier.SUNLIGHT_GODDESS__YATAGARASU
           || id == CardIdentifier.OMNISCIENCE_REGALIA__MINERVA
           || id == CardIdentifier.DAUNTLESS_DOMINATE_DRAGON______REVERSE_____
           || id == CardIdentifier.ERADICATOR__IGNITION_DRAGON
           || id == CardIdentifier.ERADICATOR__TEMPEST_BOLT_DRAGON
           || id == CardIdentifier.SANCTUARY_OF_LIGHT__PLANETAL_DRAGON
           || id == CardIdentifier.COVERT_DEMONIC_DRAGON__KAGURABLOOM
           || id == CardIdentifier.COVERT_DEMONIC_DRAGON__HYAKKI_VOGUE______REVERSE_____
           || id == CardIdentifier.MAIDEN_OF_VENUS_TRAP______REVERSE_____
           || id == CardIdentifier.LORD_OF_THE_DEEP_FORESTS__MASTER_WISTERIA
           || id == CardIdentifier.STAR_VADER_OMEGA_GLENDIOS
           || id == CardIdentifier.REVENGER_DESPERATE_DRAGON
           || id == CardIdentifier.REVENGER_DRAGRULER_PHANTOM
           || id == CardIdentifier.LIBERATOR_MONARCH_SANCTUARY_ALFRED
           || id == CardIdentifier.DRAGONIC_OVERLORD_BREAK_RIDE
           || id == CardIdentifier.DRAGONIC_OVERLORD_THE_REBIRTH
           || id == CardIdentifier.STARVADER_REVERSE_CRADLE
           || id == CardIdentifier.SILVER_THORN_DRAGON_EMPRESS_VENUS_LUQUIER
           || id == CardIdentifier.BLUE_STORM_KARMA_DRAGON_MAELSTROM_REVERSE
           || id == CardIdentifier.LIBERATOR_HOLY_SHINE_DRAGON
           || id == CardIdentifier.UNRIVALED_BLADE_ROGUE_CYCLOMATOOTH)
        {
            _card.bHasLimitBreak4 = true;
        }

        //Lord
        if(id == CardIdentifier.SHURA_STEALTH_DRAGON__KUJIKIRICONGO
           || id == CardIdentifier.MACHINING_SPARK_HERCULES
           || id == CardIdentifier.STRONGEST_BEAST_DEITY__ETHICS_BUSTER_EXTREME
           || id == CardIdentifier.DEADLIEST_BEAST_DEITY__ETHICS_BUSTER______REVERSE_____
           || id == CardIdentifier.DARK_DIMENSIONAL_ROBO_______REVERSE______DAIYUSHA
           || id == CardIdentifier.ORIGINAL_SAVER__ZERO
           || id == CardIdentifier.STAR_VADER__CHAOS_BREAKER_DRAGON
           || id == CardIdentifier.BLUE_WAVE_DRAGON__TETRA_DRIVE_DRAGON
           || id == CardIdentifier.SHURA_STEALTH_DRAGON__KABUKICONGO
           || id == CardIdentifier.LORD_OF_THE_SEVEN_SEAS__NIGHTMIST
           || id == CardIdentifier.ICE_PRISON_HADES_EMPEROR__COCYTUS______REVERSE_____
           || id == CardIdentifier.SCHOOL_PUNISHER__LEO_PALD______REVERSE_____
           || id == CardIdentifier.HONORARY_PROFESSOR__CHATNOIR
           || id == CardIdentifier.BROKEN_HEART_JEWEL_KNIGHT__ASHLEI________EVERSE_____
           || id == CardIdentifier.LIBERATOR_OF_BONDS__GANCELOT_ZENITH
           || id == CardIdentifier.SALVATION_LION__GRAND_EZEL_SCISSORS
           || id == CardIdentifier.SUNLIGHT_GODDESS__YATAGARASU
           || id == CardIdentifier.OMNISCIENCE_REGALIA__MINERVA
           || id == CardIdentifier.DAUNTLESS_DOMINATE_DRAGON______REVERSE_____
           || id == CardIdentifier.ERADICATOR__IGNITION_DRAGON
           || id == CardIdentifier.ERADICATOR__TEMPEST_BOLT_DRAGON
           || id == CardIdentifier.COVERT_DEMONIC_DRAGON__KAGURABLOOM
           || id == CardIdentifier.COVERT_DEMONIC_DRAGON__HYAKKI_VOGUE______REVERSE_____
           || id == CardIdentifier.MAIDEN_OF_VENUS_TRAP______REVERSE_____
           || id == CardIdentifier.LORD_OF_THE_DEEP_FORESTS__MASTER_WISTERIA
           || id == CardIdentifier.REVENGER_DESPERATE_DRAGON
           || id == CardIdentifier.REVENGER_DRAGRULER_PHANTOM
           || id == CardIdentifier.LIBERATOR_MONARCH_SANCTUARY_ALFRED
           || id == CardIdentifier.DRAGONIC_OVERLORD_BREAK_RIDE
           || id == CardIdentifier.DRAGONIC_OVERLORD_THE_REBIRTH
           || id == CardIdentifier.STARVADER_REVERSE_CRADLE
           || id == CardIdentifier.SILVER_THORN_DRAGON_EMPRESS_VENUS_LUQUIER
           || id == CardIdentifier.BLUE_STORM_KARMA_DRAGON_MAELSTROM_REVERSE
           || id == CardIdentifier.LIBERATOR_HOLY_SHINE_DRAGON
           || id == CardIdentifier.UNRIVALED_BLADE_ROGUE_CYCLOMATOOTH)
        {
            _card.bLord = true;
        }

        //Sentinel
        if(id == CardIdentifier.STEALTH_BEAST_MIJINGAKURE
           || id == CardIdentifier.BEAST_DEITY__SOLAR_FALCON
           || id == CardIdentifier.DIMENSIONAL_ROBO__DAISHIELD
           || id == CardIdentifier.SUMMONING_JEWEL_KNIGHT__GLORIA
           || id == CardIdentifier.SWORD_FORMATION_LIBERATOR__IGRAINE
           || id == CardIdentifier.GODDESS_OF_THE_SHIELD__AEGIS
           || id == CardIdentifier.SILVER_COLLAR_SNOWSTORM__SASAME
           || id == CardIdentifier.RED_ROSE_MUSKETEER__ANTONIO
           || id == CardIdentifier.HATRED_PRISON_REVENGER_KUESARU
           || id == CardIdentifier.DRAGON_KNIGHT_GIMEL
           || id == CardIdentifier.MACHINING_LADYBUG)
        {
            _card.bSentinel = true;
        }

        if (id == CardIdentifier.KING_OF_KNIGHTS_ALFRED) {
            _card.bCanBeBoostedVanguard = false;
        }
        else if(id == CardIdentifier.NIGHTMARE_DOLL__CHELSEA)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.CLEANUP_CELESTIAL__RAMIEL______REVERSE_____)
        {
            _card.bHasLimitBreak4 = true;
            _card.bLord = true;
        }
        else if(id == CardIdentifier.MIRACLE_POP__EVA)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.AMON_____S_FOLLOWER__VLAD_SPECULA)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.SILVER_THORN_HYPNOS__LYDIA)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.DARK_REVENGER__MAC_LIR)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.BARRIER_STAR_VADER__PROMETHIUM)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.MASTER_OF_FIFTH_ELEMENT)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.SCHWARZSCHILD_DRAGON)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.KING_OF_MASKS__DANTARIAN)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.SILVER_THORN_DRAGON_QUEEN__LUQUIER______REVERSE_____)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.WITCH_OF_CURSED_TALISMAN__ETAIN)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.DEMON_MARQUIS__AMON______REVERSE_____)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.STAR_VADER__NEBULA_LORD_DRAGON)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.ERADICATOR__VOWING_SABER_DRAGON______REVERSE_____)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.DEMON_CONQUERING_DRAGON__DUNGAREE______UNLIMITED_____)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.WOLF_FANG_LIBERATOR__GARMORE)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.REVENGER__RAGING_FORM_DRAGON)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.OPTICS_CANNON_TITAN)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.BLUE_STORM_DRAGON__MAELSTROM)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.SAVAGE_HUNTER)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.THUNDERING_RIPPLE__GENOVIOUS)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.ARMOR_BREAK_DRAGON)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.ANCIENT_DRAGON__SPINODRIVER)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.RAVENOUS_DRAGON__BATTLEREX)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.ANCIENT_DRAGON__TYRANNOLEGEND)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.SEAL_DRAGON__RINOCROSS)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.ERADICATOR__SWEEP_COMMAND_DRAGON)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.LAST_CARD__REVONN)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.DAUNTLESS_DRIVE_DRAGON)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.GODDESS_OF_GOOD_LUCK__FORTUNA)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.HELLFIRE_SEAL_DRAGON__BLOCKADE_INFERNO)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.ERADICATOR__SPARK_HORN_DRAGON)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.INCANDESCENT_LION__BLOND_EZEL)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.ULTIMATE_DIMENSIONAL_ROBO__GREAT_DAIYUSHA)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.DARK_LORD_OF_ABYSS)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.BLUE_FLIGHT_DRAGON__TRANS_CORE_DRAGON)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.PROPHECY_CELESTIAL__RAMIEL)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.SOLIDIFY_CELESTIAL__ZERACHIEL)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.FLASHING_JEWEL_KNIGHT__ISEULT)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.ERADICATOR_WYVERN_GUARD__GULD)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.GODDESS_OF_SELF_SACRIFICE__KUSHINADA)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.HALO_LIBERATOR__MARK)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.RABBIT_HOUSE)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.ARMORED_HEAVY_GUNNER)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.BATTLE_DEITY_OF_THE_NIGHT__ARTEMIS)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.ERADICATOR__GAUNTLET_BUSTER_DRAGON)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.BAD_END_DRAGGER)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.GRATEFUL_CATAPULT)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.BEAST_DEITY__ETHICS_BUSTER)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.ORACLE_QUEEN__HIMIKO)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.ERADICATOR__DRAGONIC_DESCENDANT)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.ETERNAL_GODDESS__IWANAGAHIME)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.LIBERATOR_OF_THE_ROUND_TABLE__ALFRED)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.LEADING_JEWEL_KNIGHT__SALOME)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.PURE_HEART_JEWEL_KNIGHT__ASHLEY)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.SANCTUARY_GUARD_DRAGON)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.BATTLE_MAIDEN__MIZUHA)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.WITCH_OF_WOLVES__SAFFRON)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.REGALIA_OF_WISDOM__ANGELICA)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.SUPER_DIMENSIONAL_ROBO__DAIKAISER)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.STAR_VADER__INFINITE_ZERO_DRAGON)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.TWILIGHT_BARON)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.ILLUSIONARY_REVENGER__MORDRED_PHANTOM)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.DISCHARGING_DRAGON)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.ERADICATOR__VOWING_SWORD_DRAGON)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.SOLITARY_LIBERATOR__GANCELOT)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.GENIE_SOLDAT)
        {
            _card.bRestraintVanguard = true;
            _card.bRestraintRearGuard = true;
        }
        else if(id == CardIdentifier.DRAGON_DANCER__MARIA)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.BLAST_BULK_DRAGON)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.CRUEL_DRAGON)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.TRANSCENDENCE_DRAGON__DRAGONIC_NOUVELLE_VAGUE)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.PLUTO_BLAUKLUGER)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.BLAU_DUNKELHEIT)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.MOND_BLAUKLUGER)
        {
            _card.bHasLimitBreak4 = true;
            _card.bLord = true;
        }
        else if(id == CardIdentifier.GALAXY_BLAUKLUGER)
        {
            _card.bHasLimitBreak4 = true;
            _card.bLord = true;
        }
        else if(id == CardIdentifier.PENTAGONAL_MAGUS)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.TETRA_MAGUS)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.BATTLE_SISTER__PARFAIT)
        {
            _card.bHasLimitBreak4 = true;
            _card.bLord = true;
        }
        else if(id == CardIdentifier.BATTLE_SISTER__MONAKA)
        {
            _card.bHasLimitBreak4 = true;
            _card.bLord = true;
        }
        else if (id == CardIdentifier.BRUTAL_JACK) {
            _card.bRestraintVanguard = true;
            _card.bRestraintRearGuard = true;
        }
        else if(id == CardIdentifier.GOLDEN_BEAST_TAMER)
        {
            _card.bRestraintVanguard = true;
            _card.bRestraintRearGuard = true;
        }
        else if(id == CardIdentifier.PROWLING_DRAGON__STRIKEN)
        {
            _card.bRestraintVanguard = true;
        }
        else if(id == CardIdentifier.IMPRISONED_FALLEN_ANGEL__SARAQAEL)
        {
            _card.bRestraintRearGuard = true;
            _card.bRestraintVanguard = true;
        }
        else if(id == CardIdentifier.MERMAID_IDOL__ELLY)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.STORMRIDE_GHOST_SHIP)
        {
            _card.bRestraintRearGuard = true;
            _card.bRestraintVanguard = true;
        }
        else if(id == CardIdentifier.THUNDER_SPEAR_WIELDING_EXORCIST_KNIGHT)
        {
            _card.bRestraintRearGuard = true;
            _card.bRestraintVanguard = true;
        }
        else if(id == CardIdentifier.DJINN_OF_THE_LIGHTNING_FLASH)
        {
            _card.bCanAttackRearGuard = false;
        }
        else if(id == CardIdentifier.DJINN_OF_THE_LIGHTNING_FLARE)
        {
            _card.bCanAttackRearGuard = false;
        }
        else if(id == CardIdentifier.DJINN_OF_THE_LIGHTNING_SPARK)
        {
            _card.bCanAttackRearGuard = false;
        }
        else if(id == CardIdentifier.BLUE_STORM_SUPREME_DRAGON__GLORY_MAELSTROM)
        {
            _card.bLord = true;
        }
        else if(id == CardIdentifier.GODDESS_OF_THE_SUN__AMATERASU)
        {
            _card.bLord = true;
        }
        else if(id == CardIdentifier.ULTRA_BEAST_DEITY__ILLUMINAL_DRAGON)
        {
            _card.bLord = true;
        }
        else if(id == CardIdentifier.BLAZING_LION__PLATINA_EZEL)
        {
            _card.bLord = true;
        }
        else if(id == CardIdentifier.DRAGONIC_KAISER_VERMILLION______THE_BLOOD_____)
        {
            _card.bLord = true;
        }
        else if(id == CardIdentifier.FANTASY_PETAL_STORM__SHIRAYUKI)
        {
            _card.bLord = true;
        }
        else if(id == CardIdentifier.STARLIGHT_MELODY_TAMER__FARAH)
        {
            _card.bLord = true;
        }
        else if(id == CardIdentifier.BLASTER_BLADE_SPIRIT)
        {
            _card.secondaryClan = "Gold Paladin";
        }
        else if(id == CardIdentifier.EXORCIST_DEMONIC_DRAGON__INDIGO)
        {
            _card.SetBoostConstraint(delegate(Card tmpC)
            {
                return tmpC.grade > 2 && _card.pos != fieldPositions.VANGUARD_CIRCLE;
            });
        }
        else if(id == CardIdentifier.DEITY_SEALING_KID__SOH_KOH)
        {
            _card.bRestraintRearGuard = true;
            _card.bRestraintVanguard = true;

            _card.SetBoostConstraint(delegate(Card tmpC)
            {
                return tmpC.IsVanguard();
            }, "This unit cannot boost a rear-guard.");
        }
        else if(id == CardIdentifier.ETERNAL_IDOL__PACIFICA)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.PR___ISM_PROMISE__LABRADOR)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.PR___ISM_IMAGE__VERT)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.AURORA_STAR__CORAL)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.SHINING_SINGER__IONIA)
        {
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.STEEL_SPEAR_LIBERATOR__BLEOBERIS)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.WISDOM_KEEPER__METIS)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.ERADICATOR__ELECTRIC_SHAPER_DRAGON)
        {
            _card.bLord = true;
            _card.bHasLimitBreak4 = true;
        }
        else if(id == CardIdentifier.EMERALD_SHIELD__PASCHAL)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.BATTLE_SISTER_CHOCOLAT)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.FLASH_SHIELD_ISEULT)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.CABLE_SHEEP)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.WYVERN_GUARD__GULD)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.HALO_SHIELD__MARK)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.PURE_KEEPER__REQUIEL)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.MAIDEN_OF_BLOSSOM_RAIN)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.STEALTH_BEAST__LEAVES_MIRAGE)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.PARALYZE_MADONNA)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.DIAMOND_ACE)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.DARK_SHIELD__MAC_LIR)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.MERMAID_IDOL__ELLY)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.HADES_HYPNOTIST)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.ARCHBIRD)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.MARCH_RABBIT_OF_NIGHTMARELAND)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.TWIN_BLADER)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.GUST_JINN)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.WYVERN_GUARD_BARRI)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.CHEER_GIRL_MARILYN)
        {
            _card.bSentinel = true;
        }
        else if(id == CardIdentifier.HEXAGONAL_MAGUS)
        {
            _card.bHasLimitBreak4 = true;
            _card.bLord = true;
        }
        else if(id == CardIdentifier.IMMORTAL__ASURA_KAISER)
        {
            _card.bHasLimitBreak4 = true;
            _card.bLord = true;
        }
        else if(id == CardIdentifier.DIGNIFIED_SILVER_DRAGON)
        {
            _card.bHasLimitBreak4 = true;
        }
    }
 public string GetImageName(CardIdentifier id)
 {
     int index = (int)id;
     return Card [index].mat;
 }
 /**
  * Returns the number of rear-guards with the corresponding ID.
  */
 int GetNumRear(CardIdentifier id)
 {
     int cnt = 0;
     Game.field.InitFieldIterator();
     while(Game.field.HasNextField())
     {
         Card c = Game.field.CurrentFieldCard();
         if(c != null && c.cardID == id && !c.IsVanguard())
         {
             cnt++;
         }
     }
     return cnt;
 }
Example #24
0
 private void CreateCard(CardIdentifier id)
 {
     TotalCards.Add(new Game2DCard(_Game.Data.GetCardInfo(id)));
 }
 bool IsInRear(CardIdentifier id)
 {
     return Game.field.GetRearCardByID(id) != null;
 }
    public void FillCardWithData(Card _card, CardIdentifier id)
    {
        int index = (int)id;
        _card.grade = Card [index].grade;
        _card.trigger = Card [index].trigger;
        _card.skill = Card [index].skill;
        _card.shield = Card [index].shield;
        _card.name = Card [index].name;
        _card.race = Card [index].race;
        _card.clan = Card [index].clan;
        _card.critical = Card [index].critical;
        _card.power = Card [index].power;
        _card.secondaryClan = Card[index].secondaryClan;
        //_card.faceUpMat = Resources.Load(Card[index].mat, typeof(Material)) as Material;
        Material mat = Resources.Load (Card [index].mat, typeof(Material)) as Material;
        _card.faceUpMat = new Material (Shader.Find ("Diffuse"));
        _card.faceUpMat.mainTexture = Resources.Load ("CardHelper/" + _card.clan + "/" + Card [index].mat) as Texture;//mat.mainTexture;
        _card.faceUpMat.mainTextureOffset = mat.mainTextureOffset;
        _card.faceUpMat.mainTextureScale = mat.mainTextureScale;
        _card.cardID = id;

        AddSpecialConditions (_card, id);
    }
    /// @endcond
    /// @cond
    public void FreeUpdate(CardIdentifier _id)
    {
        if(CurrentExternAbility != -1)
        {
            ExternUpdate[CurrentExternAbility]();
            return;
        }

        for(int i = 0; i < ExternEffects.Count; i++)
        {
            ExternEffects[i].Update();
        }

        if(_id == CardIdentifier.BATTLERAIZER)
        {
            Battleraizer_Update();
        }
        else if(_id == CardIdentifier.BOON_BANA_NA) BoonBanana_Update();
        else if(_id == CardIdentifier.OFFICER_CADET__ASTRAEA) OfficerCadetAstraea_Update();
        else if(_id == CardIdentifier.LIGHT_SIGNALS_PENGUIN_SOLDIER) LightSignalsPenguinSoldier_Update();
        else if(_id == CardIdentifier.DECK_SWEEPER) DeckSweeper_Update();
        else if(_id == CardIdentifier.STEALTH_BEAST__CAT_DEVIL) StealthBeastCatDevil_Update();
        else if(_id == CardIdentifier.STEALTH_ROGUE_OF_BODY_REPLACEMENT__KOKUENMARU) StealthRogueofBodyReplacementKokuenmaru_Update();
        else if(_id == CardIdentifier.STEALTH_BEAST__FLAME_FOX) StealthBeastFlameFox_Update();
        else if(_id == CardIdentifier.STEALTH_BEAST__NIGHT_PANTHER) StealthBeastNightPanther_Update();
        else if(_id == CardIdentifier.STEALTH_ROGUE_OF_SUMMONING__JIRAIYA) StealthRogueofSummoningJiraiya_Update();
        else if(_id == CardIdentifier.STEALTH_BEAST__SPELL_HOUND) StealthBeastSpellHound_Update();
        else if(_id == CardIdentifier.FIRE_JUGGLER) FireJuggler_Update();
        else if(_id == CardIdentifier.BARKING_WYVERN) BarkingWyvern_Update();
        else if(_id == CardIdentifier.DREAMING_SAGE__CORRON) DreamingSageCorron_Update();
        else if(_id == CardIdentifier.ADVANCE_OF_THE_BLACK_CHAINS__KAHEDIN) AdvanceoftheBlackChainsKahedin_Update();
        else if(_id == CardIdentifier.MOBILE_HOSPITAL__ELYSIUM) MobileHospitalElysium_Update();
        else if(_id == CardIdentifier.BEAST_DEITY__BLANK_MARSH) BeastDeityBlankMarsh_Update();
        else if(_id == CardIdentifier.TRI_HOLL_DRACOKID) TrihollDracokid_Update();
        else if(_id == CardIdentifier.STORM_RIDER__NICOLAS) StormRiderNicolas_Update();
        else if(_id == CardIdentifier.STORM_RIDER__DAMON) StormRiderDamon_Update();
        else if(_id == CardIdentifier.STORM_RIDER__LYSANDER) StormRiderLysander_Update();
        else if(_id == CardIdentifier.STEALTH_DRAGON__MAGATSU_WIND) StealthDragonMagatsuWind_Update();
        else if(_id == CardIdentifier.STEALTH_FIEND__OBORO_CART)StealthFiendOboroCart_Update();
        else if(_id == CardIdentifier.BLASTER_BLADE_SPIRIT) BlasterBladeSpirit_Update();
        else if(_id == CardIdentifier.NIGHTMARE_SUMMONER__RAQIEL) NightmareSummonerRaqiel_Update();
        else if(_id == CardIdentifier.STARLIGHT_MELODY_TAMER__FARAH) StarlightMelodyTamerFarah_Update();
        else if(_id == CardIdentifier.LORD_OF_THE_DEMONIC_WINDS__VAYU) LordoftheDemonicWindsVayu_Update();
        else if(_id == CardIdentifier.BATTLER_OF_THE_TWIN_BRUSH__POLARIS) BattleroftheTwinBrushPolaris_Update();
        else if(_id == CardIdentifier.BATTLE_SISTER__COOKIE) BattleSisterCookie_Update();
        else if(_id == CardIdentifier.TRI_STINGER_DRAGON) TristingerDragon_Update();
        else if(_id == CardIdentifier.PLATINUM_BLOND_FOX_SPIRIT__TAMAMO) PlatinumBlondFoxSpiritTamamo_Update();
        else if(_id == CardIdentifier.FANTASY_PETAL_STORM__SHIRAYUKI) FantasyPetalStormShirayuki_Update();
        else if(_id == CardIdentifier.CONVICTION_DRAGON__CHROMEJAILER_DRAGON) ConvictionDragonChromejailerDragon_Update();
        else if(_id == CardIdentifier.COVERT_DEMONIC_DRAGON__MAGATSU_STORM) CovertDemonicDragonMagatsuStorm_Update();
        else if(_id == CardIdentifier.BATTLE_SIREN__CYNTHIA) BattleSirenCynthia_Update();
        else if(_id == CardIdentifier.ACCELERATED_COMMAND) AcceleratedCommand_Update();
        else if(_id == CardIdentifier.TEAR_KNIGHT__CYPRUS) TearKnightCyprus_Update();
        else if(_id == CardIdentifier.KEY_ANCHOR__DABID) KeyAnchorDabid_Update();
        else if(_id == CardIdentifier.NAVALGAZER_DRAGON) NavalgazerDragon_Update();
        else if(_id == CardIdentifier.EXORCIST_MAGE__KOH_KOH) ExorcistMageKohKoh_Update();
        else if(_id == CardIdentifier.DRAGON_MONK__GINKAKU) DragonMonkGinkaku_Update();
        else if(_id == CardIdentifier.DRAGON_MONK__KINKAKU) DragonMonkKinkaku_Update();
        else if(_id == CardIdentifier.OFFICER_CADET__ERIKK) OfficerCadetErikk_Update();
        else if(_id == CardIdentifier.RELIABLE_STRATEGIC_COMMANDER) ReliableStrategicCommander_Update();
        else if(_id == CardIdentifier.STREAM_TROOPER) StreamTrooper_Update();
        else if(_id == CardIdentifier.VETERAN_STRATEGIC_COMMANDER) VeteranStrategicCommander_Update();
        else if(_id == CardIdentifier.DISTANT_SEA_ADVISOR__VASSILIS) DistantSeaAdvisorVassilis_Update();
        else if(_id == CardIdentifier.BABY_PTERO) BabyPtero_Update();
        else if(_id == CardIdentifier.TRANSPORT_DRAGON__BRACHIOPORTER) TransportDragonBrachioporter_Update();
        else if(_id == CardIdentifier.FORTRESS_AMMONITE) FortressAmmonite_Update();
        else if(_id == CardIdentifier.SAVAGE_MAGUS) SavageMagus_Update();
        else if(_id == CardIdentifier.CARRIER_DRAGON__BRACHIOCARRIER) CarrierDragonBrachiocarrier_Update();
        else if(_id == CardIdentifier.SAVAGE_WARLOCK) SavageWarlock_Update();
        else if(_id == CardIdentifier.CITADEL_DRAGON__BRACHIOCASTLE) CitadelDragonBrachiocastle_Update();
        else if(_id == CardIdentifier.BROCCOLINI_MUSKETEER__KIRAH) BroccoliniMusketeerKirah_Update();
        else if(_id == CardIdentifier.FRUITS_BASKET_ELF) FruitsBasketElf_Update();
        else if(_id == CardIdentifier.TULIP_MUSKETEER__MINA) TulipMusketeerMina_Update();
        else if(_id == CardIdentifier.TULIP_MUSKETEER__ALMIRA) TulipMusketeerAlmira_Update();
        else if(_id == CardIdentifier.WORLD_BEARING_TURTLE__AHKBARA) WorldBearingTurtleAhkbara_Update();
        else if(_id == CardIdentifier.EXPLODING_TOMATO) ExplodingTomato_Update();
        else if(_id == CardIdentifier.WORLD_SNAKE__OUROBOROS) WorldSnakeOuroboros_Update();
        else if(_id == CardIdentifier.DIMENSIONAL_ROBO__DAIBATTLES) DimensionalRoboDaibattles_Update();
        else if(_id == CardIdentifier.FIGHTING_SAUCER) FightingSaucer_Update();
        else if(_id == CardIdentifier.SPEEDSTER) Speedster_Update();
        else if(_id == CardIdentifier.MYSTERIOUS_NAVY_ADMIRAL__GOGOTH) MysteriousNavyAdmiralGogoth_Update();
        else if(_id == CardIdentifier.COSMIC_RIDER) CosmicRider_Update();
        else if(_id == CardIdentifier.COSMIC_MOTHERSHIP) CosmicMothership_Update();
        else if(_id == CardIdentifier.COILING_DUCKBILL) CoilingDuckbill_Update();
        else if(_id == CardIdentifier.COMPASS_LION) CompassLion_Update();
        else if(_id == CardIdentifier.THUNDER_SPEAR_WIELDING_EXORCIST_KNIGHT) ThunderSpearWieldingExorcistKnight_Update();
        else if(_id == CardIdentifier.AQUA_BREATH_DRACOKID) AquaBreathDracokid_Update();
        else if(_id == CardIdentifier.MILITARY_DRAGON__RAPTOR_SOLDIER) MilitaryDragonRaptorSoldier_Update();
        else if(_id == CardIdentifier.WINGED_DRAGON__BEAMPTERO) WingedDragonBeamptero_Update();
        else if(_id == CardIdentifier.WINGED_DRAGON__SLASHPTERO) WingedDragonSlashptero_Update();
        else if(_id == CardIdentifier.ARBOROS_DRAGON__RATOON) ArborosDragonRatoon_Update();
        else if(_id == CardIdentifier.DIMENSIONAL_ROBO__DAILANDER) DimensionalRoboDailander_Update();
        else if(_id == CardIdentifier.SUBTERRANEAN_BEAST__MAGMA_LORD) SubterraneanBeastMagmaLord_Update();
        else if(_id == CardIdentifier.ENIGMAN_CYCLONE) EnigmanCyclone_Update();
        else if(_id == CardIdentifier.ARMED_INSTRUCTOR__BISON) ArmedInstructorBison_Update();
        else if(_id == CardIdentifier.TEAR_KNIGHT__VALERIA) TearKnightValeria_Update();
        else if(_id == CardIdentifier.DESTRUCTION_DRAGON__DARK_REX) DestructionDragonDarkRex_Update();
        else if(_id == CardIdentifier.LILY_OF_THE_VALLEY_MUSKETEER__REBECCA) LilyoftheValleyMusketeerRebecca_Update();
        else if(_id == CardIdentifier.HYDRO_HURRICANE_DRAGON) HydroHurricaneDragon_Update();
        else if(_id == CardIdentifier.OPERATOR_GIRL__MIKA) OperatorGirlMika_Update();
        else if(_id == CardIdentifier.LILY_OF_THE_VALLEY_MUSKETEER__KAIVANT) LilyoftheValleyMusketeerKaivant_Update();
        else if(_id == CardIdentifier.MAIDEN_OF_RAINBOW_WOOD) MaidenofRainbowWood_Update();
        else if(_id == CardIdentifier.DREAMY_AMMONITE)
        {
            DreamyAmmonite_Update();
        }
        else if(_id == CardIdentifier.DREAMY_FORTRESS)
        {
            DreamyFortress_Update();
        }
        else if(_id == CardIdentifier.RUNE_WEAVER)
        {
            RuneWeaver_Update();
        }
        else if(_id == CardIdentifier.NIGHTMARE_DOLL__AMY)
        {
            NightmareDollAmy_Update();
        }
        else if(_id == CardIdentifier.GIRL_WHO_CROSSED_THE_GAP)
        {
            GirlWhoCrossedtheGap_Update();
        }
        else if(_id == CardIdentifier.HOPE_CHILD__TURIEL)
        {
            HopeChildTuriel_Update();
        }
        else if(_id == CardIdentifier.PINKY_PIGGY)
        {
            PinkyPiggy_Update();
        }
        else if(_id == CardIdentifier.MIRAGE_MAKER)
        {
            MirageMaker_Update();
        }
        else if(_id == CardIdentifier.MOONSAULT_SWALLOW)
        {
            MoonsaultSwallow_Update();
        }
        else if(_id == CardIdentifier.DEVIL_IN_SHADOW)
        {
            DevilinShadow_Update();
        }
        else if(_id == CardIdentifier.INNOCENT_MAGICIAN)
        {
            InnocentMagician_Update();
        }
        else if(_id == CardIdentifier.BATTLE_SISTER__ECLAIR)
        {
            BattleSisterEclair_Update();
        }
        else if(_id == CardIdentifier.DARK_KNIGHT_OF_NIGHTMARELAND)
        {
            DarkKnightofNightmareland_Update();
        }
        else if(_id == CardIdentifier.DOCTROID_MEGALOS)
        {
            DoctroidMegalos_Update();
        }
        else if(_id == CardIdentifier.SEE_SAW_GAME_LOSER)
        {
            SeesawGameLoser_Update();
        }
        else if(_id == CardIdentifier.DISCIPLE_OF_PAIN)
        {
            DiscipleofPain_Update();
        }
        else if(_id == CardIdentifier.DOCTROID_MICROS)
        {
            DoctroidMicros_Update();
        }
        else if(_id == CardIdentifier.MASTER_OF_PAIN)
        {
            MasterofPain_Update();
        }
        else if(_id == CardIdentifier.BEAUTIFUL_HARPUIA)
        {
            BeautifulHarpuia_Update();
        }
        else if(_id == CardIdentifier.BEAST_IN_HAND)
        {
            BeastinHand_Update();
        }
        else if(_id == CardIdentifier.SEE_SAW_GAME_WINNER)
        {
            SeesawGameWinner_Update();
        }
        else if(_id == CardIdentifier.RULER_CHAMELEON)
        {
            RulerChameleon_Update();
        }
        else if(_id == CardIdentifier.SCHOOLYARD_PRODIGY__LOX)
        {
            SchoolyardProdigyLox_Update();
        }
        else if(_id == CardIdentifier.ACORN_MASTER)
        {
            AcornMaster_Update();
        }
        else if(_id == CardIdentifier.HULA_HOOP_CAPYBARA)
        {
            HulaHoopCapybara_Update();
        }
        else if(_id == CardIdentifier.FEATHER_PENGUIN)
        {
            FeatherPenguin_Update();
        }
        else if(_id == CardIdentifier.FAILURE_SCIENTIST__PONKICHI)
        {
            FailureScientistPonkichi_Update();
        }
        else if(_id == CardIdentifier.ELEMENT_GLIDER)
        {
            ElementGlider_Update();
        }
        else if(_id == CardIdentifier.TICK_TOCK_FLAMINGO)
        {
            TickTockFlamingo_Update();
        }
        else if(_id == CardIdentifier.THUMBTACK_FIGHTER__RESANORI)
        {
            ThumbtackFighterResanori_Update();
        }
        else if(_id == CardIdentifier.EXPLOSION_SCIENTIST__BUNTA)
        {
            ExplosionScientistBunta_Update();
        }
        else if(_id == CardIdentifier.PENCIL_KNIGHT__HAMMSUKE)
        {
            PencilKnightHammsuke_Update();
        }
        else if(_id == CardIdentifier.SPRING_BREEZE_MESSENGER)
        {
            SpringBreezeMessenger_Update();
        }
        else if(_id == CardIdentifier.LOP_EAR_SHOOTER)
        {
            LopEarShooter_Update();
        }
        else if(_id == CardIdentifier.PHOTON_ARCHER__GRIFLET)
        {
            PhotonArcherGriflet_Update();
        }
        else if(_id == CardIdentifier.LITTLE_WITCH__LULU)
        {
            LittleWitchLuLu_Update();
        }
        else if(_id == CardIdentifier.COURTING_SUCCUBUS)
        {
            CourtingSuccubus_Update();
        }
        else if(_id == CardIdentifier.FREE_TRAVELER)
        {
            FreeTraveler_Update();
        }
        else if(_id == CardIdentifier.PURPLE_TRAPEZIST)
        {
            PurpleTrapezist_Update();
        }
        else if(_id == CardIdentifier.BULL_____S_EYE__MIA)
        {
            BullsEyeMia_Update();
        }
        else if(_id == CardIdentifier.FLASK_MARMOSET)
        {
            FlaskMarmoset_Update();
        }
        else if(_id == CardIdentifier.TANK_MOUSE)
        {
            TankMouse_Update();
        }
        else if(_id == CardIdentifier.PENCIL_SQUIRE__HAMMSUKE)
        {
            PencilSquireHammsuke_Update();
        }
        else if(_id == CardIdentifier.PENCIL_HERO__HAMMSUKE)
        {
            PencilHeroHammsuke_Update();
        }
        else if(_id == CardIdentifier.LISTENER_OF_TRUTH__DINDRANE)
        {
            ListenerofTruthDindrane_Update();
        }
        else if(_id == CardIdentifier.YELLOW_BOLT)
        {
            YellowBolt_Update();
        }
        else if(_id == CardIdentifier.EMBLEM_MASTER)
        {
            EmblemMaster_Update();
        }
        else if(_id == CardIdentifier.MAGICIAN_OF_QUANTUM_MECHANICS)
        {
            MagicianofQuantumMechanics_Update();
        }
        else if(_id == CardIdentifier.PEEK_A_BOO)
        {
            Peekaboo_Update();
        }
        else if(_id == CardIdentifier.FIRE_BREEZE__CARRIE)
        {
            FireBreezeCarrie_Update();
        }
        else if(_id == CardIdentifier.SWORD_MAGICIAN__SARAH)
        {
            SwordMagicianSarah_Update();
        }
        else if(_id == CardIdentifier.MONOCULUS_TIGER)
        {
            MonoculusTiger_Update();
        }
        else if(_id == CardIdentifier.LAMP_CAMEL)
        {
            LampCamel_Update();
        }
        else if(_id == CardIdentifier.SCHOOL_DOMINATOR__APT)
        {
            SchoolDominatorApt_Update();
        }
        else if(_id == CardIdentifier.WHITE_HARE_IN_THE_MOON_____S_SHADOW__PELLINORE)
        {
            WhiteHareintheMoonShadowPellinore_Update();
        }
        else if(_id == CardIdentifier.EMERALD_WITCH__LALA)
        {
            EmeraldWitchLaLa_Update();
        }
        else if(_id == CardIdentifier.SILVER_THORN_DRAGON_TAMER__LUQUIER)
        {
            SilverThornDragonTamerLuquier_Update();
        }
        else if(_id == CardIdentifier.BINOCULUS_TIGER)
        {
            BinoculusTiger_Update();
        }
        else if(_id == CardIdentifier.SCHOOL_HUNTER__LEO_PALD)
        {
            SchoolHunterLeopald_Update();
        }
        else if(_id == CardIdentifier.PLASMABITE_DRAGON)
        {
            PlasmabiteDragon_Update();
        }
        else if(_id == CardIdentifier.LIZARD_SOLDIER__RIKI)
        {
            LizardSoldierRiki_Update();
        }
        else if(_id == CardIdentifier.DRAGON_DANCER__RAIRAI)
        {
            DragonDancerRaiRai_Update();
        }
        else if(_id == CardIdentifier.THUNDER_BREAK_DRAGON)
        {
            ThunderBreakDragon_Update();
        }
        else if(_id == CardIdentifier.WYVERN_SUPPLY_UNIT)
        {
            WyvernSupplyUnit_Update();
        }
        else if(_id == CardIdentifier.SILVER_FANG_WITCH)
        {
            SilverFangWitch_Update();
        }
        else if(_id == CardIdentifier.BLESSING_OWL)
        {
            BlessingOwl_Update();
        }
        else if(_id == CardIdentifier.CHARJGAL)
        {
            Charjgal_Update();
        }
        else if(_id == CardIdentifier.EVIL_SLAYING_SWORDSMAN__HAUGAN)
        {
            EvilSlayingSwordsmanHaugan_Update();
        }
        else if(_id == CardIdentifier.BATTLEFIELD_STORM__SAGRAMORE)
        {
            BattlefieldStormSagramore_Update();
        }
        else if(_id == CardIdentifier.SLEYGAL_SWORD)
        {
            SleygalSword_Update();
        }
        else if(_id == CardIdentifier.SLEYGAL_DOUBLE_EDGE)
        {
            SleygalDoubleEdge_Update();
        }
        else if(_id == CardIdentifier.MUSCLE_HERCULES)
        {
            MuscleHercules_Update();
        }
        else if(_id == CardIdentifier.TURBORAIZER)
        {
            Turboraizer_Update();
        }
        else if(_id == CardIdentifier.RISING_PHOENIX)
        {
            RisingPhoenix_Update();
        }
        else if(_id == CardIdentifier.BATTLE_FLAG_KNIGHT__LAUDINE)
        {
            BattleFlagKnightLaudine_Update();
        }
        else if(_id == CardIdentifier.ALMIGHTY_REPORTER)
        {
            AlmightyReporter_Update();
        }
        else if(_id == CardIdentifier.MARVELOUS_HANI)
        {
            MarvelousHani_Update();
        }
        else if(_id == CardIdentifier.BEAST_DEITY__SCARLET_BIRD)
        {
            BeasBeastDeityScarletBird_Update();
        }
        else if(_id == CardIdentifier.BEAST_DEITY__BLACK_TORTOISE)
        {
            BeastDeityBlackTortoise_Update();
        }
        else if(_id == CardIdentifier.MALEVOLENT_DJINN)
        {
            MalevolentDjinn_Update();
        }
        else if(_id == CardIdentifier.LIZARD_SOLDIER__YOWSH)
        {
            LizardSoldierYowsh_Update();
        }
        else if(_id == CardIdentifier.SPARK_KID_DRAGOON)
        {
            SparkKidDragoon_Update();
        }
        else if(_id == CardIdentifier.STEALTH_FIGHTER)
        {
            StealthFighter_Update();
        }
        else if(_id == CardIdentifier.DRAGON_MONK__ENSEI)
        {
            DragonMonkEnsei_Update();
        }
        else if(_id == CardIdentifier.FLAME_OF_VICTORY)
        {
            FlameofVictory_Update();
        }
        else if(_id == CardIdentifier.LITTLE_FIGHTER__CRON)
        {
            LittleFighterCron_Update();
        }
        else if(_id == CardIdentifier.WAVING_OWL)
        {
            WavingOwl_Update();
        }
        else if(_id == CardIdentifier.PROVIDENCE_STRATEGIST)
        {
            ProvidenceStrategist_Update();
        }
        else if(_id == CardIdentifier.SACRED_GUARDIAN_BEAST__ELEPHAS)
        {
            SacredGuardianBeastElephas_Update();
        }
        else if(_id == CardIdentifier.HADES_STEERSMAN)
        {
            HadesSteersman_Update();
        }
        else if(_id == CardIdentifier.SKELETON_ASSAULT_TROOPS_CAPTAIN)
        {
            SkeletonAssaultTroopsCaptain_Update();
        }
        else if(_id == CardIdentifier.CAPTAIN_NIGHTKID)
        {
            CaptainNightkid_Update();
        }
        else if(_id == CardIdentifier.UNDEAD_PIRATE_OF_THE_CURSED_RIFLE)
        {
            PirateoftheCursedRifle_Update();
        }
        else if(_id == CardIdentifier.DRAGON_SPIRIT)
        {
            DragonSpirit_Update();
        }
        else if(_id == CardIdentifier.RIPPLE_BANSHEE)
        {
            RippleBanshee_Update();
        }
        else if(_id == CardIdentifier.JOHN_THE_GHOSTIE)
        {
            JohntheGhostie_Update();
        }
        else if(_id == CardIdentifier.CHILD_FRANK)
        {
            ChildFrank_Update();
        }
        else if(_id == CardIdentifier.SEA_NAVIGATOR__SILVER)
        {
            SeaNavigatorSilver_Update();
        }
        else if(_id == CardIdentifier.SKELETON_COLOSSUS)
        {
            SkeletonColossus_Update();
        }
        else if(_id == CardIdentifier.SUNNY_SMILE_ANGEL)
        {
            SunnySmileAngel_Update();
        }
        else if(_id == CardIdentifier.HAPPY_BELL__NOCIEL)
        {
            HappyBellNociel_Update();
        }
        else if(_id == CardIdentifier.CRITICAL_HIT_ANGEL)
        {
            CriticalHitAngel_Update();
        }
        else if(_id == CardIdentifier.CARRIER_OF_THE_LIFE_WATER)
        {
            CarrieroftheLifeWater_Update();
        }
        else if(_id == CardIdentifier.THERMOMETER_ANGEL)
        {
            ThermometerAngel_Update();
        }
        else if(_id == CardIdentifier.LIGHTNING_CHARGER)
        {
            LightningCharger_Update();
        }
        else if(_id == CardIdentifier.LANCET_SHOOTER)
        {
            LancetShooter_Update();
        }
        else if(_id == CardIdentifier.LIZARD_SOLDIER__SAISHIN)
        {
            LizardSoldierSaishin_Update();
        }
        else if(_id == CardIdentifier.DEMONIC_DRAGON_BERSERKER__GARUDA)
        {
            DemonicDragonBerserkerGaruda_Update();
        }
        else if(_id == CardIdentifier.DESERT_GUNNER__RAIEN)
        {
            DesertGunnerRaien_Update();
        }
        else if(_id == CardIdentifier.RIOT_GENERAL__GYRAS)
        {
            RiotGeneralGyras_Update();
        }
        else if(_id == CardIdentifier.PLAYER_OF_THE_HOLY_AXE__NIMUE)
        {
            PlayeroftheHolyAxeNimue_Update();
        }
        else if(_id == CardIdentifier.MAGE_OF_CALAMITY__TRIPP)
        {
            MageofCalamityTripp_Update();
        }
        else if(_id == CardIdentifier.DEADLY_NIGHTMARE)
        {
            DeadlyNightmare_Update();
        }
        else if(_id == CardIdentifier.CRIMSON_LION_CUB__KYRPH)
        {
            CrimsonLionCubKyrph_Update();
        }
        else if(id == CardIdentifier.THREE_STAR_CHEF__PIETRO)
        {
            ThreeStarChefPietro_Update();
        }
        else if(_id == CardIdentifier.DEADLY_SPIRIT)
        {
            DeadlySpirit_Update();
        }
        else if(_id == CardIdentifier.SKELETON_DEMON_WORLD_KNIGHT)
        {
            SkeletonDemonWorldKnight_Update();
        }
        else if(_id == CardIdentifier.MIRACLE_FEATHER_NURSE)
        {
            MiracleFeatherNurse_Update();
        }
        else if(_id == CardIdentifier.MOBILE_HOSPITAL__FEATHER_PALACE)
        {
            MobileHospitalFeatherPalace_Update();
        }
        else if(_id == CardIdentifier.DEATH_SEEKER__THANATOS)
        {
            DeathSeekerThanatos_Update();
        }
        else if(_id == CardIdentifier.DRAGONIC_DEATHSCYTHE)
        {
            DragonicDeathscythe_Update();
        }
        else if(_id == CardIdentifier.VAJRA_EMPEROR__INDRA)
        {
            VajraEmperorIndra_Update();
        }
        else if(_id == CardIdentifier.LOVE_MACHINE_GUN__NOCIEL)
        {
            LoveMachineGunNociel_Update();
        }
        else if(_id == CardIdentifier.ORACLE_GUARDIAN_APOLLON)
        {
            OracleGuardinApollon_Update();
        }
        else if(_id == CardIdentifier.CORE_MEMORY__ARMAROS)
        {
            CoreMemoryArmaros_Update();
        }
        else if(_id == CardIdentifier.DESERT_GUNNER__SHIDEN)
        {
            DesertGunnerShiden_Update();
        }
        else if(_id == CardIdentifier.PLAYER_OF_THE_HOLY_BOW__VIVIANE)
        {
            PlayeroftheHolyBowViviane_Update();
        }
        else if(_id == CardIdentifier.ICE_PRISON_NECROMANCER__COCYTUS)
        {
            IcePrisonNecromancerCocytus_Update();
        }
        else if(_id == CardIdentifier.BATTLE_CUPID__NOCIEL)
        {
            BattleCupidNociel_Update();
        }
        else if(_id == CardIdentifier.CIRCULAR_SAW__KIRIEL)
        {
            CircularSawKiriel_Update();
        }
        else if(_id == CardIdentifier.MADCAP_MARIONETTE)
        {
            MadcapMarionette_Update();
        }
        else if(_id ==CardIdentifier.DARK_SOUL_CONDUCTOR)
        {
            DarkSoulConductor_Update();
        }
        else if(_id ==CardIdentifier.BIG_LEAGUE_BEAR)
        {
            BigLeagueBear_Update();
        }
        else if(_id == CardIdentifier.SKYHIGH_WALKER)
        {
            SkyhighWalker_Update();
        }
        else if(_id == CardIdentifier.CONJURER_OF_MITHRIL)
        {
            ConjurerofMithril_Update();
        }
        else if(_id ==CardIdentifier.HYSTERIC_SHIRLEY)
        {
            HystericShirley_Update();
        }
        else if(_id == CardIdentifier.ANTHRODROID)
        {
            Anthrodroid_Update();
        }
        else if(_id == CardIdentifier.SUPER_DIMENSIONAL_ROBO__DAILADY)
        {
            SuperDimensionalRoboDailady_Update();
        }
        else if(_id == CardIdentifier.GUIDE_DOLPHIN)
        {
            GuideDolphin_Update();
        }
        else if(_id == CardIdentifier.STEALTH_FIEND__DART_SPIDER)
        {
            StealthFiendDartSpider_Update();
        }
        else if(_id == CardIdentifier.DOOM_BRINGER_GRIFFIN)
        {
            DoomBringerGriffin_Update();
        }
        else if(_id == CardIdentifier.WHITE_HARE_OF_INABA)
        {
            WhiteHareofInaba_Update();
        }
        else if(_id == CardIdentifier.POWERFUL_SAGE__BAIRON)
        {
            PowerfulSageBairon_Update();
        }
        else if(_id == CardIdentifier.NIGHTMARE_PAINTER)
        {
            NightmarePainter_Update();
        }
        else if(_id == CardIdentifier.DREAM_PAINTER)
        {
            DreamPainter_Update();
        }
        else if(_id == CardIdentifier.SILENT_SAGE__SHARON)
        {
            SilentSageSharon_Update();
        }
        else if(_id == CardIdentifier.PHANTOM_BRINGER_DEMON)
        {
            PhantomBringerDemon_Update();
        }
        else if(_id == CardIdentifier.WATERING_ELF)
        {
            WateringElf_Update();
        }
        else if(_id == CardIdentifier.BLADE_SEED_SQUIRE)
        {
            BladeSeedSquire_Update();
        }
        else if(_id == CardIdentifier.KNIGHT_OF_VERDURE__GENE)
        {
            KnightofVerdureGene_Update();
        }
        else if(_id == CardIdentifier.SPIRITUAL_TREE_SAGE__IRMINSUL)
        {
            SpiritualTreeSageIrminsul_Update();
        }
        else if(_id == CardIdentifier.APOCALYPSE_BAT)
        {
            ApocalypseBat_Update();
        }
        else if(_id == CardIdentifier.FLAME_OF_PROMISE__AERMO)
        {
            FlameofPromiseAermo_Update();
        }
        else if(_id == CardIdentifier.STEALTH_BEAST__EVIL_FERRET)
        {
            StealthBeastEvilFerret_Update();
        }
        else if(_id == CardIdentifier.STEALTH_BEAST__MILLION_RAT)
        {
            StealthBeastMillionRat_Update();
        }
        else if(_id == CardIdentifier.KNIGHT_OF_PURGATORY__SKULL_FACE)
        {
            KnightofPurgatorySkullFace_FreeUpdate();
        }
        else if(_id == CardIdentifier.STEALTH_DRAGON__TURBULENT_EDGE)
        {
            StealthDragonTurbulentEdge_Update();
        }
        else if(_id == CardIdentifier.STEALTH_DRAGON__CURSED_BREATH)
        {
            StealthDragonCursedBreath_Update();
        }
        else if(_id == CardIdentifier.STEALTH_DRAGON__VOIDGELGA)
        {
            StealthDragonVoidgelga_Update();
        }
        else if(_id == CardIdentifier.SHIELD_SEED_SQUIRE)
        {
            ShieldSeedSquire_Update();
        }
        else if(_id == CardIdentifier.STEALTH_FIEND__KURAMA_LORD)
        {
            StealthFiendKuramaLord_FreeUpdate();
        }
        else if(_id == CardIdentifier.CAPED_STEALTH_ROGUE__SHANAOU)
        {
            CapedStealthRogueShanaou_Update();
        }
        else if(_id == CardIdentifier.KNIGHT_OF_HARVEST__GENE)
        {
            KnightofHarvestGene_Update();
        }
        else if(_id == CardIdentifier.EVIL_EYE_PRINCESS__EURYALE)
        {
            EvileyePrincessEuryale_Update();
        }
        else if(_id == CardIdentifier.AVATAR_OF_THE_PLAINS__BEHEMOTH)
        {
            AvatarofthePlainsBehemoth_Update();
        }
        else if(_id == CardIdentifier.WINGAL_BRAVE)
        {
            WingalBrave_Update();
        }
        else if(_id == CardIdentifier.STREET_BOUNCER)
        {
            StreetBouncer_Update();
        }
        else if(_id == CardIdentifier.STEALTH_FIEND__MIDNIGHT_CROW)
        {
            StealthFiendMidnightCrow_Update();
        }
        else if(_id == CardIdentifier.MOONLIGHT_WITCH__VAHA)
        {
            MoonlightWitchVaha_Update();
        }
        else if(_id == CardIdentifier.GLASS_BEADS_DRAGON)
        {
            GlassBeadsDragon_Update();
        }
        else if(_id == CardIdentifier.STAR_CALL_TRUMPETER)
        {
            StarCallTrumpeter_Update();
        }
        else if(_id == CardIdentifier.DARK_CAT)
        {
            DarkCat_Update();
        }
        else if(_id == CardIdentifier.METEOR_BREAK_WIZARD)
        {
            MeteorBreakWizard_Update();
        }
        else if(_id == CardIdentifier.MEGACOLONY_BATTLER_B)
        {
            MegacolonyBattlerB_Update();
        }
        else if(_id == CardIdentifier.TOOLKIT_BOY)
        {
            ToolkitBoy_Update();
        }
        else if(_id == CardIdentifier.CURSED_LANCER)
        {
            CursedLancer_Update();
        }
        else if(_id == CardIdentifier.FLAME_SEED_SALAMANDER)
        {
            FlameSeedSalamander_Update();
        }
        else if(_id == CardIdentifier.GRAPPLE_MANIA)
        {
            GrappleMania_Update();
        }
        else if(_id == CardIdentifier.GARNET_DRAGON__FLASH)
        {
            GarnetDragonFlash_Update();
        }
        else if(_id == CardIdentifier.ENIGMAN_SHINE)
        {
            EnigmanShine_Update();
        }
        else if(_id == CardIdentifier.WITCH_OF_NOSTRUM__ARIANRHOD)
        {
            Arianrhod_Update();
        }
        else if(_id == CardIdentifier.BEAST_KNIGHT__GARMORE)
        {
            BeastKnightGarmore_Update();
        }
        else if(id == CardIdentifier.ARMORED_FAIRY__SHUBIELA)
        {
            ArmoredFairyShubiela_Update();
        }
        else if(_id == CardIdentifier.GLOOM_FLYMAN)
        {
            GloomFlyman_Update();
        }
        else if(_id == CardIdentifier.WATER_GANG)
        {
            WaterGang_Update();
        }
        else if(_id == CardIdentifier.BLAUJUNGER)
        {
            Blaujunger_Update();
        }
        else if(_id == CardIdentifier.AMBER_DRAGON__DAWN)
        {
            AmberDragonDawn_Update();
        }
        else if(_id == CardIdentifier.LARVA_MUTANT__GIRAFFA)
        {
            LarvaMutantGiraffa_Update();
        }
        else if(_id == CardIdentifier.VIOLENT_VESPER)
        {
            ViolentVesper_Update();
        }
        else if(_id == CardIdentifier.DEATH_WARDEN_ANT_LION)
        {
            DeathWardenAntLion_Update();
        }
        else if(_id == CardIdentifier.ENIGMAN_FLOW)
        {
            EnigmanFlow_Update();
        }
        else if(_id == CardIdentifier.COSMO_ROAR)
        {
            CosmoRoar_Update();
        }
        else if(_id == CardIdentifier.ENIGMAN_RAIN)
        {
            EnigmanRain_Update();
        }
        else if(_id == CardIdentifier.FULLBAU)
        {
            Fullbau_Update();
        }
        else if(_id == CardIdentifier.DARK_MAGE__BADHABH_CAAR)
        {
            DarkMageBadhabhCaar_Update();
        }
        else if(_id == CardIdentifier.SILVER_SPEAR_DEMON__GUSION)
        {
            SilverSpearDemonGusion_Update();
        }
        else if(_id == CardIdentifier.COSMO_BEAK)
        {
            CosmoBeak_Update();
        }
        else if(_id == CardIdentifier.HEATNAIL_SALAMANDER)
        {
            HeatnailSalamander_Update();
        }
        else if(_id == CardIdentifier.SKULL_WITCH__NEMAIN)
        {
            SkullWitchNemain_Update();
        }
        else if(_id == CardIdentifier.DARKNESS_MAIDEN__MACHA)
        {
            DarknessMaidenMacha_Update();
        }
        else if(_id == CardIdentifier.BERMUDA_TRIANGLE_CADET__SHIZUKU)
        {
            BermudaTriangleCadetShizuku_Update();
        }
        else if(_id == CardIdentifier.NAVY_DOLPHIN__AMUR)
        {
            NavyDolphinAmur_Update();
        }
        else if(_id == CardIdentifier.MERMAID_IDOL__FELUCCA)
        {
            MermaidIdolFelucca_Update();
        }
        else if(_id == CardIdentifier.INTELLI_IDOL__MELVILLE)
        {
            IntelliidolMelville_Update();
        }
        else if(_id == CardIdentifier.PRISM_ON_THE_WATER__MYRTOA)
        {
            PrismontheWaterMyrtoa_Update();
        }
        else if(_id == CardIdentifier.BERMUDA_TRIANGLE_CADET__RIVIERE)
        {
            BermudaTriangleCadetRiviere_Update();
        }
        else if(_id == CardIdentifier.BERMUDA_TRIANGLE_CADET__WEDDELL)
        {
            BermudaTriangleCadetWeddell_Update();
        }
        else if(_id == CardIdentifier.TURQUOISE_BLUE__TYRRHENIA)
        {
            TurquoiseBlueTyrrhenia_Update();
        }
        else if(_id == CardIdentifier.SUPER_IDOL__CERAM)
        {
            SuperIdolCeram_Update();
        }
        else if(_id == CardIdentifier.PEARL_SISTERS__PERLA)
        {
            PearlSistersPerla_Update();
        }
        else if(_id == CardIdentifier.BLOODY_CALF)
        {
            BloodyCalf_Update();
        }
        else if(_id == CardIdentifier.GODDESS_OF_THE_CRESCENT_MOON__TSUKUYOMI)
        {
            GoddessoftheCrescentMoonTsukuyomi_Update();
        }
        else if(_id == CardIdentifier.ORACLE_GUARDIAN__RED_EYE)
        {
            OracleGuardianRedEye_Update();
        }
        else if(_id == CardIdentifier.FAITHFUL_ANGEL)
        {
            FaithfulAngel_Update();
        }
        else if(_id == CardIdentifier.KNIGHT_OF_TRIBULATIONS__GALAHAD)
        {
            KnightofTribulationsGalahad_Update();
        }
        else if(_id == CardIdentifier.KNIGHT_OF_QUESTS__GALAHAD)
        {
            KnightofQuestsGalahad_Update();
        }
        else if(_id == CardIdentifier.BLACK_CANNON_TIGER)
        {
            BlackCannonTiger_Update();
        }
        else if(_id == CardIdentifier.RAGING_DRAGON__SPARKSAURUS)
        {
            RagingDragonSparksaurus_Update();
        }
        else if(_id == CardIdentifier.VACUUM_MAMMOTH)
        {
            VacuumMammoth_Update();
        }
        else if(_id == CardIdentifier.RAINBOW_MAGICIAN)
        {
            RainbowMagician_Update();
        }
        else if(_id == CardIdentifier.HUNGRY_CLOWN)
        {
            HungryClown_Update();
        }
        else if(_id == CardIdentifier.DARK_QUEEN_OF_NIGHTMARELAND)
        {
            DarkQueenofNightmareland_Update();
        }
        else if(_id == CardIdentifier.ELEPHANT_JUGGLER)
        {
            ElephantJuggler_Update();
        }
        else if(_id == CardIdentifier.DECADENT_SUCCUBUS)
        {
            DecadentSuccubus_Update();
        }
        else if(id == CardIdentifier.DEATH_ARMY_GUY)
        {
            DeathArmyGuy_Update();
        }
        else if(_id == CardIdentifier.DEATH_ARMY_LADY)
        {
            DeathArmyLady_Update();
        }
        else if(_id == CardIdentifier.GODHAWK__ICHIBYOSHI)
        {
            GodhawkIchibyoshi_Update();
        }
        else if(_id == CardIdentifier.ORACLE_GUARDIAN__BLUE_EYE)
        {
            OracleGuardianBlueEye_Update();
        }
        else if(id == CardIdentifier.DRANGAL)
        {
            Drangal_Update();
        }
        else if(id == CardIdentifier.RAGING_DRAGON__BLASTSAURUS)
        {
            RagingDragonBlastsaurus_Update();
        }
        else if(id == CardIdentifier.HADES_RINGMASTER)
        {
            HadesRingmaster_Update();
        }
        else if(id == CardIdentifier.MIDNIGHT_BUNNY)
        {
            MidnightBunny_Update();
        }
        else if(_id == CardIdentifier.SKULL_JUGGLER)
        {
            SkullJ_Update();
        }
        else if(_id == CardIdentifier.ALLURING_SUCCUBUS)
        {
            Alluring_Update();
        }
        else if(_id == CardIdentifier.VERMILLION_GATEKEEPER)
        {
            Vermillion_Update();
        }
        else if(_id == CardIdentifier.IMPRISONED_FALLEN_ANGEL__SARAQAEL)
        {
            Saraqael_Update();
        }
        else if(id == CardIdentifier.MIRROR_DEMON)
        {
            MirronDemon_Update();
        }
        else if(_id == CardIdentifier.DUSK_ILLUSIONIST__ROBERT)
        {
            Robert_Update();
        }
        else if(_id == CardIdentifier.GODDESS_OF_THE_HALF_MOON__TSUKUYOMI)
        {
            HalfMoon_Update();
        }
        else if(_id == CardIdentifier.NIGHTMARE_DOLL__ALICE)
        {
            Alice_Update();
        }
        else if(_id == CardIdentifier.STIL_VAMPIR)
        {
            StillVampir_Update();
        }
        else if(_id == CardIdentifier.PROWLING_DRAGON__STRIKEN)
        {
            Striken_Update();
        }
        else if(_id == CardIdentifier.LARK_PIGEON)
        {
            LarkPigeon_Update();
        }
        else if(_id == CardIdentifier.STARTING_PRESENTER)
        {
            Presenter_Update();
        }
        else if(_id == CardIdentifier.CAT_BUTLER)
        {
            CatButler_Update();
        }
        else if(_id == CardIdentifier.NITRO_JUGGLER)
        {
            NitroJuggler_Update();
        }
        else if(_id == CardIdentifier.SAGE_OF_GUIDANCE__ZENON)
        {
            Zenon_Update();
        }
        else if(_id == CardIdentifier.SAVAGE_KING)
        {
            SavageKing_Update();
        }
        else if(_id == CardIdentifier.MACHINING_STAG_BEETLE)
        {
            MachiningStagBeetle_Update();
        }
        else if(_id == CardIdentifier.EXCULPATE_THE_BLASTER)
        {
            ExculpateTheBlaster_Update();
        }
        else if(_id == CardIdentifier.GOLDEN_BEAST_TAMER)
        {
            GoldenBeastTamer_Update();
        }
        else if(_id == CardIdentifier.ONE_WHO_GAZES_AT_THE_TRUTH)
        {
            OneWhoGazes_Update();
        }
        else if(_id == CardIdentifier.CYCLONE_BLITZ)
        {
            CycloneBlitz_Update();
        }
        else if(_id == CardIdentifier.MASTER_FRAUDE)
        {
            MasterFraudo_Update();
        }
        else if(_id == CardIdentifier.DEVIL_SUMMONER)
        {
            DevilSummoner_Update();
        }
        else if(_id == CardIdentifier.BERMUDA_TRIANGLE_CADET_CARAVEL)
        {
            Caravel_Update();
        }
        else if(_id == CardIdentifier.DRAGON_EGG)
        {
            DragonEgg_Update();
        }
        else if(_id == CardIdentifier.LUCK_BIRD)
        {
            LuckBird_Update();
        }
        else if(_id == CardIdentifier.HIGH_DOG_BREEDER_AKANE)
        {
            BreederAkane_Update();
        }
        else if(_id == CardIdentifier.PONGAL)
        {
            Pongal_Update();
        }
        else if(_id == CardIdentifier.GIGANTECH_CHARGER)
        {
            GigantechCharger_Update();
        }
        else if(_id == CardIdentifier.CHAPPIE_THE_GHOSTIE)
        {
            ChappieTheGhostie_Update();
        }
        else if(_id == CardIdentifier.DANCING_CUTLASS)
        {
            DancingCutlass_Update();
        }
        else if(_id == CardIdentifier.DUDLEY_DAN)
        {
            DudleyDan_Update();
        }
        else if(_id == CardIdentifier.UNITE_ATTACKER)
        {
            UnitAttacker_Update();
        }
        else if(_id == CardIdentifier.TOP_IDOL_FLORES)
        {
            TopIdolFlores_Update();
        }
        else if(_id == CardIdentifier.WITCH_DOCTOR_OF_THE_ABYSS_NEGROMARL)
        {
            Negromarl_Update();
        }
        else if(_id == CardIdentifier.KING_OF_DEMONIC_SEAS_BASSKIRK)
        {
            Basskirk_FreeUpdate();
        }
        else if(_id == CardIdentifier.GENERAL_SEIFRIED)
        {
            GeneralSeifried_Update();
        }
        else if(_id == CardIdentifier.BLAZING_FLARE_DRAGON)
        {
            BlazingFlareDragon_Update();
        }
        else if(_id == CardIdentifier.SOUL_SAVER_DRAGON)
        {
            SoulSaverDragon_Update();
        }
        else if(_id == CardIdentifier.RUIN_SHADE)
        {
            RuinShade_Update();
        }
        else if(_id == CardIdentifier.GUIDING_ZOMBIE)
        {
            GuidingZombie_Update();
        }
        else if(_id == CardIdentifier.DEMON_EATER)
        {
            DemonEater_FreeUpdate();
        }
        else if(_id == CardIdentifier.MR_INVINCIBLE)
        {
            MrInvincible_FreeUpdate();
        }
        else if(id == CardIdentifier.BARCGAL)
        {
            Barcgal_Update();
        }
        else if(id == CardIdentifier.DRAGON_KNIGHT_ALEPH)
        {
            DragonKnightAleph_Update();
        }
        else if(id == CardIdentifier.EMBODIMENT_OF_VICTORY_ALEPH)
        {
            EmbodimentVictoryAleph_Update();
        }
        else if(id == CardIdentifier.LOZENGE_MAGUS)
        {
            LozengeMagus_Update();
        }
        else if(id == CardIdentifier.DEMON_SLAYING_KNIGHT_LOHENGRIM)
        {
            Lohengrim_FreeUpdate();
        }
        else if(id == CardIdentifier.FUTURE_KNIGHT_LLEW)
        {
            FutureKnightLlew_Update();
        }
        else if(id == CardIdentifier.VORTEX_DRAGON)
        {
            VortexDragon_FreeUpdate();
        }
        else if(id == CardIdentifier.LIZARD_SOLIDER_CONROE)
        {
            LizardSoldierConroe_Update();
        }
        else if(_UnitObject != null)
        {
            _UnitObject.Update();
        }
    }
 public int CountByID(CardIdentifier id)
 {
     return deckInformationRef.CardList[(int)id];
 }
Example #29
0
    public Card SoulCharge(CardIdentifier id)
    {
        Card tempCard = playerDeck.SearchForID(id);
        playerDeck.RemoveFromDeck(tempCard);
        field.AddToSoul(tempCard);
        tempCard.TurnUp();
        Vector3 newPosition = fieldInfo.GetPosition((int)fieldPositions.VANGUARD_CIRCLE) + new Vector3(0.0f, -0.01f, 0.0f);

        //Vector3 newPosition = EnemyFieldInfo.GetPosition((int)EnemyFieldPosition.VANGUARD) + new Vector3(0.0f, -0.01f, 0.0f);

        tempCard.GoTo (newPosition.x, newPosition.y, newPosition.z);
        SendPacket(GameAction.SOULCHARGE, tempCard.cardID);

        return tempCard;
    }
Example #30
0
    public Card GetDropByID(CardIdentifier id)
    {
        for(int i = 0; i < DropZone.Count; i++)
        {
            if(DropZone[i].cardID == id)
            {
                return DropZone[i];
            }
        }

        return null;
    }
Example #31
0
 public Card GetByID(CardIdentifier id)
 {
     for(int i = 0; i < hand.Count; i++)
     {
         if(hand[i].cardID == id)
         {
             return hand[i];
         }
     }
     return null;
 }
 public void RideFromSoul(CardIdentifier id)
 {
     Card c = Game.field.GetSoulByID(id);
     if(c != null)
     {
         Game.RideFromSoul(c);
     }
 }
Example #33
0
 public bool IsInHand(CardIdentifier id)
 {
     return HandSize(delegate(Card c) { return c.cardID == id; }) > 0;
 }
 public void SetID(CardIdentifier _ID)
 {
     id = _ID;
 }
Example #35
0
 public void OpponentFromBindToDrop(CardIdentifier id)
 {
     Game.SendPacket(GameAction.OPPONENT_FROM_BIND_TO_DROP, id);
 }
    public void SetUnitObject(CardIdentifier id)
    {
        if(id == CardIdentifier.MARTIAL_ARTS_MUTANT__MASTER_BEETLE)  	   		 	        _UnitObject = new MartialArtsMutanMasterBeetle();
        else if(id == CardIdentifier.JUDGEBAU_REVENGER)                                     _UnitObject = new JudgebauRevenger();
        else if(id == CardIdentifier.WILY_REVENGER_MANA)                                    _UnitObject = new WilyRevengerMana();
        else if(id == CardIdentifier.SHARP_FANG_WITCH_FODLA)                                _UnitObject = new SharpFangWitchFodla();
        else if(id == CardIdentifier.UNRIVALED_BLADE_ROGUE_CYCLOMATOOTH)                    _UnitObject = new UnrivaledBladeRogueCyclomatooth();
        else if(id == CardIdentifier.MACHINING_SPARK_HERCULES)                              _UnitObject = new MachiningSparkHercules();
        else if(id == CardIdentifier.BLUE_STORM_GUARDIAN_DRAGON_ICEFALL_DRAGON)             _UnitObject = new BlueStormGuardianDragonIcefallDragon();
        else if(id == CardIdentifier.STARVADER_FREEZE_RAY_DRAGON)                           _UnitObject = new StarvaderFreezeRayDragon();
        else if(id == CardIdentifier.DRAGON_KNIGHT_GIMEL)                                   _UnitObject = new DragonKnightGimel();
        else if(id == CardIdentifier.DRAGONIC_BURNOUT)                                      _UnitObject = new DragonicBurnout();
        else if(id == CardIdentifier.LIBERATOR_STAR_RAIN_TRUMPETER)                         _UnitObject = new LiberatorStarRainTrumpeter();
        else if(id == CardIdentifier.LIBERATOR_HOLY_SHINE_DRAGON)                           _UnitObject = new LiberatorHolyShineDragon();
        else if(id == CardIdentifier.BLACKWINGED_SWORDBREAKER)                              _UnitObject = new BlackwingedSwordbreaker();
        else if(id == CardIdentifier.HATRED_PRISON_REVENGER_KUESARU)                        _UnitObject = new HatredPrisonRevengerKuesaru();
        else if(id == CardIdentifier.REVENGER_BLOODMASTER)                                  _UnitObject = new RevengerBloodmaster();
        else if(id == CardIdentifier.BLUE_STORM_KARMA_DRAGON_MAELSTROM_REVERSE)             _UnitObject = new BlueStormKarmaDragonMaelstromReverse();
        else if(id == CardIdentifier.SILVER_THORN_DRAGON_EMPRESS_VENUS_LUQUIER)             _UnitObject = new SilverThornEmpressVenusLuquier();
        else if(id == CardIdentifier.STARVADER_REVERSE_CRADLE)                              _UnitObject = new StarvaderReverseCradle();
        else if(id == CardIdentifier.DRAGON_MONK_GOJO)                                      _UnitObject = new DragonMonkGojo();
        else if(id == CardIdentifier.DRAGONIC_OVERLORD_THE_REBIRTH)                         _UnitObject = new DragonicOverlordTheRebirth();
        else if(id == CardIdentifier.DRAGONIC_OVERLORD_BREAK_RIDE)                          _UnitObject = new DragonicOverlordBreakRide();
        else if(id == CardIdentifier.LIBERATOR_MONARCH_SANCTUARY_ALFRED)                    _UnitObject = new LiberatorMonarchSanctuaryAlfred();
        else if(id == CardIdentifier.REVENGER_DRAGRULER_PHANTOM)                            _UnitObject = new RevengerDragrulerPhantom();
        else if(id == CardIdentifier.REVENGER_DESPERATE_DRAGON)                             _UnitObject = new RevengerDesperateDragon();
        else if(id == CardIdentifier.STAR_VADER_OMEGA_GLENDIOS)                             _UnitObject = new StarVaderOmegaGlendios();
        else if(id == CardIdentifier.CRIMSON_IMPACT__METATRON)                              _UnitObject = new CrimsonImpactMetatron();
        else if(id == CardIdentifier.MAJESTY_LORD_BLASTER)                                  _UnitObject = new MajestyLordBlaster();
        else if(id == CardIdentifier.DRAGON_KNIGHT__JALAL)                                  _UnitObject = new DragonKnightJalal();
        else if(id == CardIdentifier.SPECTRAL_SHEEP)                                        _UnitObject = new SpectralSheep();
        else if(id == CardIdentifier.ORDAIN_OWL)                                            _UnitObject = new OrdainOwl();
        else if(id == CardIdentifier.GODDESS_OF_UNION__JUNO)                                _UnitObject = new GoddessOfUnionJuno();
        else if(id == CardIdentifier.MYTH_GUARD__ACHERNAR)                                  _UnitObject = new MythGuardAchemar();
        else if(id == CardIdentifier.GRAPE_WITCH__GRAPPA)                                   _UnitObject = new GrapeWitchGrappa();
        else if(id == CardIdentifier.MYTH_GUARD__DENEBOLA)                                  _UnitObject = new MythGuardDenebola();
        else if(id == CardIdentifier.BATTLE_MAIDEN__KAYANARUMI)                             _UnitObject = new BattleMaidenKayanarumi();
        else if(id == CardIdentifier.ORANGE_WITCH__VALENCIA)                                _UnitObject = new OrangeWitchValencia();
        else if(id == CardIdentifier.SCARLET_LION_CUB__CARIA)                               _UnitObject = new ScarletLionCubCaria();
        else if(id == CardIdentifier.ANGELIC_WISEMAN)                                       _UnitObject = new AngelicWiseman();
        else if(id == CardIdentifier.MYTH_GUARD__FOMALHAUT)                                 _UnitObject = new MythGuardFomalhaut();
        else if(id == CardIdentifier.FLYING_SWORD_LIBERATOR__GORLOIS)                       _UnitObject = new FlyingSwordLiberatorGorlois();
        else if(id == CardIdentifier.THROW_BLADE_KNIGHT__MALEAGANT)                         _UnitObject = new ThrowBladeKnightMaleagant();
        else if(id == CardIdentifier.TWIN_HOLY_BEAST__WHITE_LION)                           _UnitObject = new TwinHolyBeastWhiteLion();
        else if(id == CardIdentifier.KNIGHT_OF_PASSION__TOR)                                _UnitObject = new KnightOfPassionTor();
        else if(id == CardIdentifier.GREEN_AXE_KNIGHT__TALIESYN)                            _UnitObject = new GreenAxeKnightTaliesyn();
        else if(id == CardIdentifier.TWIN_HOLY_BEAST__BLACK_LION)                           _UnitObject = new TwinHolyBeastBlackLion();
        else if(id == CardIdentifier.DORGAL_LIBERATOR)                                      _UnitObject = new DorgalLiberator();
        else if(id == CardIdentifier.SACRED_GUARDIAN_BEAST__CERYNEIAN)                      _UnitObject = new SacredGuardianBeastCeryneian();
        else if(id == CardIdentifier.LIBERATOR__BURNING_BLOW)                               _UnitObject = new LiberatorBurningBlow();
        else if(id == CardIdentifier.SECURITY_JEWEL_KNIGHT__ARWEN)                          _UnitObject = new SecurityJewelKnightArwen();
        else if(id == CardIdentifier.DESIRE_JEWEL_KNIGHT__HELOISE)                          _UnitObject = new DesireJewelKnightHeloise();
        else if(id == CardIdentifier.JEWEL_KNIGHT__MELME)                                   _UnitObject = new JewelKnightMelme();
        else if(id == CardIdentifier.SANCTUARY_OF_LIGHT__LITTLE_STORM)                      _UnitObject = new SanctuaryOfLightLittleStorm();
        else if(id == CardIdentifier.JEWEL_KNIGHT__TREANME)                                 _UnitObject = new JewelKnightTreanme();
        else if(id == CardIdentifier.KNIGHT_OF_COURAGE__ECTOR)                              _UnitObject = new KnightOfCourageEctor();
        else if(id == CardIdentifier.MYSTICAL_HERMIT)                                       _UnitObject = new MysticalHermit();
        else if(id == CardIdentifier.MAIDEN_OF_CHERRY_BLOOM)                                _UnitObject = new MaidenOfCherryBloom();
        else if(id == CardIdentifier.MAIDEN_OF_CHERRY_STONE)                                _UnitObject = new MaidenOfCherryStone();
        else if(id == CardIdentifier.WHITE_ROSE_MUSKETEER__ALBERTO)                         _UnitObject = new WhiteRoseMusketeerAlberto();
        else if(id == CardIdentifier.SPIRITUAL_SPHERE_ERADICATOR__NATA)                     _UnitObject = new SpiritualSphereEradicatorNata();
        else if(id == CardIdentifier.CERTAIN_KILL_ERADICATOR__OUEI)                         _UnitObject = new CertainKillEradicatorOuei();
        else if(id == CardIdentifier.STEALTH_ROGUE_OF_UMBRELLA__SUKEROKKU)                  _UnitObject = new StealthRogueOfUmbrellaSukerokku();
        else if(id == CardIdentifier.STEALTH_ROGUE_OF_DEMONIC_HAIR__GURENJISHI)             _UnitObject = new StealthRogueOfDemonicHairGurenjishi();
        else if(id == CardIdentifier.FIRE_GOD__AGNI)                                        _UnitObject = new FireGodAgni();
        else if(id == CardIdentifier.DOMINATE_DRIVE_DRAGON)                                 _UnitObject = new DominateDriveDragon();
        else if(id == CardIdentifier.DRAGON_KNIGHT__SADIG)                                  _UnitObject = new DragonKnightSadig();
        else if(id == CardIdentifier.INVESTIGATING_STEALTH_ROGUE__AMAKUSA)                  _UnitObject = new InvestigatingStealthRogueAmakusa();
        else if(id == CardIdentifier.DRAGON_KNIGHT__AKRAM)                                  _UnitObject = new DragonKnightAkram();
        else if(id == CardIdentifier.KNIGHT_OF_SCORCHING_SCALES__ELIWOOD)                   _UnitObject = new KnightOfScorchingScalesEliwood();
        else if(id == CardIdentifier.BATTLE_MAIDEN__AMENOHOAKARI)                           _UnitObject = new BattleMaidenAmenohoakari();
        else if(id == CardIdentifier.VORPAL_CANNON_DRAGON)                                  _UnitObject = new VorpalCannonDragon();
        else if(id == CardIdentifier.TREASURE_LIBERATOR__CALOGRENANT)                       _UnitObject = new TreasureLiberatorCalogrenant();
        else if(id == CardIdentifier.BLUE_SKY_LIBERATOR__HENGIST)                           _UnitObject = new BlueSkyLiberatorHengist();
        else if(id == CardIdentifier.LINKING_JEWEL_KNIGHT__TILDA)                           _UnitObject = new LinkingJewelKnightTilda();
        else if(id == CardIdentifier.SANCTUARY_OF_LIGHT__PLANET_LANCER)                     _UnitObject = new SanctuaryOfLightPlanetLancer();
        else if(id == CardIdentifier.COVERT_DEMONIC_DRAGON__KAGURABLOOM)                    _UnitObject = new CovertDemonicDragonKaburabloom();
        else if(id == CardIdentifier.SILVER_COLLAR_SNOWSTORM__SASAME)                       _UnitObject = new SilverCollarSnowstormSasame();
        else if(id == CardIdentifier.ERADICATOR__LORENTZ_FORCE_DRAGON)                      _UnitObject = new EradicatorLorentzForceDragon();
        else if(id == CardIdentifier.MAIDEN_OF_VENUS_TRAP______REVERSE_____)                _UnitObject = new MaidenOfVenusTrapReverse();
        else if(id == CardIdentifier.LORD_OF_THE_DEEP_FORESTS__MASTER_WISTERIA)             _UnitObject = new LordOfTheDeepForestsMasterWisteria();
        else if(id == CardIdentifier.RED_ROSE_MUSKETEER__ANTONIO)                           _UnitObject = new RedRoseMusketeerAntonio();
        else if(id == CardIdentifier.SANCTUARY_OF_LIGHT__DETERMINATOR)                      _UnitObject = new SanctuaryOfLightDeterminator();
        else if(id == CardIdentifier.COVERT_DEMONIC_DRAGON__HYAKKI_VOGUE______REVERSE_____) _UnitObject = new CovertDemonicDragonHyakkiVogueReverse();
        else if(id == CardIdentifier.ERADICATOR__TEMPEST_BOLT_DRAGON)                       _UnitObject = new EradicatorTempestBoltDragon();
        else if(id == CardIdentifier.SANCTUARY_OF_LIGHT__PLANETAL_DRAGON)                   _UnitObject = new SanctuaryOfLightPlanetalDragon();
        else if(id == CardIdentifier.BANDING_JEWEL_KNIGHT__MIRANDA)                         _UnitObject = new BandingJewelKnightMiranda();
        else if(id == CardIdentifier.SUMMONING_JEWEL_KNIGHT__GLORIA)                        _UnitObject = new SummoningJewelKnightGloria();
        else if(id == CardIdentifier.SWORD_FORMATION_LIBERATOR__IGRAINE)                    _UnitObject = new SwordFormationLiberatorIgraine();
        else if(id == CardIdentifier.GODDESS_OF_THE_SHIELD__AEGIS)                          _UnitObject = new GoddessOfTheShieldAegis();
        else if(id == CardIdentifier.DAUNTLESS_DOMINATE_DRAGON______REVERSE_____)           _UnitObject = new DauntlessDominateDragonReverse();
        else if(id == CardIdentifier.ERADICATOR__IGNITION_DRAGON)                           _UnitObject = new EradicatorIgnitionDragon();
        else if(id == CardIdentifier.SUNLIGHT_GODDESS__YATAGARASU)                          _UnitObject = new SunlightGoddessYatagarasu();
        else if(id == CardIdentifier.OMNISCIENCE_REGALIA__MINERVA)                          _UnitObject = new OmniscienceRegaliaMinerva();
        else if(id == CardIdentifier.SALVATION_LION__GRAND_EZEL_SCISSORS)                   _UnitObject = new SalvationLionGrandEzelScissors();
        else if(id == CardIdentifier.BROKEN_HEART_JEWEL_KNIGHT__ASHLEI________EVERSE_____)  _UnitObject = new BrokenHeartJewelKnightAshleiReverse();
        else if(id == CardIdentifier.LIBERATOR_OF_BONDS__GANCELOT_ZENITH)                   _UnitObject = new LiberatorOfBondsGancelotZenith();
        else if(id == CardIdentifier.ABYSSAL_SNIPER)                                        _UnitObject = new AbyssalSniper();
        else if(id == CardIdentifier.DEUTERIUMGUN_DRAGON)                                   _UnitObject = new DeuteriumgunDragon();
        else if(id == CardIdentifier.OCEAN_CURRENT_RESCUING_TURTLE_SOLDIER)                 _UnitObject = new OceanCurrentRescuingTurtleSoldier();
        else if(id == CardIdentifier.SHALLOWS_SWEEPER)                                      _UnitObject = new ShallowsSweeper();
        else if(id == CardIdentifier.HEAVY_RUSH_DRAGON)                                     _UnitObject = new HeavyRushDragon();
        else if(id == CardIdentifier.PATROL_SWIMMING_SEAL_SOLDIER)                          _UnitObject = new PatrolSwimmingSealSoldier();
        else if(id == CardIdentifier.APPRENTICE_GUNNER__SOLON)                              _UnitObject = new ApprenticeGunnerSolon();
        else if(id == CardIdentifier.COSMIC_CHEETAH)                                        _UnitObject = new CosmicCheetah();
        else if(id == CardIdentifier.WHISTLE_HYENA)                                         _UnitObject = new WhistleHyena();
        else if(id == CardIdentifier.TELESCOPE_RABBIT)                                      _UnitObject = new TelescopeRabbit();
        else if(id == CardIdentifier.BATTLE_SIREN__MARIKA)                                  _UnitObject = new BattleSirenMarika();
        else if(id == CardIdentifier.MARINE_GENERAL_OF_RAGING_CURRENT__MELTHOS)             _UnitObject = new MarineGeneralOfRagingCurrentMelthos();
        else if(id == CardIdentifier.BATTLE_SIREN__CALLISTA)                                _UnitObject = new BattleSirenCallista();
        else if(id == CardIdentifier.PETER_THE_GHOSTIE)                                     _UnitObject = new PeterTheGhostie();
        else if(id == CardIdentifier.DISCERNING_EYE__SKY_TROOPER)                           _UnitObject = new DiscerningEyeSkyTrooper();
        else if(id == CardIdentifier.GATLING_RAIZER)                                        _UnitObject = new GattlingRaizer();
        else if(id == CardIdentifier.BEAST_DEITY__DESERT_GATOR)                             _UnitObject = new BeastDeityDesertGator();
        else if(id == CardIdentifier.BEAST_DEITY__NIGHT_JACKAL)                             _UnitObject = new BeastDeityNightJackal();
        else if(id == CardIdentifier.COMBINED_MONSTER__BUGLEED)                             _UnitObject = new CombinedMonsterBugleed();
        else if(id == CardIdentifier.ELECTRIC_MONSTER__WHIPPLE)                             _UnitObject = new ElectricMonsterWhipple();
        else if(id == CardIdentifier.ANALYTIC_MONSTER__GIGABOLT)                            _UnitObject = new AnalyticMonsterGigabolt();
        else if(id == CardIdentifier.BEAM_MONSTER__RAYDRAM)                                 _UnitObject = new BeamMonsterRaydram();
        else if(id == CardIdentifier.HYPNOSIS_MONSTER__NECRORY)                             _UnitObject = new HypnosisMonsterNecrory();
        else if(id == CardIdentifier.SUPERMASSIVE_STAR__LADY_GUNNER)                        _UnitObject = new SupermassiveStarLadyGunner();
        else if(id == CardIdentifier.DESTRUCTION_STAR_VADER__TUNGSTEN)                      _UnitObject = new DestructionStarvaderTungsten();
        else if(id == CardIdentifier.PRISON_GATE_STAR_VADER__PALLADIUM)                     _UnitObject = new PrisonGateStarvaderPalladium();
        else if(id == CardIdentifier.ASTEROID_BELT__LADY_GUNNER)                            _UnitObject = new AsteroidBeltLadyGunner();
        else if(id == CardIdentifier.STAR_VADER__CHAOS_BEAT_DRAGON)                         _UnitObject = new StarvaderChaosBeatDragon();
        else if(id == CardIdentifier.BLACK_RING_CHAIN__PLEIADES)                            _UnitObject = new BlackRingChainPleiades();
        else if(id == CardIdentifier.CORROSION_DRAGON__CORRUPT_DRAGON)                      _UnitObject = new CorrosionDragonCorruptDragon();
        else if(id == CardIdentifier.DEATH_ARMY_COMMANDER)                                  _UnitObject = new DeathArmyCommander();
        else if(id == CardIdentifier.TEMPEST_STEALTH_ROGUE_FUUKI)                           _UnitObject = new TempestStealthRogueFuuki();
        else if(id == CardIdentifier.STEALTH_DRAGON_KODACHI_FUBUKI)                         _UnitObject = new StealthDragonKodachifubuki();
        else if(id == CardIdentifier.STEALTH_FIEND_MEZUOU)                                  _UnitObject = new StealthFiendMezuou();
        else if(id == CardIdentifier.FESTIVE_STEALTH_ROGUE_SHUTENMARU)                      _UnitObject = new FestivalStealthRogueShutenmaru();
        else if(id == CardIdentifier.STEALTH_FIEND_MASHIROMOMEN)                            _UnitObject = new StealthFiendMashiromomen();
        else if(id == CardIdentifier.ANESTHESIA_CELESTIAL__RUMAEL)                          _UnitObject = new AnesthesiaCelestialRumael();
        else if(id == CardIdentifier.TENDER_PIGEON)                                         _UnitObject = new TenderPigeon();
        else if(id == CardIdentifier.PENETRATE_CELESTIAL__GADRIEL)                          _UnitObject = new PenetrateCelestialGadriel();
        else if(id == CardIdentifier.STEALTH_FIEND_GOZUOU)                                  _UnitObject = new StealthFiendGozuou();
        else if(id == CardIdentifier.WASHUP_RACCOON)                                        _UnitObject = new WashupRaccoon();
        else if(id == CardIdentifier.SURGICAL_CELESTIAL__BATARIEL)                          _UnitObject = new SurgicalCelestialBatariel();
        else if(id == CardIdentifier.TWINKLEKNIFE_ANGEL)                                    _UnitObject = new TwinkleknifeAngel();
        else if(id == CardIdentifier.DRESSING_BARRAGE__SAHARIEL)                            _UnitObject = new DressingBarrageSahariel();
        else if(id == CardIdentifier.BUBBLE_EDGE_DRACOKID)                                  _UnitObject = new BubbleEdgeDracokid();
        else if(id == CardIdentifier.ABACUS_BEAR)                                           _UnitObject = new AbacusBear();
        else if(id == CardIdentifier.WHEEL_ASSAULT)                                         _UnitObject = new WheelAssault();
        else if(id == CardIdentifier.DIMENSIONAL_ROBO__DAIMAGNUM)                           _UnitObject = new DimensionalRoboDaimagnum();
        else if(id == CardIdentifier.KNIGHT_OF_ENTROPY)                                     _UnitObject = new KnightOfEntropy();
        else if(id == CardIdentifier.PARADISE_ELK)                                          _UnitObject = new ParadiseElk();
        else if(id == CardIdentifier.EARNEST_STAR_VADER__SELENIUM)                          _UnitObject = new EarnestStarvaderSelenium();
        else if(id == CardIdentifier.DEMONIC_SEAS_NECROMANCER__BARBAROS)                    _UnitObject = new DemonicSeasNecromancerBarbaros();
        else if(id == CardIdentifier.SEA_STROLLING_BANSHEE)                                 _UnitObject = new SeaStrollingBanshee();
        else if(id == CardIdentifier.TIDAL_ASSAULT)                                         _UnitObject = new TidalAssault();
        else if(id == CardIdentifier.DIMENSIONAL_ROBO__GOCANNON)                            _UnitObject = new DimensionalRoboGocannon();
        else if(id == CardIdentifier.SPACE_DRAGON__DOGURUMADORA)                            _UnitObject = new SpaceDragonDogurumadora();
        else if(id == CardIdentifier.DIMENSIONAL_ROBO__DAIHEART)                            _UnitObject = new DimensionalRoboDaiheart();
        else if(id == CardIdentifier.STEALTH_BEAST_KUROKO)                                  _UnitObject = new StealthBeastKuroko();
        else if(id == CardIdentifier.BEAST_DEITY__MAX_BEAT)                                 _UnitObject = new BeastDeityMaxBeat();
        else if(id == CardIdentifier.ENERGY_CHARGER)                                        _UnitObject = new EnergyCharger();
        else if(id == CardIdentifier.STEALTH_BEAST_TAMAHAGANE)                              _UnitObject = new StealthBeastTamahagane();
        else if(id == CardIdentifier.STEALTH_FIEND_DAIDARAHOUSHI)                           _UnitObject = new StealthFiendDaidarahoushi();
        else if(id == CardIdentifier.NURSING_CELESTIAL__NARELLE)                            _UnitObject = new NursingCelestialNarelle();
        else if(id == CardIdentifier.OPERATION_CELESTIAL__ARMEN)                            _UnitObject = new OperationCelestialArmen();
        else if(id == CardIdentifier.SCHOOL_PUNISHER__LEO_PALD______REVERSE_____)           _UnitObject = new SchoolPunisherLeopaldReverse();
        else if(id == CardIdentifier.HONORARY_PROFESSOR__CHATNOIR)                          _UnitObject = new HonoraryProfessorChatnoir();
        else if(id == CardIdentifier.ICE_PRISON_HADES_EMPEROR__COCYTUS______REVERSE_____)   _UnitObject = new IcePrisonHadesEmperorCocytusReverse();
        else if(id == CardIdentifier.COBALT_WAVE_DRAGON)                                    _UnitObject = new CobaltWaveDragon();
        else if(id == CardIdentifier.DIMENSIONAL_ROBO__DAISHIELD)                           _UnitObject = new DimensionalRoboDaishield();
        else if(id == CardIdentifier.BEAST_DEITY__BRAINY_PAPIO)                             _UnitObject = new BeastDeityBrainyPapio();
        else if(id == CardIdentifier.STAR_VADER__COLONY_MAKER)                              _UnitObject = new StarvaderColonyMaker();
        else if(id == CardIdentifier.LORD_OF_THE_SEVEN_SEAS__NIGHTMIST)                     _UnitObject = new LordOfTheSevenSeasNightmist();
        else if(id == CardIdentifier.SHURA_STEALTH_DRAGON__KABUKICONGO)                     _UnitObject = new ShuraStealthDragonKabukicongo();
        else if(id == CardIdentifier.STEALTH_BEAST_MIJINGAKURE)                             _UnitObject = new StealthBeastMijingakure();
        else if(id == CardIdentifier.BEAST_DEITY__SOLAR_FALCON)                             _UnitObject = new BeastDeitySolarFalcon();
        else if(id == CardIdentifier.EMERGENCY_CELESTIAL__DANIELLE)                         _UnitObject = new EmergencyCelestialDanielle();
        else if(id == CardIdentifier.BLUE_WAVE_DRAGON__TETRA_DRIVE_DRAGON)                  _UnitObject = new BlueWaveDragonTetraDriveDragon();
        else if(id == CardIdentifier.STAR_VADER__CHAOS_BREAKER_DRAGON)                      _UnitObject = new StarvaderChaosBreakerDragon();
        else if(id == CardIdentifier.POISON_JUGGLER)                                        _UnitObject = new PoisonJuggler();
        else if(id == CardIdentifier.ORIGINAL_SAVER__ZERO)                                  _UnitObject = new OriginalSaverZero();
        else if(id == CardIdentifier.DEADLIEST_BEAST_DEITY__ETHICS_BUSTER______REVERSE_____)_UnitObject = new DeadliestBeastDeityEthicsBusterReverse();
        else if(id == CardIdentifier.DARK_DIMENSIONAL_ROBO_______REVERSE______DAIYUSHA)     _UnitObject = new DarkDimensionalRoboReverseDaiyusha();
        else if(id == CardIdentifier.STRONGEST_BEAST_DEITY__ETHICS_BUSTER_EXTREME)          _UnitObject = new StrongestBeastDeityEthicsBusterExtreme();
        else if(id == CardIdentifier.SHURA_STEALTH_DRAGON__KUJIKIRICONGO)                   _UnitObject = new ShuraStealthDragonKujikiricongo();
        else if(id == CardIdentifier.CLEANUP_CELESTIAL__RAMIEL______REVERSE_____)           _UnitObject = new CleanupCelestialRamielReverse();
        else if(id == CardIdentifier.DIMENSION_CREEPER)                                     _UnitObject = new DimensionCreeper();
        else if(id == CardIdentifier.WERHASE_BANDIT)                                        _UnitObject = new WerhaseBandit();
        else if(id == CardIdentifier.AMON_____S_FOLLOWER__FATE_COLLECTOR)                   _UnitObject = new AmonsFollowerFateCollector();
        else if(id == CardIdentifier.WERFUCHS_HEXER)                                        _UnitObject = new WerfuchsHexer();
        else if(id == CardIdentifier.HUGE_KNIFE_THROWING_EXPERT)                            _UnitObject = new HugeKnifeThrowingExpert();
        else if(id == CardIdentifier.FLYING_HIPPOGRIFF)                                     _UnitObject = new FlyingHippogriff();
        else if(id == CardIdentifier.SILVER_THORN_ASSISTANT__IRINA)                         _UnitObject = new SilverThornAssistantIrina();
        else if(id == CardIdentifier.SILVER_THORN_BEAST_TAMER__ANA)                         _UnitObject = new SilverThornBeastTamerAna();
        else if(id == CardIdentifier.TIGHTROPE_TUMBLER)                                     _UnitObject = new TightropeTumbler();
        else if(id == CardIdentifier.ELEGANT_ELEPHANT)                                      _UnitObject = new ElegantElephant();
        else if(id == CardIdentifier.SILVER_THORN_ASSISTANT__IONELA)                        _UnitObject = new SilverThornAssistantIonela();
        else if(id == CardIdentifier.JOURNEYING_TONE__WILLY)                                _UnitObject = new JourneyingToneWilly();
        else if(id == CardIdentifier.SILVER_THORN_BREATHING_DRAGON)                         _UnitObject = new SilverThornBreathingDragon();
        else if(id == CardIdentifier.TIGHTROPE_HOLDER)                                      _UnitObject = new TightropeHolder();
        else if(id == CardIdentifier.AMON_____S_FOLLOWER__HELL_____S_DEAL)                  _UnitObject = new AmonsFollowerHellsDeal();
        else if(id == CardIdentifier.AMON_____S_FOLLOWER__PHU_GEENLIN)                      _UnitObject = new AmosFollowerPhuGeenlin();
        else if(id == CardIdentifier.NUMBER_OF_TERROR)                                      _UnitObject = new NumberOfTerror();
        else if(id == CardIdentifier.WHITE_NIGHT__FENRIR)                                   _UnitObject = new WhiteNightFenrir();
        else if(id == CardIdentifier.AMON_____S_FOLLOWER__HELL_____S_DRAW)                  _UnitObject = new AmonsFollowerHellsDraw();
        else if(id == CardIdentifier.WERLEOPARD_SOLDAT)                                     _UnitObject = new WerleopardSoldat();
        else if(id == CardIdentifier.FLOG_KNIGHT)                                           _UnitObject = new FlogKnight();
        else if(id == CardIdentifier.GRAVITY_BALL_DRAGON)                                   _UnitObject = new GravityBallDragon();
        else if(id == CardIdentifier.DEMONIC_CLAW_STAR_VADER__LANTHANUM)                    _UnitObject = new DemonicClawStarvaderLanthanum();
        else if(id == CardIdentifier.STRAFE_STAR_VADER__RUTHENIUM)                          _UnitObject = new StrafeStarvaderRuthenium();
        else if(id == CardIdentifier.PARADOX_NAIL__FENRIR)                                  _UnitObject = new ParadoxNailFenrir();
        else if(id == CardIdentifier.FURIOUS_CLAW_STAR_VADER__NIOBIUM)                      _UnitObject = new FuriousClawStarvaderNiobium();
        else if(id == CardIdentifier.GAMMA_BURST__FENRIR)                                   _UnitObject = new GammaBurstFenrir();
        else if(id == CardIdentifier.ONE_WHO_SHOOTS_GRAVITATIONAL_SINGULARITIES)            _UnitObject = new OneWhoShootsGravitationalSingularities();
        else if(id == CardIdentifier.LA_MORT)                                               _UnitObject = new LaMort();
        else if(id == CardIdentifier.PEEKGAL)                                               _UnitObject = new Peekgal();
        else if(id == CardIdentifier.SUNRISE_UNICORN)                                       _UnitObject = new SunriseUnicorn();
        else if(id == CardIdentifier.LIBERATOR__CHEER_UP_TRUMPETER)                         _UnitObject = new LiberatorCheerUpTrumpeter();
        else if(id == CardIdentifier.MAY_RAIN_LIBERATOR__BRUNO)                             _UnitObject = new MayRainLiberatorBruno();
        else if(id == CardIdentifier.SPINBAU_REVENGER)                                      _UnitObject = new SpinbauRevenger();
        else if(id == CardIdentifier.GIGANTECH_PILLAR_FIGHTER)                              _UnitObject = new GigantechPillarFighter();
        else if(id == CardIdentifier.CLOUDY_SKY_LIBERATOR__GERAINT)                         _UnitObject = new CloudySkyLiberatorGeraint();
        else if(id == CardIdentifier.SONBAU)                                                _UnitObject = new Sonbau();
        else if(id == CardIdentifier.CATASTROPHE_STINGER)                                   _UnitObject = new CatastropheStinger();
        else if(id == CardIdentifier.INNOCENT_BLADE__HEARTLESS)                             _UnitObject = new InnocentBladeHeartless();
        else if(id == CardIdentifier.REVENGER_OF_MALICE__DILAN)                             _UnitObject = new RevengerOfMaliceDilan();
        else if(id == CardIdentifier.DEMON_WORLD_CASTLE__ZERSCHLAGEN)                       _UnitObject = new DemonWorldCastleZerschlagen();
        else if(id == CardIdentifier.SHARKBAU_REVENGER)                                     _UnitObject = new SharkbauRevenger();
        else if(id == CardIdentifier.DEMON_WORLD_CASTLE__ZWEISPEER)                         _UnitObject = new DemonWorldCastleZweispeer();
        else if(id == CardIdentifier.SILVER_THORN_RISING_DRAGON)                            _UnitObject = new SilverThornRisingDragon();
        else if(id == CardIdentifier.SILVER_THORN_BEAST_TAMER__MARICICA)                    _UnitObject = new SilveThornBeastTamerMaricica();
        else if(id == CardIdentifier.FIRE_RING_GRYPHON)                                     _UnitObject = new FireRingGryphon();
        else if(id == CardIdentifier.AMON_____S_FOLLOWER__RON_GEENLIN)                      _UnitObject = new AmonsFollowerRonGeenlin();
        else if(id == CardIdentifier.AMON_____S_FOLLOWER__FOOL_____S_PALM)                  _UnitObject = new AmonsFollowerFoolsPalm();
        else if(id == CardIdentifier.WERBEAR_SOLDNER)                                       _UnitObject = new WebearSoldner();
        else if(id == CardIdentifier.AMON_____S_FOLLOWER__PSYCHO_GLAIVE)                    _UnitObject = new AmonsFollowerPsychoGlaive();
        else if(id == CardIdentifier.STAR_VADER__DUST_TAIL_UNICORN)                         _UnitObject = new StarvaderDustTailUnicorn();
        else if(id == CardIdentifier.MICRO_HOLE_DRACOKID)                                   _UnitObject = new MicroholeDracokid();
        else if(id == CardIdentifier.ONE_WHO_OPENS_THE_BLACK_DOOR)                          _UnitObject = new OneWhoOpensTheBlackDoor();
        else if(id == CardIdentifier.LIGHTNING_HAMMER_WIELDING_EXORCIST_KNIGHT)             _UnitObject = new LightingHammerWieldingExorcistKnight();
        else if(id == CardIdentifier.EXORCIST_MAGE__DAN_DAN)                                _UnitObject = new ExorcistMageDanDan();
        else if(id == CardIdentifier.SCHR__DINGER_____S_LION)                               _UnitObject = new SchrodingersLion();
        else if(id == CardIdentifier.GRAVITY_COLLAPSE_DRAGON)                               _UnitObject = new GravityCollapseDragon();
        else if(id == CardIdentifier.HOMING_ERADICATOR__ROCHISHIN)                          _UnitObject = new HomingEradicatorRochisin();
        else if(id == CardIdentifier.LIGHTNING_AXE_WIELDING_EXORCIST_KNIGHT)                _UnitObject = new LightingAxeWieldingExorcistKnight();
        else if(id == CardIdentifier.LIBERATOR__BAGPIPE_ANGEL)                              _UnitObject = new LiberatorBagpipeAngel();
        else if(id == CardIdentifier.FRONTLINE_REVENGER__CLAUDAS)                           _UnitObject = new FrontlineRevengerClaudas();
        else if(id == CardIdentifier.REVENGER__DARK_BOND_TRUMPETER)                         _UnitObject = new RevengerDarkBondTrumpeter();
        else if(id == CardIdentifier.DANCING_PRINCESS_OF_THE_NIGHT_SKY)                     _UnitObject = new DancingPrincessOfTheNightSky();
        else if(id == CardIdentifier.BARRIER_TROOP_REVENGER__DORINT)                        _UnitObject = new BarrierTroopRevengerDorint();
        else if(id == CardIdentifier.NIGHTMARE_DOLL__CHELSEA)                               _UnitObject = new NightmareDollChelsea();
        else if(id == CardIdentifier.MIRACLE_POP__EVA)                                      _UnitObject = new MiraclePopEva();
        else if(id == CardIdentifier.AMON_____S_FOLLOWER__VLAD_SPECULA)                     _UnitObject = new ArmonsFollowerVladSpecula();
        else if(id == CardIdentifier.SILVER_THORN_HYPNOS__LYDIA)                            _UnitObject = new SilverThornHypnosLydia();
        else if(id == CardIdentifier.MASTER_OF_FIFTH_ELEMENT)                               _UnitObject = new MasterOfFifthElement();
        else if(id == CardIdentifier.KING_OF_MASKS__DANTARIAN)                              _UnitObject = new KingOfMasksDantarian();
        else if(id == CardIdentifier.BARCGAL_LIBERATOR)                                     _UnitObject = new BarcgalLiberator();
        else if(id == CardIdentifier.BARRIER_STAR_VADER__PROMETHIUM)                        _UnitObject = new BarrierStarvaderPromethium();
        else if(id == CardIdentifier.IRON_FAN_ERADICATOR__RASETSUNYO)                       _UnitObject = new IronFanEradicatorRasetsunyo();
        else if(id == CardIdentifier.DARK_REVENGER__MAC_LIR)                                _UnitObject = new DarkRevengerMacLir();
        else if(id == CardIdentifier.DARK_CLOAK_REVENGER__TARTU)                            _UnitObject = new DarkCloakRevengerTartu();
        else if(id == CardIdentifier.SCHWARZSCHILD_DRAGON)                                  _UnitObject = new SchwarzchildDragon();
        else if(id == CardIdentifier.DEMON_MARQUIS__AMON______REVERSE_____)                 _UnitObject = new DemonMarquisAmonReverse();
        else if(id == CardIdentifier.SILVER_THORN_DRAGON_QUEEN__LUQUIER______REVERSE_____)  _UnitObject = new SilverThornDragonQueenLuquierReverse();
        else if(id == CardIdentifier.WITCH_OF_CURSED_TALISMAN__ETAIN)                       _UnitObject = new WitchOfCursedTalismanEtain();
        else if(id == CardIdentifier.DEMON_CONQUERING_DRAGON__DUNGAREE______UNLIMITED_____) _UnitObject = new DemonConqueringDragonDungareeUnlimited();
        else if(id == CardIdentifier.STAR_VADER__NEBULA_LORD_DRAGON)                        _UnitObject = new StarvaderNebulaLordDragon();
        else if(id == CardIdentifier.ERADICATOR__VOWING_SABER_DRAGON______REVERSE_____)     _UnitObject = new EradicatorVowingSaberDragonReverse();
        else if(id == CardIdentifier.WOLF_FANG_LIBERATOR__GARMORE)                   _UnitObject = new WolfFangLiberatorGarmore();
        else if(id == CardIdentifier.REVENGER__RAGING_FORM_DRAGON)                   _UnitObject = new RevengerRagingFormDragon();
        else if(id == CardIdentifier.DRAGONIC_KAISER_VERMILLION______THE_BLOOD_____) _UnitObject = new DragonicKaiserVermillionTHEBLOOD();
        else if(id == CardIdentifier.CEO_AMATERASU)                                  _UnitObject = new CEOAmaterasu();
        else if(id == CardIdentifier.KING_OF_KNIGHTS_ALFRED)                         _UnitObject = new Alfred();
        else if(id == CardIdentifier.HELL_SPIDER)                                    _UnitObject = new HellSpider();
        else if(id == CardIdentifier.SKY_DIVER)                                      _UnitObject = new SkyDiver();
        else if(id == CardIdentifier.SCARLET_WITCH_COCO)                             _UnitObject = new ScarletWitchCoCo();
        else if(id == CardIdentifier.CAPTAIN_NIGHTMIST)                              _UnitObject = new CaptainNightmist();
        else if(id == CardIdentifier.PERFECT_RAIZER)                                 _UnitObject = new PerfectRaizer();
        else if(id == CardIdentifier.HI_POWERED_RAIZER_CUSTOM)                       _UnitObject = new RaizerCustom();
        else if(id == CardIdentifier.RAIZER_CUSTOM)                                  _UnitObject = new RaizerCustom2();
        else if(id == CardIdentifier.RIGHT_ARRESTER)                                 _UnitObject = new RightArrester();
        else if(id == CardIdentifier.LEFT_ARRESTER)                                  _UnitObject = new LeftArrester();
        else if(id == CardIdentifier.GODDESS_OF_THE_FULL_MOON__TSUKUYOMI)            _UnitObject = new Tsukuyomi();
        else if(id == CardIdentifier.CRIMSON_BEAST_TAMER)                            _UnitObject = new CrimsonBeastTamer();
        else if(id == CardIdentifier.KNIGHT_OF_GODLY_SPEED__GALAHAD)                 _UnitObject = new Galahad();
        else if(id == CardIdentifier.TURQUOISE_BEAST_TAMER)                          _UnitObject = new TurquoiseBeastTamer();
        else if(id == CardIdentifier.TOP_IDOL__RIVIERE)                              _UnitObject = new TopIdolRiviere();
        else if(id == CardIdentifier.BERMUDA_PRINCESS__LENA)                         _UnitObject = new BermudaPrincessLena();
        else if(id == CardIdentifier.DRAGONIC_KAISER_VERMILLION)                     _UnitObject = new DragonicKaiserVermillion();
        else if(id == CardIdentifier.SUPER_IDOL__RIVIERE)                            _UnitObject = new SuperIdolRiviere();
        else if(id == CardIdentifier.MERMAID_IDOL__RIVIERE)                          _UnitObject = new MermaidIdolRiviere();
        else if(id == CardIdentifier.DRIVE_QUARTET__RESSAC)                          _UnitObject = new DriveQuartetRessac();
        else if(id == CardIdentifier.DRIVE_QUARTET__BUBBLIN)                         _UnitObject = new DriveQuartetBubblin();
        else if(id == CardIdentifier.PHANTOM_BLASTER_DRAGON)                         _UnitObject = new PhantomBlasterDragon();
        else if(id == CardIdentifier.ENIGMAN_STORM)                                  _UnitObject = new EnigmanStorm();
        else if(id == CardIdentifier.AMBER_DRAGON__ECLIPSE)                          _UnitObject = new AmberDragonEclipse();
        else if(id == CardIdentifier.AMBER_DRAGON__DUSK)                             _UnitObject = new AmberDragonDusk();
        else if(id == CardIdentifier.ELITE_MUTANT__GIRAFFA)                          _UnitObject = new EliteMutantGiraffa();
        else if(id == CardIdentifier.STERN_BLAUKLUGER)                               _UnitObject = new SternBlaukluger();
        else if(id == CardIdentifier.BLAUKLUGER)                                     _UnitObject = new Blaukluger();
        else if(id == CardIdentifier.BLASTER_DARK)                                   _UnitObject = new BlasterDark();
        else if(id == CardIdentifier.EISENKUGEL)                                     _UnitObject = new Eisenkugel();
        else if(id == CardIdentifier.BLAUPANZER)                                     _UnitObject = new Blaupanzer();
        else if(id == CardIdentifier.BRUGAL)                                         _UnitObject = new Brugal();
        else if(id == CardIdentifier.GODDESS_OF_FLOWER_DIVINATION__SAKUYA)           _UnitObject = new GoddessOfFlowerDivinationSakuya();
        else if(id == CardIdentifier.COVERT_DEMONIC_DRAGON__MANDALA_LORD)            _UnitObject = new CovertDemonicDragonMandalaLord();
        else if(id == CardIdentifier.PHANTOM_BLASTER_OVERLORD)                       _UnitObject = new PhantomBlasterOverlord();
        else if(id == CardIdentifier.DRAGONIC_OVERLORD_THE_END)                      _UnitObject = new DragonicOverlordTheEnd();
        else if(id == CardIdentifier.HEAVENLY_INJECTOR)                              _UnitObject = new HeavenlyInjector();
        else if(id == CardIdentifier.MISTRESS_HURRICANE)                             _UnitObject = new MistressHurricane();
        else if(id == CardIdentifier.BRIGHTLANCE_DRAGOON)                            _UnitObject = new BrightlanceDragoon();
        else if(id == CardIdentifier.SKY_WITCH__NANA)                                _UnitObject = new SkyWitchNaNa();
        else if(id == CardIdentifier.MAIDEN_OF_TRAILING_ROSE)                        _UnitObject = new MaidenOfTrailingRose();
        else if(id == CardIdentifier.GALACTIC_BEAST__ZEAL)                           _UnitObject = new GalacticBeastZeal();
        else if(id == CardIdentifier.BEAST_DEITY__AZURE_DRAGON)                      _UnitObject = new BeastDeityAzureDragon();
        else if(id == CardIdentifier.BLUE_STORM_SUPREME_DRAGON__GLORY_MAELSTROM)     _UnitObject = new BlueStormSupremeGloryMalestrom();
        else if(id == CardIdentifier.MILITARY_DRAGON__RAPTOR_CAPTAIN)                _UnitObject = new MilitaryDragonRaptorCaptain();
        else if(id == CardIdentifier.STEALTH_BEAST__GIGANTOAD)                       _UnitObject = new StealthBeastGigantoad();
        else if(id == CardIdentifier.MASS_PRODUCTION_SAILOR)                         _UnitObject = new MassProductionSailor();
        else if(id == CardIdentifier.STEALTH_DRAGON__ROYALE_NOVA)                    _UnitObject = new StealthDragonRoyaleNova();
        else if(id == CardIdentifier.EYE_OF_DESTRUCTION__ZEAL)                       _UnitObject = new EyeOfDestructionZeal();
        else if(id == CardIdentifier.BATTLE_SIREN__CARRI)                            _UnitObject = new BattleSirenCagli();
        else if(id == CardIdentifier.BATTLE_SIREN__EUPHENIA)                         _UnitObject = new BattleSirenEuphenia();
        else if(id == CardIdentifier.RED_PENCIL_RHINO)                               _UnitObject = new RedPencilRhino();
        else if(id == CardIdentifier.ARBOROS_DRAGON__BRANCH)                         _UnitObject = new ArborosDragonBranch();
        else if(id == CardIdentifier.SILENT_RIPPLE__SOTIRIO)                         _UnitObject = new SilentRippleSotirio();
        else if(id == CardIdentifier.DRAGON_DANCER__JULIA)                           _UnitObject = new DragonDancerJulia();
        else if(id == CardIdentifier.LIZARD_SOLDIER__RYUUSHIN)                       _UnitObject = new LizardSoldierRyoshin();
        else if(id == CardIdentifier.ERADICATOR__FIRST_THUNDER_DRACOKID)             _UnitObject = new EradicatorFirstThunderDracokid();
        else if(id == CardIdentifier.FLAG_OF_RAIJIN__CORPOSANT)                      _UnitObject = new FlagOfRaijinCorposant();
        else if(id == CardIdentifier.MILITARY_DRAGON__RAPTOR_SERGEANT)               _UnitObject = new MilitaryDragonRaptorSergeant();
        else if(id == CardIdentifier.MOBILE_BATTLESHIP__AKERON)                      _UnitObject = new MobileBattleshipArchelon();
        else if(id == CardIdentifier.TWIN_STRIKE_BRAVE_SHOOTER)                      _UnitObject = new TwinStrikeBraveShooter();
        else if(id == CardIdentifier.OPTICS_MUSKET_TITAN)                            _UnitObject = new TitanOfTheBeamRifle();
        else if(id == CardIdentifier.SAVAGE_ILLUMINATOR)                             _UnitObject = new SavageIlluminator();
        else if(id == CardIdentifier.ANCIENT_DRAGON__BABY_REX)                       _UnitObject = new AncientDragonBabyrex();
        else if(id == CardIdentifier.SAVAGE_PATRIARCH)                               _UnitObject = new SavagePatriarch();
        else if(id == CardIdentifier.ANCIENT_DRAGON__DINODILE)                       _UnitObject = new AncientDragonDinodile();
        else if(id == CardIdentifier.ANCIENT_DRAGON__GATTLING_ALLO)                  _UnitObject = new AncientDragonGattlingaro();
        else if(id == CardIdentifier.STEALTH_DRAGON__MAGATSU_GALE)                   _UnitObject = new StealthDragonMagatsuGale();
        else if(id == CardIdentifier.LAUNCHER_MAMMOTH)                               _UnitObject = new LauncherMammoth();
        else if(id == CardIdentifier.SAVAGE_ARCHER)                                  _UnitObject = new SavageArcher();
        else if(id == CardIdentifier.ANCIENT_DRAGON__TRI_PLASMA)                     _UnitObject = new AncientDragonTriplasma();
        else if(id == CardIdentifier.ANCIENT_DRAGON__STEGOBUSTER)                    _UnitObject = new AncientDragonStegobuster();
        else if(id == CardIdentifier.ANCIENT_DRAGON__DEINO_CLAWED)                   _UnitObject = new AncientDragonDinocrowd();
        else if(id == CardIdentifier.SEAL_DRAGON__ARTPITCH)                          _UnitObject = new SealDragonArtpique();
        else if(id == CardIdentifier.SEAL_DRAGON__TERRYCLOTH)                        _UnitObject = new SealDragonTerrycloth();
        else if(id == CardIdentifier.DEMONIC_DRAGON_MAGE__DIVA)                      _UnitObject = new DemonicDragonMageDeva();
        else if(id == CardIdentifier.RED_PULSE_DRACOKID)                             _UnitObject = new RedPulseDracokid();
        else if(id == CardIdentifier.BREATH_OF_PRIMORDIAL__ROLAMANDRI)               _UnitObject = new BreathOfOriginRolamandri();
        else if(id == CardIdentifier.DEMONIC_DRAGON_MAGE__SHAGARA)                   _UnitObject = new DemonicDragonMageSagara();
        else if(id == CardIdentifier.SEAL_DRAGON__KERSEY)                            _UnitObject = new SealDragonKersey();
        else if(id == CardIdentifier.SEAL_DRAGON__FLANNEL)                           _UnitObject = new SealDragonFlannel();
        else if(id == CardIdentifier.DEMONIC_DRAGON_BERSERKER__KUBANDA)              _UnitObject = new DemonicDragonBerserkerKumbhanda();
        else if(id == CardIdentifier.BLACKBOARD_PARROT)                              _UnitObject = new BlackboardParrot();
        else if(id == CardIdentifier.CURE_DROP_ANGEL)                                _UnitObject = new CureDropAngel();
        else if(id == CardIdentifier.HAZARD_BOB)                                     _UnitObject = new HazardBob();
        else if(id == CardIdentifier.PINEAPPLE_LO)                                   _UnitObject = new PineappleLaw();
        else if(id == CardIdentifier.STEALTH_DRAGON__MAGATSU_BREATH)                 _UnitObject = new StealthDragonMagatsuBreath();
        else if(id == CardIdentifier.WITCH_OF_PROHIBITED_BOOKS__CINNAMON)            _UnitObject = new WitchOfProhibitedBooksCinnamon();
        else if(id == CardIdentifier.SEAL_DRAGON__SPIKE_HELL_DRAGON)                 _UnitObject = new SealDragonSpikeHellDragon();
        else if(id == CardIdentifier.SEAL_DRAGON__CORDUROY)                          _UnitObject = new SealDragonCorduroy();
        else if(id == CardIdentifier.VIVID_RABBIT)                                   _UnitObject = new VividRabbit();
        else if(id == CardIdentifier.ANCIENT_DRAGON__IGUANOGORG)                     _UnitObject = new AncientDragonIguanogorg();
        else if(id == CardIdentifier.DEMONIC_SWORD_ERADICATOR__RAIOH)                _UnitObject = new DemonicSwordEradicatorRaioh();
        else if(id == CardIdentifier.IRON_BLOOD_ERADICATOR__SHUKI)                   _UnitObject = new SteelbloodedEradicatorShuki();
        else if(id == CardIdentifier.OPTICS_CANNON_TITAN)                            _UnitObject = new TitanOfTheBeamCannonTower();
        else if(id == CardIdentifier.RISING_RIPPLE__PAVROTH)                         _UnitObject = new RisingRipplePavroth();
        else if(id == CardIdentifier.STARTING_RIPPLE__ALECS)                         _UnitObject = new StartingRippleAlecs();
        else if(id == CardIdentifier.BOOTING_CELESTIAL__SANDALPHON)                  _UnitObject = new BootingCelestialSandalphon();
        else if(id == CardIdentifier.CAPSULE_GIFT_NURSE)                             _UnitObject = new CapsuleGiftNurse();
        else if(id == CardIdentifier.DOCTROID_ARGUS)                                 _UnitObject = new DoctroidArgus();
        else if(id == CardIdentifier.ORDER_CELESTIAL__YEQON)                         _UnitObject = new OrderCelestialYeqon();
        else if(id == CardIdentifier.DRUG_STORE_NURSE)                               _UnitObject = new DrugstoreNurse();
        else if(id == CardIdentifier.SAVAGE_HUNTER)                                  _UnitObject = new SavageHunter();
        else if(id == CardIdentifier.ANCIENT_DRAGON__BEAMANKYLO)                     _UnitObject = new AncientDragonBeamankylo();
        else if(id == CardIdentifier.WITCH_OF_FROGS__MELISSA)                        _UnitObject = new WitchOfFrogsMelissa();
        else if(id == CardIdentifier.SEAL_DRAGON__JAKADO)                            _UnitObject = new SealDragonJacquard();
        else if(id == CardIdentifier.SEAL_DRAGON__CHAMBRAY)                          _UnitObject = new SealDragonChambray();
        else if(id == CardIdentifier.DEMONIC_DRAGON_BERSERKER__GANDARUBA)            _UnitObject = new DemonicDragonBerserkerGandharva();
        else if(id == CardIdentifier.TEAR_KNIGHT__LUCAS)                             _UnitObject = new TearKnightLucas();
        else if(id == CardIdentifier.MICE_GUARD__LA_SUPERBA)                         _UnitObject = new MythGuardLaSuperba();
        else if(id == CardIdentifier.WITCH_OF_BIRDS__CHAMOMILE)                      _UnitObject = new WitchOfRavensChamomile();
        else if(id == CardIdentifier.FIENDISH_SWORD_ERADICATOR__CHO_OU)              _UnitObject = new FiendishSwordEradicatorChoOu();
        else if(id == CardIdentifier.BREATH_OF_DEMISE__VULCANIS)                     _UnitObject = new BreathOfDemiseVulcan();
        else if(id == CardIdentifier.DRAGON_KNIGHT__RUTOF)                           _UnitObject = new DragonKnightLotf();
        else if(id == CardIdentifier.THUNDERING_RIPPLE__GENOVIOUS)                   _UnitObject = new ThunderingRippleGenovious();
        else if(id == CardIdentifier.ANCIENT_DRAGON__SPINODRIVER)                    _UnitObject = new AncientDragonSpinodriver();
        else if(id == CardIdentifier.ANCIENT_DRAGON__TYRANNOLEGEND)                  _UnitObject = new AncientDragonTyrannolegend();
        else if(id == CardIdentifier.SEALED_DEMON_DRAGON__DUNGAREE)                  _UnitObject = new SealedDemonDragonDungaree();
        else if(id == CardIdentifier.RAVENOUS_DRAGON__BATTLEREX)                     _UnitObject = new RavenousDragonBattlerex();
        else if(id == CardIdentifier.ARMOR_BREAK_DRAGON)                             _UnitObject = new ArmorBreakDragon();
        else if(id == CardIdentifier.BLUE_STORM_DRAGON__MAELSTROM)                   _UnitObject = new BlueStormDragonMaelstrom();
        else if(id == CardIdentifier.SEAL_DRAGON__RINOCROSS)                         _UnitObject = new SealDragonRinocross();
        else if(id == CardIdentifier.ANCIENT_DRAGON__PARASWALL)                      _UnitObject = new AncientDragonParaswall();
        else if(id == CardIdentifier.DAUNTLESS_DRIVE_DRAGON)                         _UnitObject = new DauntlessDriveDragon();
        else if(id == CardIdentifier.FANG_OF_LIGHT__GARMORE)                         _UnitObject = new FangOfLightGarmore();
        else if(id == CardIdentifier.ERADICATOR__SWEEP_COMMAND_DRAGON)               _UnitObject = new EradicatorSweepCommandDragon();
        else if(id == CardIdentifier.LAST_CARD__REVONN)                              _UnitObject = new LastCardRevonn();
        else if(id == CardIdentifier.GODDESS_OF_GOOD_LUCK__FORTUNA)                  _UnitObject = new GoddessOfGoodLuckFortuna();
        else if(id == CardIdentifier.HELLFIRE_SEAL_DRAGON__BLOCKADE_INFERNO)         _UnitObject = new HellfireSealDragonBlockadeInferno();
        else if(id == CardIdentifier.STARLIGHT_UNICORN)                              _UnitObject = new StarlightUnicorn();
        else if(id == CardIdentifier.COVENANT_KNIGHT_RANDOLF)                        _UnitObject = new CovenantKnightRandolf();
        else if(id == CardIdentifier.WHITE_LILY_MUSKETEER__CECILIA)                  _UnitObject = new WhiteLilyMusketeerCecilia();
        else if(id == CardIdentifier.ERADICATOR__SPARK_HORN_DRAGON)                  _UnitObject = new EradicatorSparkHornDragon();
        else if(id == CardIdentifier.STAMP_SEA_OTTER)                                _UnitObject = new StampSeaOtter();
        else if(id == CardIdentifier.DRAGON_UNDEAD__SKULL_DRAGON)                    _UnitObject = new DragonUndeadSkullDragon();
        else if(id == CardIdentifier.KNIGHT_OF_FURY__AGRAVAIN)                       _UnitObject = new KnightOfFuryAgravain();
        else if(id == CardIdentifier.SLEYGAL_DAGGER)                                 _UnitObject = new SleygalDagger();
        else if(id == CardIdentifier.INCANDESCENT_LION__BLOND_EZEL)                  _UnitObject = new IncandescentLionBlondEzel();
        else if(id == CardIdentifier.GREAT_SILVER_WOLF__GARMORE)                     _UnitObject = new GreatSilverWolfGarmore();
        else if(id == CardIdentifier.TORPEDO_RUSH_DRAGON)                            _UnitObject = new TorpedoRushDragon();
        else if(id == CardIdentifier.ULTIMATE_DIMENSIONAL_ROBO__GREAT_DAIYUSHA)      _UnitObject = new UltimateDimensionalRoboGreatDaiyusha();
        else if(id == CardIdentifier.LARVA_BEAST__ZEAL)                              _UnitObject = new LarvaBeastZeal();
        else if(id == CardIdentifier.COMMANDER_LAUREL)                               _UnitObject = new CommanderLaurel();
        else if(id == CardIdentifier.DEMON_BIKE_OF_THE_WITCHING_HOUR)                _UnitObject = new DemonBikeOfTheWitchingHour();
        else if(id == CardIdentifier.RAINBOW_LIGHT__CARINE)                          _UnitObject = new RainbowLightCarine();
        else if(id == CardIdentifier.GREEDY_HAND)                                    _UnitObject = new GreedyHand();
        else if(id == CardIdentifier.NO_LIFE_KING__DEATH_ANCHOR)                     _UnitObject = new NoLifeKingDeathAnchor();
        else if(id == CardIdentifier.BARKING_MANTICORE)                              _UnitObject = new BarkingManticore();
        else if(id == CardIdentifier.KNIGHT_OF_ROSE_MORGANA)                         _UnitObject = new KnightOfRoseMorgana();
        else if(id == CardIdentifier.FLIRTATIOUS_SUCCUBUS)                           _UnitObject = new FlirtatiousSuccubus();
        else if(id == CardIdentifier.POET_OF_DARKNESS__AMON)                         _UnitObject = new PoetOfDarknessAmon();
        else if(id == CardIdentifier.VELVET_VOICE__RAINDEAR)                         _UnitObject = new VelvetVoiceRaindear();
        else if(id == CardIdentifier.WARRIOR_OF_DESTINY__DAI)                        _UnitObject = new WarriorOfDestinyDai();
        else if(id == CardIdentifier.MERMAID_IDOL__FLUTE)                            _UnitObject = new MermaidIdolFlute();
        else if(id == CardIdentifier.PEARL_SISTERS__PERLE)                           _UnitObject = new PearlSisterPerle();
        else if(id == CardIdentifier.DRIVE_QUARTET__SHUPLU)                          _UnitObject = new DriveQuartetShuplu();
        else if(id == CardIdentifier.DRIVE_QUARTET__FLOWS)                           _UnitObject = new DriveQuartetFlows();
        else if(id == CardIdentifier.WHITE_DRAGON_KNIGHT__PENDRAGON) 	   		 	 _UnitObject = new WhiteDragonKnightPendragon();
        else if(id == CardIdentifier.ORIGIN_MAGE__ILDONA)            	   		 	 _UnitObject = new OriginMageIlldona();
        else if(id == CardIdentifier.SUPERSONIC_SAILOR)              	   		 	 _UnitObject = new SupersonicSailor();
        else if(id == CardIdentifier.GENTLE_JIMM)                    	   		 	 _UnitObject = new GentleJimm();
        else if(id == CardIdentifier.BERSERK_DRAGON)                                 _UnitObject = new BerserkDragon();
        else if(id == CardIdentifier.CRIMSON_BUTTERFLY_BRIGITTE)                     _UnitObject = new CrimsonButterflyBrigitte();
        else if(id == CardIdentifier.ORACLE_GUARDIAN__SPHINX)        	   		 	 _UnitObject = new OracleGuardianSphinx();
        else if(id == CardIdentifier.ROCK_WITCH__GAGA)               	   		 	 _UnitObject = new RockWitchGaGa();
        else if(id == CardIdentifier.MACHINE_GUN_TALK__RYAN)         	  		 	 _UnitObject = new MachinegunTalkRyan();
        else if(id == CardIdentifier.GUARDIAN_OF_TRUTH__LOX)                         _UnitObject = new GuardianOfTruthLox();
        else if(id == CardIdentifier.HEROIC_HANI)                   	   		 	 _UnitObject = new HeroicHani();
        else if(id == CardIdentifier.BATTLE_SISTER__CREAM)           	   		 	 _UnitObject = new BattleSisterCream();
        else if(id == CardIdentifier.SUPPLE_BAMBOO_PRINCESS__KAGUYA) 	  		 	 _UnitObject = new SuppleBambooPrincessKaguya();
        else if(id == CardIdentifier.SOLAR_MAIDEN__UZUME)            	   		 	 _UnitObject = new SolarMaidenUzume();
        else if(id == CardIdentifier.LION_HEAT)                      	   		 	 _UnitObject = new LionetHeat();
        else if(id == CardIdentifier.TRANSMIGRATING_EVOLUTION__MIRAIOH)    		 	 _UnitObject = new TransmigratingEvolutionMiraioh();
        else if(id == CardIdentifier.STOIC_HANI)                           		 	 _UnitObject = new StoicHani();
        else if(id == CardIdentifier.BURSTRAIZER)                          		 	 _UnitObject = new Burstraizer();
        else if(id == CardIdentifier.TRANSRAIZER)                        		 	 _UnitObject = new Transraizer();
        else if(id == CardIdentifier.CRIMSON_DRIVE__APHRODITE)             		 	 _UnitObject = new CrimsonDriveAphrodite();
        else if(id == CardIdentifier.EXAMINE_ANGEL)                        		 	 _UnitObject = new ExamineAngel();
        else if(id == CardIdentifier.CRIMSON_MIND__BARUCH)                 		 	 _UnitObject = new CrimsonMindBaruch();
        else if(id == CardIdentifier.EMERGENCY_VEHICLE)                    		 	 _UnitObject = new EmergencyVehicle();
        else if(id == CardIdentifier.CANDLELIGHT_ANGEL)                    		 	 _UnitObject = new CandlelightAngel();
        else if(id == CardIdentifier.FEVER_THERAPY_NURSE)                  		 	 _UnitObject = new FeverTherapyNurse();
        else if(id == CardIdentifier.VOCAL_CHICKEN)                        		 	 _UnitObject = new VocalChicken();
        else if(id == CardIdentifier.RECORDER_DOG)                         		 	 _UnitObject = new MelodicaCat();
        else if(id == CardIdentifier.CRIMSON_HEART__NAHAS)                 		 	 _UnitObject = new CrimsonHeartNahas();
        else if(id == CardIdentifier.PARABOLA_MOOSE)                       		 	 _UnitObject = new ParabolicMoose();
        else if(id == CardIdentifier.BARCODE_ZEBRA)                        		 	 _UnitObject = new BarcodeZebra();
        else if(id == CardIdentifier.RECORDER_DOG)                         		 	 _UnitObject = new RecorderDog();
        else if(id == CardIdentifier.PROTRACTOR_PEACOCK)                   		 	 _UnitObject = new ProtractorPeacock();
        else if(id == CardIdentifier.SHARPENER_BEAVER)                     		 	 _UnitObject = new SharpenerBeaver();
        else if(id == CardIdentifier.CASTANET_DONKEY)                      		 	 _UnitObject = new CastanetDonkey();
        else if(id == CardIdentifier.HOLY_MAGE_OF_THE_GALE)                		 	 _UnitObject = new HolyMageOfTheGale();
        else if(id == CardIdentifier.GARDENING_MOLE)                       		 	 _UnitObject = new GardeningMole();
        else if(id == CardIdentifier.STRONGHOLD_OF_THE_BLACK_CHAINS__HOEL) 		 	 _UnitObject = new StrongholdOfTheBlackChainsHoel();
        else if(id == CardIdentifier.DEATH_METAL_DROID)                    		 	 _UnitObject = new DeathMetalDroid();
        else if(id == CardIdentifier.RUNEBAU)                             		 	 _UnitObject = new Runebau();
        else if(id == CardIdentifier.SMILING_PRESENTER)                    		 	 _UnitObject = new SmilingPresenter();
        else if(id == CardIdentifier.MAGICAL_PARTNER)                      		 	 _UnitObject = new MagicalPartner();
        else if(id == CardIdentifier.DEITY_SEALING_KID__SOH_KOH)           		 	 _UnitObject = new DeitySealingKidSohKoh();
        else if(id == CardIdentifier.EXORCIST_MAGE__ROH_ROH)               		 	 _UnitObject = new ExorcistMageRohRoh();
        else if(id == CardIdentifier.EXORCIST_MAGE__LIN_LIN)               		 	 _UnitObject = new ExorcistMageLinLin();
        else if(id == CardIdentifier.DRAGONIC_LAWKEEPER)                   		 	 _UnitObject = new DragonicLawkeeper();
        else if(id == CardIdentifier.DEMON_CHARIOT_OF_THE_WITCHING_HOUR)             _UnitObject = new DemonChariotOfTheWitchingHour();
        else if(id == CardIdentifier.BEWITCHING_OFFICER__LADY_BUTTERFLY)   		 	 _UnitObject = new BewitchingOfficerLadyButterfly();
        else if(id == CardIdentifier.DUDLEY_DAISY)                         		 	 _UnitObject = new DudleyDaisy();
        else if(id == CardIdentifier.JELLY_BEANS)                          		 	 _UnitObject = new JellyBeans();
        else if(id == CardIdentifier.GIGANTECH_DESTROYER)                  		 	 _UnitObject = new GigantechDestroyer();
        else if(id == CardIdentifier.TOXIC_TROOPER)                        		 	 _UnitObject = new ToxicTrooper();
        else if(id == CardIdentifier.TOXIC_SOLDIER)                        		 	 _UnitObject = new ToxicSoldier();
        else if(id == CardIdentifier.EVIL_ARMOR_GENERAL__GIRAFFA)                    _UnitObject = new EvilArmorGeneralGiraffa();
        else if(id == CardIdentifier.BLACK_DRAGON_KNIGHT__VORTIMER)        		 	 _UnitObject = new BlackDragonKnightVortimer();
        else if(id == CardIdentifier.BLACK_DRAGON_WHELP__VORTIMER)        		 	 _UnitObject = new BlackDragonWhelpVortimer();
        else if(id == CardIdentifier.DUDLEY_DOUGLASS)                      		 	 _UnitObject = new DudleyDouglass();
        else if(id == CardIdentifier.FIERCE_LEADER__ZACHARY)               		 	 _UnitObject = new FierceLeaderZachary();
        else if(id == CardIdentifier.FIELD_DRILLER)                        		 	 _UnitObject = new FieldDriller();
        else if(id == CardIdentifier.MEDICAL_MANAGER)                      		 	 _UnitObject = new MedicalManager();
        else if(id == CardIdentifier.SMART_LEADER__DARK_BRINGER)           		 	 _UnitObject = new SmartLeaderDarkBringer();
        else if(id == CardIdentifier.IRON_FIST_MUTANT__ROLY_POLY)          		 	 _UnitObject = new IronFistMutantRolyPoly();
        else if(id == CardIdentifier.PEST_PROFESSOR__MAD_FLY)              		 	 _UnitObject = new PestProfessorMadFly();
        else if(id == CardIdentifier.TRANSMUTATED_THIEF__STEAL_SPIDER)     		 	 _UnitObject = new TransmutatedThiefStealSpider();
        else if(id == CardIdentifier.BLASTER_JAVELIN)                                _UnitObject = new Javelin();
        else if(id == CardIdentifier.MACHINING_MOSQUITO)                   		 	 _UnitObject = new MachiningMosquito();
        else if(id == CardIdentifier.WAR_HORSE__RAGING_STORM)              		 	 _UnitObject = new WarHorseRagingStorm();
        else if(id == CardIdentifier.PETAL_FAIRY)                          		 	 _UnitObject = new PetalFairy();
        else if(id == CardIdentifier.BLUE_SCALE_DEER)                      		 	 _UnitObject = new BlueScaleDeer();
        else if(id == CardIdentifier.ONMYOJI_OF_THE_MOONLIT_NIGHT)         		 	 _UnitObject = new OnmyojiOfTheMoonlitNight();
        else if(id == CardIdentifier.OMNISCIENCE_MADONNA)                  		 	 _UnitObject = new OmniscienceMadonna();
        else if(id == CardIdentifier.GRAPESHOT_WYVERN)                     		 	 _UnitObject = new GrapeshotWyvern();
        else if(id == CardIdentifier.DRAGON_ARMORED_KNIGHT)                		 	 _UnitObject = new DragonArmoredKnight();
        else if(id == CardIdentifier.MIRU_BIRU)                            		 	 _UnitObject = new MiruBiru();
        else if(id == CardIdentifier.EAGLE_KNIGHT_OF_THE_SKIES)            		 	 _UnitObject = new EagleKnightOfTheSkies();
        else if(id == CardIdentifier.COMMANDER__GARRY_GANNON)              		 	 _UnitObject = new CommanderGarryGannon();
        else if(id == CardIdentifier.GYRO_SLINGER)                         		 	 _UnitObject = new GyroSlinger();
        else if(id == CardIdentifier.DRAGONIC_EXECUTIONER)                 		 	 _UnitObject = new DragonicExecutioner();
        else if(id == CardIdentifier.TWIN_SHINE_SWORDSMAN__MARHAUS)       			 _UnitObject = new TwinShineSwordsmanMarhaus();
        else if(id == CardIdentifier.FALCON_KNIGHT_OF_THE_AZURE)           			 _UnitObject = new FalconKnightOfTheAzure();
        else if(id == CardIdentifier.BLASTER_BLADE)                        			 _UnitObject = new BlasterBlade();
        else if(id == CardIdentifier.BEAST_DEITY__WHITE_TIGER)             			 _UnitObject = new BeastDeityWhiteTiger();
        else if(id == CardIdentifier.FLASH_EDGE_VALKYRIE)                  			 _UnitObject = new FlashEdgeValkyrie();
        else if(id == CardIdentifier.MECHA_TRAINER)                        			 _UnitObject = new MechaTrainer();
        else if(id == CardIdentifier.DEMONIC_LORD__DUDLEY_EMPEROR)         			 _UnitObject = new DemonicLordDudleyEmperor();
        else if(id == CardIdentifier.SCOUT_OF_DARKNESS__VORTIMER)         			 _UnitObject = new ScoutOfDarknessVortimer();
        else if(id == CardIdentifier.BLADE_FEATHER_VALKYRIE)              			 _UnitObject = new BladeFeatherValkyrie();
        else if(id == CardIdentifier.MEGACOLONY_BATTLER_C)                 			 _UnitObject = new MegacolonyBattlerC();
        else if(id == CardIdentifier.GIRLS______ROCK__RIO)                 			 _UnitObject = new GirlsRockRio();
        else if(id == CardIdentifier.INFINITE_CORROSION_FORM__DEATH_ARMY_COSMO_LORD) _UnitObject = new InfiniteCorrosionFormDeathArmyLord();
        else if(id == CardIdentifier.DEATH_ARMY_BISHOP)                              _UnitObject = new DeathArmyBishop();
        else if(id == CardIdentifier.BRUTAL_JOKER)                                   _UnitObject = new BrutalJoker();
        else if(id == CardIdentifier.DEATH_ARMY_KNIGHT)                              _UnitObject = new DeathArmyKnight();
        else if(id == CardIdentifier.DEATH_ARMY_PAWN)                                _UnitObject = new DeathArmyPawn();
        else if(id == CardIdentifier.BATTLE_SISTER__FROMAGE)                         _UnitObject = new BattleSisterFromage();
        else if(id == CardIdentifier.BATTLE_SISTER__MACARON)                         _UnitObject = new BattleSisterMacaron();
        else if(id == CardIdentifier.BATTLE_SISTER__OMELET)                          _UnitObject = new BattleSisterOmelet();
        else if(id == CardIdentifier.BATTLE_SISTER__WAFFLE)                          _UnitObject = new BattleSisterWaffle();
        else if(id == CardIdentifier.ETERNAL_IDOL__PACIFICA)                         _UnitObject = new EternalIdolPacifica();
        else if(id == CardIdentifier.PR___ISM_PROMISE__LABRADOR)                     _UnitObject = new PRISMPromiseLabrador();
        else if(id == CardIdentifier.PR___ISM_IMAGE__VERT)                           _UnitObject = new PRISMImageVert();
        else if(id == CardIdentifier.RECKLESS_EXPRESS)                               _UnitObject = new RecklessExpress();
        else if(id == CardIdentifier.HIGHSPEED_BRAKKI)                               _UnitObject = new HighspeedBrakki();
        else if(id == CardIdentifier.JUGGERNAUT_MAXIMUM)                             _UnitObject = new JuggernautMaximum();
        else if(id == CardIdentifier.SPECTRAL_DUKE_DRAGON)                           _UnitObject = new SpectralDukeDragon();
        else if(id == CardIdentifier.PR___ISM_PROMISE__CELTIC)                       _UnitObject = new PRISMPromiseCeltic();
        else if(id == CardIdentifier.DRAGON_MONK_GOKU)                               _UnitObject = new DragonMonkGoku();
        else if(id == CardIdentifier.GODDESS_OF_THE_SUN__AMATERASU)                  _UnitObject = new GoddessOfTheSunAmaterasu();
        else if(id == CardIdentifier.AURORA_STAR__CORAL)                             _UnitObject = new AuroraStarCoral();
        else if(id == CardIdentifier.LAVA_ARM_DRAGON)                                _UnitObject = new LavaArmDragon();
        else if(id == CardIdentifier.PR___ISM_IMAGE__CLEAR)                          _UnitObject = new PRISMImageClear();
        else if(id == CardIdentifier.SHINING_SINGER__IONIA)                          _UnitObject = new ShiningSingerIonia();
        else if(id == CardIdentifier.SHINY_STAR__CORAL)                              _UnitObject = new ShinyStarCoral();
        else if(id == CardIdentifier.KNIGHT_OF_THE_HARP_TRISTAN)                     _UnitObject = new KnightOfTheHarpTristan();
        else if(id == CardIdentifier.PR___ISM_ROMANCE__LUMIERE)                      _UnitObject = new PRISMRomanceLumiere();
        else if(id == CardIdentifier.ENIGMAN_RIPPLE)                                 _UnitObject = new EnigmanRipple();
        else if(id == CardIdentifier.PR___ISM_ROMANCE__MERCURE)                      _UnitObject = new PRISMRomanceMercure();
        else if(id == CardIdentifier.ULTRA_BEAST_DEITY__ILLUMINAL_DRAGON)            _UnitObject = new UltraBeastDeityIlluminalDragon();
        else if(id == CardIdentifier.SWEETS_HARMONY__MONA)                           _UnitObject = new SweetsHarmonyMona();
        else if(id == CardIdentifier.ANGELIC_STAR__CORAL)                            _UnitObject = new AngelicStarCoral();
        else if(id == CardIdentifier.MIRROR_DIVA__BISCAYNE)                          _UnitObject = new MirrorDivaBiscayne();
        else if(id == CardIdentifier.INTELLI_BEAUTY__LOIRE)                          _UnitObject = new IntelliBeautyLoire();
        else if(id == CardIdentifier.DANCING_FAN_PRINCESS__MINATO)                   _UnitObject = new DancingFanPrincessMinato();
        else if(id == CardIdentifier.PR___ISM_ROMANCE__ETOILE)                       _UnitObject = new PRISMRomanceEtolle();
        else if(id == CardIdentifier.PR___ISM_IMAGE__ROSA)                           _UnitObject = new PRISMImageRosa();
        else if(id == CardIdentifier.PR___ISM_SMILE__SCOTIA)                         _UnitObject = new PRISMSmileScotia();
        else if(id == CardIdentifier.ALFRED_EARLY)                                   _UnitObject = new AlfredEarly();
        else if(id == CardIdentifier.HOLY_DISASTER_DRAGON)                           _UnitObject = new HolyDisasterDragon();
        else if(id == CardIdentifier.FRESH_STAR__CORAL)                              _UnitObject = new FreshStarCoral();
        else if(id == CardIdentifier.PR___ISM_PROMISE__LEYTE)                        _UnitObject = new PRISMPromiseLeyte();
        else if(id == CardIdentifier.MASCOT_LADY__ORIA)                              _UnitObject = new MascotLadyOria();
        else if(id == CardIdentifier.LIBRARY_MADONNA__RION)                          _UnitObject = new LibraryMadonnaRion();
        else if(id == CardIdentifier.DOLPHIN_FRIEND__PLAGE)                          _UnitObject = new DolphinFriendPlage();
        else if(id == CardIdentifier.PR___ISM_SMILE__CORO)                           _UnitObject = new PRISMSmileCoro();
        else if(id == CardIdentifier.COSTUME_CHANGE__ALK)                            _UnitObject = new CostumeChangeAlk();
        else if(id == CardIdentifier.DEADLY_SWORDMASTER)                             _UnitObject = new DeadlySwordmaster();
        else if(id == CardIdentifier.PR___ISM_MIRACLE__IRISH)                        _UnitObject = new PRISMMiracleIrish();
        else if(id == CardIdentifier.HADES_CARRIAGE_OF_THE_WITCHING_HOUR)            _UnitObject = new HadesCarriageOfTheWitchingHour();
        else if(id == CardIdentifier.HEARTFUL_ALE__FUNDY)                            _UnitObject = new HeartfulAleFundy();
        else if(id == CardIdentifier.PRETTY_CELEB__CHARLOTTE)                        _UnitObject = new PrettyCelebCharlotte();
        else if(id == CardIdentifier.STEEL_SPEAR_LIBERATOR__BLEOBERIS)               _UnitObject = new SteelSpearLiberatorBleoberis();
        else if(id == CardIdentifier.WISDOM_KEEPER__METIS)                           _UnitObject = new WisdomKeeperMetis();
        else if(id == CardIdentifier.ERADICATOR__ELECTRIC_SHAPER_DRAGON)             _UnitObject = new EradicatorElectricShaperDragon();
        else if(id == CardIdentifier.STORY_TELLER)                                   _UnitObject = new StoryTeller();
        else if(id == CardIdentifier.DANDELION_MUSKETEER__MIRKKA)                    _UnitObject = new DandelionMusketeerMirkka();
        else if(id == CardIdentifier.UNRIVALED_BRUSH_WIELDER__PONGA)                 _UnitObject = new UnrivaledBrushWielderPonga();
        else if(id == CardIdentifier.WATER_GENERAL_OF_WAVE_LIKE_SPIRALS__BENEDICT)   _UnitObject = new WaterGeneralOfWavelikeSpiralsBenedict();
        else if(id == CardIdentifier.EMERALD_SHIELD__PASCHAL)                        _UnitObject = new EmeraldShieldPaschal();
        else if(id == CardIdentifier.BATTLE_SISTER_CHOCOLAT)                         _UnitObject = new BattleSisterChocolat();
        else if(id == CardIdentifier.FLASH_SHIELD_ISEULT)                            _UnitObject = new FlashShieldIseult();
        else if(id == CardIdentifier.CABLE_SHEEP)                                    _UnitObject = new CableSheep();
        else if(id == CardIdentifier.WYVERN_GUARD__GULD)                             _UnitObject = new WyvernGuardGuld();
        else if(id == CardIdentifier.HALO_SHIELD__MARK)                              _UnitObject = new HaloShieldMark();
        else if(id == CardIdentifier.PURE_KEEPER__REQUIEL)                           _UnitObject = new PureKeeperRequiel();
        else if(id == CardIdentifier.MAIDEN_OF_BLOSSOM_RAIN)                         _UnitObject = new MaidenOfBlossomRain();
        else if(id == CardIdentifier.STEALTH_BEAST__LEAVES_MIRAGE)                   _UnitObject = new StealthBeastLeavesMirage();
        else if(id == CardIdentifier.PARALYZE_MADONNA)                               _UnitObject = new ParalyzeMadonna();
        else if(id == CardIdentifier.DIAMOND_ACE)                                    _UnitObject = new DiamondAce();
        else if(id == CardIdentifier.DARK_SHIELD__MAC_LIR)                           _UnitObject = new DarkShieldMacLir();
        else if(id == CardIdentifier.DEVOURER_OF_PLANETS__ZEAL)                      _UnitObject = new DevourerOfPlanetsZeal();
        else if(id == CardIdentifier.MERMAID_IDOL__ELLY)                             _UnitObject = new MermaidIdolElly();
        else if(id == CardIdentifier.HADES_HYPNOTIST)                                _UnitObject = new HadesHypnotist();
        else if(id == CardIdentifier.ARCHBIRD)                                       _UnitObject = new Archbird();
        else if(id == CardIdentifier.MARCH_RABBIT_OF_NIGHTMARELAND)                  _UnitObject = new MarchRabbitOfNightmareland();
        else if(id == CardIdentifier.TWIN_BLADER)                                    _UnitObject = new TwinBlader();
        else if(id == CardIdentifier.GUST_JINN)                                      _UnitObject = new GustJinn();
        else if(id == CardIdentifier.WYVERN_GUARD_BARRI)                             _UnitObject = new WyvernGuardBarri();
        else if(id == CardIdentifier.CHEER_GIRL_MARILYN)                             _UnitObject = new CheerGirlMarylin();
        else if(id == CardIdentifier.HEXAGONAL_MAGUS)                                _UnitObject = new HexagonalMagus();
        else if(id == CardIdentifier.BATTLE_SISTER__PARFAIT)                         _UnitObject = new BattleSisterParfait();
        else if(id == CardIdentifier.BATTLE_SISTER__MONAKA)                          _UnitObject = new BattleSisterMonaka();
        else if(id == CardIdentifier.STELLAR_MAGUS)                                  _UnitObject = new StellarMagus();
        else if(id == CardIdentifier.BATTLE_SISTER__COCOTTE)                         _UnitObject = new BattleSisterCocotte();
        else if(id == CardIdentifier.BRIOLETTE_MAGUS)                                _UnitObject = new BrioletteMagus();
        else if(id == CardIdentifier.TETRA_MAGUS)                                    _UnitObject = new TetraMagus();
        else if(id == CardIdentifier.ORACLE_AGENT__ROYS)                             _UnitObject = new OracleAgentRoys();
        else if(id == CardIdentifier.CRESCENT_MAGUS)                                 _UnitObject = new CrescentMagus();
        else if(id == CardIdentifier.CUORE_MAGUS)                                    _UnitObject = new CuoreMagus();
        else if(id == CardIdentifier.RIPIS_MAGUS)                                    _UnitObject = new RipisMagus();
        else if(id == CardIdentifier.SAILAND_MAGUS)                                  _UnitObject = new SailandMagus();
        else if(id == CardIdentifier.BATTLE_SISTER__CARAMEL)                         _UnitObject = new BattleSisterCaramel();
        else if(id == CardIdentifier.BATTLE_SISTER__LEMONADE)                        _UnitObject = new BattleSisterLemonade();
        else if(id == CardIdentifier.PENTAGONAL_MAGUS)                               _UnitObject = new PentagonalMagus();
        else if(id == CardIdentifier.CIRCLE_MAGUS)                                   _UnitObject = new CircleMagus();
        else if(id == CardIdentifier.IMMORTAL__ASURA_KAISER)                         _UnitObject = new ImmortalAsuraKaiser();
        else if(id == CardIdentifier.ASURA_KAISER)                                   _UnitObject = new AsuraKaiser();
        else if(id == CardIdentifier.GALAXY_BLAUKLUGER)                              _UnitObject = new GalaxyBlaukluger();
        else if(id == CardIdentifier.MOND_BLAUKLUGER)                                _UnitObject = new MondBlaukluger();
        else if(id == CardIdentifier.MARS_BLAUKLUGER)                                _UnitObject = new MarsBlaukluger();
        else if(id == CardIdentifier.FLOWER_LEI_LEPRECHAUN)                          _UnitObject = new FlowerLeiLeprechaun();
        else if(id == CardIdentifier.DEMON_OF_ASPIRATION__AMON)                      _UnitObject = new DemonOfAspirationAmon();
        else if(id == CardIdentifier.GROSSE_BAER)                                    _UnitObject = new GrosseBaer();
        else if(id == CardIdentifier.DAREDEVIL_SAMURAI)                              _UnitObject = new DaredevilSamurai();
        else if(id == CardIdentifier.POLAR_STERN)                                    _UnitObject = new PolarStern();
        else if(id == CardIdentifier.MORGENROT)                                      _UnitObject = new Morgenrot();
        else if(id == CardIdentifier.PLUTO_BLAUKLUGER)                               _UnitObject = new PlutoBlaukluger();
        else if(id == CardIdentifier.FATE_HEALER__ERGODIEL)                          _UnitObject = new FeatherHealerErgodiel();
        else if(id == CardIdentifier.TAIL_JOE)                                       _UnitObject = new TailJoe();
        else if(id == CardIdentifier.BEAR_DOWN_SAMURAI)                              _UnitObject = new BearDownSamurai();
        else if(id == CardIdentifier.BLADE_ARM_LEPRECHAUN)                           _UnitObject = new BladeArmLeprechaun();
        else if(id == CardIdentifier.TRANSCENDENCE_DRAGON__DRAGONIC_NOUVELLE_VAGUE)  _UnitObject = new TranscendenceDragonDragonicNouvelleVague();
        else if(id == CardIdentifier.CRUEL_DRAGON)                                   _UnitObject = new CruelDragon();
        else if(id == CardIdentifier.BLAST_BULK_DRAGON)                              _UnitObject = new BlastBulkDragon();
        else if(id == CardIdentifier.IRONCUTTER_BEETLE)                              _UnitObject = new Ironcutter();
        else if(id == CardIdentifier.NOUVELLECRITIC_DRAGON)                          _UnitObject = new NouvellecriticDragon();
        else if(id == CardIdentifier.DRAGONIC_GAIAS)                                 _UnitObject = new DragonicGaias();
        else if(id == CardIdentifier.DRAGON_DANCER__MARIA)                           _UnitObject = new DragonDancerMaria();
        else if(id == CardIdentifier.PUPA_MUTANT__GIRAFFA)                           _UnitObject = new PupaMutantGiraffa();
        else if(id == CardIdentifier.DRAGON_KNIGHT__NESHART)                         _UnitObject = new DragonKnightNeshart();
        else if(id == CardIdentifier.DRAGON_KNIGHT__ASHGAR)                          _UnitObject = new DragonKnightAshgar();
        else if(id == CardIdentifier.NOUVELLEROMAN_DRAGON)                           _UnitObject = new NouvelleromanDragon();
        else if(id == CardIdentifier.DRAGON_KNIGHT__MORTEZA)                         _UnitObject = new DragonKnightMorteza();
        else if(id == CardIdentifier.BAKINGRIM_DRAGON)                               _UnitObject = new BakingrimDragon();
        else if(id == CardIdentifier.GENIE_SOLDAT)                                   _UnitObject = new GenieSoldat();
        else if(id == CardIdentifier.DEMONIC_DRAGON_MAGE__KONGARA)                   _UnitObject = new DemonicDragonMageKongara();
        else if(id == CardIdentifier.SCALE_DRAGON_OF_THE_MAGMA_CAVE)                 _UnitObject = new ScaleDragonOfTheMagmaCave();
        else if(id == CardIdentifier.SOLITARY_LIBERATOR__GANCELOT)                   _UnitObject = new SolitaryLiberatorGancelot();
        else if(id == CardIdentifier.DIGNIFIED_GOLD_DRAGON)                          _UnitObject = new DignifiedGoldDragon();
        else if(id == CardIdentifier.ONSLAUGHT_LIBERATOR__MAELZION)                  _UnitObject = new OnslaughtLiberatorMaelzion();
        else if(id == CardIdentifier.LIBERATOR_OF_ROYALTY__PHALLON)                  _UnitObject = new LiberatorOfRoyaltyPhallon();
        else if(id == CardIdentifier.BLASTER_BLADE_LIBERATOR)                        _UnitObject = new BlasterBladeLiberator();
        else if(id == CardIdentifier.ZOOM_DOWN_EAGLE)                                _UnitObject = new ZoomDownEagle();
        else if(id == CardIdentifier.ZOIGAL_LIBERATOR)                               _UnitObject = new ZoigalLiberator();
        else if(id == CardIdentifier.LITTLE_LIBERATOR__MARRON)                       _UnitObject = new LittleLiberatorMarron();
        else if(id == CardIdentifier.POMERUGAL_LIBERATOR)                            _UnitObject = new PomerugalLiberator();
        else if(id == CardIdentifier.FUTURE_LIBERATOR__LLEW)                         _UnitObject = new FutureLiberatorLlew();
        else if(id == CardIdentifier.ERADICATOR__VOWING_SWORD_DRAGON)                _UnitObject = new EradicatorVowingSwordDragon();
        else if(id == CardIdentifier.BARRAGE_ERADICATOR__ZION)                       _UnitObject = new BarrageEradicatorZion();
        else if(id == CardIdentifier.DISCHARGING_DRAGON)                             _UnitObject = new DischargingDragon();
        else if(id == CardIdentifier.ERADICATOR__SPARK_RAIN_DRAGON)                  _UnitObject = new EradicatorSparkRainDragon();
        else if(id == CardIdentifier.ASSASSIN_SWORD_ERADICATOR__SUSEI)               _UnitObject = new AssassinSwordEradicatorSusei();
        else if(id == CardIdentifier.DRAGON_DANCER__VERONICA)                        _UnitObject = new DragonDancerVeronica();
        else if(id == CardIdentifier.LIGHTNING_BLADE_ERADICATOR__JEEM)               _UnitObject = new LightingBladeEradicatorJeem();
        else if(id == CardIdentifier.ERADICATOR__DEMOLITION_DRAGON)                  _UnitObject = new EradicatorDemolitionDragon();
        else if(id == CardIdentifier.DUST_STORM_ERADICATOR__TOKO)                    _UnitObject = new DustStormEradicatorToko();
        else if(id == CardIdentifier.ERADICATOR_OF_FIRE__KOHKAIJI)                   _UnitObject = new EradicatorOfFireKohkaiji();
        else if(id == CardIdentifier.IMPERIAL_DAUGHTER)                              _UnitObject = new ImperialDaughter();
        else if(id == CardIdentifier.ILLUSIONARY_REVENGER__MORDRED_PHANTOM)          _UnitObject = new IllusionaryRevengerMordredPhantom();
        else if(id == CardIdentifier.VENOMOUS_BREATH_DRAGON)                         _UnitObject = new VenomousBreathDragon();
        else if(id == CardIdentifier.REVENGER_OF_LABYRINTH__ARAUN)                   _UnitObject = new RevengerOfLabyrinthAraun();
        else if(id == CardIdentifier.NULLITY_REVENGER__MASQUERADE)                   _UnitObject = new NullityRevengerMasquerade();
        else if(id == CardIdentifier.BLASTER_DARK_REVENGER)                          _UnitObject = new BlasterDarkRevenger();
        else if(id == CardIdentifier.COILBAU_REVENGER)                               _UnitObject = new ColibauRevenger();
        else if(id == CardIdentifier.REVENGER_FORTRESS__FATALITA)                    _UnitObject = new RevengerFortressFatalita();
        else if(id == CardIdentifier.SACRILEGE_REVENGER__BERITH)                     _UnitObject = new SacrilegeRevengerBerith();
        else if(id == CardIdentifier.TRANSIENT_REVENGER__MASQUERADE)                 _UnitObject = new TransientRevengerMasquerade();
        else if(id == CardIdentifier.BURANBAU_REVENGER)                              _UnitObject = new BuranbauRevenger();
        else if(id == CardIdentifier.STAR_VADER__INFINITE_ZERO_DRAGON)               _UnitObject = new StarvaderInfiniteZeroDragon();
        else if(id == CardIdentifier.RAID_STAR_VADER__FRANCIUM)                      _UnitObject = new RaidStarvaderFrancium();
        else if(id == CardIdentifier.TWILIGHT_BARON)                                 _UnitObject = new TwilightBaron();
        else if(id == CardIdentifier.STAR_VADER__MOBIUS_BREATH_DRAGON)               _UnitObject = new StarvaderMobiusBreathDragon();
        else if(id == CardIdentifier.ENIGMAN_WAVE)                                   _UnitObject = new EnigmanWave();
        else if(id == CardIdentifier.AMBER_DRAGON__DAYLIGHT)                         _UnitObject = new AmberDragonDaylight();
        else if(id == CardIdentifier.UNRIVALED_STAR_VADER__RADON)                    _UnitObject = new UnrivaledStarvaderRadon();
        else if(id == CardIdentifier.STAR_VADER__PULSAR_BEAR)                        _UnitObject = new StarvaderPulsarBear();
        else if(id == CardIdentifier.SWIFT_STAR_VADER__STRONTIUM)                    _UnitObject = new SwiftStarvaderStrontium();
        else if(id == CardIdentifier.PURSUIT_STAR_VADER__FERMIUM)                    _UnitObject = new PursuitStarvaderFermium();
        else if(id == CardIdentifier.DEMONIC_BULLET_STAR_VADER__NEON)                _UnitObject = new DemonicBulletStarvaderNeon();
        else if(id == CardIdentifier.STAR_VADER__AURORA_EAGLE)                       _UnitObject = new StarvaderAuroraEagle();
        else if(id == CardIdentifier.TOP_IDOL__PACIFICA)                             _UnitObject = new TopIdolPacifica();
        else if(id == CardIdentifier.SUPER_DIMENSIONAL_ROBO__DAIKAISER)              _UnitObject = new SuperDimensionalRoboDaikaiser();
        else if(id == CardIdentifier.DIMENSIONAL_ROBO__GOYUSHA)                      _UnitObject = new DimensionalRoboGoyusha();
        else if(id == CardIdentifier.SUPER_DIMENSIONAL_ROBO__DAIYUSHA)               _UnitObject = new SuperDimensionalRoboDaiyusha();
        else if(id == CardIdentifier.ELECTRO_STAR_COMBINATION__COSMOGREAT)           _UnitObject = new ElectrostarCombinationCosmogreat();
        else if(id == CardIdentifier.DIMENSIONAL_ROBO__KAIZARD)                      _UnitObject = new DimensionalRoboKaizard();
        else if(id == CardIdentifier.DIMENSIONAL_ROBO__DAIDRILLER)                   _UnitObject = new DimensionalRoboDaidriller();
        else if(id == CardIdentifier.DIMENSIONAL_ROBO__DAITIGER)                     _UnitObject = new DimensionalRoboDaitiger();
        else if(id == CardIdentifier.DIMENSIONAL_ROBO__DAIBRAVE)                     _UnitObject = new DimensionalRoboDaibrave();
        else if(id == CardIdentifier.DIMENSIONAL_ROBO__DAIMARINER)                   _UnitObject = new DimensionalRoboDaimariner();
        else if(id == CardIdentifier.REGALIA_OF_WISDOM__ANGELICA)                    _UnitObject = new RegaliaOfWisdomAngelica();
        else if(id == CardIdentifier.BATTLE_MAIDEN__MIZUHA)                          _UnitObject = new BattleMaidenMizuha();
        else if(id == CardIdentifier.WITCH_OF_WOLVES__SAFFRON)                       _UnitObject = new WitchOfWolvesSaffron();
        else if(id == CardIdentifier.BATTLE_MAIDEN__SAHOHIME)                        _UnitObject = new BattleMaidenSahohime();
        else if(id == CardIdentifier.GODDESS_OF_TREES__JUPITER)                      _UnitObject = new GoddessOfTreesJupiter();
        else if(id == CardIdentifier.BATTLE_MAIDEN__SHITATERUHIME)                   _UnitObject = new BattleMaidenShitateruhime();
        else if(id == CardIdentifier.BATTLE_MAIDEN__TATSUTAHIME)                     _UnitObject = new BattleMaidenTatsuhime();
        else if(id == CardIdentifier.EXISTENCE_ANGEL)                                _UnitObject = new ExistenceAngel();
        else if(id == CardIdentifier.WITCH_OF_CATS__CUMIN)                           _UnitObject = new WitchOfCatsCumin();
        else if(id == CardIdentifier.APPLE_WITCH__CIDER)                             _UnitObject = new AppleWitchCider();
        else if(id == CardIdentifier.ENIGROID_COMRADE)                               _UnitObject = new Comrade();
        else if(id == CardIdentifier.SANCTUARY_GUARD_DRAGON)                         _UnitObject = new SanctuaryGuardDragon();
        else if(id == CardIdentifier.PATHETIC_JEWEL_KNIGHT__OLWEN)                   _UnitObject = new PatheticJewelKnightOlwen();
        else if(id == CardIdentifier.BATTLE_FLAG_KNIGHT__CONSTANCE)                  _UnitObject = new BattleFlagKnightConstance();
        else if(id == CardIdentifier.REGRET_JEWEL_KNIGHT__URIEN)                     _UnitObject = new RegretJewelKnightUrien();
        else if(id == CardIdentifier.RENDGAL)                                        _UnitObject = new Rendgal();
        else if(id == CardIdentifier.RAINBOW_CALLING_BARD)                           _UnitObject = new RainbowcallingBard();
        else if(id == CardIdentifier.STARTING_LEGEND__AMBROSIUS)                     _UnitObject = new StartingLegendAmbrosius();
        else if(id == CardIdentifier.KNIGHT_OF_CONVICTION_BORS)                      _UnitObject = new KnightOfConvictionBors();
        else if(id == CardIdentifier.LEADING_JEWEL_KNIGHT__SALOME)                   _UnitObject = new LeadingJewelKnightSalome();
        else if(id == CardIdentifier.PURE_HEART_JEWEL_KNIGHT__ASHLEY)                _UnitObject = new PureHeartJewelKnightAshlei();
        else if(id == CardIdentifier.LIBERATOR_OF_THE_ROUND_TABLE__ALFRED)           _UnitObject = new LiberatorOfTheRoundTableAlfred();
        else if(id == CardIdentifier.ORACLE_QUEEN__HIMIKO)                           _UnitObject = new OracleQueenHimiko();
        else if(id == CardIdentifier.ETERNAL_GODDESS__IWANAGAHIME)                   _UnitObject = new EternalGoddessIwanagahime();
        else if(id == CardIdentifier.KING_OF_DIPTERA__BEELZEBUB)                     _UnitObject = new KingOfDipteraBeelzebub();
        else if(id == CardIdentifier.LAW_OFFICIAL__LOX)                              _UnitObject = new LawOfficialLox();
        else if(id == CardIdentifier.DARK_LORD_OF_ABYSS)                             _UnitObject = new DarkLordOfAbyss();
        else if(id == CardIdentifier.ERADICATOR__DRAGONIC_DESCENDANT)                _UnitObject = new EradicatorDragonicDescendant();
        else if(id == CardIdentifier.ERADICATOR__GAUNTLET_BUSTER_DRAGON)             _UnitObject = new EradicatorGauntletBusterDragon();
        else if(id == CardIdentifier.BEAST_DEITY__ETHICS_BUSTER)                     _UnitObject = new BeastDeityEthicsBuster();
        else if(id == CardIdentifier.BATTLE_DEITY_OF_THE_NIGHT__ARTEMIS)             _UnitObject = new BattleDeityOfTheNightArtemis();
        else if(id == CardIdentifier.GRATEFUL_CATAPULT)                              _UnitObject = new GratefulCatapult();
        else if(id == CardIdentifier.BAD_END_DRAGGER)                                _UnitObject = new BadEndDragger();
        else if(id == CardIdentifier.LAKE_MAIDEN_LIEN)                               _UnitObject = new LakeMaidenLien();
        else if(id == CardIdentifier.DEMON_WORLD_MARQUIS__AMON)                      _UnitObject = new DemonWorldMarquisAmon();
        else if(id == CardIdentifier.DIGNIFIED_SILVER_DRAGON)                        _UnitObject = new DignifiedSilverDragon();
        else if(id == CardIdentifier.MARTIAL_ARTS_GENERAL__DAIMU)                    _UnitObject = new MartialArtsGeneralDaim();
        else if(id == CardIdentifier.ARMORED_HEAVY_GUNNER)                           _UnitObject = new ArmoredHeavyGunner();
        else if(id == CardIdentifier.ARBOROS_DRAGON__TIMBER)                         _UnitObject = new ArborosDragonTimber();
        else if(id == CardIdentifier.RABBIT_HOUSE)                                   _UnitObject = new RabbitHouse();
        else if(id == CardIdentifier.KNIGHT_OF_EXPLOSIVE_AXE__GORNEMAN)              _UnitObject = new KnightOfTheExplosiveAxeGornement();
        else if(id == CardIdentifier.MUUNGAL)                                        _UnitObject = new Muungal();
        else if(id == CardIdentifier.MICE_GUARD__ANTARES)                            _UnitObject = new MythGuardAntares();
        else if(id == CardIdentifier.DEMONIC_DRAGON_BERSERKER__JANDIRA)              _UnitObject = new DemonicDagonBerserkerSandila();
        else if(id == CardIdentifier.ANTI_BATTLEROID_GUNNER)                         _UnitObject = new AntibattleroidGunner();
        else if(id == CardIdentifier.SCHEDULER_ANGEL)                                _UnitObject = new SchedulerAngel();
        else if(id == CardIdentifier.DOGMATIZE_JEWEL_KNIGHT__SYBILL)                 _UnitObject = new DogmatizeJewelKnightSybill();
        else if(id == CardIdentifier.LIGHTNING_SWORD_WIELDING_EXORCIST_KNIGHT)       _UnitObject = new LightingSwordWieldingExorcistKnight();
        else if(id == CardIdentifier.FLASHING_JEWEL_KNIGHT__ISEULT)                  _UnitObject = new FlashingJewelKnightIseult();
        else if(id == CardIdentifier.HALO_LIBERATOR__MARK)                           _UnitObject = new HaloLiberatorMark();
        else if(id == CardIdentifier.LIBERATOR_OF_THE_FLUTE__ESCRAD)                 _UnitObject = new LiberatorOfTheFluteEscrad();
        else if(id == CardIdentifier.BROOM_WITCH__CARAWAY)                           _UnitObject = new BroomWitchCallaway();
        else if(id == CardIdentifier.GODDESS_OF_SELF_SACRIFICE__KUSHINADA)           _UnitObject = new GoddessOfSelfSacrificeKushinada();
        else if(id == CardIdentifier.ERADICATOR_WYVERN_GUARD__GULD)                  _UnitObject = new EradicatorWyvernGuardGuld();
        else if(id == CardIdentifier.SUPREME_ARMY_ERADICATOR__ZUITAN)                _UnitObject = new SupremeArmyEradicatorZuitan();
        else if(id == CardIdentifier.FELLOWSHIP_JEWEL_KNIGHT__TRACIE)                _UnitObject = new FellowshipJewelKnightTracie();
        else if(id == CardIdentifier.JEWEL_KNIGHT__PRIZME)                           _UnitObject = new JewelKinghtPizmy();
        else if(id == CardIdentifier.DREAMING_JEWEL_KNIGHT__TIFFANY)                 _UnitObject = new DreamingJewelKnightTiffany();
        else if(id == CardIdentifier.CURVED_BLADE_LIBERATOR__JOSEPHUS)               _UnitObject = new FastChaseLiberatorJosephus();
        else if(id == CardIdentifier.WINGAL_LIBERATOR)                               _UnitObject = new WingalLiberator();
        else if(id == CardIdentifier.TWILIGHT_HUNTER__ARTEMIS)                       _UnitObject = new TwilightHunterArtemis();
        else if(id == CardIdentifier.BATTLE_MAIDEN__TAMAYORIHIME)                    _UnitObject = new BattleMaidenTamayorihime();
        else if(id == CardIdentifier.AIMING_FOR_THE_STARS__ARTEMIS)                  _UnitObject = new AimingForTheStarsArtemis();
        else if(id == CardIdentifier.TWIN_GUN_ERADICATOR__HAKUSHOU)                  _UnitObject = new DoubleGunEradicatorNakusho();
        else if(id == CardIdentifier.ERADICATOR__SAUCER_CANNON_WYVERN)               _UnitObject = new EradicatorSaucerCannonWyvern();
        else if(id == CardIdentifier.ERADICATOR_OF_THE_CEREMONIAL_BONFIRE__CASTOR)   _UnitObject = new CeremonialBonfireEradicatorCastor();
        else if(id == CardIdentifier.AMBUSH_DRAGON_ERADICATOR__LINCHU)               _UnitObject = new AmbushDragonEradicatorLinchu();
        else if(id == CardIdentifier.BEAST_DEITY__HATRED_CHAOS)                      _UnitObject = new BeastDeityHatrdChaos();
        else if(id == CardIdentifier.DUDLEY_MASON)                                   _UnitObject = new DudleyMason();
        else if(id == CardIdentifier.UNCOMPROMISING_KNIGHT__IDELL)                   _UnitObject = new UncompromisingKnightIdeale();
        else if(id == CardIdentifier.GIGANTECH_DOZER)                                _UnitObject = new GigantechDozer();
        else if(id == CardIdentifier.DELICATE_KNIGHT__CLAUDIN)                       _UnitObject = new KnightOfDetailsClaudin();
        else if(id == CardIdentifier.STINGING_JEWEL_KNIGHT__SHERRIE)                 _UnitObject = new StingingJewelKnightShellie();
        else if(id == CardIdentifier.RUSHGAL)                                        _UnitObject = new Rushhgal();
        else if(id == CardIdentifier.PRIMGAL)                                        _UnitObject = new Primgal();
        else if(id == CardIdentifier.KNIGHT_OF_FAR_BOW__SAFIR)                       _UnitObject = new KnightOfFarArrowsSaphir();
        else if(id == CardIdentifier.KNIGHT_OF_BREAK_FIST__SEGWARIDES)               _UnitObject = new BoulderSmashingKnightSegwarides();
        else if(id == CardIdentifier.GUIDING_FALCONEE)                               _UnitObject = new GuidingFalcony();
        else if(id == CardIdentifier.LIBERATOR__FLARE_MANE_STALLION)                 _UnitObject = new LiberatorFlareManeStallion();
        else if(id == CardIdentifier.HOLY_SQUIRE__ENIDE)                             _UnitObject = new HolySquireEnide();
        else if(id == CardIdentifier.CLEVER_JAKE)                                    _UnitObject = new CleverJake();
        else if(id == CardIdentifier.WITCH_OF_OWLS__PAPRIKA)                         _UnitObject = new WitchOfOwlsPaprika();
        else if(id == CardIdentifier.MICE_GUARD__ORION)                              _UnitObject = new MythGuardOrion();
        else if(id == CardIdentifier.BOWSTRING_OF_HEAVEN_AND_EARTH__ARTEMIS)         _UnitObject = new BowstringOfHeavenAndEarthArtemis();
        else if(id == CardIdentifier.BLADE_WING_REIJY)                               _UnitObject = new BladeWingReijy();
        else if(id == CardIdentifier.SNIPE_SNAKE)                                    _UnitObject = new SnipeSnake();
        else if(id == CardIdentifier.MICE_GUARD__SIRIUS)                             _UnitObject = new MythGuardSirius();
        else if(id == CardIdentifier.CLUSTER_HAMSTER)                                _UnitObject = new ClusterHamster();
        else if(id == CardIdentifier.BATTLE_MAIDEN__KUKURIHIME)                      _UnitObject = new BattleMaidenKukurihime();
        else if(id == CardIdentifier.BLOOD_AXE_DRAGOON)                              _UnitObject = new BloodAxeDragoon();
        else if(id == CardIdentifier.DEMONIC_DRAGON_MAGE__MAJIRA)                    _UnitObject = new DemonicDragonMageMajila();
        else if(id == CardIdentifier.SWORD_DANCE_ERADICATOR__HISEN)                  _UnitObject = new SwordDancerEradicatorHisen();
        else if(id == CardIdentifier.DRAGON_DANCER__AGNES)                           _UnitObject = new DragonDancerAgnes();
        else if(id == CardIdentifier.THUNDER_FIST_ERADICATOR__DOUI)                  _UnitObject = new LightingFistEradicatorDui();
        else if(id == CardIdentifier.ERADICATOR__STRIKE_DAGGER_DRAGON)               _UnitObject = new EradicatorStrikedaggerDragon();
        else if(id == CardIdentifier.DJINN_OF_THE_CLAPPING_THUNDER)                  _UnitObject = new DjinnOfTheThunderBreak();
        else if(id == CardIdentifier.BLOODY_RAIN)                                    _UnitObject = new BloodyReign();
        else if(id == CardIdentifier.BEAST_DEITY__HILARITY_DESTROYER)                _UnitObject = new BeastDeityHilarityDestroyer();
        else if(id == CardIdentifier.MACHINERY_ANGEL)                                _UnitObject = new MachineryAngel();
        else if(id == CardIdentifier.BEAST_DEITY__RIOT_HORN)                         _UnitObject = new BeastDeityRiotHorn();
        else if(id == CardIdentifier.BATTLE_ARM_LEPRECHAUN)                          _UnitObject = new BattleArmLeprechaun();
        else if(id == CardIdentifier.BLOW_KISS__OLIVIA)                              _UnitObject = new BlowKissOlivia();
        else if(id == CardIdentifier.GO_FOR_BREAK)                                   _UnitObject = new GoForBroke();
        else if(id == CardIdentifier.CHARGING_BILL_COLLECTOR)                        _UnitObject = new ChargingBillCollector();
        else if(id == CardIdentifier.UFO)                                            _UnitObject = new UFOUnluckyFlyingObject();
        else if(id == CardIdentifier.TYRANT_RECEIVER)                                _UnitObject = new TyrantReceiver();
        else if(id == CardIdentifier.DUDLEY_PHANTOM)                                 _UnitObject = new DudleyPhantom();
        else if(id == CardIdentifier.REIGN_OF_TERROR__THERMIDOR)                     _UnitObject = new ReignOfTerrorThermidor();
        else if(id == CardIdentifier.BABY_FACE__ISAAC)                               _UnitObject = new BabyFaceIzaac();
        else if(id == CardIdentifier.MOBILE_HOSPITAL__ASSAULT_HOSPICE)               _UnitObject = new MobileHospitalAssaultHospice();
        else if(id == CardIdentifier.CANDLE_CELESTIAL__SARIEL)                       _UnitObject = new CandleCelestialSariel();
        else if(id == CardIdentifier.CHIEF_NURSE__SHAMSIEL)                          _UnitObject = new ChiefNurseShamsiel();
        else if(id == CardIdentifier.REVERSE_AURA_PHOENIX)                           _UnitObject = new ReverseAuraPhoenix();
        else if(id == CardIdentifier.FIRST_AID_CELESTIAL__PENUEL)                    _UnitObject = new FirstAidCelestialPeniel();
        else if(id == CardIdentifier.ADAMANTINE_CELESTIAL__ANIEL)                    _UnitObject = new AdamantineCelestialAniel();
        else if(id == CardIdentifier.UNDERLAY_CELESTIAL__HESEDIEL)                   _UnitObject = new UnderlayCelestialHesediel();
        else if(id == CardIdentifier.MARKING_CELESTIAL__ARABHAKI)                    _UnitObject = new MarkingCelestialArabhaki();
        else if(id == CardIdentifier.WILD_SHOT_CELESTIAL__RAGUEL)                    _UnitObject = new WildShotCelestialRaguel();
        else if(id == CardIdentifier.SOLIDIFY_CELESTIAL__ZERACHIEL)                  _UnitObject = new SolidifyCelestialZerachiel();
        else if(id == CardIdentifier.PROPHECY_CELESTIAL__RAMIEL)                     _UnitObject = new ProphecyCelestialRamiel();
        else if(id == CardIdentifier.BORGAL)                                         _UnitObject = new Borgal();
        else if(id == CardIdentifier.ADVANCE_PARTY_BRAVE_SHOOTER)                    _UnitObject = new AdvancePartyBraveShooter();
        else if(id == CardIdentifier.SHORTSTOP_BRAVE_SHOOTER)                        _UnitObject = new MercenaryBraveShooter();
        else if(id == CardIdentifier.DRAGONIC_OVERLORD)                              _UnitObject = new DragonicOverlord();
        else if(id == CardIdentifier.BLUE_FLIGHT_DRAGON__TRANS_CORE_DRAGON)          _UnitObject = new BlueFlightDragonTranscoreDragon();
        else if(id == CardIdentifier.COSMO_HEALER__ERGODIEL)                         _UnitObject = new CosmoHealerErgodiel();
        else if(id == CardIdentifier.WINGAL)                                         _UnitObject = new Wingal();
        else if(id == CardIdentifier.BLAZING_LION__PLATINA_EZEL)                     _UnitObject = new BlazingLionPlatinaEzel();
        else if(id == CardIdentifier.MILITARY_DRAGON__RAPTOR_COLONEL)                _UnitObject = new MilitaryDragonRaptorColonel();
        else if(id == CardIdentifier.BRINGER_OF_KNOWLEDGE__LOX)                      _UnitObject = new BringerOfKnowledgeLox();
        else if(id == CardIdentifier.SNOGAL)                                         _UnitObject = new Snogal();
        else if(id == CardIdentifier.DEMON_WORLD_CASTLE__DONNERSCHLAG)               _UnitObject = new DonnerSchlag();
        else if(id == CardIdentifier.ARBOROS_DRAGON__SEPHIROT)                       _UnitObject = new ArborosDragonSephirot();
        else if(id == CardIdentifier.SUPPRESSION_ERADICATOR__DOKKASEI)               _UnitObject = new SuppressionEradicatorDokkasei();
        else if(id == CardIdentifier.ERADICATOR__BLADE_HANG_DRACOKID)                _UnitObject = new EradicatorBladeHangDracokid();
        else if(id == CardIdentifier.FLAME_STAR_SEAL_DRAGON_KNIGHT)                  _UnitObject = new FlameStarSealDragonKnight();
        else if(id == CardIdentifier.DRAGON_KNIGHT__LEZAR)                           _UnitObject = new DragonKnightLezar();
        else if(id == CardIdentifier.DEMONIC_DRAGON_MAGE__TAKSAKA)                   _UnitObject = new DemonicDragonMageTaksaka();
        else if(id == CardIdentifier.DIABLE_DRIVE_DRAGON)                            _UnitObject = new DiableDriveDragon();
        else if(id == CardIdentifier.EXPLOSIVE_CLAW_SEAL_DRAGON_KNIGHT)              _UnitObject = new ExplosiveClawSealDragonKnight();
        else if(id == CardIdentifier.CALAMITY_TOWER_WYVERN)                          _UnitObject = new CalamityTowerWyvern();
        else if(id == CardIdentifier.PRISON_EGG_SEAL_DRAGON_KNIGHT)                  _UnitObject = new PrisonEggSealDragonKnight();
        else if(id == CardIdentifier.STEALTH_BEAST__CHAIN_GEEK)                      _UnitObject = new StealthBeastChainGeek();
        else if(id == CardIdentifier.STEALTH_ROGUE_OF_KITE__GOEMON)                  _UnitObject = new StealthRogueOfKiteGoemon();
        else if(id == CardIdentifier.STEALTH_BEAST__DEATHLY_DAGGER)                  _UnitObject = new StealthBeastDeathlyDagger();
        else if(id == CardIdentifier.ROARING_THUNDER_BOW__ZAFURA)                    _UnitObject = new RoaringThunderBowZafura();
        else if(id == CardIdentifier.PLASMA_SCIMITAR_DRAGOON)                        _UnitObject = new PlasmaScimitarDragoon();
        else if(id == CardIdentifier.DRAGON_DANCER__AGATHA)                          _UnitObject = new DragonDancerAgatha();
        else if(id == CardIdentifier.WYVERN_STRIKE__ZAROOS)                          _UnitObject = new WyvernStrikeZaroos();
        else if(id == CardIdentifier.WISHING_DJINN)                                  _UnitObject = new WishingDjinn();
        else if(id == CardIdentifier.JACKIN______PUMPKIN)                            _UnitObject = new JackinPumpkin();
        else if(id == CardIdentifier.LOTUS_DRUID)                                    _UnitObject = new LotusDruid();
        else if(id == CardIdentifier.MAIDEN_OF_PHYSALIS)                             _UnitObject = new MaidenOfPhysalis();
        else if(id == CardIdentifier.BLUE_ROSE_MUSKETEER__ERNEST)                    _UnitObject = new BlueRoseMusketeerErnest();
        else if(id == CardIdentifier.SAMURAI_SPIRIT)                                 _UnitObject = new SamuraiSpirit();
        else if(id == CardIdentifier.BATTLE_SISTER_COCOA)                            _UnitObject = new BattleSisterCocoa();

        if(_UnitObject != null)
        {
            _UnitObject.SetOwnerCard(OwnerCard);
        }
    }
 public static void setupIdentifier(TestContext a)
 {
     identifier = new CardIdentifier("imageHashMap.json", "sortedScryfall.json", true);
 }
 public CardInformation GetCardInfo(CardIdentifier id)
 {
     int index = (int)id;
     return Card [index];
 }