Skip to content

Instantly share code, notes, and snippets.

@rsa
Created December 20, 2010 07:48
Show Gist options
  • Save rsa/748132 to your computer and use it in GitHub Desktop.
Save rsa/748132 to your computer and use it in GitHub Desktop.
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 4f12275..592743e 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -8871,6 +8871,16 @@ void SpellAuraHolder::HandleSpellSpecificBoosts(bool apply)
{
switch(GetId())
{
+ case 55001:
+ {
+ if (apply)
+ {
+ m_target->RemoveSpellsCausingAura(SPELL_AURA_MOUNTED);
+ m_target->RemoveSpellsCausingAura(SPELL_AURA_FLY);
+ m_target->RemoveSpellsCausingAura(SPELL_AURA_MOD_INCREASE_SPEED);
+ }
+ break;
+ }
case 57350: // Illusionary Barrier
{
if (!apply && m_target->getPowerType() == POWER_MANA)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment