DarkflameServer/dScripts/AgSurvivalMech.cpp

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

16 lines
338 B
C++
Raw Normal View History

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