mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 19:05:42 +00:00
fix(Scripts/Karazhan): Fix Aran's chase distance and Blink conditions (#17296)
* Revert "chore(Worldserver/Config): Clean up and reorganize config file (#17272)"
This reverts commit c709e2e7d3.
* fix(Scripts/Karazhan): Fix Aran's chase distance and Blink conditions
* Revert "Revert "chore(Worldserver/Config): Clean up and reorganize config file (#17272)""
This reverts commit 7075437947203943872aa7606c07c82ae4c8c93c.
* Update rev_1695004374973517300.sql
This commit is contained in:
@@ -147,6 +147,18 @@ struct boss_shade_of_aran : public BossAI
|
||||
});
|
||||
}
|
||||
|
||||
void AttackStart(Unit* who) override
|
||||
{
|
||||
if (who && who->isTargetableForAttack() && me->GetReactState() != REACT_PASSIVE)
|
||||
{
|
||||
if (me->Attack(who, false))
|
||||
{
|
||||
me->GetMotionMaster()->MoveChase(who, 45.0f, 0);
|
||||
me->AddThreat(who, 0.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void KilledUnit(Unit* /*victim*/) override
|
||||
{
|
||||
Talk(SAY_KILL);
|
||||
|
||||
Reference in New Issue
Block a user