mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-14 12:08:28 +00:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
12
dScripts/AmNamedDarklingDragon.cpp
Normal file
12
dScripts/AmNamedDarklingDragon.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "AmNamedDarklingDragon.h"
|
||||
#include "BaseCombatAIComponent.h"
|
||||
|
||||
void AmNamedDarklingDragon::OnStartup(Entity* self)
|
||||
{
|
||||
auto* baseCombatAIComponent = self->GetComponent<BaseCombatAIComponent>();
|
||||
|
||||
if (baseCombatAIComponent != nullptr)
|
||||
{
|
||||
baseCombatAIComponent->SetStunImmune(true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user