fix(Scripts/Items): Goblin Bomb Dispenser (#7190)

- Closes #6609
This commit is contained in:
UltraNix
2021-08-06 16:27:18 +02:00
committed by GitHub
parent 0f6dccd98c
commit be4377f540
3 changed files with 47 additions and 1 deletions

View File

@@ -461,7 +461,7 @@ public:
checkTimer = 0;
if (Unit* target = me->SelectNearestTarget(30.0f))
{
me->GetMotionMaster()->MoveChase(target);
me->GetMotionMaster()->MoveFollow(target, 0.f, 0.f);
if (me->GetDistance(target) < 3.0f)
{
me->CastSpell(me, bombSpellId, false);