Skip to main content

Character

class Character

constructor

new Character(data, enka)
PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
dataJsonObject
enkaEnkaClient

Properties

enka

Type: EnkaClient


characterData

Type: CharacterData


costume

Type: Costume


artifacts

Type: Artifact[]


weapon

Type: Weapon


stats

Type: CharacterStats


level

Type: number


xp

Type: number


ascension

Type: number


maxLevel

Type: number


stamina

Type: number


friendship

Traveler's friendship is always 1

Type: number


unlockedConstellations

Type: Constellation[]


skillLevels

Type: {skill: UpgradableSkill, level: SkillLevel}[]


unlockedPassiveTalents

Type: PassiveTalent[]