mirror of
https://github.com/Squareville/TestEventServer.git
synced 2026-01-02 01:09:57 -06:00
12 lines
383 B
C++
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());
|
|
}
|