mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
*Handle some spell specific which is both food and drink. Source: Mangos
--HG-- branch : trunk
This commit is contained in:
@@ -4652,7 +4652,7 @@ void Unit::SendPeriodicAuraLog(SpellPeriodicAuraLogInfo *pInfo)
|
||||
data << uint32(pInfo->overDamage); // overheal?
|
||||
data << uint8(pInfo->critical); // new 3.1.2 critical tick
|
||||
break;
|
||||
case SPELL_AURA_OBS_MOD_ENERGY:
|
||||
case SPELL_AURA_OBS_MOD_POWER:
|
||||
case SPELL_AURA_PERIODIC_ENERGIZE:
|
||||
data << uint32(aura->GetMiscValue()); // power type
|
||||
data << uint32(pInfo->damage); // damage
|
||||
@@ -12818,7 +12818,7 @@ void Unit::ProcDamageAndSpellFor( bool isVictim, Unit * pTarget, uint32 procFlag
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SPELL_AURA_OBS_MOD_ENERGY:
|
||||
case SPELL_AURA_OBS_MOD_POWER:
|
||||
sLog.outDebug("ProcDamageAndSpell: casting spell id %u (triggered by %s aura of spell %u)", spellInfo->Id,(isVictim?"a victim's":"an attacker's"), triggeredByAura->GetId());
|
||||
if (HandleObsModEnergyAuraProc(pTarget, damage, triggeredByAura, procSpell, procFlag, procExtra, cooldown))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user