Skip to content

Commit af9a74e

Browse files
authored
1 parent cb2e5e8 commit af9a74e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3425,7 +3425,7 @@ interface Market {
34253425
* The formula:
34263426
*
34273427
* ```
3428-
* Math.ceil( amount * (Math.log(0.1*linearDistanceBetweenRooms + 0.9) + 0.1) )
3428+
* Math.ceil(amount * (1 - Math.exp(-linearDistanceBetweenRooms / 30)))
34293429
* ```
34303430
*
34313431
* @param amount Amount of resources to be sent.

src/market.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ interface Market {
2929
* The formula:
3030
*
3131
* ```
32-
* Math.ceil( amount * (Math.log(0.1*linearDistanceBetweenRooms + 0.9) + 0.1) )
32+
* Math.ceil(amount * (1 - Math.exp(-linearDistanceBetweenRooms / 30)))
3333
* ```
3434
*
3535
* @param amount Amount of resources to be sent.

0 commit comments

Comments
 (0)