Obviously, many basic magic theories and foundations in the world of Harry Potter were similar to those in Diablo 2.
In fact, the two classes that used magic in Diablo had more official names. The necromancers were also called wizards while sorceresses were called witches (In the original version, there were only sorceresses and no sorcerers).
Although the two worlds had lots of differences, the basics and foundations were similar.
Even the materials for making magic wands were similar. In Diablo, necromancers usually used yew wands. Likewise, in Harry potter, yew wood was the main material in many magic wands.
Clearly, people had found that these two worlds were structured on the same system, which was why Jun Yangzi and the other artifact masters tried to obtain inspirations about the basic magic theories by watching this movie.