aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-19 17:18:05 -0500
committermegamage <none@none>2009-08-19 17:18:05 -0500
commitf5aeb3e5f7414ebf86e4db410bb4163e917e17cf (patch)
tree4b5750a90cb5cd7fd2a7d45d28b65f157341a58c /src
parent34a95e7fa882f702e50305b9bc726d5b86c7e63b (diff)
*Check proc chance of "improved shadowform". By Den
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index b2f0bda7ec8..8c2d95fb825 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5691,6 +5691,9 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
case 47570:
case 47569:
{
+ if (!roll_chance_i(triggerAmount))
+ return false;
+
RemoveMovementImpairingAuras();
break;
}