Updated Karma value on new and migrated profiles to be 0.2 instead of 0

This commit is contained in:
Dev 2024-09-02 09:37:31 +01:00
parent 6d1315ec47
commit c9218fce7f
2 changed files with 19 additions and 19 deletions

View File

@ -2647,7 +2647,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"
@ -5520,7 +5520,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"
@ -8762,7 +8762,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"
@ -12103,7 +12103,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"
@ -15803,7 +15803,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"
@ -19700,7 +19700,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"
@ -23422,7 +23422,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"
@ -27301,7 +27301,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"
@ -31792,7 +31792,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"
@ -36495,7 +36495,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"
@ -37473,7 +37473,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"
@ -38445,7 +38445,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"
@ -41573,7 +41573,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"
@ -44692,7 +44692,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"
@ -48098,7 +48098,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"
@ -51500,7 +51500,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"
@ -52465,7 +52465,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"
@ -53437,7 +53437,7 @@
"resetInterval": 86400
},
"WishList": [],
"karmaValue": 0.0,
"karmaValue": 0.2,
"_id": "__REPLACEME__",
"aid": "__REPLACEME__",
"savage": "__REPLACEME__"

View File

@ -247,7 +247,7 @@ export class GameController {
protected migrate39xProfile(fullProfile: ISptProfile) {
// Karma
if (typeof fullProfile.characters.pmc.karmaValue === "undefined") {
fullProfile.characters.pmc.karmaValue = 0;
fullProfile.characters.pmc.karmaValue = 0.2;
}
// Equipment area