Passive Skill Tree JSON: Difference between revisions
Jump to navigation
Jump to search
>OmegaK2 mNo edit summary |
>OmegaK2 mNo edit summary |
(No difference)
|
Revision as of 00:18, 29 February 2016
This page contains development information and is intended for developers and not regular end users.
Passive skill tree JSON is used by the official website uses and many other community tools to display the skill tree.
JSON
The subsections follow the format of the json.
constants
Constants contain various game constants.
Located under the top level:
{
constants: { /* constants */}
}
Key | Value | Type |
---|---|---|
PSSCentreInnerRadius | Radius | integer |
chracterAttributes | see below | assoc array |
classes | see below | assoc array |
characterAttributes
Associative array of character attributes and their id.
Format:
Key | Value | Type |
---|---|---|
<Name of the attribute> | Id of attribute | integer |
Example:
>>> json['constants']['characterAttributes']['Strength']
0
classes
Associative array of Character classes and their associated id
Format:
Key | Value | Type |
---|---|---|
Internal name of the class based on attributes, i.e. <Attribute>Class for example:
|
Id of the class | integer |
Example:
>>> json['constants']['classes']['StrDexIntClass']
0