aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-08-17 11:12:31 +0200
committerMachiavelli <none@none>2009-08-17 11:12:31 +0200
commitbd48f76760e30c7fd196b4fb400d63e5510c3479 (patch)
treee557cb0104fa4ee498dce04f87b1e20651ecdfbf /src/game/Unit.cpp
parentb043e5bd94b73409c86bfdf8448bbb03aed26ed5 (diff)
* Allow partial blocs to proc PROC_EX_NORMAL_HIT, by nos4r2zod
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index fc8ac129644..21d69b89f59 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -1396,6 +1396,8 @@ void Unit::CalculateMeleeDamage(Unit *pVictim, uint32 damage, CalcDamageInfo *da
damageInfo->TargetState = VICTIMSTATE_BLOCKS;
damageInfo->blocked_amount = damageInfo->damage;
}
+ else
+ damageInfo->procEx |= PROC_EX_NORMAL_HIT;
damageInfo->damage -= damageInfo->blocked_amount;
damageInfo->cleanDamage += damageInfo->blocked_amount;
break;