fix(Core/Pets): Tamed hunter pets should deal physical damage. (#13522)
Fixes #13497
This commit is contained in:
@@ -1052,7 +1052,14 @@ bool Guardian::InitStatsForLevel(uint8 petlevel)
|
|||||||
|
|
||||||
uint32 creature_ID = (petType == HUNTER_PET) ? 1 : cinfo->Entry;
|
uint32 creature_ID = (petType == HUNTER_PET) ? 1 : cinfo->Entry;
|
||||||
|
|
||||||
SetMeleeDamageSchool(SpellSchools(cinfo->dmgschool));
|
if (petType == HUNTER_PET)
|
||||||
|
{
|
||||||
|
SetMeleeDamageSchool(SPELL_SCHOOL_NORMAL);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SetMeleeDamageSchool(SpellSchools(cinfo->dmgschool));
|
||||||
|
}
|
||||||
|
|
||||||
SetModifierValue(UNIT_MOD_ARMOR, BASE_VALUE, float(petlevel * 50));
|
SetModifierValue(UNIT_MOD_ARMOR, BASE_VALUE, float(petlevel * 50));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user