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:
parent
c3828b3d43
commit
bb19dbf3c9
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue