Complex sentence: Every time Jehuty defeats an enemy it gains experience; after gaining a determined amount of experience, it levels up, improving most of its qualities.
Split into simpler sentences: Every time Jehuty defeats an enemy it gains experience. After gaining a determined amount of experience it levels up, improving most of its qualities.