DarkflameServer/dScripts/AgSurvivalBuffStation.cpp
2022-01-20 03:26:41 -08:00

12 lines
383 B
C++

#include "AgSurvivalBuffStation.h"
#include "SkillComponent.h"
#include "dLogger.h"
void AgSurvivalBuffStation::OnRebuildComplete(Entity* self, Entity* target) {
auto skillComponent = self->GetComponent<SkillComponent>();
if (skillComponent == nullptr) return;
skillComponent->CalculateBehavior(skillIdForBuffStation, behaviorIdForBuffStation, self->GetObjectID());
}