diff options
| author | QAston <none@none> | 2009-06-24 17:45:15 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-06-24 17:45:15 +0200 |
| commit | 5090a5967a4b50723001bfeb2490235347127e73 (patch) | |
| tree | 8771aeeb33885d1e450f5bbdaebc72594a33c56a /src/game/Unit.cpp | |
| parent | d5c0337a5ebbfa6f8ab03f47e16992e81319c19b (diff) | |
*Fix king of the Jungle.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
| -rw-r--r-- | src/game/Unit.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 96a0a952339..6a2be9f4c65 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -6000,6 +6000,30 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger basepoints0 = triggerAmount * damage / 100; break; } + // King of the Jungle + else if (dummySpell->SpellIconID == 2850) + { + // Effect 0 - mod damage while having Enrage + if (effIndex==0) + { + if (!(procSpell->SpellFamilyFlags[0] & 0x00080000)) + return false; + triggered_spell_id = 51185; + basepoints0 = triggerAmount; + target = this; + break; + } + // Effect 1 - Tiger's Fury restore energy + else if (effIndex==1) + { + if (!(procSpell->SpellFamilyFlags[2] & 0x00000800)) + return false; + triggered_spell_id = 51178; + basepoints0 = triggerAmount; + target = this; + break; + } + } break; } case SPELLFAMILY_ROGUE: |
