aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 1411b62b8f1..04f2081915e 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -6752,7 +6752,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
return false;
// heal amount
- basepoints0 = triggerAmount*damage/100;
+ basepoints0 = triggerAmount*(std::min(damage,GetMaxHealth() - GetHealth()))/100;
target = this;
if(basepoints0)