Core/Misc: Move TalentSpecialization together with other db2 enums and rename it to ChrSpecialization

This commit is contained in:
Nyr
2023-08-07 00:05:36 +02:00
committed by Shauren
parent 054723241e
commit d2784d4c65
8 changed files with 66 additions and 64 deletions
+1 -1
View File
@@ -454,7 +454,7 @@ class spell_hun_multi_shot : public SpellScript
void HandleOnHit()
{
// We need to check hunter's spec because it doesn't generate focus on other specs than MM
if (GetCaster()->ToPlayer()->GetPrimarySpecialization() == TALENT_SPEC_HUNTER_MARKSMAN)
if (GetCaster()->ToPlayer()->GetPrimarySpecialization() == ChrSpecialization::HunterMarksmanship)
GetCaster()->CastSpell(GetCaster(), SPELL_HUNTER_MULTI_SHOT_FOCUS, true);
}