Skip to content

Commit

Permalink
Make defensive players more likely to win Finals MVP
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbmatter committed Oct 18, 2024
1 parent 90cd1bd commit 295d6ab
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/worker/core/season/doAwards.football.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,21 @@ const getRealFinalsMvp = async (
const ydsFromScrimmage = p.recYds + p.rusYds;
const otherTD =
p.recTD + p.rusTD + p.prTD + p.krTD + p.defIntTD + p.defFmbTD;
const defense =
1.75 * p.defSk +
(p.defTckSolo + p.defTckAst) / 10 +
p.defInt * 2 +
p.defPssDef +
p.defFmbFrc * 2 +
p.defFmbRec * 2 +
5 * p.defSft;
info.score +=
factor *
(p.pssYds / 25 + 4 * p.pssTD + ydsFromScrimmage / 10 + 6 * otherTD);
(p.pssYds / 25 +
4 * p.pssTD +
ydsFromScrimmage / 10 +
6 * otherTD +
1.75 * defense);
playerInfos.set(p.pid, info);
}
}
Expand Down Expand Up @@ -308,6 +320,8 @@ export const dpoyScore = (p: PlayerFiltered) => {
p.currentStats.defTck / 10 +
p.currentStats.defInt * 4 +
p.currentStats.defPssDef +
p.currentStats.defFmbFrc * 2 +
p.currentStats.defFmbRec * 2 +
5 *
(p.currentStats.defFmbTD +
p.currentStats.defIntTD +
Expand Down

0 comments on commit 295d6ab

Please sign in to comment.