aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/TheStockade
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2017-12-31 03:23:42 +0100
committerShauren <shauren.trinity@gmail.com>2021-04-16 20:22:13 +0200
commitbce43de7f3fba618c370f2aba327d23dd30d1cdd (patch)
tree85b786bfa8f5103aaafa0ec01e93b337c29d4a15 /src/server/scripts/EasternKingdoms/TheStockade
parent8eb3c61f1aea5610cf68fb622f41850d2b934c51 (diff)
Core/AI: Some more refactoring prep for #19930. CreatureAI::EnterCombat is now called CreatureAI::JustEngagedWith. There's also two new methods on UnitAI, though they're never invoked right now.
(cherry picked from commit 6113b9dec2e0081c36c36c2974a28ed0693bc601)
Diffstat (limited to 'src/server/scripts/EasternKingdoms/TheStockade')
-rw-r--r--src/server/scripts/EasternKingdoms/TheStockade/boss_hogger.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/TheStockade/boss_lord_overheat.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/TheStockade/boss_randolph_moloch.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/server/scripts/EasternKingdoms/TheStockade/boss_hogger.cpp b/src/server/scripts/EasternKingdoms/TheStockade/boss_hogger.cpp
index e739e50323b..4d822a1eb0d 100644
--- a/src/server/scripts/EasternKingdoms/TheStockade/boss_hogger.cpp
+++ b/src/server/scripts/EasternKingdoms/TheStockade/boss_hogger.cpp
@@ -67,9 +67,9 @@ struct boss_hogger : public BossAI
_hasEnraged = false;
}
- void EnterCombat(Unit* who) override
+ void JustEngagedWith(Unit* who) override
{
- BossAI::EnterCombat(who);
+ BossAI::JustEngagedWith(who);
Talk(SAY_PULL);
diff --git a/src/server/scripts/EasternKingdoms/TheStockade/boss_lord_overheat.cpp b/src/server/scripts/EasternKingdoms/TheStockade/boss_lord_overheat.cpp
index 19bd7819bb7..f806c091d54 100644
--- a/src/server/scripts/EasternKingdoms/TheStockade/boss_lord_overheat.cpp
+++ b/src/server/scripts/EasternKingdoms/TheStockade/boss_lord_overheat.cpp
@@ -44,9 +44,9 @@ struct boss_lord_overheat : public BossAI
{
boss_lord_overheat(Creature* creature) : BossAI(creature, DATA_LORD_OVERHEAT) { }
- void EnterCombat(Unit* who) override
+ void JustEngagedWith(Unit* who) override
{
- BossAI::EnterCombat(who);
+ BossAI::JustEngagedWith(who);
Talk(SAY_PULL);
diff --git a/src/server/scripts/EasternKingdoms/TheStockade/boss_randolph_moloch.cpp b/src/server/scripts/EasternKingdoms/TheStockade/boss_randolph_moloch.cpp
index 4083febc219..901a1522223 100644
--- a/src/server/scripts/EasternKingdoms/TheStockade/boss_randolph_moloch.cpp
+++ b/src/server/scripts/EasternKingdoms/TheStockade/boss_randolph_moloch.cpp
@@ -68,9 +68,9 @@ struct boss_randolph_moloch : public BossAI
_firstVanish = false;
_secondVanish = false;
}
- void EnterCombat(Unit* who) override
+ void JustEngagedWith(Unit* who) override
{
- BossAI::EnterCombat(who);
+ BossAI::JustEngagedWith(who);
Talk(SAY_PULL);