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

View File

@@ -3832,7 +3832,7 @@ void Spell::EffectSkinning()
if (uint32 pureSkillValue = player->GetPureSkillValue(skinningSkill))
{
// Double chances for elites
player->UpdateGatherSkill(skinningSkill, pureSkillValue, reqValue, creature->isElite() ? 2 : 1);
player->UpdateGatherSkill(skinningSkill, pureSkillValue, reqValue, creature->IsElite() ? 2 : 1);
}
}
}