tgstation/-tg-station — pull request #5642 by phil235 (2014-11-03 14:50:08+00:00)
Title: Adding an attack animation to most attacks

* Adding attack animation to most attacks.
* Fixing a couple typos and "for(......) show_message()".
* Fixing the pixel offset issue from beds especially rollerbed. (probably fixes #5228 )
* Fixing the nograv bouncing stopping because of another animation being used.(lying down, jittering, attack animation). (Probably fixes #3926)

The attack animation is played for pretty much any attack that shows a message. It's a quick move forward that lasts roughly half a second. This works for pretty much all mob/living that have attacks. Diagonal attacks moves the mob in the direction he's facing, because I'm too lazy to search how to make a diagonal move.

Shitty gif to get an idea of how it looks: http://i58.tinypic.com/303hl4l.gif