you deal damage based on how fast you move into the enemy, i didnt really know how to implement this so it is very weird. At this point its just like a chance you get hit or the enemy gets hit..