Class CharacterAscension

Class of character ascension

Constructors

  • Create a character ascension

    Parameters

    • characterId: number

      Character ID

    • promoteLevel: number = 0

      Character promote level (0-6). Default: 0

    Returns CharacterAscension

Properties

addProps: StatProperty[]

Character ascension addProps

costItems: {
    count: number;
    id: number;
}[]

Character ascension costItems

Type declaration

  • count: number

    Cost item count

  • id: number

    Cost item ID(material ID)

costMora: number

Character ascension costMora

id: number

Character ID

promoteLevel: number

Character promote level

unlockMaxLevel: number

Character ascension unlockMaxLevel

Methods

  • Get max promote level by character ID

    Parameters

    • characterId: number

      Character ID

    Returns number

    Max promote level