extra weapon cheat

This commit is contained in:
AlexisinGit 2025-08-30 23:22:50 +08:00
parent 52393bcea3
commit e6d6ec2602

View File

@ -875,6 +875,22 @@ export const addMissionInventoryUpdates = async (
const weaponType = manifest.weapons[inventory.Nemesis.WeaponIdx];
giveNemesisWeaponRecipe(inventory, weaponType, value.nemesisName, value.weaponLoc, profile);
att.push(weaponType);
if (inventory.nemesisExtraWeaponOnKill && inventory.nemesisExtraWeaponOnKill > 1) {
const weaponManifest = manifest.weapons;
for (let i = 0; i < inventory.nemesisExtraWeaponOnKill; i++) {
const randomIndex = Math.floor(Math.random() * weaponManifest.length);
const randomWeapon = weaponManifest[randomIndex];
giveNemesisWeaponRecipe(
inventory,
randomWeapon,
value.nemesisName,
value.weaponLoc,
profile
);
att.push(randomWeapon);
}
}
}
//if (value.petLoc) {
if (profile.petHead) {