DarkflameServer/dScripts/ai/AG/AgDarkSpiderling.cpp

10 lines
244 B
C++
Raw Normal View History

#include "AgDarkSpiderling.h"
#include "BaseCombatAIComponent.h"
2022-07-28 13:39:57 +00:00
void AgDarkSpiderling::OnStartup(Entity* self) {
auto* combatAI = self->GetComponent<BaseCombatAIComponent>();
if (combatAI != nullptr) {
combatAI->SetStunImmune(true);
}
}