Passive Skill Tree JSON: Difference between revisions
Jump to navigation
Jump to search
>OmegaK2 (documentation for the skill tree json, just a draft) |
>OmegaK2 (documentation for the skill tree json, just a draft) |
(No difference)
|
Revision as of 23:41, 28 February 2016
This page contains development information and is intended for developers and not regular end users.
Passive skill tree wikipedia: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 */}
}
characterAttributes
Associative array of character attributes and their id.
Format:
Key | Value |
---|---|
Name of the attribute | Integer id of attribute |
Example:
>>> json['constants']['characterAttributes']['Strength']
0
classes
Associative array of Character classes and their associated id
Format:
Key | Value |
---|---|
Internal name of the class based on attributes, i.e. <Attribute>Class for example:
|
Integer id of the class |
Example:
>>> json['constants']['classes']['StrDexIntClass']
0
PSSCentreInnerRadius
Contains the radius value
Example:
>>> json['constants']['PSSCentreInnerRadius']
130