Skip to main content

LightConeData

class LightConeData

constructor

new LightConeData(id, client)
PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
idnumber
clientStarRail

Properties

id

Type: number


client

Type: StarRail


name

Type: TextAssets


description

Type: TextAssets


itemDescription

Type: TextAssets


stars

Type: number


path

Type: Path


maxAscension

Type: number


maxSuperimposition

Type: number


superimpositions

Type: LightConeSuperimposition[]


expType

Type: LightConeExpType


expProvide

Experience value provided by the light cone when used as a material

Type: number


coinCost

Coin cost to level up other light cones when the light cone is used as a material

Type: number


icon

Type: ImageAssets


cardImage

Type: ImageAssets


Methods

getStatsByLevel

Returns: StatPropertyValue[]

PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
ascensionnumber
levelnumber

getSuperimpositionStats

Returns: StatPropertyValue[]

PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
superimpositionnumber