feat: earning intrinsics (#872)
This commit is contained in:
parent
9ab0d8d15e
commit
aca0b0fe4c
@ -150,6 +150,11 @@ export const addMissionInventoryUpdates = (
|
|||||||
addFocusXpIncreases(inventory, value);
|
addFocusXpIncreases(inventory, value);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case "PlayerSkillGains": {
|
||||||
|
inventory.PlayerSkills.LPP_SPACE += value.LPP_SPACE;
|
||||||
|
inventory.PlayerSkills.LPP_DRIFTER += value.LPP_DRIFTER;
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
// Equipment XP updates
|
// Equipment XP updates
|
||||||
if (equipmentKeys.includes(key as TEquipmentKey)) {
|
if (equipmentKeys.includes(key as TEquipmentKey)) {
|
||||||
|
@ -11,7 +11,8 @@ import {
|
|||||||
TSolarMapRegion,
|
TSolarMapRegion,
|
||||||
TEquipmentKey,
|
TEquipmentKey,
|
||||||
IFusionTreasure,
|
IFusionTreasure,
|
||||||
IQuestKeyClient
|
IQuestKeyClient,
|
||||||
|
IPlayerSkills
|
||||||
} from "./inventoryTypes/inventoryTypes";
|
} from "./inventoryTypes/inventoryTypes";
|
||||||
|
|
||||||
export interface IThemeUpdateRequest {
|
export interface IThemeUpdateRequest {
|
||||||
@ -73,6 +74,7 @@ export type IMissionInventoryUpdateRequest = {
|
|||||||
FpsSamples: number;
|
FpsSamples: number;
|
||||||
EvolutionProgress?: IEvolutionProgress[];
|
EvolutionProgress?: IEvolutionProgress[];
|
||||||
FocusXpIncreases?: number[];
|
FocusXpIncreases?: number[];
|
||||||
|
PlayerSkillGains: IPlayerSkills;
|
||||||
} & {
|
} & {
|
||||||
[K in TEquipmentKey]?: IEquipmentClient[];
|
[K in TEquipmentKey]?: IEquipmentClient[];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user