add sleep in battle