diff options
| author | QAston <none@none> | 2009-02-25 22:15:14 +0100 |
|---|---|---|
| committer | QAston <none@none> | 2009-02-25 22:15:14 +0100 |
| commit | dea0b1c5a69dad8f3645f2a4f6634f50fdb3ad08 (patch) | |
| tree | b5df3a8e4d517ba0faf396a73f6b7523215c8094 /src/game/Spell.cpp | |
| parent | e7ca6e811711ac935a2411fb7c670b7b25bd0d85 (diff) | |
*Fix Prayer of mending bonus healing.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
| -rw-r--r-- | src/game/Spell.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 90a22d963e9..8f8118e48e2 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1171,7 +1171,10 @@ void Spell::DoSpellHitOnUnit(Unit *unit, const uint32 effectMask) // assisting case, healing and resurrection if(unit->hasUnitState(UNIT_STAT_ATTACK_PLAYER)) + { m_caster->SetContestedPvP(); + if m_caster->UpdatePvP(true); + } if( unit->isInCombat() && !(m_spellInfo->AttributesEx3 & SPELL_ATTR_EX3_NO_INITIAL_AGGRO) ) { m_caster->SetInCombatState(unit->GetCombatTimer() > 0); |
