DarkflameServer/dScripts/ai/AG/AgDarkSpiderling.cpp

10 lines
243 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) {
2023-06-07 07:23:50 +00:00
auto combatAI = self->GetComponent<BaseCombatAIComponent>();
2022-07-28 13:39:57 +00:00
if (combatAI != nullptr) {
combatAI->SetStunImmune(true);
}
}