DarkflameServer/dScripts/AgDarkSpiderling.cpp

10 lines
259 B
C++
Raw Normal View History

#include "AgDarkSpiderling.h"
#include "BaseCombatAIComponent.h"
void AgDarkSpiderling::OnStartup(Entity *self) {
auto* combatAI = self->GetComponent<BaseCombatAIComponent>();
if (combatAI != nullptr) {
combatAI->SetStunImmune(true);
}
}