fix(Scripts/Ulduar) Kologarn becomes a bridge (#18944)

* disable_move is already set in unit_flags creature template

* make kolo not selectable, disable gravity on death
This commit is contained in:
Jelle Meeus 2024-05-25 18:42:46 +02:00 committed by GitHub
parent c3828b3d43
commit bb19dbf3c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -237,7 +237,6 @@ public:
_looksAchievement = true;
me->SetDisableGravity(true);
me->SetUnitFlag(UNIT_FLAG_DISABLE_MOVE);
me->DisableRotate(true);
events.Reset();
@ -327,6 +326,8 @@ public:
arm->DespawnOrUnsummon(3000); // visual
if (Creature* arm = ObjectAccessor::GetCreature(*me, _right))
arm->DespawnOrUnsummon(3000); // visual
me->SetUnitFlag(UNIT_FLAG_NOT_SELECTABLE);
me->SetDisableGravity(true);
}
void KilledUnit(Unit*) override