mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-26 23:43:34 +00:00
8d37d9b681
* Organize dScripts whitespace Remove parent scope Remove parent scope from initial setter Remove debug Remove helper programs * Fix NtImagimeterVisibility script Co-authored-by: aronwk-aaron <aronwk.aaron@gmail.com>
16 lines
338 B
C++
16 lines
338 B
C++
#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;
|
|
}
|