DarkflameServer/dScripts/AgSurvivalSpiderling.cpp

17 lines
402 B
C++
Raw Permalink Normal View History

#include "AgSurvivalSpiderling.h"
#include "BaseCombatAIComponent.h"
#include "GameMessages.h"
void AgSurvivalSpiderling::OnStartup(Entity *self) {
BaseWavesGenericEnemy::OnStartup(self);
auto* combatAI = self->GetComponent<BaseCombatAIComponent>();
if (combatAI != nullptr) {
combatAI->SetStunImmune(true);
}
}
uint32_t AgSurvivalSpiderling::GetPoints() {
return 300;
}