*Fix Alchemist's Stone.
--HG-- branch : trunk
This commit is contained in:
1 parent
08976f5c6e
commit
d362d446bd
2 files changed
+6
-2
No files matched your search
@@ -1201,8 +1201,12 @@ bool SpellMgr::IsSpellProcEventCanTriggeredBy(SpellProcEventEntry const* spellPr
|
||||
else // For spells need check school/spell family/family mask
|
||||
{
|
||||
// Potions can trigger only if spellfamily given
|
||||
if (procSpell->SpellFamilyName == SPELLFAMILY_POTION && !spellProcEvent->spellFamilyName)
|
||||
if (procSpell->SpellFamilyName == SPELLFAMILY_POTION)
|
||||
{
|
||||
if (procSpell->SpellFamilyName == spellProcEvent->spellFamilyName)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
// Check (if set) for school
|
||||
if(spellProcEvent->schoolMask && (spellProcEvent->schoolMask & procSpell->SchoolMask) == 0)
|
||||
|
||||
Reference in new issue
Block a user