Add basic implementation for footsteps

Add disengage to eden pillar
Fix level up sound effect trigger
This commit is contained in:
2025-11-26 02:33:03 -08:00
parent ed9e611fd9
commit 46402401b4
6 changed files with 33 additions and 6 deletions

View File

@@ -52,6 +52,7 @@ public class ExperiencePointsComponent : IExperiencePointsComponent
public void LevelUp()
{
SfxDatabase.Instance.Play(SoundEffect.LevelUp);
_level.OnNext(_level.Value + 1);
var expToNextLevel = ExpToNextLevelCalculation(_level.Value);
_currentExp.OnNext(_currentExp.Value - _expToNextLevel.Value);