refactor(Core/Misc): Define & Rename Attributes (#5311)
This commit is contained in:
parent
0a571973d7
commit
5954d9c739
22 changed files with 667 additions and 666 deletions
|
|
@ -307,7 +307,7 @@ bool SpellChatLink::ValidateName(char* buffer, const char* context)
|
|||
ChatLink::ValidateName(buffer, context);
|
||||
|
||||
// spells with that flag have a prefix of "$PROFESSION: "
|
||||
if (_spell->HasAttribute(SPELL_ATTR0_TRADESPELL))
|
||||
if (_spell->HasAttribute(SPELL_ATTR0_IS_TRADESKILL))
|
||||
{
|
||||
SkillLineAbilityMapBounds bounds = sSpellMgr->GetSkillLineAbilityMapBounds(_spell->Id);
|
||||
if (bounds.first == bounds.second)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue