Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 1.39 KB

Upgrade.md

File metadata and controls

17 lines (14 loc) · 1.39 KB

Tgm.Roborally.Api.Model.Upgrade

A upgrade is a module making a robot stronger

Properties

Name Type Description Notes
Cost int The energy cost to buy this upgrade [default to 2]
Name string The ame to display for this Upgrade. Not unique (identifying)
Permanent bool if true the card belongs to the player for the rest of the game [optional] [default to true]
Description string A description about the effect of the card. Variables are using the format `{name}` where name refers to the names in `values`. [optional] [default to "null"]
Rounds int If the Upgrade is not permanent this variable defines the number of rounds this Upgrade works [optional]
Values List<Pair> Defines number values for the upgrade.<br>Example: Effect: &quot;You have {registers} additonal Registers&quot;<br> `{registers}` is the number of the regsiters (that will be added) and the exact value will be defined in here (`values`) [optional]
Type UpgradeType
Id int The id of an upgrade. Unique [optional]

[Back to Model list] [Back to API list] [Back to README]