Compare commits
5 Commits
fecca4e551
...
16d6af1420
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
16d6af1420 | ||
|
|
5dc22e0219 | ||
|
|
73f856554e | ||
|
|
00731bd700 | ||
|
|
dacf082013 |
@ -4,7 +4,7 @@ echo Updating SpaceNinjaServer...
|
||||
git fetch --prune
|
||||
if %errorlevel% == 0 (
|
||||
git stash
|
||||
git checkout -f origin/main
|
||||
git checkout -f "origin/自用"
|
||||
|
||||
if exist static\data\0\ (
|
||||
echo Updating stripped assets...
|
||||
|
||||
@ -4,7 +4,7 @@ echo "Updating SpaceNinjaServer..."
|
||||
git fetch --prune
|
||||
if [ $? -eq 0 ]; then
|
||||
git stash
|
||||
git checkout -f origin/main
|
||||
git checkout -f origin/自用
|
||||
|
||||
if [ -d "static/data/0/" ]; then
|
||||
echo "Updating stripped assets..."
|
||||
|
||||
@ -1464,8 +1464,8 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
|
||||
disableDailyTribute: Boolean,
|
||||
gainNoNegativeSyndicateStanding: Boolean,
|
||||
nemesisAlwaysCorrect: Boolean,
|
||||
nemesisHenchmenKillsMulptiplierGrineer: Number,
|
||||
nemesisHenchmenKillsMulptiplierCorpus: Number,
|
||||
nemesisHenchmenKillsMultiplierGrineer: Number,
|
||||
nemesisHenchmenKillsMultiplierCorpus: Number,
|
||||
nemesisAntivirusGainMultiplier: Number,
|
||||
nemesisHintProgressMultiplierGrineer: Number,
|
||||
nemesisHintProgressMultiplierCorpus: Number,
|
||||
@ -1479,6 +1479,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
|
||||
relicPlatinumCommon: Number,
|
||||
relicPlatinumUncommon: Number,
|
||||
relicPlatinumRare: Number,
|
||||
extraStrippedItemRewards: Number,
|
||||
|
||||
SubscribedToEmails: { type: Number, default: 0 },
|
||||
SubscribedToEmailsPersonalized: { type: Number, default: 0 },
|
||||
|
||||
@ -204,10 +204,10 @@ export const addMissionInventoryUpdates = async (
|
||||
let HenchmenKilledMultiplier = 1;
|
||||
switch (inventory.Nemesis.Faction) {
|
||||
case "FC_GRINEER":
|
||||
HenchmenKilledMultiplier = inventory.nemesisHenchmenKillsMulptiplierGrineer ?? 1;
|
||||
HenchmenKilledMultiplier = inventory.nemesisHenchmenKillsMultiplierGrineer ?? 1;
|
||||
break;
|
||||
case "FC_CORPUS":
|
||||
HenchmenKilledMultiplier = inventory.nemesisHenchmenKillsMulptiplierCorpus ?? 1;
|
||||
HenchmenKilledMultiplier = inventory.nemesisHenchmenKillsMultiplierCorpus ?? 1;
|
||||
break;
|
||||
}
|
||||
inventory.Nemesis.HenchmenKilled +=
|
||||
@ -879,13 +879,7 @@ export const addMissionInventoryUpdates = async (
|
||||
for (let i = 0; i < extraWeaponCheat; i++) {
|
||||
const randomIndex = Math.floor(Math.random() * manifest.weapons.length);
|
||||
const randomWeapon = manifest.weapons[randomIndex];
|
||||
giveNemesisWeaponRecipe(
|
||||
inventory,
|
||||
randomWeapon,
|
||||
value.nemesisName,
|
||||
value.weaponLoc,
|
||||
profile
|
||||
);
|
||||
giveNemesisWeaponRecipe(inventory, randomWeapon, value.nemesisName, undefined, profile);
|
||||
att.push(randomWeapon);
|
||||
}
|
||||
}
|
||||
@ -1392,10 +1386,11 @@ export const addMissionRewards = async (
|
||||
si.DropTable = droptableAliases[si.DropTable];
|
||||
}
|
||||
const droptables = ExportEnemies.droptables[si.DropTable] ?? [];
|
||||
const extraStrippedItemRewards = (inventory.extraStrippedItemRewards ?? 0) + 1;
|
||||
if (si.DROP_MOD) {
|
||||
const modDroptable = droptables.find(x => x.type == "mod");
|
||||
if (modDroptable) {
|
||||
for (let i = 0; i != si.DROP_MOD.length; ++i) {
|
||||
for (let i = 0; i != si.DROP_MOD.length * extraStrippedItemRewards; ++i) {
|
||||
const reward = getRandomReward(modDroptable.items)!;
|
||||
logger.debug(`stripped droptable (mods pool) rolled`, reward);
|
||||
await addItem(inventory, reward.type);
|
||||
@ -1412,7 +1407,7 @@ export const addMissionRewards = async (
|
||||
if (si.DROP_BLUEPRINT) {
|
||||
const blueprintDroptable = droptables.find(x => x.type == "blueprint");
|
||||
if (blueprintDroptable) {
|
||||
for (let i = 0; i != si.DROP_BLUEPRINT.length; ++i) {
|
||||
for (let i = 0; i != si.DROP_BLUEPRINT.length * extraStrippedItemRewards; ++i) {
|
||||
const reward = getRandomReward(blueprintDroptable.items)!;
|
||||
logger.debug(`stripped droptable (blueprints pool) rolled`, reward);
|
||||
await addItem(inventory, reward.type);
|
||||
@ -1430,7 +1425,7 @@ export const addMissionRewards = async (
|
||||
if (si.DROP_MISC_ITEM) {
|
||||
const resourceDroptable = droptables.find(x => x.type == "resource");
|
||||
if (resourceDroptable) {
|
||||
for (let i = 0; i != si.DROP_MISC_ITEM.length; ++i) {
|
||||
for (let i = 0; i != si.DROP_MISC_ITEM.length * extraStrippedItemRewards; ++i) {
|
||||
const reward = getRandomReward(resourceDroptable.items)!;
|
||||
logger.debug(`stripped droptable (resources pool) rolled`, reward);
|
||||
if (Object.keys(await addItem(inventory, reward.type)).length == 0) {
|
||||
|
||||
@ -57,8 +57,8 @@ export interface IAccountCheats {
|
||||
disableDailyTribute?: boolean;
|
||||
gainNoNegativeSyndicateStanding?: boolean;
|
||||
nemesisAlwaysCorrect?: boolean;
|
||||
nemesisHenchmenKillsMulptiplierGrineer?: number;
|
||||
nemesisHenchmenKillsMulptiplierCorpus?: number;
|
||||
nemesisHenchmenKillsMultiplierGrineer?: number;
|
||||
nemesisHenchmenKillsMultiplierCorpus?: number;
|
||||
nemesisAntivirusGainMultiplier?: number;
|
||||
nemesisHintProgressMultiplierGrineer?: number;
|
||||
nemesisHintProgressMultiplierCorpus?: number;
|
||||
@ -72,6 +72,7 @@ export interface IAccountCheats {
|
||||
relicPlatinumCommon?: number;
|
||||
relicPlatinumUncommon?: number;
|
||||
relicPlatinumRare?: number;
|
||||
extraStrippedItemRewards?: number;
|
||||
}
|
||||
|
||||
export interface IInventoryDatabase
|
||||
|
||||
@ -917,6 +917,13 @@
|
||||
<button class="btn btn-secondary" type="button" data-loc="cheats_save"></button>
|
||||
</div>
|
||||
</form>
|
||||
<form class="form-group mt-2">
|
||||
<label class="form-label" for="extraStrippedItemRewards" data-loc="cheats_extraStrippedItemRewards"></label>
|
||||
<div class="input-group">
|
||||
<input class="form-control" id="extraStrippedItemRewards" type="number" min="0" max="65535" data-default="0" />
|
||||
<button class="btn btn-secondary" type="button" data-loc="cheats_save"></button>
|
||||
</div>
|
||||
</form>
|
||||
<div class="mt-2 mb-2 d-flex flex-wrap gap-2">
|
||||
<button class="btn btn-primary" onclick="debounce(doUnlockAllShipFeatures);" data-loc="cheats_unlockAllShipFeatures"></button>
|
||||
<button class="btn btn-primary" onclick="debounce(unlockAllMissions);" data-loc="cheats_unlockAllMissions"></button>
|
||||
|
||||
@ -251,7 +251,7 @@ dict = {
|
||||
cheats_nemesisHintProgressMultiplierCorpus: `[UNTRANSLATED] Hint Progress Multiplier (Corpus)`,
|
||||
cheats_nemesisWeaponFusionMultiplier: `[UNTRANSLATED] Nemesis Weapon Fusion Multiplier`,
|
||||
cheats_nemesisExtraWeapon: `[UNTRANSLATED] Extra Nemesis Weapon / Token On Vanquish (0 to disable)`,
|
||||
cheats_extraMissionRewards: `[UNTRANSLATED] Extra Mission Rewards`,
|
||||
cheats_extraMissionRewards: `[UNTRANSLATED] Extra Mission Rewards (0 to Disable)`,
|
||||
cheats_playerSkillGainsMultiplierSpace: `[UNTRANSLATED] Intrinsics Gains Multiplier (Space)`,
|
||||
cheats_playerSkillGainsMultiplierDrifter: `[UNTRANSLATED] Intrinsics Gains Multiplier (Drifter)`,
|
||||
cheats_extraRelicRewards: `[UNTRANSLATED] Extra Relic Rewards`,
|
||||
@ -259,6 +259,7 @@ dict = {
|
||||
cheats_relicPlatinumCommon: `[UNTRANSLATED] Platinum on Common Rewards`,
|
||||
cheats_relicPlatinumUncommon: `[UNTRANSLATED] Platinum on Uncommon Rewards`,
|
||||
cheats_relicPlatinumRare: `[UNTRANSLATED] Platinum on Rare Rewards`,
|
||||
cheats_extraStrippedItemRewards: `[UNTRANSLATED] Extra Stripped Item Rewards (0 to Disable)`,
|
||||
|
||||
worldState: `Weltstatus`,
|
||||
worldState_creditBoost: `Event Booster: Credit`,
|
||||
|
||||
@ -250,7 +250,7 @@ dict = {
|
||||
cheats_nemesisHintProgressMultiplierCorpus: `Hint Progress Multiplier (Corpus)`,
|
||||
cheats_nemesisWeaponFusionMultiplier: `Nemesis Weapon Fusion Multiplier`,
|
||||
cheats_nemesisExtraWeapon: `Extra Nemesis Weapon / Token On Vanquish (0 to disable)`,
|
||||
cheats_extraMissionRewards: `Extra Mission Rewards`,
|
||||
cheats_extraMissionRewards: `Extra Mission Rewards (0 to Disable)`,
|
||||
cheats_playerSkillGainsMultiplierSpace: `Intrinsics Gains Multiplier (Space)`,
|
||||
cheats_playerSkillGainsMultiplierDrifter: `Intrinsics Gains Multiplier (Drifter)`,
|
||||
cheats_extraRelicRewards: `Extra Relic Rewards`,
|
||||
@ -258,6 +258,7 @@ dict = {
|
||||
cheats_relicPlatinumCommon: `Platinum on Common Rewards`,
|
||||
cheats_relicPlatinumUncommon: `Platinum on Uncommon Rewards`,
|
||||
cheats_relicPlatinumRare: `Platinum on Rare Rewards`,
|
||||
cheats_extraStrippedItemRewards: `Extra Stripped Item Rewards (0 to Disable)`,
|
||||
|
||||
worldState: `World State`,
|
||||
worldState_creditBoost: `Credit Boost`,
|
||||
|
||||
@ -251,7 +251,7 @@ dict = {
|
||||
cheats_nemesisHintProgressMultiplierCorpus: `[UNTRANSLATED] Hint Progress Multiplier (Corpus)`,
|
||||
cheats_nemesisWeaponFusionMultiplier: `[UNTRANSLATED] Nemesis Weapon Fusion Multiplier`,
|
||||
cheats_nemesisExtraWeapon: `[UNTRANSLATED] Extra Nemesis Weapon / Token On Vanquish (0 to disable)`,
|
||||
cheats_extraMissionRewards: `[UNTRANSLATED] Extra Mission Rewards`,
|
||||
cheats_extraMissionRewards: `[UNTRANSLATED] Extra Mission Rewards (0 to Disable)`,
|
||||
cheats_playerSkillGainsMultiplierSpace: `[UNTRANSLATED] Intrinsics Gains Multiplier (Space)`,
|
||||
cheats_playerSkillGainsMultiplierDrifter: `[UNTRANSLATED] Intrinsics Gains Multiplier (Drifter)`,
|
||||
cheats_extraRelicRewards: `[UNTRANSLATED] Extra Relic Rewards`,
|
||||
@ -259,6 +259,7 @@ dict = {
|
||||
cheats_relicPlatinumCommon: `[UNTRANSLATED] Platinum on Common Rewards`,
|
||||
cheats_relicPlatinumUncommon: `[UNTRANSLATED] Platinum on Uncommon Rewards`,
|
||||
cheats_relicPlatinumRare: `[UNTRANSLATED] Platinum on Rare Rewards`,
|
||||
cheats_extraStrippedItemRewards: `[UNTRANSLATED] Extra Stripped Item Rewards (0 to Disable)`,
|
||||
|
||||
worldState: `Estado del mundo`,
|
||||
worldState_creditBoost: `Potenciador de Créditos`,
|
||||
|
||||
@ -251,7 +251,7 @@ dict = {
|
||||
cheats_nemesisHintProgressMultiplierCorpus: `[UNTRANSLATED] Hint Progress Multiplier (Corpus)`,
|
||||
cheats_nemesisWeaponFusionMultiplier: `[UNTRANSLATED] Nemesis Weapon Fusion Multiplier`,
|
||||
cheats_nemesisExtraWeapon: `[UNTRANSLATED] Extra Nemesis Weapon / Token On Vanquish (0 to disable)`,
|
||||
cheats_extraMissionRewards: `[UNTRANSLATED] Extra Mission Rewards`,
|
||||
cheats_extraMissionRewards: `[UNTRANSLATED] Extra Mission Rewards (0 to Disable)`,
|
||||
cheats_playerSkillGainsMultiplierSpace: `[UNTRANSLATED] Intrinsics Gains Multiplier (Space)`,
|
||||
cheats_playerSkillGainsMultiplierDrifter: `[UNTRANSLATED] Intrinsics Gains Multiplier (Drifter)`,
|
||||
cheats_extraRelicRewards: `[UNTRANSLATED] Extra Relic Rewards`,
|
||||
@ -259,6 +259,7 @@ dict = {
|
||||
cheats_relicPlatinumCommon: `[UNTRANSLATED] Platinum on Common Rewards`,
|
||||
cheats_relicPlatinumUncommon: `[UNTRANSLATED] Platinum on Uncommon Rewards`,
|
||||
cheats_relicPlatinumRare: `[UNTRANSLATED] Platinum on Rare Rewards`,
|
||||
cheats_extraStrippedItemRewards: `[UNTRANSLATED] Extra Stripped Item Rewards (0 to Disable)`,
|
||||
|
||||
worldState: `Carte Solaire`,
|
||||
worldState_creditBoost: `Booster de Crédit`,
|
||||
|
||||
@ -251,7 +251,7 @@ dict = {
|
||||
cheats_nemesisHintProgressMultiplierCorpus: `[UNTRANSLATED] Hint Progress Multiplier (Corpus)`,
|
||||
cheats_nemesisWeaponFusionMultiplier: `[UNTRANSLATED] Nemesis Weapon Fusion Multiplier`,
|
||||
cheats_nemesisExtraWeapon: `[UNTRANSLATED] Extra Nemesis Weapon / Token On Vanquish (0 to disable)`,
|
||||
cheats_extraMissionRewards: `[UNTRANSLATED] Extra Mission Rewards`,
|
||||
cheats_extraMissionRewards: `[UNTRANSLATED] Extra Mission Rewards (0 to Disable)`,
|
||||
cheats_playerSkillGainsMultiplierSpace: `[UNTRANSLATED] Intrinsics Gains Multiplier (Space)`,
|
||||
cheats_playerSkillGainsMultiplierDrifter: `[UNTRANSLATED] Intrinsics Gains Multiplier (Drifter)`,
|
||||
cheats_extraRelicRewards: `[UNTRANSLATED] Extra Relic Rewards`,
|
||||
@ -259,6 +259,7 @@ dict = {
|
||||
cheats_relicPlatinumCommon: `[UNTRANSLATED] Platinum on Common Rewards`,
|
||||
cheats_relicPlatinumUncommon: `[UNTRANSLATED] Platinum on Uncommon Rewards`,
|
||||
cheats_relicPlatinumRare: `[UNTRANSLATED] Platinum on Rare Rewards`,
|
||||
cheats_extraStrippedItemRewards: `[UNTRANSLATED] Extra Stripped Item Rewards (0 to Disable)`,
|
||||
|
||||
worldState: `Состояние мира`,
|
||||
worldState_creditBoost: `Глобальный бустер Кредитов`,
|
||||
|
||||
@ -251,7 +251,7 @@ dict = {
|
||||
cheats_nemesisHintProgressMultiplierCorpus: `[UNTRANSLATED] Hint Progress Multiplier (Corpus)`,
|
||||
cheats_nemesisWeaponFusionMultiplier: `[UNTRANSLATED] Nemesis Weapon Fusion Multiplier`,
|
||||
cheats_nemesisExtraWeapon: `[UNTRANSLATED] Extra Nemesis Weapon / Token On Vanquish (0 to disable)`,
|
||||
cheats_extraMissionRewards: `[UNTRANSLATED] Extra Mission Rewards`,
|
||||
cheats_extraMissionRewards: `[UNTRANSLATED] Extra Mission Rewards (0 to Disable)`,
|
||||
cheats_playerSkillGainsMultiplierSpace: `[UNTRANSLATED] Intrinsics Gains Multiplier (Space)`,
|
||||
cheats_playerSkillGainsMultiplierDrifter: `[UNTRANSLATED] Intrinsics Gains Multiplier (Drifter)`,
|
||||
cheats_extraRelicRewards: `[UNTRANSLATED] Extra Relic Rewards`,
|
||||
@ -259,6 +259,7 @@ dict = {
|
||||
cheats_relicPlatinumCommon: `[UNTRANSLATED] Platinum on Common Rewards`,
|
||||
cheats_relicPlatinumUncommon: `[UNTRANSLATED] Platinum on Uncommon Rewards`,
|
||||
cheats_relicPlatinumRare: `[UNTRANSLATED] Platinum on Rare Rewards`,
|
||||
cheats_extraStrippedItemRewards: `[UNTRANSLATED] Extra Stripped Item Rewards (0 to Disable)`,
|
||||
|
||||
worldState: `Стан світу`,
|
||||
worldState_creditBoost: `Глобальне посилення Кредитів`,
|
||||
|
||||
@ -251,7 +251,7 @@ dict = {
|
||||
cheats_nemesisHintProgressMultiplierCorpus: `解密进度倍率 (Corpus)`,
|
||||
cheats_nemesisWeaponFusionMultiplier: `玄骸武器效价融合倍率`,
|
||||
cheats_nemesisExtraWeapon: `额外玄骸武器/代币 (0为禁用)`,
|
||||
cheats_extraMissionRewards: `额外任务奖励`,
|
||||
cheats_extraMissionRewards: `额外任务奖励 (0为禁用)`,
|
||||
cheats_playerSkillGainsMultiplierSpace: `內源之力获取倍率 (九重天)`,
|
||||
cheats_playerSkillGainsMultiplierDrifter: `內源之力获取倍率 (漂泊者)`,
|
||||
cheats_extraRelicRewards: `额外遗物奖励`,
|
||||
@ -259,6 +259,7 @@ dict = {
|
||||
cheats_relicPlatinumCommon: `普通奖励的白金`,
|
||||
cheats_relicPlatinumUncommon: `罕见奖励的白金`,
|
||||
cheats_relicPlatinumRare: `稀有奖励的白金`,
|
||||
cheats_extraStrippedItemRewards: `额外隐藏奖励 (0为禁用)`,
|
||||
|
||||
worldState: `世界状态配置`,
|
||||
worldState_creditBoost: `现金加成`,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user