示例#1
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);
            }
        }
示例#2
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);
            }
        }
示例#3
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);
            }
        }