fix consolidation

add speed buff
This commit is contained in:
Aaron Kimbre
2023-04-09 09:38:56 -05:00
parent 5cdff8bcaf
commit 172b398b7b
2 changed files with 4 additions and 1 deletions

View File

@@ -19,7 +19,8 @@ void SpecialPowerupSpawner::OnProximityUpdate(Entity* self, Entity* entering, co
SkillComponent* skillComponent;
if (!self->TryGetComponent(eReplicaComponentType::SKILL, skillComponent)) return;
skillComponent->CastSkill(13, entering->GetObjectID());
Game::logger->Log("SpecialPowerupSpawner", "casting skill %i", this->m_SkillId);
skillComponent->CastSkill(this->m_SkillId, entering->GetObjectID());
self->SetVar(u"bIsDead", true);
self->Smash(entering->GetObjectID(), eKillType::SILENT);