diff options
| author | Shauren <shauren.trinity@gmail.com> | 2024-02-28 21:10:05 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2024-02-28 21:10:05 +0100 |
| commit | 59f92412d0f2172772155591ee7fa98a54dab06a (patch) | |
| tree | d88084ba103c24e3eb227138481510d1d0f47ddb /src/server/scripts/Outland | |
| parent | 20b29c5ff56c605d52fb6e391c28daea26ab719a (diff) | |
Core/Movement: MoveRotate improvements
* Allow overriding rotation speed
* Allow limiting rotation using total rotation angle instead of duration
Diffstat (limited to 'src/server/scripts/Outland')
| -rw-r--r-- | src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp index a89ec5c1ec0..f645ab15b64 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp @@ -227,7 +227,7 @@ struct boss_the_lurker_below : public BossAI { Talk(EMOTE_SPOUT); me->SetReactState(REACT_PASSIVE); - me->GetMotionMaster()->MoveRotate(0, 20000, urand(0, 1) ? ROTATE_DIRECTION_LEFT : ROTATE_DIRECTION_RIGHT); + me->GetMotionMaster()->MoveRotate(0, urand(0, 1) ? ROTATE_DIRECTION_LEFT : ROTATE_DIRECTION_RIGHT, 20s, float(M_PI) / 7.0f); SpoutTimer = 45000; WhirlTimer = 20000; // whirl directly after spout RotTimer = 20000; |
