mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
fix(lint): Space infix operator (?)
This commit is contained in:
@@ -39,6 +39,6 @@ export function toNextLevel (lvl) {
|
|||||||
{halfway} (optional) the point at which the graph starts bending
|
{halfway} (optional) the point at which the graph starts bending
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export function diminishingReturns (bonus, max, halfway = max/2) {
|
export function diminishingReturns (bonus, max, halfway = max / 2) {
|
||||||
return max * (bonus / (bonus + halfway));
|
return max * (bonus / (bonus + halfway));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user