A pokemon using Foul Play attacks with the opponents power so there are three possibilities.
1.If the user is a dark type, Foul Play gets STAB.
2.If the target is a dark type, Foul Play gets STAB.
3.It doesn´t get STAB at all.
So which of them is right?