generated from CSharpGodotTools/Template
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Notice how it shows -40. It should be 10, not -40. This is because of Firerate = Mathf.Max(Firerate, 10); in
// Player.cs
public void IncreaseFirerate(int removeMs)
{
Firerate -= removeMs;
Firerate = Mathf.Max(Firerate, 10);
timerLasers.Start(Firerate);
}But UICard.cs does not account for this.
// UICard.cs
case CardUpgradeType.Firerate:
cardUpgradeNote.SetInfo(
type: CardUpgradeType,
before: player.Firerate,
after: player.Firerate - 50);
break;Just does player.Firerate - 50.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
