*Fix Alchemist's Stone.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2009-04-18 23:08:34 +02:00
1 parent 08976f5c6e
commit d362d446bd
2 files changed
+6 -2

No files matched your search

+5 -1
View File
@@ -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)