Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b9feec2ee4 |
@@ -1591,13 +1591,14 @@ export const addSkin = (
|
||||
typeName: string,
|
||||
inventoryChanges: IInventoryChanges = {}
|
||||
): IInventoryChanges => {
|
||||
if (typeName == "/Lotus/Upgrades/Skins/Clan/BountyHunterBadgeItem") {
|
||||
logger.debug(`stratos emblem, increasing bounty score`);
|
||||
inventory.BountyScore ??= 0;
|
||||
inventory.BountyScore += 1;
|
||||
}
|
||||
if (inventory.WeaponSkins.some(x => x.ItemType == typeName)) {
|
||||
logger.debug(`refusing to add WeaponSkin ${typeName} because account already owns it`);
|
||||
if (typeName == "/Lotus/Upgrades/Skins/Clan/BountyHunterBadgeItem") {
|
||||
logger.debug(`account already owns stratos emblem, increasing bounty score instead`);
|
||||
inventory.BountyScore ??= 0;
|
||||
inventory.BountyScore += 1;
|
||||
} else {
|
||||
logger.debug(`refusing to add WeaponSkin ${typeName} because account already owns it`);
|
||||
}
|
||||
} else {
|
||||
const index =
|
||||
inventory.WeaponSkins.push({
|
||||
|
||||
@@ -115,6 +115,8 @@ const sortieBossNode: Record<Exclude<TSortieBoss, "SORTIE_BOSS_CORRUPTED_VOR">,
|
||||
SORTIE_BOSS_VOR: "SolNode108"
|
||||
};
|
||||
|
||||
const sortieAssassinationOnlyNodes: string[] = ["SolNode193", "SolNode105", "SolNode108"];
|
||||
|
||||
const configAlerts: Record<string, IAlert> = {
|
||||
voidCorruption2025Week1: {
|
||||
_id: { $oid: "677d452e2f324ee7b90f8ccf" },
|
||||
@@ -381,8 +383,11 @@ export const getSortie = (day: number): ISortie => {
|
||||
}
|
||||
|
||||
for (let i = 0; i < 3; i++) {
|
||||
const randomIndex = rng.randomInt(0, nodes.length - 1);
|
||||
const node = nodes[randomIndex];
|
||||
let randomIndex, node;
|
||||
do {
|
||||
randomIndex = rng.randomInt(0, nodes.length - 1);
|
||||
node = nodes[randomIndex];
|
||||
} while (sortieAssassinationOnlyNodes.indexOf(node) != -1);
|
||||
|
||||
const modifiers = [
|
||||
"SORTIE_MODIFIER_LOW_ENERGY",
|
||||
|
||||
Reference in New Issue
Block a user