TrinityCore/TrinityCore — comment on commit 27e1a5d7b645c8b09ad9fc5b1b19ef066253b488
File: src/server/game/Entities/Unit/Unit.cpp line 1598
By bytewarrior:

Correct me, if I'm wrong, but shouldn't it be victim->GetLevel() instead of just getLevel()? Currently, it's the caster level if I'm not wrong, and this means that bosses will have 400 resistance as a consequence and players will have 510. This, of course, only applies to boss fights. However, in PvP, if two players of a different level do combat, their resistances are also wrong.