diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/Auras/SpellAuraEffects.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp index 745a7baab8f..eade0b5e8b5 100644 --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp @@ -454,6 +454,11 @@ int32 AuraEffect::CalculateAmount(Unit* caster) // custom amount calculations go here switch (GetAuraType()) { + // Control vehicle auras should not get m_amount sum out of basepoints and DieSide calculated together, + // but only from basepoints. Only such aura case fow now so handle it here. + case SPELL_AURA_CONTROL_VEHICLE: + m_amount = m_baseAmount; + break; // crowd control auras case SPELL_AURA_MOD_CONFUSE: case SPELL_AURA_MOD_FEAR: @@ -3199,7 +3204,6 @@ void AuraEffect::HandleAuraControlVehicle(AuraApplication const* aurApp, uint8 m if (apply) { - // correct amount is already calculated adding one more -1 meant calculated amount - 1 caster->_EnterVehicle(target->GetVehicleKit(), m_amount, aurApp); } else |