DarkflameServer/dScripts/02_server/Enemy/Survival/AgSurvivalSpiderling.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
354 B
C++
Raw Normal View History

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