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);
        }
Esempio n. 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);
        }
 public override ActorRoot SelectTarget(SkillSlot UseSlot)
 {
     return(SelectTargetHelper.GetTarget(UseSlot));
 }