Пример #1
0
        public override VInt3 SelectTargetDir(SkillSlot UseSlot)
        {
            ActorRoot target = SelectTargetHelper.GetTarget(UseSlot);

            if (target != null)
            {
                VInt3 num = target.location - UseSlot.Actor.handle.location;
                num.y = 0;
                return(num.NormalizeTo(0x3e8));
            }
            return(UseSlot.Actor.handle.forward);
        }
Пример #2
0
        public override VInt3 SelectTargetDir(SkillSlot UseSlot)
        {
            ActorRoot target = SelectTargetHelper.GetTarget(UseSlot);

            if (target != null)
            {
                VInt3 vInt = target.location - UseSlot.Actor.get_handle().location;
                vInt.y = 0;
                return(vInt.NormalizeTo(1000));
            }
            return(UseSlot.Actor.get_handle().forward);
        }
Пример #3
0
 public override ActorRoot SelectTarget(SkillSlot UseSlot)
 {
     return(SelectTargetHelper.GetTarget(UseSlot));
 }