diff options
author | Anubisss <none@none> | 2009-10-23 14:56:57 +0200 |
---|---|---|
committer | Anubisss <none@none> | 2009-10-23 14:56:57 +0200 |
commit | c399333b6ba233e1d571335582ca6aa3423b218f (patch) | |
tree | 509ba95b57ef60e8ba52d993b5030845706d0e43 /src | |
parent | 3e14909be5bbae056455a9a6dc327293adf4766c (diff) |
*Fix Sated and Exhaustion.
*Before this patch you can cast Bloodlust or Heroism to every targets which has Sated/Exhaustion but you(the caster) doesnt have.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuras.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 150b97fa30f..876526b555e 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -3038,6 +3038,16 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real, bool changeAmount) } return; } + case 57723: // Exhaustion + case 57724: // Sated + { + switch(GetId()) + { + case 57723: m_target->ApplySpellImmune(GetId(), IMMUNITY_ID, 32182, apply); break; // Heroism + case 57724: m_target->ApplySpellImmune(GetId(), IMMUNITY_ID, 2825, apply); break; // Bloodlust + } + return; + } case 57819: // Argent Champion case 57820: // Ebon Champion case 57821: // Champion of the Kirin Tor |