Wanted Escape Timer Start

This commit is contained in:
Lukas Moungos
2019-07-08 22:25:31 +02:00
parent bada2fd3db
commit fcf810b567
4 changed files with 88 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ namespace ReallifeGamemode.Server.Finance
public static (int, float, float) GetEconomyClass(Client client, int wage)
{
int bankAccount = client.GetUser().GetBankAccount().Balance;
float financialHelp = (float)Math.Pow(-1.0005, -bankAccount) * -1000;
float financialHelp = -(float)Math.Pow(1.0005, -bankAccount) * -1000;
float financialInterest = 1 - (float)Math.Pow(1.00006, -wage) * 1;
if (financialInterest >= 0.7)
financialInterest = 0.7f;