What are the mechanics of Thornmail?

Does it reflect based off received damage or unmitigated? Is it's damage reduced by MR? Do misses reflect? That'd be weird, but missed do generate mana for the attacker. Really wish there was a sandbox mode...
Report as:
Offensive Spam Harassment Incorrect Board