mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-13 19:48:26 +00:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
16
dScripts/AgSurvivalSpiderling.cpp
Normal file
16
dScripts/AgSurvivalSpiderling.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user