DarkflameServer/dScripts/ai/AG/AgDarkSpiderling.cpp
David Markowitz e2dfa1809d Replace all auto with auto*
For components
2023-06-09 01:27:05 -07:00

10 lines
244 B
C++

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