DarkflameServer/dScripts/AgDarkSpiderling.cpp

10 lines
244 B
C++
Raw Permalink 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);
}
}