PerkStyle class


A representation of a perk style - a tree and 4 (if primary) or 2 (if secondary) runes that were selected.

Signature:

export declare class PerkStyle 

Constructor

new PerkStyle (runeTrees: Collection<string, RuneTree>, data: {        description: string;        selections: {            perk: number;            var1: number;            var2: number;            var3: number;        }[];        style: number;    })

Constructs a new instance of the PerkStyle class.

Parameters:

ParameterTypeDescription
runeTreesCollection < String, RuneTree >The collection of rune trees in the game.
data{ description: string; selections: { perk: number; var1: number; var2: number; var3: number; }; style: number; }The raw perk style data from the API.

Properties

selected

The selected runes.

Type: Rune


tree

The rune tree that this perk style is based on.

Type: RuneTree


Table of Contents