feat: earning intrinsics (#872)
This commit is contained in:
parent
9ab0d8d15e
commit
aca0b0fe4c
@ -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)) {
|
||||
|
@ -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[];
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user