Exemple #1
0
        public override void CopyMembers(BaseSkillRequirement Copy)
        {
            RelationshipRequirement NewRequirement = (RelationshipRequirement)Copy;

            _DistanceToEnemy  = NewRequirement._DistanceToEnemy;
            _IncludeDiagonals = NewRequirement._IncludeDiagonals;
            _CharacterName    = NewRequirement._CharacterName;
        }
Exemple #2
0
        public override BaseSkillRequirement Copy()
        {
            RelationshipRequirement NewSkillEffect = new RelationshipRequirement(Context);

            NewSkillEffect._DistanceToEnemy  = _DistanceToEnemy;
            NewSkillEffect._IncludeDiagonals = _IncludeDiagonals;
            NewSkillEffect._CharacterName    = _CharacterName;

            return(NewSkillEffect);
        }