Exemplo n.º 1
0
        public static void SwitchCurse(this Pool pool)
        {
            var hero       = pool.GetHero();
            var activeBoss = pool.GetActiveBoss();

            if (activeBoss != null)
            {
                hero.isCursed       = !hero.isCursed;
                activeBoss.isCursed = !activeBoss.isCursed;
            }
        }