a function that checks the direction from which attacks come from, useful for backstabs and flank attacks