Пример #1
0
        public void Update(Card card)
        {
            var a = Anyfin?.Update(card) ?? false;
            var b = NZoth?.Update(card) ?? false;
            var c = Resurrect?.Update(card) ?? false;

            if (!(a || b || c))
            {
                Normal?.Update(card);
            }
        }
Пример #2
0
        public void PlayerGraveyardUpdate(Card card)
        {
            var any    = Anyfin?.Update(card) ?? false;
            var nzoth  = NZoth?.Update(card) ?? false;
            var rez    = Resurrect?.Update(card) ?? false;
            var guldan = Guldan?.Update(card) ?? false;

            if (!(any || nzoth || rez || guldan))
            {
                Normal?.Update(card);
            }
        }
Пример #3
0
        public void PlayerGraveyardUpdate(Card card)
        {
            var any    = Anyfin?.Update(card) ?? false;
            var nzoth  = NZoth?.Update(card) ?? false;
            var hadr   = Hadronox?.Update(card) ?? false;
            var guldan = Guldan?.Update(card) ?? false;
            var rez    = Resurrect?.Update(card) ?? false;
            var ninel  = NineLives?.Update(card) ?? false;
            var witch  = WitchingHour?.Update(card) ?? false;

            if (!(any || nzoth || hadr || guldan || rez || ninel || witch))
            {
                Normal?.Update(card);
            }
        }
Пример #4
0
        public void PlayerGraveyardUpdate(Card card)
        {
            var any         = Anyfin?.Update(card) ?? false;
            var deathrattle = Deathrattle?.Update(card) ?? false;
            var nzoth       = NZoth?.Update(card) ?? false;
            var hadr        = Hadronox?.Update(card) ?? false;
            var guldan      = Guldan?.Update(card) ?? false;
            var rez         = Resurrect?.Update(card) ?? false;
            var mulch       = Mulchmuncher?.Update(card) ?? false;
            var kangor      = Kangor?.Update(card) ?? false;
            var witching    = WitchingHour?.Update(card) ?? false;

            if (!(any || deathrattle || nzoth || hadr || guldan || rez || mulch || kangor || witching))
            {
                Normal?.Update(card);
            }
        }
Пример #5
0
        public void PlayerGraveyardUpdate(Card card)
        {
            var any           = Anyfin?.Update(card) ?? false;
            var deathrattle   = Deathrattle?.Update(card) ?? false;
            var nzoth         = NZoth?.Update(card) ?? false;
            var hadr          = Hadronox?.Update(card) ?? false;
            var guldan        = Guldan?.Update(card) ?? false;
            var rez           = Resurrect?.Update(card) ?? false;
            var mulch         = Mulchmuncher?.Update(card) ?? false;
            var kangor        = Kangor?.Update(card) ?? false;
            var witching      = WitchingHour?.Update(card) ?? false;
            var hoardpillager = HoardPillager?.Update(card) ?? false;
            var nzothgotd     = NZothGotD?.Update(card) ?? false;
            var rally         = Rally?.Update(card) ?? false;
            var saurfang      = Saurfang?.Update(card) ?? false;

            if (!(any || deathrattle || nzoth || hadr || guldan || rez || mulch || kangor || witching || hoardpillager || nzothgotd || rally || saurfang))
            {
                Normal?.Update(card);
            }
        }
Пример #6
0
        public void PlayerGraveyardUpdate(Card card)
        {
            var any         = Anyfin?.Update(card) ?? false;
            var deathrattle = Deathrattle?.Update(card) ?? false;

            LastPlayed?.UpdateMonstrousParrot(card);
            var nzoth         = NZoth?.Update(card) ?? false;
            var hadr          = Hadronox?.Update(card) ?? false;
            var guldan        = Guldan?.Update(card) ?? false;
            var rez           = Resurrect?.Update(card) ?? false;
            var mulch         = Mulchmuncher?.Update(card) ?? false;
            var kangor        = Kangor?.Update(card) ?? false;
            var witching      = WitchingHour?.Update(card) ?? false;
            var hoardpillager = HoardPillager?.Update(card) ?? false;
            var nzothgotd     = NZothGotD?.Update(card) ?? false;
            var rally         = ((rez && RallyView.IsAlwaysSeparate) || !rez) && (Rally?.Update(card) ?? false);
            var saurfang      = Saurfang?.Update(card) ?? false;
            var elwynnboar    = ((deathrattle && ElwynnBoarView.IsAlwaysSeparate) || !deathrattle) && (ElwynnBoar?.Update(card) ?? false);

            if (!(any || deathrattle || nzoth || hadr || guldan || rez || mulch || kangor || witching || hoardpillager || nzothgotd || rally || saurfang || elwynnboar))
            {
                Normal?.Update(card);
            }
        }