Fix typo in locationMultipler
This commit is contained in:
@@ -276,7 +276,7 @@
|
||||
"value": 50000
|
||||
}
|
||||
],
|
||||
"locationMultipler": {
|
||||
"locationMultiplier": {
|
||||
"default": 1,
|
||||
"laboratory": 2,
|
||||
"labyrinth": 4
|
||||
@@ -290,7 +290,7 @@
|
||||
"value": 50000
|
||||
}
|
||||
],
|
||||
"locationMultipler": {
|
||||
"locationMultiplier": {
|
||||
"default": 1,
|
||||
"laboratory": 2,
|
||||
"labyrinth": 4
|
||||
@@ -324,7 +324,7 @@
|
||||
"value": 2500000
|
||||
}
|
||||
],
|
||||
"locationMultipler": {
|
||||
"locationMultiplier": {
|
||||
"default": 1,
|
||||
"laboratory": 2,
|
||||
"labyrinth": 4
|
||||
|
||||
@@ -24,9 +24,9 @@ namespace SPTarkov.Server.Core.Extensions
|
||||
}
|
||||
|
||||
// Get multiplier for map, use default if map not found
|
||||
if (!settings.LocationMultipler.TryGetValue(locationId, out var multiplier))
|
||||
if (!settings.LocationMultiplier.TryGetValue(locationId, out var multiplier))
|
||||
{
|
||||
if (!settings.LocationMultipler.TryGetValue("default", out multiplier))
|
||||
if (!settings.LocationMultiplier.TryGetValue("default", out multiplier))
|
||||
{
|
||||
return roubleTotalByLevel;
|
||||
}
|
||||
|
||||
@@ -172,8 +172,8 @@ public record LootContainerSettings
|
||||
[JsonPropertyName("totalRubByLevel")]
|
||||
public List<MinMaxLootValue> TotalRubByLevel { get; set; }
|
||||
|
||||
[JsonPropertyName("locationMultipler")]
|
||||
public Dictionary<string, double> LocationMultipler { get; set; }
|
||||
[JsonPropertyName("locationMultiplier")]
|
||||
public Dictionary<string, double> LocationMultiplier { get; set; }
|
||||
}
|
||||
|
||||
public record HostilitySettings
|
||||
|
||||
Reference in New Issue
Block a user