diff options
| author | QAston <none@none> | 2009-06-30 12:05:06 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-06-30 12:05:06 +0200 |
| commit | 97027e0ff3430e19d714e0516870083163dfeca5 (patch) | |
| tree | 68e9b077c90c3029abbb15617ade61d19ae3a96a | |
| parent | 44815a83c492452e9ed99e5146878ff676bd583b (diff) | |
*Fix some problems with healing procs targetting.
--HG--
branch : trunk
| -rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index e1ed8cb44b1..227f75a8578 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7894,7 +7894,7 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig // try detect target manually if not set if ( target == NULL ) - target = !(procFlags & PROC_FLAG_SUCCESSFUL_POSITIVE_SPELL) && IsPositiveSpell(trigger_spell_id) ? this : pVictim; + target = !(procFlags & PROC_FLAG_SUCCESSFUL_POSITIVE_SPELL | PROC_FLAG_SUCCESSFUL_HEALING_SPELL) && IsPositiveSpell(trigger_spell_id) ? this : pVictim; // default case if(!target || target!=this && !target->isAlive()) |
