mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-14 12:18:22 +00:00
13 lines
314 B
C++
13 lines
314 B
C++
|
#include "AmNamedDarklingDragon.h"
|
||
|
#include "BaseCombatAIComponent.h"
|
||
|
|
||
|
void AmNamedDarklingDragon::OnStartup(Entity* self)
|
||
|
{
|
||
|
auto* baseCombatAIComponent = self->GetComponent<BaseCombatAIComponent>();
|
||
|
|
||
|
if (baseCombatAIComponent != nullptr)
|
||
|
{
|
||
|
baseCombatAIComponent->SetStunImmune(true);
|
||
|
}
|
||
|
}
|