DarkflameServer/dScripts/EnemyNjBuff.cpp

13 lines
287 B
C++
Raw Permalink Normal View History

#include "EnemyNjBuff.h"
#include "SkillComponent.h"
2022-07-28 13:39:57 +00:00
void EnemyNjBuff::OnStartup(Entity* self) {
auto* skillComponent = self->GetComponent<SkillComponent>();
2022-07-28 13:39:57 +00:00
if (skillComponent == nullptr) {
return;
}
2022-07-28 13:39:57 +00:00
skillComponent->CalculateBehavior(1127, 24812, self->GetObjectID(), true);
}