mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 19:06:49 +01:00
Core/Spells: increase the initial Z coordinate for Flaming and Frostfire Orb in order to prevent some minor terrain hickups blocking the movement
This commit is contained in:
@@ -3047,6 +3047,7 @@ class npc_mage_orb : public CreatureScript
|
||||
void IsSummonedBy(Unit* summoner) override
|
||||
{
|
||||
pos = summoner->GetPosition();
|
||||
pos.m_positionZ += 2.0f; // increasing the height to avoid terrain hickups
|
||||
summoner->MovePositionToFirstCollision(pos, 100.0f, 0.0f);
|
||||
events.ScheduleEvent(EVENT_MOVE_FORWARD, Milliseconds(1));
|
||||
events.ScheduleEvent(EVENT_APPLY_PERIODIC_EFFECT, Milliseconds(400));
|
||||
|
||||
Reference in New Issue
Block a user