Change some things on job wages users don't need to know

This commit is contained in:
2021-04-27 04:21:46 +02:00
parent 3393e0d38d
commit 72f8732bbc
2 changed files with 8 additions and 8 deletions

View File

@@ -24,8 +24,8 @@ namespace ReallifeGamemode.Server.Job
public const string INTERMEDIATE = "Fortgeschrittener"; public const string INTERMEDIATE = "Fortgeschrittener";
public const string PROFESSIONAL = "Profi"; public const string PROFESSIONAL = "Profi";
public const int WAGE_BEGINNER = 300; public const int WAGE_BEGINNER = 350;
public const int WAGE_INTERMEDIATE = 900; public const int WAGE_INTERMEDIATE = 950;
public const uint VEHICLE_BEGINNER = (uint)VehicleHash.Cuban800; public const uint VEHICLE_BEGINNER = (uint)VehicleHash.Cuban800;
public const uint VEHICLE_INTERMEDIATE = (uint)VehicleHash.Velum2; public const uint VEHICLE_INTERMEDIATE = (uint)VehicleHash.Velum2;

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using GTANetworkAPI; using GTANetworkAPI;
@@ -21,7 +21,7 @@ namespace ReallifeGamemode.Server.Job
public override bool NeedVehicleToStart => false; public override bool NeedVehicleToStart => false;
private const int MAX_BAG = 40; private const int MAX_BAG = 40;
private const int WAGE = 80; private const int WAGE = 50;
private const int BONUS = 10; private const int BONUS = 10;
public RefuseCollectorJob() public RefuseCollectorJob()
@@ -273,8 +273,8 @@ namespace ReallifeGamemode.Server.Job
{ {
if (target != null) if (target != null)
{ {
user1.Wage += WAGE / 2; user1.Wage += (int)(WAGE * 0.7);
user2.Wage += WAGE / 2; user2.Wage += (int)(WAGE * 0.7);
} }
else else
{ {
@@ -308,8 +308,8 @@ namespace ReallifeGamemode.Server.Job
if (target != null) if (target != null)
{ {
user1.Wage += (int)(bonus / 2); user1.Wage += bonus;
user2.Wage += (int)(bonus / 2); user2.Wage += bonus;
} }
else else
{ {