mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[8317] Implement 48801 and ranks work as expected in 3.1.x
Original patch writed by QAston. Original patch prepared to mangos by KAPATEJIb.
This commit is contained in:
parent
ba170f92f2
commit
dc8bf0f7e7
4 changed files with 13 additions and 3 deletions
|
|
@ -5448,8 +5448,10 @@ bool Spell::CheckTargetCreatureType(Unit* target) const
|
|||
{
|
||||
uint32 spellCreatureTargetMask = m_spellInfo->TargetCreatureType;
|
||||
|
||||
// Curse of Doom : not find another way to fix spell target check :/
|
||||
if(m_spellInfo->SpellFamilyName==SPELLFAMILY_WARLOCK && m_spellInfo->SpellFamilyFlags == UI64LIT(0x0200000000))
|
||||
// Curse of Doom & Exorcism: not find another way to fix spell target check :/
|
||||
if (m_spellInfo->SpellFamilyName==SPELLFAMILY_WARLOCK && m_spellInfo->Category == 1179 ||
|
||||
// TODO: will be removed in 3.2.x
|
||||
m_spellInfo->SpellFamilyName==SPELLFAMILY_PALADIN && m_spellInfo->Category == 19)
|
||||
{
|
||||
// not allow cast at player
|
||||
if(target->GetTypeId()==TYPEID_PLAYER)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue