Ran Prettier
This commit is contained in:
parent
1c7f8d599f
commit
6d08b1235c
@ -723,7 +723,20 @@ const addMissionComplete = (inventory: IInventoryDatabaseDocument, { Tag, Comple
|
||||
|
||||
const addPlayerSkillGains = (inventory: IInventoryDatabaseDocument, PlayerSkillGains: IPlayerSkills | undefined) => {
|
||||
if (PlayerSkillGains) {
|
||||
inventory.PlayerSkills ??= { LPP_SPACE: 0, LPP_DRIFTER: 0, LPS_NONE: 0, LPS_PILOTING: 0, LPS_GUNNERY: 0, LPS_TACTICAL: 0, LPS_ENGINEERING: 0, LPS_COMMAND: 0, LPS_DRIFT_COMBAT: 0, LPS_DRIFT_RIDING: 0, LPS_DRIFT_OPPORTUNITY: 0, LPS_DRIFT_ENDURANCE: 0 };
|
||||
inventory.PlayerSkills ??= {
|
||||
LPP_SPACE: 0,
|
||||
LPP_DRIFTER: 0,
|
||||
LPS_NONE: 0,
|
||||
LPS_PILOTING: 0,
|
||||
LPS_GUNNERY: 0,
|
||||
LPS_TACTICAL: 0,
|
||||
LPS_ENGINEERING: 0,
|
||||
LPS_COMMAND: 0,
|
||||
LPS_DRIFT_COMBAT: 0,
|
||||
LPS_DRIFT_RIDING: 0,
|
||||
LPS_DRIFT_OPPORTUNITY: 0,
|
||||
LPS_DRIFT_ENDURANCE: 0
|
||||
};
|
||||
inventory.PlayerSkills.LPP_SPACE += PlayerSkillGains.LPP_SPACE;
|
||||
inventory.PlayerSkills.LPP_DRIFTER += PlayerSkillGains.LPP_DRIFTER;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user