mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 02:08:20 +00:00
16 lines
359 B
C++
16 lines
359 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;
|
||
|
}
|