added light/dark sword functionality