feat: finishInvasionsInOneMission #2715
@ -776,9 +776,9 @@ export const addMissionInventoryUpdates = async (
|
||||
case "InvasionProgress": {
|
||||
for (const clientProgress of value) {
|
||||
if (config.finishOneInvasionFinishTheWholeThing) {
|
||||
clientProgress.Delta *= 3
|
||||
clientProgress.AttackerScore *= 3
|
||||
clientProgress.DefenderScore *= 3
|
||||
clientProgress.Delta *= 3;
|
||||
clientProgress.AttackerScore *= 3;
|
||||
clientProgress.DefenderScore *= 3;
|
||||
}
|
||||
const dbProgress = inventory.QualifyingInvasions.find(x =>
|
||||
x.invasionId.equals(clientProgress._id.$oid)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user