Added stun immunity for bosses in Battle of Nimbus Station (#428)

This commit is contained in:
David Markowitz 2022-02-01 08:48:23 -08:00 committed by GitHub
parent 026654b0d0
commit dac8ec621c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 3 deletions

View File

@ -32,7 +32,6 @@ void WaveBossApe::OnFireEventServerSide(Entity *self, Entity *sender, std::strin
auto* combatAIComponent = self->GetComponent<BaseCombatAIComponent>();
if (combatAIComponent != nullptr) {
combatAIComponent->SetDisabled(false);
combatAIComponent->SetStunImmune(false);
}
} else {
BaseEnemyApe::OnFireEventServerSide(self, sender, args, param1, param2, param3);

View File

@ -19,7 +19,6 @@ void WaveBossHammerling::OnFireEventServerSide(Entity *self, Entity *sender, std
auto* combatAIComponent = self->GetComponent<BaseCombatAIComponent>();
if (combatAIComponent != nullptr) {
combatAIComponent->SetDisabled(false);
combatAIComponent->SetStunImmune(false);
}
}
}

View File

@ -20,7 +20,6 @@ WaveBossHorsemen::OnFireEventServerSide(Entity *self, Entity *sender, std::strin
auto* combatAIComponent = self->GetComponent<BaseCombatAIComponent>();
if (combatAIComponent != nullptr) {
combatAIComponent->SetDisabled(false);
combatAIComponent->SetStunImmune(false);
}
}
}