mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-04-28 01:26:32 +00:00
Added stun immunity for bosses in Battle of Nimbus Station (#428)
This commit is contained in:
parent
026654b0d0
commit
dac8ec621c
@ -32,7 +32,6 @@ void WaveBossApe::OnFireEventServerSide(Entity *self, Entity *sender, std::strin
|
|||||||
auto* combatAIComponent = self->GetComponent<BaseCombatAIComponent>();
|
auto* combatAIComponent = self->GetComponent<BaseCombatAIComponent>();
|
||||||
if (combatAIComponent != nullptr) {
|
if (combatAIComponent != nullptr) {
|
||||||
combatAIComponent->SetDisabled(false);
|
combatAIComponent->SetDisabled(false);
|
||||||
combatAIComponent->SetStunImmune(false);
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
BaseEnemyApe::OnFireEventServerSide(self, sender, args, param1, param2, param3);
|
BaseEnemyApe::OnFireEventServerSide(self, sender, args, param1, param2, param3);
|
||||||
|
@ -19,7 +19,6 @@ void WaveBossHammerling::OnFireEventServerSide(Entity *self, Entity *sender, std
|
|||||||
auto* combatAIComponent = self->GetComponent<BaseCombatAIComponent>();
|
auto* combatAIComponent = self->GetComponent<BaseCombatAIComponent>();
|
||||||
if (combatAIComponent != nullptr) {
|
if (combatAIComponent != nullptr) {
|
||||||
combatAIComponent->SetDisabled(false);
|
combatAIComponent->SetDisabled(false);
|
||||||
combatAIComponent->SetStunImmune(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,6 @@ WaveBossHorsemen::OnFireEventServerSide(Entity *self, Entity *sender, std::strin
|
|||||||
auto* combatAIComponent = self->GetComponent<BaseCombatAIComponent>();
|
auto* combatAIComponent = self->GetComponent<BaseCombatAIComponent>();
|
||||||
if (combatAIComponent != nullptr) {
|
if (combatAIComponent != nullptr) {
|
||||||
combatAIComponent->SetDisabled(false);
|
combatAIComponent->SetDisabled(false);
|
||||||
combatAIComponent->SetStunImmune(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user