@gaia-project/engine
Advanced tools
Comparing version 4.8.37 to 4.8.38
{ | ||
"name": "@gaia-project/engine", | ||
"version": "4.8.37", | ||
"version": "4.8.38", | ||
"description": "Javascript engine for project gaia", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -96,3 +96,3 @@ "use strict"; | ||
return [ | ||
new reward_1.default(isFurther(engine.player(guest).data.research, engine.player(host).data.research), enums_1.Resource.Knowledge), | ||
new reward_1.default(Math.max(2, isFurther(engine.player(guest).data.research, engine.player(host).data.research)), enums_1.Resource.Knowledge), | ||
]; | ||
@@ -99,0 +99,0 @@ case enums_1.Building.PlanetaryInstitute: |
{ | ||
"name": "@gaia-project/engine", | ||
"version": "4.8.37", | ||
"version": "4.8.38", | ||
"description": "Javascript engine for project gaia", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -127,3 +127,3 @@ import Engine from "../engine"; | ||
new Reward( | ||
isFurther(engine.player(guest).data.research, engine.player(host).data.research), | ||
Math.max(2, isFurther(engine.player(guest).data.research, engine.player(host).data.research)), | ||
Resource.Knowledge | ||
@@ -130,0 +130,0 @@ ), |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1141037