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

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

16 lines
337 B
C++
Raw Normal View History

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