From c399333b6ba233e1d571335582ca6aa3423b218f Mon Sep 17 00:00:00 2001 From: Anubisss Date: Fri, 23 Oct 2009 14:56:57 +0200 Subject: [PATCH] *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 --- src/game/SpellAuras.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 150b97fa30..876526b555 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