so you dont know how DnD plays and make assumptions about it based on other RPGs.
thats on you mate.
Perhaps, I know a little about D&D and AD&D.Here is some historical information that covers levels.
AD&D has no maximum level.
The AD&D 2E Player's Handbook covers to level 20. Some classes can be handled procedurally past that (Fighter, Thief).
The AD&D 2E Campaign Option: High Level Campaigns extends AD&D 2E to level 30 or higher.
The AD&D 1E Player's Handbook covers Clerics and Wizards to level 29, Druids to level 14, Illusionists to 26, thief to level 17,
assassins to level 15, monks to level 17, paladins to level 20, rangers to level 17, and fighters procedurally to no limit. Monks, assassins,
and druids have hard level limits; the others simply run out of table but can continue to climb in level indefinitely.
Source: Role-Playing Games, Maximum levels in AD&D 2nd Edition
https://rpg.stackexchange.com/questions/36798/maximum-levels-in-add-2nd-edition