fix(Scripts/ZulGurub): Arlokk's Panthers should attack players. (#12185)
Fixes #12162
This commit is contained in:
parent
76e9e19f0c
commit
bd07d875a7
1 changed files with 6 additions and 2 deletions
|
|
@ -351,7 +351,9 @@ public:
|
|||
void SpellHit(Unit* caster, SpellInfo const* spell) override
|
||||
{
|
||||
if (spell->Id == SPELL_MARK_OF_ARLOKK_TRIGGER) // Should only hit if line of sight
|
||||
me->Attack(caster, true);
|
||||
{
|
||||
AttackStart(caster);
|
||||
}
|
||||
}
|
||||
|
||||
void JustDied(Unit* /*killer*/) override
|
||||
|
|
@ -380,7 +382,9 @@ public:
|
|||
{
|
||||
case EVENT_ATTACK:
|
||||
if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0.0f, 100, false))
|
||||
me->Attack(target, true);
|
||||
{
|
||||
AttackStart(target);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue