mirror of
https://github.com/thepeacockproject/Peacock
synced 2025-03-01 14:43:02 +01:00
Export calculatePlaystyle
This commit is contained in:
parent
f5516786be
commit
a0dab8be67
@ -46,7 +46,14 @@ import { liveSplitManager } from "./livesplit/liveSplitManager"
|
||||
import { Playstyle, ScoringBonus, ScoringHeadline } from "./types/scoring"
|
||||
import { MissionEndRequestQuery } from "./types/gameSchemas"
|
||||
|
||||
function calculatePlaystyle(session: ContractSession) {
|
||||
/**
|
||||
* Checks the criteria of each possible play-style, ranking them by scoring.
|
||||
*
|
||||
* @author CurryMaker
|
||||
* @param session The contract session.
|
||||
* @returns The play-styles, ranked from best fit to worst fit.
|
||||
*/
|
||||
export function calculatePlaystyle(session: ContractSession): Playstyle[] {
|
||||
const playstylesCopy = getConfig("Playstyles", true) as Playstyle[]
|
||||
|
||||
// Resetting the scores...
|
||||
|
Loading…
x
Reference in New Issue
Block a user