Or does it just raise attack?
No, I believe Dark type moves will work as normal against the pokemon, super-effective against Psychics and so on. There's just a secondary effect for the user.
On the contrary pokemaster I belive it will work like flash fire or motor drive and the pokemon will absorb the hit and make it raise stats.
How to change your username
How to add a user avatar
Why was my post hidden?
Flags vs Downvotes
Official PokemonDb League
Type a Pokemon name, type, move or ability to see instant results.