mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Core/Vehicles: Fix some movable turrets
This commit is contained in:
@@ -172,8 +172,12 @@ void Vehicle::ApplyAllImmunities()
|
||||
// Different immunities for vehicles goes below
|
||||
switch (GetVehicleInfo()->m_ID)
|
||||
{
|
||||
case 160:
|
||||
// code below prevents a bug with movable cannons
|
||||
case 160: // Strand of the Ancients
|
||||
case 244: // Wintergrasp
|
||||
case 510: // Isle of Conquest
|
||||
_me->SetControlled(true, UNIT_STAT_ROOT);
|
||||
// why we need to apply this? we can simple add immunities to slow mechamic in DB
|
||||
_me->ApplySpellImmune(0, IMMUNITY_STATE, SPELL_AURA_MOD_DECREASE_SPEED, true);
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user