*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
This commit is contained in:
Anubisss
2009-10-23 14:56:57 +02:00
parent 3e14909be5
commit c399333b6b
+10
View File
@@ -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