DarkflameServer/dScripts/AgSurvivalMech.cpp

16 lines
338 B
C++
Raw Normal View History

#include "AgSurvivalMech.h"
#include "DestroyableComponent.h"
2022-07-28 13:39:57 +00:00
void AgSurvivalMech::OnStartup(Entity* self) {
BaseWavesGenericEnemy::OnStartup(self);
2022-07-28 13:39:57 +00:00
auto* destroyable = self->GetComponent<DestroyableComponent>();
if (destroyable != nullptr) {
destroyable->SetFaction(4);
}
}
uint32_t AgSurvivalMech::GetPoints() {
2022-07-28 13:39:57 +00:00
return 200;
}