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:
@@ -237,7 +237,6 @@ public:
|
|||||||
_looksAchievement = true;
|
_looksAchievement = true;
|
||||||
|
|
||||||
me->SetDisableGravity(true);
|
me->SetDisableGravity(true);
|
||||||
me->SetUnitFlag(UNIT_FLAG_DISABLE_MOVE);
|
|
||||||
me->DisableRotate(true);
|
me->DisableRotate(true);
|
||||||
|
|
||||||
events.Reset();
|
events.Reset();
|
||||||
@@ -327,6 +326,8 @@ public:
|
|||||||
arm->DespawnOrUnsummon(3000); // visual
|
arm->DespawnOrUnsummon(3000); // visual
|
||||||
if (Creature* arm = ObjectAccessor::GetCreature(*me, _right))
|
if (Creature* arm = ObjectAccessor::GetCreature(*me, _right))
|
||||||
arm->DespawnOrUnsummon(3000); // visual
|
arm->DespawnOrUnsummon(3000); // visual
|
||||||
|
me->SetUnitFlag(UNIT_FLAG_NOT_SELECTABLE);
|
||||||
|
me->SetDisableGravity(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void KilledUnit(Unit*) override
|
void KilledUnit(Unit*) override
|
||||||
|
|||||||
Reference in New Issue
Block a user