The damage dealt is the same to both allies and enemies.
Let me explain in more detail, in simple terms, although I've already written about it:
You have Torgrim at level 20, and your opponent simply has a hero with resistance, let's say, Bronze. Torgrim uses Armageddon, and he hits himself harder than he hits Bronze. That's all I'm saying.