Class WeaponAscension

Class of weapon ascension

Constructors

  • Create a weapon ascension

    Parameters

    • weaponId: number

      Weapon ID

    • promoteLevel: number = 0

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

    Returns WeaponAscension

Properties

addProps: StatProperty[]

Weapon ascension addProps

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

Weapon ascension costItems

Type declaration

  • count: number

    Cost item count

  • id: number

    Cost item ID(materialIDd)

costMora: number

Weapon ascension costMora

id: number

Weapon ID

promoteLevel: number

Weapon promote level

unlockMaxLevel: number

Weapon ascension unlockMaxLevel

Methods

  • Get max promote level by weapon ID

    Parameters

    • weaponId: number

      Weapon ID

    Returns number

    Max promote level