feat: earning intrinsics (#872)

This commit is contained in:
Sainan 2025-01-31 17:03:14 +01:00 committed by GitHub
parent 9ab0d8d15e
commit aca0b0fe4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View File

@ -150,6 +150,11 @@ export const addMissionInventoryUpdates = (
addFocusXpIncreases(inventory, value);
break;
}
case "PlayerSkillGains": {
inventory.PlayerSkills.LPP_SPACE += value.LPP_SPACE;
inventory.PlayerSkills.LPP_DRIFTER += value.LPP_DRIFTER;
break;
}
default:
// Equipment XP updates
if (equipmentKeys.includes(key as TEquipmentKey)) {

View File

@ -11,7 +11,8 @@ import {
TSolarMapRegion,
TEquipmentKey,
IFusionTreasure,
IQuestKeyClient
IQuestKeyClient,
IPlayerSkills
} from "./inventoryTypes/inventoryTypes";
export interface IThemeUpdateRequest {
@ -73,6 +74,7 @@ export type IMissionInventoryUpdateRequest = {
FpsSamples: number;
EvolutionProgress?: IEvolutionProgress[];
FocusXpIncreases?: number[];
PlayerSkillGains: IPlayerSkills;
} & {
[K in TEquipmentKey]?: IEquipmentClient[];
};