Core/Spells: Implemented SPELL_ATTR5_NOT_AVAILABLE_WHILE_CHARMED
This commit is contained in:
1 parent
8fa4b57925
commit
4cfd439d34
4 files changed
+11
-2
No files matched your search
@@ -21358,7 +21358,7 @@ void Player::VehicleSpellInitialize()
|
||||
{
|
||||
uint32 spellId = vehicle->m_spells[i];
|
||||
SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(spellId);
|
||||
if (!spellInfo)
|
||||
if (!spellInfo || !spellInfo->HasAttribute(SPELL_ATTR5_NOT_AVAILABLE_WHILE_CHARMED))
|
||||
{
|
||||
data << uint16(0) << uint8(0) << uint8(i+8);
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user