mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 07:48:02 +00:00
fix(Scripts/GruulsLair): Olm moves freely and Kiggler's chase range is 40y (#23334)
Co-authored-by: sudlud <sudlud@users.noreply.github.com>
This commit is contained in:
@@ -183,15 +183,6 @@ struct boss_olm_the_summoner : public ScriptedAI
|
|||||||
instance->SetBossState(DATA_MAULGAR, NOT_STARTED);
|
instance->SetBossState(DATA_MAULGAR, NOT_STARTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AttackStart(Unit* who) override
|
|
||||||
{
|
|
||||||
if (!who)
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (me->Attack(who, true))
|
|
||||||
me->GetMotionMaster()->MoveChase(who, 25.0f);
|
|
||||||
}
|
|
||||||
|
|
||||||
void JustEngagedWith(Unit* /*who*/) override
|
void JustEngagedWith(Unit* /*who*/) override
|
||||||
{
|
{
|
||||||
me->SetInCombatWithZone();
|
me->SetInCombatWithZone();
|
||||||
@@ -263,7 +254,7 @@ struct boss_kiggler_the_crazed : public ScriptedAI
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (me->Attack(who, true))
|
if (me->Attack(who, true))
|
||||||
me->GetMotionMaster()->MoveChase(who, 25.0f);
|
me->GetMotionMaster()->MoveChase(who, 40.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
void JustEngagedWith(Unit* /*who*/) override
|
void JustEngagedWith(Unit* /*who*/) override
|
||||||
|
|||||||
Reference in New Issue
Block a user