DarkflameServer/dScripts/02_server/Enemy/General/EnemyNjBuff.cpp
David Markowitz e2dfa1809d Replace all auto with auto*
For components
2023-06-09 01:27:05 -07:00

13 lines
287 B
C++

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