Exemplo n.º 1
0
        protected override void DoCopyMembers(BaseEffect Copy)
        {
            NullifyAttackEffect NewEffect = (NullifyAttackEffect)Copy;

            ListAttack = new List <string>(NewEffect.ListAttack.Count);
            for (int i = NewEffect.ListAttack.Count - 1; i >= 0; --i)
            {
                ListAttack.Add(NewEffect.ListAttack[i]);
            }
        }
        protected override void DoCopyMembers(BaseEffect Copy)
        {
            NullifyAttackEffect NewEffect = (NullifyAttackEffect)Copy;

            ArrayAttack = new string[NewEffect.ArrayAttack.Length];
            for (int A = NewEffect.ArrayAttack.Length - 1; A >= 0; --A)
            {
                ArrayAttack[A] = NewEffect.ArrayAttack[A];
            }
        }
Exemplo n.º 3
0
        protected override BaseEffect DoCopy()
        {
            NullifyAttackEffect NewEffect = new NullifyAttackEffect(Params);

            NewEffect.ListAttack = new List <string>(ListAttack.Count);
            for (int i = ListAttack.Count - 1; i >= 0; --i)
            {
                NewEffect.ListAttack.Add(ListAttack[i]);
            }

            return(NewEffect);
        }
        protected override BaseEffect DoCopy()
        {
            NullifyAttackEffect NewEffect = new NullifyAttackEffect(Params);

            NewEffect.ArrayAttack = new string[ArrayAttack.Length];
            for (int A = ArrayAttack.Length - 1; A >= 0; --A)
            {
                NewEffect.ArrayAttack[A] = ArrayAttack[A];
            }

            return(NewEffect);
        }