I was never able to finish the game because I could not figure out the last part where you are sent into a cave and suppose to bring every body out alive.
There's a dragon in there called "Jester's Folly". I had trouble with it too at first because I was trying to clear everything.
The solution is that you need to know where the "Jester's Folly" spawn location is. Once you know the spawn location, start the battle and quickly make your way to that dragon until you're in melee range of it and go into turn-based mode. May take a few tries but you'll eventually succeed. Once you're in turn-based mode and in melee-range of Folly, you can proceed to attack it.
To attack the dragon: I held down the right mouse button so that the monster sprite animations freeze. I did this so I could identify which dragon Jester's Folly is. While keeping the right-mouse button held, left-click on Jester's folly to hit it. Rinse and repeat until dead.
Once Jester's Folly died, I used the "Telekinesis" spell to grab the corpse (which had the control cube) since it was out of reach and blocked by the other dragons/hydras. I then circled around the perimeter of the battle to grab all six companions. After grabbing your six companions, you could either choose to continue fighting the enemies in there without fear of your companions dying, or just leave via the exit. I opted to just leave via the exit.