Adjusted on_death mechanic

Now the event will generate a new lucky ruler if the trait isn't passed
to a ruler's heir for some reason.