refactor(Core/AI): Some more refactoring prep for Comat Threat system… (#15026)

Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com>
This commit is contained in:
Kitzunu 2023-02-13 21:39:40 +01:00 committed by GitHub
parent fdfa88093e
commit bd6034e1a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
391 changed files with 873 additions and 846 deletions

View file

@ -48,7 +48,7 @@ public:
IsSelfRooted = false;
}
void EnterCombat(Unit* who) override
void JustEngagedWith(Unit* who) override
{
if (!me->IsWithinMeleeRange(who))
IsSelfRooted = true;