If you dont use specific copyrighted names and such it would be hard to get in trouble for making a class inspired by something. For example lets say you make a monk of the four elements. Now if you call him the last air bender or avatar Ang you might have an issue but if you just call it an elemental monk or something you're good.