mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 09:44:10 +00:00
fix consolidation
add speed buff
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user