From 9055ae12a18099e94b38fe19298fb1af511ac6fc Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Fri, 9 May 2025 15:04:12 +0200 Subject: [PATCH] AttackStart function didnt work need to figure out another way --- src/IndividualProgressionPlayer.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/IndividualProgressionPlayer.cpp b/src/IndividualProgressionPlayer.cpp index a740087..b7ec363 100644 --- a/src/IndividualProgressionPlayer.cpp +++ b/src/IndividualProgressionPlayer.cpp @@ -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);