before changing xp system

This commit is contained in:
Sewmina
2022-10-25 01:00:45 +05:30
parent 9175e6740b
commit dd89c3fbb5
58 changed files with 35548 additions and 3589 deletions

View File

@@ -801,7 +801,9 @@ public class SpaceshipController : NetworkBehaviour
DBmanager.SetMetal(DBmanager.Metal+250);
MinigameManager.instance.rankedSummary.ShowLoss();
DBmanager.SetTrophies(Mathf.Clamp(DBmanager.Trophies - 15, 0, int.MaxValue));
// DBmanager.SetTrophies(Mathf.Clamp(DBmanager.Trophies - 15, 0, int.MaxValue));
DBmanager.SetTrophies(Mathf.Clamp(DBmanager.Trophies - DBmanager.CurrentRank.trophieLoss, 0, int.MaxValue));
}
}