Someone else sought help with identifying a film they remembered. I think I remember the same film, but I don't think it is the film they accepted as their answer — Krull (1983).
From their description I can clearly see this scene
Various groups are sent on a search for an artifact. I think it was a sword. There is one scene I can remember quite clear: a group of riders is stopped by some kind of lizardmen coming out of the ground in front of them where they have been hiding in the middle of the path. Another scene plays in some sort of cave with fog on the ground.
I remember the ground during the ambush was covered in yellow leaves or something that gave the appearance of autumn. I think they had energy crossbows.
Can anyone help with this? I can't think of the film's title. I think it's early '80s. Late '70s is possible; for sure not '90s.