API: Rename BN multiplier RepToDonateToFaction to FavorToDonateToFaction (#2178)

This commit is contained in:
catloversg
2025-06-03 15:21:59 +07:00
committed by GitHub
parent bdc08cf992
commit 2cabb98095
11 changed files with 28 additions and 16 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ export function donationForRep(rep: number, person: IPerson): number {
}
export function favorNeededToDonate(): number {
return Math.floor(CONSTANTS.BaseFavorToDonate * currentNodeMults.RepToDonateToFaction);
return Math.floor(CONSTANTS.BaseFavorToDonate * currentNodeMults.FavorToDonateToFaction);
}
export function canDonate(amt: number): boolean {