Jetz aber Medic / 4

This commit is contained in:
VegaZ
2021-04-07 22:18:13 +02:00
parent a73c05cb4b
commit 629cc35e00

View File

@@ -258,7 +258,7 @@ namespace ReallifeGamemode.Server.Factions.Medic
{ {
using var dbContext = new DatabaseContext(); using var dbContext = new DatabaseContext();
{ {
dbContext.Factions.Include(f => f.BankAccount).Where(f => f.Id == 2).First().BankAccount.Balance += Medic.ReviveIncome / 2; dbContext.Factions.Include(f => f.BankAccount).Where(f => f.Id == 2).First().BankAccount.Balance += Medic.ReviveIncome / 4;
player.SendNotification($"Du hast den Einsatzort erreicht und ~g~{Medic.ReviveIncome / 4}$ ~s~für die Fraktion verdient."); player.SendNotification($"Du hast den Einsatzort erreicht und ~g~{Medic.ReviveIncome / 4}$ ~s~für die Fraktion verdient.");
Medic.delReviveTaskMedic(player); Medic.delReviveTaskMedic(player);
dbContext.SaveChanges(); dbContext.SaveChanges();