diff options
| author | QAston <none@none> | 2009-03-05 20:47:18 +0100 |
|---|---|---|
| committer | QAston <none@none> | 2009-03-05 20:47:18 +0100 |
| commit | 2f20a832dc1481117e1db9f7d8c5d82886493f18 (patch) | |
| tree | 0779bdf3e24cfdd402e221eb5bc2c178c396c2c0 /src/game/Unit.cpp | |
| parent | ae55745f2a10078d8361c452b2d97661cea73eb2 (diff) | |
*Fix reward rep amount- by yad02
*Fix Haunt and Pain and Suffering- by Fog
*Fix leader of the pack-original patch by Lightguard
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
| -rw-r--r-- | src/game/Unit.cpp | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 25c3aee65e4..eb1b3b90e61 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5539,6 +5539,14 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu { switch(dummySpell->Id) { + // Leader of the Pack + case 24932: + { + if (triggerAmount == 0) + return false; + basepoints0 = triggerAmount * GetMaxHealth() / 100; + trigger_spell_id = 34299; + } // Healing Touch (Dreamwalker Raiment set) case 28719: { @@ -5636,6 +5644,12 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu basepoints0 = triggerAmount * damage / 100; break; } + // Improved leader of the pack + else if (dummySpell->SpellIconID == 312 && !dummySpell->SpellFamilyFlags) + { + triggered_spell_id = 60889; + basepoints0 = triggerAmount * GetMaxPower(POWER_MANA) / 100; + } break; } case SPELLFAMILY_ROGUE: @@ -6705,14 +6719,6 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, Aura* triggeredB } //else if (auraSpellInfo->Id==40363)// Entangling Roots () // trigger_spell_id = ????; - // Leader of the Pack - else if (auraSpellInfo->Id == 24932) - { - if (triggerAmount == 0) - return false; - basepoints0 = triggerAmount * GetMaxHealth() / 100; - trigger_spell_id = 34299; - } break; } case SPELLFAMILY_HUNTER: |
