New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide an endpoint to view speedups etc. #72
Labels
Comments
This can also be done in the same manner as this request: #77 |
Done. Looks like this: {
"type": "COMMAND_CENTER",
"level": 5,
"buildTime": 150,
"buildCost": {
"crystal": 600,
"gas": 300,
"energy": 2400
},
"description": "Constructs buildings",
"prerequisites": {
"buildings": [],
"technologies": []
},
"buildingBuildTimeSpeedUp": 40
},
{
"type": "SHIPYARD",
"level": 5,
"buildTime": 300,
"buildCost": {
"crystal": 900,
"gas": 450,
"energy": 3600
},
"description": "Constructs ships",
"prerequisites": {
"buildings": [
{
"type": "COMMAND_CENTER",
"level": 1
},
{
"type": "RESEARCH_CENTER",
"level": 1
},
{
"type": "TELESCOPE",
"level": 1
}
],
"technologies": []
},
"shipBuildTimeSpeedUp": 40
},
{
"type": "RESEARCH_CENTER",
"level": 5,
"buildTime": 150,
"buildCost": {
"crystal": 600,
"gas": 300,
"energy": 2400
},
"description": "Researches technology",
"prerequisites": {
"buildings": [
{
"type": "COMMAND_CENTER",
"level": 1
}
],
"technologies": []
},
"researchTimeSpeedUp": 40
} |
Nevertheless it would be great to query the real build time / cost for buildings, researches and ships without needing to apply the bonus manually. |
Is the speed up measured in %? |
Yes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently there is no way to get, for example, the real build time of a building with applied command center bonus. Provide an endpoint to get the real values with an applied bonus or return the formula so the client can calculate it for himself.
The text was updated successfully, but these errors were encountered: