Fix Wintergrasp no fly zone to remove your mount instead of just giving a parachute but not dismounting you.
Also switch around the condition inside the if statement to fit the standard. --HG-- branch : trunk
This commit is contained in:
@@ -6679,8 +6679,9 @@ void AuraEffect::PeriodicDummyTick()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 58600: // No fly Zone - Dalaran
|
case SPELL_RESTRICTED_FLIGHT_AREA_58730: // No Fly Zone - Wintergrasp
|
||||||
if (10 == m_tickNumber)
|
case SPELL_RESTRICTED_FLIGHT_AREA_58600: // No fly Zone - Dalaran
|
||||||
|
if (m_tickNumber == 10)
|
||||||
{
|
{
|
||||||
m_target->RemoveAurasByType(SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED);
|
m_target->RemoveAurasByType(SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED);
|
||||||
m_target->RemoveAurasByType(SPELL_AURA_FLY);
|
m_target->RemoveAurasByType(SPELL_AURA_FLY);
|
||||||
|
|||||||
Reference in New Issue
Block a user