Core/Pet: Fix guardians low damage

Port From (https://github.com/TrinityCore/TrinityCore/commit/6e1ed95a63b12d7eb94bfb06b9e2569c4f15e5d2)
This commit is contained in:
hondacrx
2022-01-04 20:51:40 -05:00
parent cf0ddc132b
commit 1a35b4c6f7
2 changed files with 146 additions and 131 deletions
+1 -1
View File
@@ -2567,7 +2567,7 @@ namespace Game.Entities
return (float)GetMaxHealthByLevel(levelForTarget) / GetCreateHealth();
}
float GetBaseDamageForLevel(uint level)
public float GetBaseDamageForLevel(uint level)
{
CreatureTemplate cInfo = GetCreatureTemplate();
CreatureLevelScaling scaling = cInfo.GetLevelScaling(GetMap().GetDifficultyID());