Esempio n. 1
0
        protected override void DoCopyMembers(BaseEffect Copy)
        {
            ParryEffect NewEffect = (ParryEffect)Copy;

            ListAttack = new List <string>(NewEffect.ListAttack.Count);
            for (int i = NewEffect.ListAttack.Count - 1; i >= 0; --i)
            {
                ListAttack.Add(NewEffect.ListAttack[i]);
            }
        }
Esempio n. 2
0
        protected override BaseEffect DoCopy()
        {
            ParryEffect NewEffect = new ParryEffect(Params);

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

            return(NewEffect);
        }