Merge branch '4.3.4' of https://github.com/TrinityCore/TrinityCore into 4.3.4
This commit is contained in:
commit
eff2a994b1
6 files changed
+21
-17
No files matched your search
@@ -37,13 +37,13 @@
|
||||
bool IsPrimaryProfessionSkill(uint32 skill)
|
||||
{
|
||||
SkillLineEntry const* pSkill = sSkillLineStore.LookupEntry(skill);
|
||||
if (!pSkill)
|
||||
return false;
|
||||
return pSkill && pSkill->categoryId == SKILL_CATEGORY_PROFESSION;
|
||||
}
|
||||
|
||||
if (pSkill->categoryId != SKILL_CATEGORY_PROFESSION)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
bool IsWeaponSkill(uint32 skill)
|
||||
{
|
||||
SkillLineEntry const* pSkill = sSkillLineStore.LookupEntry(skill);
|
||||
return pSkill && pSkill->categoryId == SKILL_CATEGORY_WEAPON;
|
||||
}
|
||||
|
||||
bool IsPartOfSkillLine(uint32 skillId, uint32 spellId)
|
||||
|
||||
Reference in new issue
Block a user