mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 10:00:28 +00:00
Revert Visibility Notifier changes (#17682)
* Revert "fix(Core/Grid): Implement missing GridUnload setting (#17569)" This reverts commit79b39f9655. * Revert "fix(Core/Grid): Address bugs and performance issues introduced by visibility notifier implementation (#17480)" This reverts commit60e27511c5. * Revert "fix(Core): GridCleanUpDelay Log (#17436)" This reverts commit90b16ca065. * Revert "feat(Core/Grids): Implement visibility notifier (#15919)" This reverts commit2779833768.
This commit is contained in:
@@ -389,7 +389,6 @@ public:
|
||||
if (action == ACTION_BALTHARUS_DEATH)
|
||||
{
|
||||
me->setActive(true);
|
||||
me->SetFarVisible(true);
|
||||
_isIntro = false;
|
||||
|
||||
_events.ScheduleEvent(EVENT_XERESTRASZA_EVENT_0, 6s);
|
||||
|
||||
@@ -339,7 +339,6 @@ public:
|
||||
events.ScheduleEvent(EVENT_ICY_GRIP, 33s + 500ms, EVENT_GROUP_LAND_PHASE);
|
||||
|
||||
me->setActive(true);
|
||||
me->SetFarVisible(true);
|
||||
me->SetInCombatWithZone();
|
||||
instance->SetBossState(DATA_SINDRAGOSA, IN_PROGRESS);
|
||||
|
||||
@@ -378,7 +377,6 @@ public:
|
||||
return;
|
||||
|
||||
me->setActive(true);
|
||||
me->SetFarVisible(true);
|
||||
me->SetDisableGravity(true);
|
||||
me->SetUnitFlag(UNIT_FLAG_NON_ATTACKABLE);
|
||||
me->SetSpeed(MOVE_RUN, 4.28571f);
|
||||
@@ -1409,7 +1407,6 @@ public:
|
||||
return;
|
||||
|
||||
me->setActive(true);
|
||||
me->SetFarVisible(true);
|
||||
me->SetImmuneToPC(true);
|
||||
float moveTime = me->GetExactDist(&SpinestalkerFlyPos) / (me->GetSpeed(MOVE_RUN) * 0.001f);
|
||||
me->m_Events.AddEvent(new FrostwyrmLandEvent(*me, SpinestalkerLandPos), me->m_Events.CalculateTime(uint64(moveTime) + 250));
|
||||
@@ -1426,7 +1423,6 @@ public:
|
||||
return;
|
||||
|
||||
me->setActive(false);
|
||||
me->SetFarVisible(false);
|
||||
me->SetDisableGravity(false);
|
||||
me->SetHomePosition(SpinestalkerLandPos);
|
||||
me->SetFacingTo(SpinestalkerLandPos.GetOrientation());
|
||||
@@ -1542,7 +1538,6 @@ public:
|
||||
return;
|
||||
|
||||
me->setActive(true);
|
||||
me->SetFarVisible(true);
|
||||
me->SetImmuneToPC(true);
|
||||
float moveTime = me->GetExactDist(&RimefangFlyPos) / (me->GetSpeed(MOVE_RUN) * 0.001f);
|
||||
me->m_Events.AddEvent(new FrostwyrmLandEvent(*me, RimefangLandPos), me->m_Events.CalculateTime(uint64(moveTime) + 250));
|
||||
@@ -1561,8 +1556,6 @@ public:
|
||||
if (point == POINT_FROSTWYRM_LAND)
|
||||
{
|
||||
me->setActive(false);
|
||||
me->SetFarVisible(false);
|
||||
me->SetFarVisible(false);
|
||||
me->SetDisableGravity(false);
|
||||
me->SetHomePosition(RimefangLandPos);
|
||||
me->SetFacingTo(RimefangLandPos.GetOrientation());
|
||||
|
||||
@@ -484,7 +484,6 @@ public:
|
||||
|
||||
uint32 introDelay = 0;
|
||||
me->setActive(true);
|
||||
me->SetFarVisible(true);
|
||||
me->SetInCombatWithZone();
|
||||
me->SetUnitFlag(UNIT_FLAG_NOT_SELECTABLE);
|
||||
me->SetImmuneToNPC(true);
|
||||
|
||||
@@ -175,7 +175,6 @@ public:
|
||||
{
|
||||
me->SetDisableGravity(true);
|
||||
me->setActive(true);
|
||||
me->SetFarVisible(true);
|
||||
Reset();
|
||||
}
|
||||
|
||||
|
||||
@@ -517,7 +517,6 @@ public:
|
||||
if (m_pInstance && !_encounterFinished)
|
||||
m_pInstance->SetData(TYPE_THORIM, IN_PROGRESS);
|
||||
me->setActive(true);
|
||||
me->SetFarVisible(true);
|
||||
DisableThorim(true);
|
||||
me->CastSpell(me, SPELL_SHEATH_OF_LIGHTNING, true);
|
||||
//me->CastSpell(me, SPELL_TOUCH_OF_DOMINION, true);
|
||||
|
||||
Reference in New Issue
Block a user