Optimize ELM frame handler

HEAVY!!
Implement hit, hurt and dying for swordman