mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-22 15:28:07 +00:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
14
dScripts/EnemyNjBuff.cpp
Normal file
14
dScripts/EnemyNjBuff.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#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);
|
||||
}
|
Reference in New Issue
Block a user