Core/Spells: Rename SpellAttr0 to use official attribute names
This commit is contained in:
1 parent
24b84ba980
commit
d448ea4370
15 files changed
+104
-104
No files matched your search
@@ -282,7 +282,7 @@ bool SpellChatLink::ValidateName(char* buffer, char const* 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)
|
||||
|
||||
Reference in new issue
Block a user