mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-22 06:34:26 +00:00
Update CountdownDestroyAI.cpp
This commit is contained in:
@@ -38,7 +38,7 @@ bool CountdownDestroyAI::OnNotifyCombatAIStateChange(Entity& self, GameMessages:
|
|||||||
const auto curState = notifyMsg.newState;
|
const auto curState = notifyMsg.newState;
|
||||||
if (curState == AiState::dead) return true;
|
if (curState == AiState::dead) return true;
|
||||||
|
|
||||||
if (curState == AiState::aggro) {
|
if (curState == AiState::aggro || curState == AiState::tether) {
|
||||||
self.SetVar(u"Busy", true);
|
self.SetVar(u"Busy", true);
|
||||||
} else {
|
} else {
|
||||||
self.SetVar(u"Busy", false);
|
self.SetVar(u"Busy", false);
|
||||||
|
|||||||
Reference in New Issue
Block a user