To obtain the Doom Knight class in AdventureQuest Worlds, you'll need to purchase it from Gravelyn at WarLionfang.
Once you've bought it, the class is yours to use in battle, unlocking its powerful dark abilities for your character.