diff options
| author | QAston <none@none> | 2009-06-16 13:24:42 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-06-16 13:24:42 +0200 |
| commit | 56408648456b8b78d0bfed4aec8d74473ab6b62e (patch) | |
| tree | 12016069d18be854f87ff279c99ee3344af3a393 /src/game/Unit.cpp | |
| parent | 8f8bc70afb0628be3e8c29c8c8eda46304427ea4 (diff) | |
*Implement AURA_STATE_BLEEDING
*Correct proc requirements for: Decimation, Impact Juggernaut
*Fix Hunger For Blood.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
| -rw-r--r-- | src/game/Unit.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 75ee0e3784d..4c93c6652eb 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7687,6 +7687,12 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig return false; break; } + // Decimation + case 63156: + case 63158: + // Can proc only if target has hp below 35% + if(!pVictim->HasAuraState(AURA_STATE_HEALTHLESS_35_PERCENT, procSpell, this)) + return false; } // Custom basepoints/target for exist spell |
