change FactionMoney from 500 to 300
This commit is contained in:
@@ -66,7 +66,6 @@ namespace ReallifeGamemode.Server.Finance
|
|||||||
return propertyTaxation;
|
return propertyTaxation;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static void SetPaycheck(Player client, bool minusJail = true)
|
public static void SetPaycheck(Player client, bool minusJail = true)
|
||||||
{
|
{
|
||||||
User user = client.GetUser();
|
User user = client.GetUser();
|
||||||
@@ -86,7 +85,12 @@ namespace ReallifeGamemode.Server.Finance
|
|||||||
|
|
||||||
if (user.Faction != null && user.FactionRank != null)
|
if (user.Faction != null && user.FactionRank != null)
|
||||||
{
|
{
|
||||||
factionMoney = user.FactionRank.Order * 500;
|
int factioWage = user.FactionRank.Order * 300;
|
||||||
|
|
||||||
|
if (wage > 2500)
|
||||||
|
factioWage /= 2;
|
||||||
|
else
|
||||||
|
factionMoney = factioWage;
|
||||||
}
|
}
|
||||||
int otheramount = user.otheramount;
|
int otheramount = user.otheramount;
|
||||||
int amount = wage - (int)(wage * financialInterest) - vehicleTaxation - (int)propertyTax + (int)financialHelp - rentalFees - healthInsurance + (factionMoney ?? 0) + otheramount;
|
int amount = wage - (int)(wage * financialInterest) - vehicleTaxation - (int)propertyTax + (int)financialHelp - rentalFees - healthInsurance + (factionMoney ?? 0) + otheramount;
|
||||||
|
|||||||
Reference in New Issue
Block a user