예제 #1
0
        public override void FinishResolve()
        {
            if (IsFerocious())
            {
                if (!_instead)
                {
                    base.FinishResolve();
                }
                else
                {
                    foreach (var effect in ChildEffects.Skip(_feroucionIndex))
                    {
                        effect.AfterResolve(new Context(this, Game));
                    }

                    EffectFinishResolve();
                }
                return;
            }

            foreach (var effect in ChildEffects.Take(_feroucionIndex))
            {
                effect.AfterResolve(new Context(this, Game));
            }

            EffectFinishResolve();
        }
예제 #2
0
        protected override void ResolveEffect()
        {
            if (IsFerocious())
            {
                if (!_instead)
                {
                    base.ResolveEffect();
                }
                else
                {
                    foreach (var effect in ChildEffects.Skip(_feroucionIndex))
                    {
                        effect.BeginResolve();
                    }
                }

                return;
            }

            foreach (var effect in ChildEffects.Take(_feroucionIndex))
            {
                effect.BeginResolve();
            }
        }