mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-27 12:22:39 +01:00
Scripts/TempleOfAhnQiraj (#29571)
Fix The Eye of C'thun spell Dark Glare not being updated visually with the correct orientation
This commit is contained in:
@@ -342,10 +342,10 @@ public:
|
||||
if (DarkGlareTickTimer <= diff)
|
||||
{
|
||||
//Set angle and cast
|
||||
if (ClockWise)
|
||||
me->SetOrientation(DarkGlareAngle + DarkGlareTick * float(M_PI) / 35);
|
||||
else
|
||||
me->SetOrientation(DarkGlareAngle - DarkGlareTick * float(M_PI) / 35);
|
||||
float angle = ClockWise ? DarkGlareAngle + DarkGlareTick * float(M_PI) / 35 : DarkGlareAngle - DarkGlareTick * float(M_PI) / 35;
|
||||
|
||||
me->SetOrientation(angle);
|
||||
me->SetFacingTo(angle);
|
||||
|
||||
me->StopMoving();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user