Core/Creatures: Refactor CreatureEliteType (#29525)

* Turn into enum class with official names
This commit is contained in:
Teleqraph
2023-12-28 19:11:54 +01:00
committed by GitHub
parent 9c24f3ecd3
commit bfbda8dcce
14 changed files with 247 additions and 187 deletions
+1 -1
View File
@@ -6635,7 +6635,7 @@ float Unit::SpellDamagePctDone(Unit* victim, SpellInfo const* spellProto, Damage
// Pet damage?
if (GetTypeId() == TYPEID_UNIT && !IsPet())
DoneTotalMod *= ToCreature()->GetSpellDamageMod(ToCreature()->GetCreatureTemplate()->rank);
DoneTotalMod *= ToCreature()->GetSpellDamageMod(ToCreature()->GetCreatureTemplate()->Classification);
// Versatility
if (Player* modOwner = GetSpellModOwner())