Revert "Revert "Changed the hit logic by adding a damage state. Damage state flashes""

This reverts commit 861c019daa8ed293cab4ed2dd4984304b16130c7.
Revert "Changed the hit logic by adding a damage state. Damage state flashes"

This reverts commit 907503211b4fea75a732a56e29fb89823df1749c.