DarkflameServer/dScripts/AgSurvivalSpiderling.cpp

16 lines
355 B
C++
Raw Normal View History

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