AttackStart function didnt work

need to figure out another way
This commit is contained in:
Grimfeather
2025-05-09 15:04:12 +02:00
committed by GitHub
parent 4d59b3282f
commit 9055ae12a1

View File

@@ -67,17 +67,6 @@ public:
sIndividualProgression->CheckAdjustments(player);
}
void AttackStart(Unit* target) override
{
if (target->IsPlayer())
{
if (!CanBeSeen(target->ToPlayer()))
return;
}
SmartAI::AttackStart(target);
}
void OnPlayerResurrect(Player* player, float /*restore_percent*/, bool /*applySickness*/) override
{
sIndividualProgression->CheckAdjustments(player);