fix(Scripts/IcecrownCitadel): Fix Putricide crash (#15846)
This commit is contained in:
parent
37f0b7095f
commit
e2cfb5c5a9
1 changed files with 0 additions and 6 deletions
|
|
@ -277,12 +277,6 @@ public:
|
|||
_experimentState = (data ? 1 : 0);
|
||||
}
|
||||
|
||||
void AttackStart(Unit* who) override
|
||||
{
|
||||
if (instance->CheckRequiredBosses(DATA_PROFESSOR_PUTRICIDE))
|
||||
BossAI::AttackStart(who);
|
||||
}
|
||||
|
||||
bool CanAIAttack(Unit const* target) const override
|
||||
{
|
||||
return me->IsVisible() && target->GetPositionZ() > 388.0f && target->GetPositionZ() < 410.0f && target->GetPositionY() > 3157.1f && target->GetExactDist2dSq(4356.0f, 3211.0f) < 80.0f * 80.0f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue