I based it on a medieval legend--not the exact same one you describe, but similar. Apparently there were several versions of the same story.
Here's a short vampire one I wrote on the spur of the moment.
---
"Dracula's Surprise"
Dracula arose from his coffin and stepped into the darkness. To his pleasant
surprise, the pitch-black sky was the darkest even his long memory could recall.
He spread his bat-wings, relishing the thought of the hunt before him.
Suddenly the Sun passed out of its shadow and incinerated him.
In the senility of his 600-year-old mind, he had forgotten that today was the
day of the solar eclipse.
*giggle*
That's actually a bit funny. I've
never written a vampire story...
but I did write a vampire poem...
simply called "I, The Vampire".
As I wandered through the night,
wishing to be seen by the daylight,
my heart beheld a familiar song
I used to sing when I was young.
I recalled the life I knew before,
thinking back three centuries, maybe more.
My memory was clouded,
my past shrouded.
I was a forgotten mystery.
Forever Ive wandered through history,
always beholding the moonlight,
never again to see sunlight.
I had been a youth misled,
now I forever walk amongst the undead.
I, the Vampire.
Dracula arose from his coffin and stepped into the darkness. It was a dark and stormy night. The moon was new and his hunger called. He felt lucky.
Sure enough, along came dinner, head down and murmering. Ahh, too easy. Fangs to neck, he tasted -- AHHH -- BILE. Then it hit him, he should have paid attention to the murmering....
"Stolen election, Diebold, moving to Canada..."