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
391 changed files with 873 additions and 846 deletions

View File

@@ -69,7 +69,7 @@ public:
me->RestoreFaction();
}
void EnterCombat(Unit*) override
void JustEngagedWith(Unit*) override
{
if (roll_chance_i(33))
Talk(SAY_AGGRO);
@@ -432,7 +432,7 @@ public:
uiStage_timer = 3000;
}
void EnterCombat(Unit* /*who*/) override
void JustEngagedWith(Unit* /*who*/) override
{
Talk(SAY_TREE2);
me->Dismount();
@@ -525,7 +525,7 @@ public:
uiValroth_Smite_timer = 1000;
}
void EnterCombat(Unit* who) override
void JustEngagedWith(Unit* who) override
{
Talk(SAY_VALROTH_AGGRO);
DoCast(who, SPELL_VALROTH_SMITE);