aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-06-25 17:55:19 +0200
committerQAston <none@none>2009-06-25 17:55:19 +0200
commit70379983c3141da108a38549519e61a87313f517 (patch)
treee91de1a82e0f73312bfe986687ac19f7d7faed3d /src/game/Unit.cpp
parent642a343d9859f0b70f03b08a36f28401f9b760ec (diff)
*Implement aura type SPELL_AURA_ABILITY_PERIODIC_CRIT (286).
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 29b7b09a12b..5f126728c40 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -4687,13 +4687,13 @@ void Unit::SendPeriodicAuraLog(SpellPeriodicAuraLogInfo *pInfo)
data << uint32(GetSpellSchoolMask(aura->GetSpellProto()));
data << uint32(pInfo->absorb); // absorb
data << uint32(pInfo->resist); // resist
- data << uint8(0); // new 3.1.2
+ data << uint8(pInfo->critical); // new 3.1.2 critical tick
break;
case SPELL_AURA_PERIODIC_HEAL:
case SPELL_AURA_OBS_MOD_HEALTH:
data << uint32(pInfo->damage); // damage
data << uint32(pInfo->overDamage); // overheal?
- data << uint8(0); // new 3.1.2
+ data << uint8(pInfo->critical); // new 3.1.2 critical tick
break;
case SPELL_AURA_OBS_MOD_ENERGY:
case SPELL_AURA_PERIODIC_ENERGIZE: