*Fix chains of ice
*Correct typo in my prev commit-by megamage *Fix hearthstone obtaining from innkeeper. --HG-- branch : trunk
This commit is contained in:
1 parent
8ade78cf69
commit
6998da2028
5 files changed
+9
-25
No files matched your search
@@ -1256,12 +1256,6 @@ bool SpellMgr::IsSpellProcEventCanTriggeredBy(SpellProcEventEntry const* spellPr
|
||||
}
|
||||
else // For spells need check school/spell family/family mask
|
||||
{
|
||||
// Item cast can trigger only with spells with spellfamily
|
||||
if (procExtra & PROC_EX_INTERNAL_ITEM_CAST)
|
||||
{
|
||||
if (!spellProcEvent->spellFamilyName)
|
||||
return false;
|
||||
}
|
||||
// Check (if set) for school
|
||||
if(spellProcEvent->schoolMask && (spellProcEvent->schoolMask & procSpell->SchoolMask) == 0)
|
||||
return false;
|
||||
@@ -1279,9 +1273,6 @@ bool SpellMgr::IsSpellProcEventCanTriggeredBy(SpellProcEventEntry const* spellPr
|
||||
}
|
||||
}
|
||||
}
|
||||
// Item cast can trigger only with spells with spellfamily
|
||||
else if (procExtra & PROC_EX_INTERNAL_ITEM_CAST)
|
||||
return false;
|
||||
|
||||
// Check for extra req (if none) and hit/crit
|
||||
if (procEvent_procEx == PROC_EX_NONE)
|
||||
|
||||
Reference in new issue
Block a user