2026-08-06 14:43:17 -04:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
public class YummyLightningBolt : YummyBase
|
|
|
|
|
{
|
|
|
|
|
protected override void ObtainedCallback(Player player)
|
|
|
|
|
{
|
2026-08-26 22:53:17 -04:00
|
|
|
player.speedBonus += 0.05f;
|
|
|
|
|
|
|
|
|
|
if (player.speedBonus > 1f)
|
|
|
|
|
{
|
|
|
|
|
player.speedBonus = 1f;
|
|
|
|
|
}
|
2026-08-06 14:43:17 -04:00
|
|
|
}
|
|
|
|
|
}
|