Exemple #1
0
        public override BTNode DeepClone()
        {
            AddBuff buff = new AddBuff();

            buff.Affect = this.Affect;
            buff.BuffID = this.BuffID;
            buff.Ratio  = this.Ratio;
            return(buff);
        }
Exemple #2
0
        public override BTNode DeepClone()
        {
            AddBuff buff = new AddBuff
            {
                Affect = this.Affect,
                BuffID = this.BuffID,
                Ratio  = this.Ratio
            };

            return(buff);
        }