mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
fix(Scripts/Gundrak): Fix Drakkari Colossus not activating when Living Mojo is attacked (#25214)
Co-authored-by: Claude Opus 4.6 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
ee02b9acfc
commit
973954c795
@@ -363,7 +363,7 @@ public:
|
||||
ScriptedAI::MoveInLineOfSight(who);
|
||||
}
|
||||
|
||||
void AttackStart(Unit* who) override
|
||||
void JustEngagedWith(Unit* who) override
|
||||
{
|
||||
if (me->ToTempSummon())
|
||||
{
|
||||
@@ -373,6 +373,14 @@ public:
|
||||
return;
|
||||
}
|
||||
|
||||
ScriptedAI::JustEngagedWith(who);
|
||||
}
|
||||
|
||||
void AttackStart(Unit* who) override
|
||||
{
|
||||
if (me->ToTempSummon())
|
||||
return;
|
||||
|
||||
ScriptedAI::AttackStart(who);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user