Core/Creatures: Refactor CreatureEliteType
Port From (https://github.com/TrinityCore/TrinityCore/commit/bfbda8dcce8d19dda0ee3d8f96d176901902e102)
This commit is contained in:
@@ -176,7 +176,7 @@ namespace Game.Entities
|
||||
|
||||
// Pet damage?
|
||||
if (IsTypeId(TypeId.Unit) && !IsPet())
|
||||
DoneTotalMod *= ToCreature().GetSpellDamageMod(ToCreature().GetCreatureTemplate().Rank);
|
||||
DoneTotalMod *= ToCreature().GetSpellDamageMod(ToCreature().GetCreatureTemplate().Classification);
|
||||
|
||||
// Versatility
|
||||
Player modOwner = GetSpellModOwner();
|
||||
|
||||
Reference in New Issue
Block a user