This assumes out of range casting is enabled for the skill (so it will work with hag blink but not mag stun), can be fixed by changing it to:

return Vector3.Normalize(vecNodePosition - vecCurrentPosition) * nBlinkRange