mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
*Fix build, sorry for that:/
--HG-- branch : trunk
This commit is contained in:
@@ -5872,7 +5872,7 @@ void AuraEffect::HandleSchoolAbsorb(bool apply, bool Real, bool changeAmount)
|
||||
break;
|
||||
case SPELLFAMILY_PALADIN:
|
||||
// Sacred Shield
|
||||
if (m_spellInfo->SpellFamilyFlags[1] & 0x80000)
|
||||
if (m_spellProto->SpellFamilyFlags[1] & 0x80000)
|
||||
{
|
||||
// 0.75 from sp bonus
|
||||
DoneActualBenefit = caster->SpellBaseDamageBonus(GetSpellSchoolMask(m_spellProto)) * 0.75f;
|
||||
|
||||
@@ -1276,11 +1276,11 @@ bool SpellMgr::IsSpellProcEventCanTriggeredBy(SpellProcEventEntry const* spellPr
|
||||
{
|
||||
if (EventProcFlag & PROC_FLAG_SUCCESSFUL_DAMAGING_SPELL_HIT)
|
||||
{
|
||||
if (!(procEx & PROC_EX_INTERNAL_DOT))
|
||||
if (!(procExtra & PROC_EX_INTERNAL_DOT))
|
||||
return false;
|
||||
}
|
||||
else if (EventProcFlag & PROC_FLAG_SUCCESSFUL_HEALING_SPELL
|
||||
&& !(procEx & PROC_EX_INTERNAL_HOT))
|
||||
&& !(procExtra & PROC_EX_INTERNAL_HOT))
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1288,11 +1288,11 @@ bool SpellMgr::IsSpellProcEventCanTriggeredBy(SpellProcEventEntry const* spellPr
|
||||
{
|
||||
if (EventProcFlag & PROC_FLAG_TAKEN_DAMAGING_SPELL_HIT)
|
||||
{
|
||||
if (!(procEx & PROC_EX_INTERNAL_DOT))
|
||||
if (!(procExtra & PROC_EX_INTERNAL_DOT))
|
||||
return false;
|
||||
}
|
||||
else if (EventProcFlag & PROC_FLAG_TAKEN_HEALING_SPELL
|
||||
&& !(procEx & PROC_EX_INTERNAL_HOT))
|
||||
&& !(procExtra & PROC_EX_INTERNAL_HOT))
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user