This repository has been archived on 2022-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
api/graphql/schema/unit_config.graphql

27 lines
370 B
GraphQL

type Unit {
buildTime: Float!
pop: Int!
speed: Float!
attack: Int!
defense: Int!
defenseCavalry: Int!
defenseArcher: Int!
carry: Int!
}
type UnitConfig {
spear: Unit!
sword: Unit!
axe: Unit!
archer: Unit!
spy: Unit!
light: Unit!
marcher: Unit!
heavy: Unit!
ram: Unit!
catapult: Unit!
knight: Unit!
snob: Unit!
militia: Unit!
}