Refined the hero walking behavior