more money for fib & pd

This commit is contained in:
michael.reiswich
2021-05-23 14:48:25 +02:00
parent 0d19373064
commit ad168aed7f
2 changed files with 2 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ namespace ReallifeGamemode.Server.Extensions
time *= 2; time *= 2;
} }
int factionMoney = user.Wanteds * 6; int factionMoney = user.Wanteds * 25;
var executiveFactions = dbContext.Factions.Include(f => f.BankAccount).Where(f => f.Id == 1 || f.Id == 3); var executiveFactions = dbContext.Factions.Include(f => f.BankAccount).Where(f => f.Id == 1 || f.Id == 3);
foreach (var faction in executiveFactions) foreach (var faction in executiveFactions)
{ {

View File

@@ -208,7 +208,7 @@ namespace ReallifeGamemode.Server.Finance
logger.LogInformation("Medic faction got a health insurance payment of {0} dollars from player {1}", paycheck.HealthInsurance, client.Name); logger.LogInformation("Medic faction got a health insurance payment of {0} dollars from player {1}", paycheck.HealthInsurance, client.Name);
dbContext.Factions.Include(f => f.BankAccount).Where(f => f.Id == 9).First().BankAccount.Balance += (int)(paycheck.gez); dbContext.Factions.Include(f => f.BankAccount).Where(f => f.Id == 9).First().BankAccount.Balance += (int)(paycheck.gez);
logger.LogInformation("Medic faction got a gez payment of {0} dollars from player {1}", paycheck.gez, client.Name); logger.LogInformation("NR faction got a gez payment of {0} dollars from player {1}", paycheck.gez, client.Name);
if (rentals.Any()) if (rentals.Any())
{ {