Cheat: finish One Invasion Finish The Whole Thing code style consistency change
All checks were successful
Build / build (pull_request) Successful in 1m36s
All checks were successful
Build / build (pull_request) Successful in 1m36s
This commit is contained in:
parent
9e622464e0
commit
84e8d646db
@ -776,9 +776,9 @@ export const addMissionInventoryUpdates = async (
|
|||||||
case "InvasionProgress": {
|
case "InvasionProgress": {
|
||||||
for (const clientProgress of value) {
|
for (const clientProgress of value) {
|
||||||
if (config.finishOneInvasionFinishTheWholeThing) {
|
if (config.finishOneInvasionFinishTheWholeThing) {
|
||||||
clientProgress.Delta *= 3
|
clientProgress.Delta *= 3;
|
||||||
clientProgress.AttackerScore *= 3
|
clientProgress.AttackerScore *= 3;
|
||||||
clientProgress.DefenderScore *= 3
|
clientProgress.DefenderScore *= 3;
|
||||||
}
|
}
|
||||||
const dbProgress = inventory.QualifyingInvasions.find(x =>
|
const dbProgress = inventory.QualifyingInvasions.find(x =>
|
||||||
x.invasionId.equals(clientProgress._id.$oid)
|
x.invasionId.equals(clientProgress._id.$oid)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user