Passive Skill Tree JSON

From Path of Exile Wiki
Revision as of 01:17, 29 February 2016 by >OmegaK2 (→‎groups)
Jump to navigation Jump to search

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 and many other community tools to display the skill tree.

JSON

The subsections follow the format of the json.

Key Value description Type
imageRoot string
imageZoomLevels array[float]
min_x integer
max_x integer
min_y integer
max_y integer
assets See below assoc array
characterData See below assoc array
constants See below assoc array
groups See below assoc array
nodes See below array
root See below assoc array
skillSprites See below assoc array

assets

characterData

constants

Constants contain various game constants.

Located under the top level:

{
  constants: { /* constants */}
}
Key Value description 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 description 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 description Type
Internal name of the class based on attributes, i.e. <Attribute>Class for example:

StrDexIntClass (refers to Scion)

Id of the class integer

Example:

>>> json['constants']['classes']['StrDexIntClass']
0

groups

Groups is an associative array containing groups for the nodes.

Key Value description Type
oo Associative array of orbitals (from the nodes and their oidx key). Unknown what the bool is for assoc array[string, boolean]
n Contains a list of the associated nodes by their unique id array[integer]
x x-coordinate float
y y-coordinate float

nodes

Nodes is an array containing general information about the passive skill nodes in form of an associative array.

The associative array uses the following key value pairs:

Key Value description Type
ascendancyName Name of the associated ascendancy class string
da how much dexterity the node adds integer
dn Name of the node string
g Id of the group the node is in integer
ia how much intelligence the node adds integer
icon Path relative to the root to node icon string
id Unique id of the nodes integer
isAscendancyStart Whether the node is a starting point for ascendancy class boolean
isJewelSocket Whether the node is a socket for jewel boolean
isMultipleChoice Whether the node is a multiple choice node boolean
isMultipleChoiceOption Whether the node is a choice option for a multiple choice node boolean
ks Whether the node is a key stone boolean
m Whether the node is a mastery (i.e. the center of certain circles have images which are technically also passive skill nodes) boolean
not Whether the node is a noteable boolean
o number of orbits in a cluster integer
oidx index on the orbit integer
out Connections to other nodes by their id array[integer]
passivePointsGranted Passive points given integer
sa How much strength the node adds integer
sd Stat descriptions. One Element per line (lines still may contain escaped characters, i.e. \n) array[string]
spc class starting node array

root

skillSprites