diff options
| author | Treeston <treeston.mmoc@gmail.com> | 2018-04-06 18:09:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-06 18:09:55 +0200 |
| commit | 2a84562dc85516f432bb1e5de9add23c28b26ce4 (patch) | |
| tree | 2b7414c164370c5144586beb76946db41061fad7 /src/server/scripts/Kalimdor | |
| parent | 9f03743d2d803cba553b2f95a87b106bf5e3f672 (diff) | |
Core/Movement: Replace old TargetedMovementGenerator into ChaseMovementGenerator and FollowMovementGenerator, full rewrite for both.
- Chase to angle is now functional. Pets use this to chase behind the target. Closes #19925.
- Chase to arbitrary range interval works. Not used anywhere, but you can technically make hunter-like mobs.
- Pets now follow the hunter cleanly and without stutter stepping. Also fix some other things. Closes #8924.
Diffstat (limited to 'src/server/scripts/Kalimdor')
| -rw-r--r-- | src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_twinemperors.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_twinemperors.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_twinemperors.cpp index 2a96c031ead..64aab1bab0e 100644 --- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_twinemperors.cpp +++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_twinemperors.cpp @@ -549,7 +549,7 @@ public: if (ShadowBolt_Timer <= diff) { if (!me->IsWithinDist(me->GetVictim(), 45.0f)) - me->GetMotionMaster()->MoveChase(me->GetVictim(), VEKLOR_DIST, 0); + me->GetMotionMaster()->MoveChase(me->GetVictim(), VEKLOR_DIST); else DoCastVictim(SPELL_SHADOWBOLT); ShadowBolt_Timer = 2000; @@ -599,7 +599,7 @@ public: // VL doesn't melee if (me->Attack(who, false)) { - me->GetMotionMaster()->MoveChase(who, VEKLOR_DIST, 0); + me->GetMotionMaster()->MoveChase(who, VEKLOR_DIST); AddThreat(who, 0.0f); } } |
