Afegits efectes de audio nous

Retocats alguns efectes de audio al afagar items per a no solapar dos audios
This commit is contained in:
2025-01-25 18:11:24 +01:00
parent e60938cb19
commit 60302004f4
6 changed files with 27 additions and 3 deletions

View File

@@ -189,7 +189,7 @@ void Tabe::updateState()
// Intenta obtener el bonus
bool Tabe::tryToGetBonus()
{
if (has_bonus_ && rand() % 10 == 0)
if (has_bonus_ && rand() % 8 == 0)
{
has_bonus_ = false;
return true;