There seems to be some randomization as to when exactly it appears, with cultivation actions (and few others) slowly pushing it down earlier the timeline.
Actual Qi value only matters for the outcome of trying to fight it as far as I can tell; being able to live longer should make it more likely to see it due to having more time to spend.