コード例 #1
0
        public override void CopyMembers(BaseSkillRequirement Copy)
        {
            TimeAliveRequirement NewRequirement = (TimeAliveRequirement)Copy;

            _TimeToWait    = NewRequirement._TimeToWait;
            _MaxExecutions = NewRequirement._MaxExecutions;
            _Delay         = NewRequirement._Delay;
        }
コード例 #2
0
        public override BaseSkillRequirement Copy()
        {
            TimeAliveRequirement NewSkillEffect = new TimeAliveRequirement(GlobalContext);

            NewSkillEffect._TimeToWait    = _TimeToWait;
            NewSkillEffect._MaxExecutions = _MaxExecutions;
            NewSkillEffect._Delay         = _Delay;

            return(NewSkillEffect);
        }